Ir para conteúdo

ViitinG

Membro
  • Registro em

  • Última visita

Tudo que ViitinG postou

  1. ViitinG postou uma resposta no tópico em Suporte Tibia OTServer
    Primeiramente o script ta em português fica dificil arruma assim,mas tenta mudar : function onTimer() para : function onTime()
  2. ViitinG postou uma resposta no tópico em Suporte Tibia OTServer
    "data/globalevents/scripts/zombie/onthink.lua" function onThink(interval, lastExecution, thinkInterval) if(getStorage(ZE_STATUS) == 2) then setZombiesToSpawnCount(getZombiesToSpawnCount()+1) local players = getZombiesEventPlayers() for i=1, getZombiesToSpawnCount() * 2 do if(getZombiesToSpawnCount() > 0 and spawnNewZombie()) then setZombiesToSpawnCount(getZombiesToSpawnCount()-1) end end end return true end
  3. O client você usa o 10.35 normal. https://mega.co.nz/#!rIVTkJ4S!D_repXWrrrkZ_jiStlqUZ3A4UTEgJlUWORjG-cu1bwE Creditos : comedinha (outro forum.)
  4. Acho que a maquina não tem memória suficiente para aguentar o servidor..
  5. "data/npc/A Sweaty Cyclops.xml" <?xml version="1.0" encoding="UTF-8"?> <npc name="A Sweaty Cyclops" script="data/npc/scripts/A Sweaty Cyclops.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="22" head="0" body="0" legs="0" feet="0" addons="0"/> <parameters> <parameter key="message_greet" value="Hum Humm! Welcume lil' Player.."/> <parameter key="message_farewell" value="Good bye lil' one."/> </parameters> </npc> "data/npc/scripts/A Sweaty Cyclops.lua" 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 -- XVX FORGER START -- function amulet(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if getPlayerItemCount(cid,8262) >= 1 and getPlayerItemCount(cid,8263) >= 1 and getPlayerItemCount(cid,8264) >= 1 and getPlayerItemCount(cid,8265) >= 1 then if doPlayerRemoveItem(cid,8262,1) and doPlayerRemoveItem(cid,8263,1) and doPlayerRemoveItem(cid,8264,1) and doPlayerRemoveItem(cid,8265,1) == TRUE then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,8266,1) end else npcHandler:say('You don\'t have these items!', cid) end end function obsidian(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,2516) >= 1 and getPlayerItemCount(cid,2425) >= 1 then if doPlayerRemoveItem(cid,2516,1) and doPlayerRemoveItem(cid,2425,1) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5908,1) end else npcHandler:say('You don\'t have these items!', cid) end end function crude(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,5879) >= 1 then if doPlayerRemoveItem(cid,5879,1) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5892,1) end else npcHandler:say('You don\'t have these items!', cid) end end function spool(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,5879) >= 10 then if doPlayerRemoveItem(cid,5879,10) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5886,1) end else npcHandler:say('You don\'t have these items!', cid) end end function ticket(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,2160) >= 5 then if doPlayerRemoveItem(cid,2160,5) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5958,1) end else npcHandler:say('You don\'t have these items!', cid) end end function warrior(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,2475) >= 4 then if doPlayerRemoveItem(cid,2475,4) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5885,1) end else npcHandler:say('You don\'t have these items!', cid) end end function sulphur(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,2392) >= 3 then if doPlayerRemoveItem(cid,2392,3) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5904,1) end else npcHandler:say('You don\'t have these items!', cid) end end function chicken(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,2195) >= 1 then if doPlayerRemoveItem(cid,2195,1) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5891,1) end else npcHandler:say('You don\'t have these items!', cid) end end function royal(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,2487) >= 1 then if doPlayerRemoveItem(cid,2487,1) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5887,1) end else npcHandler:say('You don\'t have these items!', cid) end end function hell(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,2462) >= 1 then if doPlayerRemoveItem(cid,2462,1) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5888,1) end else npcHandler:say('You don\'t have these items!', cid) end end function crossbow(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,5954) >= 15 then if doPlayerRemoveItem(cid,5954,15) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5947,1) end else npcHandler:say('You don\'t have these items!', cid) end end function fighting(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,2498) >= 2 then if doPlayerRemoveItem(cid,2498,2) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5884,1) end else npcHandler:say('You don\'t have these items!', cid) end end function bolt(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,5944) >= 1 then if doPlayerRemoveItem(cid,5944,1) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,6529,10) end else npcHandler:say('You don\'t have these items!', cid) end end function bluepieceofcloth(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,2663) >= 1 then if doPlayerRemoveItem(cid,2663,1) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5912,1) end else npcHandler:say('You don\'t have these items!', cid) end end function greenpieceofcloth(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,2652) >= 1 then if doPlayerRemoveItem(cid,2652,1) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5910,1) end else npcHandler:say('You don\'t have these items!', cid) end end function redpieceofcloth(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,2655) >= 1 then if doPlayerRemoveItem(cid,2655,1) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5911,1) end else npcHandler:say('You don\'t have these items!', cid) end end function draconian(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,2516) >= 1 then if doPlayerRemoveItem(cid,2516,1) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5889,1) end else npcHandler:say('You don\'t have these items!', cid) end end function goldingot(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid,9971) >= 2 then if doPlayerRemoveItem(cid,9971,1) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,13941,1) end else npcHandler:say('You don\'t have these items!', cid) end end -- XVX FORGER END -- keywordHandler:addKeyword({'help'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "I can forge Amulet, Obsidian Knife, Huge Chunk of Crude Iron, Piece of Draconian Steel, spool of yarn, ticket, warrior sweat, magic sulphur, enchanted chicken wing, royal steel, hell steel, crossbow, fighting spirit, infernal bolt, blue piece of cloth, green piece of cloth and red piece of cloth!"}) local node1 = keywordHandler:addKeyword({'amulet'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Hum Humm! Welcume lil. Me can do unbroken but Big Ben need a lil time to make it unbroken. Yes or no??'}) node1:addChildKeyword({'yes'}, amulet, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node2 = keywordHandler:addKeyword({'obsidian'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a Dragon Shield and an Obsidian Lance for a Obsidian Knife?'}) node2:addChildKeyword({'yes'}, obsidian, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node2:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node3 = keywordHandler:addKeyword({'crude'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a Giant Spider Silk for a Huge Chunk of Crude Iron?'}) node3:addChildKeyword({'yes'}, crude, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node3:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node4 = keywordHandler:addKeyword({'spool'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a Dragon Shield for a Piece of Draconian Steel?'}) node4:addChildKeyword({'yes'}, spool, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node4:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node5 = keywordHandler:addKeyword({'ticket'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a 50k for a ticket?'}) node5:addChildKeyword({'yes'}, ticket, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node5:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node6 = keywordHandler:addKeyword({'warrior'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a 4 warrior helmet for a warrior sweat?'}) node6:addChildKeyword({'yes'}, warrior, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node6:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node7 = keywordHandler:addKeyword({'sulphur'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a 3 fire sword for a magic sulphur?'}) node7:addChildKeyword({'yes'}, sulphur, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node7:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node8 = keywordHandler:addKeyword({'chicken'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a boots of haste for a enchanted chicken wing?'}) node8:addChildKeyword({'yes'}, chicken, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node8:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node9 = keywordHandler:addKeyword({'royal'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a crown armor for a royal steel?'}) node9:addChildKeyword({'yes'}, royal, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node9:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node10 = keywordHandler:addKeyword({'hell'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a devil helmet for a hell steel?'}) node10:addChildKeyword({'yes'}, hell, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node10:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node11 = keywordHandler:addKeyword({'crossbow'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a 15 demon horn for a elane crossbow?'}) node11:addChildKeyword({'yes'}, crossbow, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node11:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node12 = keywordHandler:addKeyword({'fighting'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a royal helmet for a fighting spirit?'}) node12:addChildKeyword({'yes'}, fighting, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node12:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node13 = keywordHandler:addKeyword({'bolt'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a soul orb for a 10 infernal bolt?'}) node13:addChildKeyword({'yes'}, bolt, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node13:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node14 = keywordHandler:addKeyword({'bluepieceofcloth'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a mystic turban for a blue piece of cloth?'}) node14:addChildKeyword({'yes'}, bluepieceofcloth, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node14:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node15 = keywordHandler:addKeyword({'greenpieceofcloth'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a green tunic for a green piece of cloth?'}) node15:addChildKeyword({'yes'}, greenpieceofcloth, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node15:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node16 = keywordHandler:addKeyword({'redpieceofcloth'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a red robe for a red piece of cloth?'}) node16:addChildKeyword({'yes'}, redpieceofcloth, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node16:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node17 = keywordHandler:addKeyword({'draconian'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a Dragon Shield for a Piece of Draconian Steel?'}) node17:addChildKeyword({'yes'}, draconian, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node17:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node18 = keywordHandler:addKeyword({'gold'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a gold ingot for a cup of molten gold?'}) node18:addChildKeyword({'yes'}, gold, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node18:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) npcHandler:addModule(FocusModule:new())
  6. ViitinG postou uma resposta no tópico em Suporte Tibia OTServer
    Coloca o Vocation ID 0.
  7. "data/npc/npc.xml" <?xml version="1.0" encoding="UTF-8"?> <npc name="Melkrapo" script="data/npc/scripts/npc.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="130" head="23" body="69" legs="132" feet="60" addons="0"/> <parameters> <parameter key="module_travel" value="1"/> <parameter key="message_greet" value="Olá |PLAYERNAME|. Sou Melkrapo, o atual guardião dos portais do Gran Castle! Quer tentar entrar no castelo?, fale {travel}."/> <parameter key="travel_destinations" value="castelo,x,y,z,0."/> </parameters> </npc> "data/npc/scripts/npc.lua" 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 onPlayerEndTrade(cid) npcHandler:onPlayerEndTrade(cid) end function onPlayerCloseChannel(cid) npcHandler:onPlayerCloseChannel(cid) end npcHandler:addModule(FocusModule:new())
  8. ViitinG postou uma resposta no tópico em Suporte Tibia OTServer
    Bota o Account Manager level 1 e sem vocação que resolve !
  9. ViitinG postou uma resposta no tópico em Suporte Tibia OTServer
    Baixe o programa Remere's Map Editor.
  10. ViitinG postou uma resposta no tópico em Suporte Tibia OTServer
    Desative o firewall,antivirus e execute como administrador.
  11. Nossa fico perfeito,brigadão !!
  12. Tamanho para botar no Team Speak 3 cara...
  13. Gostaria de um banner para meu servidor,de preferencia alguem que saiba mecher com isso.Segue as configurações : OBS : Banner é para o Team Speak do servidor.Vou deixar a criatividade com você. SITE/IP: www.wakeot.com Port: 7171 Versão 9.80/9.83 Alternative Tibia Server..
  14. Não mecho com outro tipo de mapa sem ser global brother,não sei quanto precisa para abrir esse "Hollister"..
  15. O seu dedicado não tem memória suficiente para aguentar o mapa brother. Se for um mapa global precisa ter no minimo 4GB+ de memória para aguentar !
  16. Seu computador ou dedicado não tem memória suficiente para aguentar o servidor.. Tente compilar o mapa para 64 bits ou diminuir o mapa !
  17. ViitinG postou uma resposta no tópico em Ouvidoria
    Estou usando firefox e está com o mesmo problema também !
  18. Não tem como o problema ser no firewall. Aparece o mesmo erro com a pasta deletada ?
  19. O espaço não altera em nada o script.. Se você não usa raids tenta excluir a pasta por completo. (faça um backup antes!)
  20. ViitinG postou uma resposta no tópico em Suporte Tibia OTServer
    Você colocou um spawn perto do monstro ? Verifique se o monstro existe na sua pasta "monster"
  21. Normalmente isso acontece quando o seu computador não suporte o servidor,seu mapa pode ser muito grande ou algo do tipo..
  22. Coloque "spoiler" nas imagens pro topico fica mais organizado !

Informação Importante

Confirmação de Termo