
Tudo que Gustavo Ntos postou
-
Npc Que Muda Vocation
Se a Script funcionou marque como melhor resposta// Você quer como?? perder todos items e volta pro level 1? não entendi esse zerar a vocação
-
Npc Que Muda Vocation
local item=2160 --ID do item necessario para trocar de vocaçao local newVoc=5 --ID da vocation local outfit=13 --LookType do outfit da vocation ---LINHA ADICINADA BY : GUSTAVO NTOS--- local level= 200 --Level pra pegar a vocaçãao ---LINHA ADICINADA BY : GUSTAVO NTOS--- local stor = 437369 -- Storage pode ser qualquer numero, desde que não exista no servidor. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if msgcontains(msg, 'yes') then if(doPlayerRemoveItem(cid, item, 1) == true) then if getPlayerLevel(cid) >= level then if getPlayerStorageValue(cid, stor) < 1 then doPlayerSetVocation(cid, newVoc) setPlayerStorageValue(cid, stor, 1) doCreatureChangeOutfit(cid, {lookType=outfit}) else selfSay("Voce ja se Transformou em Mago Master.", cid) end else selfSay('Para virar um Mago master voce precisa do level '..level..'. ', cid) end else selfSay("Voce nao tem o item necessario para se transformar em Mago Master. Volte aqui quando tiver ele.", cid) end end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
-
Npc Que Muda Vocation
não entendi nada. Qual o Erro? algum erro no console?
-
Npc Que Muda Vocation
Testa: local item=2160 --ID do item necessario para trocar de vocaçao local newVoc=5 --ID da vocation local outfit=13 --LookType do outfit da vocation ---LINHA ADICINADA BY : GUSTAVO NTOS--- local level= 200 --Level pra pegar a vocaçãao ---LINHA ADICINADA BY : GUSTAVO NTOS--- local stor = 437369 -- Storage pode ser qualquer numero, desde que não exista no servidor. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if msgcontains(msg, 'yes') then if getPlayerLevel(cid) >= level then if(doPlayerRemoveItem(cid, item, 1) == true) then if getPlayerStorageValue(cid, stor) < 1 then doPlayerSetVocation(cid, newVoc) setPlayerStorageValue(cid, stor, 1) doCreatureChangeOutfit(cid, {lookType=outfit}) else selfSay("Voce ja se Transformou em Mago Master.", cid) end else selfSay('Para virar um Mago master voce precisa do level '..level..'. ', cid) end else selfSay("Voce nao tem o item necessario para se transformar em Mago Master. Volte aqui quando tiver ele.", cid) end end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
-
Sistema de kill mais extra exp em %
Envez de ser numero de monstros pode ser Storage??
-
Npc Que Muda Vocation
Va na pasta do seu servidor // data/xml/vocations.xml abra o vocations.xml procura pela sua vocação 5 e assim procura por isso na linha: fromvoc="x" // Troque o numero pelo numero 5, isso significa que quando logar a vocação sera 5 ..... caso esteja outro numero vai volta a vocação mesmo
-
[action] Edo Tensei
Sim mano eu ja tinha arrumado... fui ver o code do monstros e ele tava nas linhas de ser summon 0
-
Show Off Site otPokémon AMV
Acho que esse "Escolher arquivo" é muito perigoso pois algem pode te mandar kl e tu baixa e ja era...
-
Report BOT
Consigo fazer uma que salva no num "x" documento oque o player reportou... Como você quer a mensagem, aparece onde no default?
-
Peca sua script !!
Troque isso: <action actionid="2000" event="script" value="extraxp.lua"/> Por isso: <action itemid="xxxx" event="script" value="extraxp.lua" />
-
latestnews.php
Erro no latestnews.php: Quando abre site: Fatal error: Call to a member function fetchAll() on a non-object in C:\xampp\htdocs\pages\latestnews.php on line 512 Linha 512: $last_threads = $SQL->query('SELECT ' . $SQL->tableName('players') . '.' . $SQL->fieldName('name') . ', ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('post_text') . ', ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('post_topic') . ', ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('icon_id') . ', ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('post_smile') . ', ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('id') . ', ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('replies') . ', ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('post_date') . ' FROM ' . $SQL->tableName('players') . ', ' . $SQL->tableName('z_forum') . ' WHERE ' . $SQL->tableName('players') . '.' . $SQL->fieldName('id') . ' = ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('author_guid') . ' AND ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('section') . ' = 1 AND ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('first_post') . ' = ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('id') . ' ORDER BY ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('last_post') . ' DESC LIMIT ' . $config['site']['news_limit'])->fetchAll();
-
(Resolvido)Sair Efeito em cima da conta GOD
Data/talkactions/scripts/ Cria um arquivo chamado adm.lua Coloque dentro function onSay(cid, words, param) efeito=1 segundos=120 repeatEff(cid, efeito, segundos) return true end -------By: Gustavo Ntos------- TalkActions.xml coloque: <talkaction access="4" words="!adm" event="script" value="adm.lua"/>
-
(Resolvido)Sair Efeito em cima da conta GOD
Testa essa TalkAction: function onSay(cid, words, param) efeito=1 segundos=120 repeatEff(cid, efeito, segundos) return true end -------By: Gustavo Ntos-------
-
(Resolvido)Sair Efeito em cima da conta GOD
function onThink(cid, interval) Efeito = 1 for _, pid in ipairs(getPlayersOnline()) do if (getPlayerGroupId(cid) >= 4 and not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePos(cid), Efeito) end end return true end
-
(Resolvido)Sair Efeito em cima da conta GOD
Qual o Erro?
-
(Resolvido)Sair Efeito em cima da conta GOD
Cria um arquivo chamado : adm.lua (pasta globalevents) ----------------------------------------------------------------- local eff=1 function onThink(interval) if getPlayerGroupId(cid) >= 4 then doSendMagicEffect(getCreaturePos(pid), eff) end return true end --------------------------------------------------------------- Em globalevents.xml add: <globalevent name="adm" interval="2000" event="script" value="adm.lua"/>
-
AJUDA Spell Deste Video
up
-
[Pedido] Spell
up
-
Como Proteger Suas Sprite
Isso ai não protege nada.....
-
Serve não fica online uso roteado/modem <<< não
Desativa o firewall do windows deve estar bloqueando as portas.
-
[Spell]
Quem pode fazer essa spells? a do gel oe a que gira?
-
[NTO] Base NTO Server (WAR)
Algum Menbro do Tibiaking Sabe se pode pegar a base de outra pessoa e postar assim no tk? O kojack do youtube posto esse servidor lá e o dono do nto war deu strike..... Esse cara ai não fez nada na base ta com os mesmos bugs.... @EDIT Essa base era do @Ntosky que usou de principio ntoserver ou a do ntowar inicial... o cara fez muitas coisas na base.
- Dbo Rox V2 8.60 [Open Source][99% SEM BUGS]
-
[Pedido] Spell
Olá gostaria de saber se alguem pode me ajudar a fazer um script, È assim quando o player ativa ela, ele é teleportado para outro mapa e é Summonado 3 monstros ou Summons na posição anterior dele, e ele volta pra posição caso matam os tres bixos dele. E la nesse mapa tera um teleport que ao entra mapa os bixo e ele volta.
-
(Resolvido)Arrumar Site( MODERN ACC)
Consegui Usando Margin e usando a função > {if $logged == 0} e {if $logged == 1} , Agora o site fico Top Olha como ficou: