
Tudo que Wend II postou
-
[Ajuda] Shop Diferente
na pasta htdocs\pages procure pelo arquivo shopsystem.php e abra ele , feito isso procure por uma parte +ou- assim if(count($offer_list['item']) > 0) $main_content .= '<a href="?subtopic=shopsystem&action=item" style="padding: 7px 1px 1px 8px; margin: 1px 1px 1px 195px; background-color: '.selectcolor('item').';">Items<img src="images/items/2160.gif"/></a>'; if(count($offer_list['mounts']) > 0) $main_content .= '<a href="?subtopic=shopsystem&action=mounts" style="padding: 7px 1px 1px 20px; margin: 1px 1px 1px 1px; background-color: '.selectcolor('mounts').';">Mounts<img src="images/mount.gif"/></a>'; if(count($offer_list['addons']) > 0) $main_content .= '<a href="?subtopic=shopsystem&action=addons" style="padding: 7px 1px 1px 20px; margin: 1px 1px 1px 1px; background-color: '.selectcolor('addons').';">Addons<img src="images/addon.gif"/></a>'; ai você troca os nomes nessa parte aqui que fica no finalzinho de cada linha >Items< >Mounts< >Addons<
-
Como tirar estas barras laterais?
Eu estava tentando colocar esse tela sem as barras em padrão mais sem sucesso creio que só na source do OTC, o máximo que conseguir chega perto foi fazer um MOD para o player clicar e deixar a tela daquele modo :\
-
Boost Stone System Poketibia
Porque você precisa está com o pokemon sumonado ou seja fora da ball, ai você usa a boost stone
-
(Resolvido)Ajuda Dando Points
Para trocar o link do botão é no arquivo downloads.php da pasta C:\xampp\htdocs\system\pages se tiver dificuldades poste ele aqui para lhe ajudar e sobre o seu shop não entrega os items, pode ser porque você não o script de entrega no servidor ou tem?
-
(Resolvido)Ajuda Dando Points
abre > http://localhost/phpmyadmin/index.php coloque a senha e clique em executar, agora vá na sua database e clique na aba accounts quando abrir a aba accounts procure a account do player que você quer adiciona os points quando achar clique em editar ai irar abrir uma página , nessa página procure por uma parte +ou- assim agora só alterar o valor ai do 0 para a quantidade que você quer adicionar de points a account do player quando determinar a quantidade só ir lá no final da página e clicar no botão executar
-
(Resolvido)Ajuda Dando Points
Não entendi essa parte de preenche, oque você está querendo? e tem uma forma mais fácil de add points pelo Phpmyadmin
-
(Resolvido)Sprits
Você quer fazer oque? mudar o ataque ou a sprite do steelix que aparece ao usar o ataque?
- [Pedido]Mapa do otp
-
[Ajuda] Shop Diferente
Oque você está querendo trocar são apenas os nomes? tipo items para Items Sorcerer? não entendi muito bem
-
(Resolvido)[AJUDA] como adicionar pokebar no meu client
Está usando que base? e está usando OTClient?
-
[Itemeditor]error.
recomendo esse ItemEditor, uso ele aqui e nunca deu erro > https://github.com/o...ases/tag/v0.3.4 Configurando 1° abra o item editor e clique em ctrl+p 2° marque a caixinha extender (só se seu client esstiver extendido) 3° clique em browse e indique o caminho para seu client 4° vá em file e depois em open e indique o caminho do seu items.otb que está na pasta data/items do seu servidor
-
Como tirar estas barras laterais?
Oque o nociam disse não deu certo?
-
[PEDIDO] Script de vender e comprar houses
Quando você fala o comando de frente da porta da house oque acontece? não aparece nenhuma mensagem? Não tem script pra comprar e vende houses porque esse sistema é na source! O seu problema pode ser o mesmo que eu tive um tempo atrás e quebrei muita cabeça para achar a solução até procurei um script igual você está fazendo , mais nada quando resolvi esse problema até me achei burro porque a solução era fácil demais , era apenas as houses que não estavam configuradas com o RME direito ai peguei abrir o RME e deletei uma house e fiz ela do 0 com um tutorial aqui do fórum e não é que funcionou? pode ser isso que esteja acontecendo com você porque problema com o sistema creio que não seja ~~ Tutorial que mim ajudou quando estava com esse comando > http://www.tibiaking.com/forum/topic/13465-criando-houses-rme-21/ OBS: quando minhas houses não estavam funcionando toda vez que o player falava o comando aparecia uma mensagem assim "You have to be looking at door of flat you would like to purchase" por isso perguntei se aparece alguma mensagem
-
(Resolvido)Erro Config.PHP
substitua sua linha 24 por essa /*List of vocation available to choose when creating new character*/ $config['vocations'] = array(1=>"Naruto", 17=>"Sasuke", 27=>"Rock Lee", 39=>"Shikamaru", 46=>"Neji", 55=>"Tenten", 64=>"Hinata", 77=>"Kakashi", 84=>"Killer Bee", 96=>"Sakura", 111=>"Gaara", 123=>"Kiba", 132=>"Itachi", 142=>"Tobi", 154=>"Minato", 164=>"Madara", 175=>"Tsunade", 186=>"Hashirama", 193=>"Nidaime", 200=>"Nagato", 211=>"Yamato", 217=>"Raikage", 223=>"Kisame", 231=>"Temari", 239=>"Kankuro", 248=>"Orochimaru");
-
(Resolvido)Check Premium_Points
Não tinha visto que foi resolvido, desculpe ~~
-
(Resolvido)Check Premium_Points
Não é o script, só mostrei as funções e você mesmo faça o script da chest
-
(Resolvido)Check Premium_Points
function ChecarPontos(cid) local Info = db.getResult("SELECT `premium_points` FROM `accounts` WHERE `id` = " .. getPlayerAccountId(cid) .. " LIMIT 1") if Info:getID() ~= LUA_ERROR then local Points= Info:getDataInt("premium_points") Info:free() return Points end return LUA_ERROR end function AddPontos(cid, points) local Info = db.getResult("SELECT `premium_points` FROM `accounts` WHERE `id` = " .. getPlayerAccountId(cid) .. " LIMIT 1") if Info:getID() ~= LUA_ERROR then db.executeQuery("UPDATE accounts SET premium_points = " .. points .. " WHERE id=" .. getPlayerAccountId(cid) .. ";") Info:free() return 1 end end function RemoverPontos(cid, points) local Info = db.getResult("SELECT `premium_points` FROM `accounts` WHERE `id` = " .. getPlayerAccountId(cid) .. " LIMIT 1") if Info:getID() ~= LUA_ERROR then db.executeQuery("UPDATE accounts SET premium_points = - " .. points .. " WHERE id=" .. getPlayerAccountId(cid) .. ";") Info:free() return 1 end end
-
[PEDIDO] Script de vender e comprar houses
O sistema de comprar e vende houses é na source do TFS, então não precisa de script nenhum :\ vá no seu talkaction.xml da pasta data/talkactions e substitua os seus comandos de comprar house por esses no seu talkactions.xml <!-- Houses --> <talkaction words="!buyhouse" filter="word-spaced" event="function" value="houseBuy"/> <talkaction words="!sellhouse" filter="word-spaced" event="function" value="houseSell"/> <talkaction words="!kick" filter="word-spaced" event="function" value="houseKick"/> <talkaction words="!door" filter="word-spaced" event="function" value="houseDoorList"/> <talkaction words="!invite" filter="word-spaced" event="function" value="houseGuestList"/> <talkaction words="!sowner" filter="word-spaced" event="function" value="houseSubOwnerList"/>
-
Boost Stone System Poketibia
Testei em servidor PDA ~~
-
Dois servidores em uma uníca host?
Para abrir dois servidores em uma mesma maquina é só alterar o worldId do config.lua de algum dos dois servidores pra 1 vá no config.lua de algum servidor e procure por worldId = 0 só muda para 1 e vai abrir normal os dois servidores e pra o servidor que for usar OTClient coloque esse MOD aqui, que ao tentar entrar com outro client levará um kick ~~ http://www.tibiaking.com/forum/topic/49682-otc-mod-que-deixa-o-otc-exclusivo-para-seu-servidor/
-
(Ajuda) Como Colocar Tempo No Npc
Eu testei na base do Tibia e está normal, porém as funções podem ser diferentes, se der erro verifique se aparece algum erro na distro ao dar /reload npcs ou durante o carregamento da distro. Mesma coisa, acho que é a distro pois é versão 8.0 testei desse modo e funcionou aqui Desse modo ai está funcionando, só que por enquanto que não passa os 5 minutos o player pode falar a vontade com o NPC que ele não vai responder ~~
-
(Ajuda) Como Colocar Tempo No Npc
ainda continua a mesma coisa, ele repeti desbug quantas vezes quiser e ainda continua sem o tempo
-
(Ajuda) Como Colocar Tempo No Npc
Se tivesse com um servidor aqui já tinha resolvido
-
(Ajuda) Como Colocar Tempo No Npc
Meu olho quase fechando huehue local focus = 0 local talk_start = 0 local target = 0 local days = 0 local waittime = 300 -- (300 seconds) local storage = 5560 function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('Good bye then.') focus = 0 talk_start = 0 end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function onCreatureSay(cid, type, msg) msg = string.lower(msg) if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then selfSay('Hello ' .. getCreatureName(cid) .. '! Oi eu lhe dou 1 nivel por 10 Gold') focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Sorry, ' .. getCreatureName(cid) .. '! I talk to you in a minute.') elseif focus == cid then talk_start = os.clock() if msgcontains(msg, 'promotion') or msgcontains(msg, 'promote') then if getPlayerVocation(cid) > 4 then selfSay('Sorry, you are already promoted.') talk_state = 0 elseif not isPremium(cid) then selfSay('Sorry, you must be premium to buy promotion.') talk_state = 0 else selfSay('Do you want to buy promotion for 20k?') talk_state = 1 end elseif msgcontains(msg, 'desbug') or msgcontains(msg, 'desbugar') then selfSay('Quer Desbugar por 10 Gold?') talk_state = 2 if exhaustion.get(cid, storage) == FALSE then exhaustion.set(cid, storage, waittime) doSendMagicEffect(getPlayerPosition(cid), 180) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "You must wait another " .. exhaustion.get(cid, storage) .. " seconds.") end return true end elseif talk_state == 1 then if msgcontains(msg, 'yes') then if pay(cid,200000000) then doPlayerSetVocation(cid, getPlayerVocation(cid)+4) selfSay('You are now promoted!') else selfSay('Sorry, you do not have enough money.') end end talk_state = 0 elseif talk_state == 2 then if msgcontains(msg, 'yes') then if doPlayerRemoveItem(cid,2160,10) == 0 then selfSay('Voce Nao Tem Golds Suficiente.') else selfSay('Voce Foi Desbugado.') addLevel(cid, 1) end end talk_state = 0 elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then selfSay('Good bye, ' .. getCreatureName(cid) .. '!') focus = 0 talk_start = 0 end end end function onThink() doNpcSetCreatureFocus(focus) if (os.clock() - talk_start) > 45 then if focus > 0 then selfSay('Next Please...') end focus = 0 end if focus ~= 0 then if getDistanceToCreature(focus) > 5 then selfSay('Good bye then.') focus = 0 end end end dar algum erro na distro?
-
(Ajuda) Como Colocar Tempo No Npc
local focus = 0 local talk_start = 0 local target = 0 local days = 0 local tempo = 10 -- em segundos local strg = 12980 -- Storage onde salvará o tempo (Não Mexa) function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('Good bye then.') focus = 0 talk_start = 0 end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function onCreatureSay(cid, type, msg) msg = string.lower(msg) if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then selfSay('Hello ' .. getCreatureName(cid) .. '! Oi eu lhe dou 1 nivel por 10 Gold') focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Sorry, ' .. getCreatureName(cid) .. '! I talk to you in a minute.') elseif focus == cid then talk_start = os.clock() if msgcontains(msg, 'promotion') or msgcontains(msg, 'promote') then if getPlayerVocation(cid) > 4 then selfSay('Sorry, you are already promoted.') talk_state = 0 elseif not isPremium(cid) then selfSay('Sorry, you must be premium to buy promotion.') talk_state = 0 else selfSay('Do you want to buy promotion for 20k?') talk_state = 1 end elseif msgcontains(msg, 'desbug') or msgcontains(msg, 'desbugar') then selfSay('Quer Desbugar por 10 Gold?') talk_state = 2 elseif talk_state == 1 then if msgcontains(msg, 'yes') then if pay(cid,200000000) then doPlayerSetVocation(cid, getPlayerVocation(cid)+4) selfSay('You are now promoted!') else selfSay('Sorry, you do not have enough money.') end end talk_state = 0 if not exhaustion.check(cid, strg) then exhaustion.set(cid, strg, tempo) else doPlayerSendCancel(cid, "Voce precisa aguardar "..exhaustion.get(cid, strg).." segundos para usar novamente.") end elseif talk_state == 2 then if msgcontains(msg, 'yes') then if doPlayerRemoveItem(cid,2160,10) == 0 then selfSay('Voce Nao Tem Golds Suficiente.') else selfSay('Voce Foi Desbugado.') addLevel(cid, 1) end end talk_state = 0 elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then selfSay('Good bye, ' .. getCreatureName(cid) .. '!') focus = 0 talk_start = 0 end end end function onThink() doNpcSetCreatureFocus(focus) if (os.clock() - talk_start) > 45 then if focus > 0 then selfSay('Next Please...') end focus = 0 end if focus ~= 0 then if getDistanceToCreature(focus) > 5 then selfSay('Good bye then.') focus = 0 end end end