Muito bom mesmo...
vo baixar aqui e colocar no meu global pra fazer um teste...
vlw ae pelo npc
:smile_positivo:
By ricktcs, 23 de dez. de 2008 in NPCs, monsters e raids
info
Group: Barão
Joined: 15/12/07
Posts: 239
Reputation: +2

Muito bom mesmo...
vo baixar aqui e colocar no meu global pra fazer um teste...
vlw ae pelo npc
:smile_positivo:
info
Group: Artesão
Joined: 13/11/06
Posts: 126
Reputation: +3
Tibia Character: ----------------

=P nada ainda bem que voce gostou!
Arrumei um bug,, tinha um espaço fora do lugar. desculpem, mas jah arrumei
obrigado NoobLess pelo report
Edited Dezembro 23 by ricktcs
info
Group: Campones
Joined: 04/11/08
Posts: 71
Reputation: 0
Tibia Character: Damon Chas

Muito bom..
info
Group: Artesão
Joined: 13/11/06
Posts: 126
Reputation: +3
Tibia Character: ----------------

Obrigado ... to sempre tentando trazer coisas novas !!
---------------------------
Pessoal nao sejam sangue-suga Comentem
Como faço pro npc pegar o dinheiro e uma small ruby ?
info
Group: Campones
Joined: 02/04/09
Posts: 15
Reputation: +2
Tibia Character: Eternal Oblivion

Oi rickts eu fiz do geito que está ai mais o npc não me responder =/ por que? =//
se puder me ajudar e o topico ainda estiver ativo agradeço des de já.
info
Group: Visconde
Joined: 12/08/07
Posts: 345
Reputation: +7
Tibia Character: Lokeded
Copio o npc de recarregar soft do noobinhu e trocou os id, as falas
noss
no coments
info
Group: Campones
Joined: 26/10/08
Posts: 11
Reputation: 0

Ae me ajudo bastante vlw :positive:
info
Group: Artesão
Joined: 13/11/06
Posts: 126
Reputation: +3
Tibia Character: ----------------

Copio o npc de recarregar soft do noobinhu e trocou os id, as falasnoss
no coments
n gosto n comenta ok ?
info
Group: Conde
Joined: 07/05/08
Posts: 612
Reputation: +12
Tibia Character: leviana luciferiana

bem melhor seria se vc colocasse os crditos do noobinhu e pelo menos desse uma sditada pra melhorar o script tipo pondo ele tanto pra recarregar a fire quanto a soft.
info
Group: Artesão
Joined: 13/11/06
Posts: 126
Reputation: +3
Tibia Character: ----------------
Gente hoje resolvi fazer um NPC realmente muito eficiente ...
Um npc de recharger da Firewalker boots.
Lá vai os scripts...
1º Passo:
Entre na sua pasta do otserver, data/npc copie qualquer arquivo da pasta e renomeie para fire recharger.xml, apage tudo oque tem dentro e coloque:
2º Passo:
Agora entre na pasta: data/npc/scripts, copie qualquer arquivo e renomeie para firerecharg.lua, apage tudo que tem dentro e coloque:
-------------------------------------------------------------- ----------Recharger Firewalker boots by Ricktcs--------------- -------------------------------------------------------------- local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) 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 rechargeFirewalker(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end local playermoney = getPlayerMoney(cid) if playermoney >= 20000 then if doPlayerRemoveItem(cid,9934,1) == 1 then doPlayerAddItem(cid, 9933, 1) doPlayerRemoveMoney(cid, 20000) npcHandler:say("Here are your new firewalker boots!", cid) else npcHandler:say("You don't have worn firewalker boots.", cid) end else npcHandler:say("You don't have enough money.", cid) end keywordHandler:moveUp(1) return true end local node1 = keywordHandler:addKeyword({'firewalker boots'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to repair your firewalker boots for 20000 gold coins?'}) node1:addChildKeyword({'yes'}, rechargeFirewalker, {blessing = 1}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, moveup = 1, text = 'Then not.'}) keywordHandler:addKeyword({'offer'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "I can repair a pair of worn {firewalker boots} for 20000 gold coins."}) keywordHandler:addKeyword({'help'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "I can repair a pair of worn {firewalker boots} for 20000 gold coins."}) npcHandler:addModule(FocusModule:new())Pronto esta ai seu NPC recharger da Firewalker Boots. Para recarregar a firewalker boots é só voce falar ao NPC:
Hi
help (ou offer, ou firewalker boots se quiser ser mais direto)
firewalker boots
yes.
Espero que eu tenha ajudado algumas pessoas.
COMENTE!
~Ricktcs~
Edited Dezembro 23 by ricktcs