Ir para conteúdo

Babilonia

Membro
  • Registro em

  • Última visita

Tudo que Babilonia postou

  1. Eai galera blz. To usando sistema premium account como vip preciso de um comando par compra promotion para free. versão do meu tfs 1.2 Ajuda eu ai rp+
  2. Funciona. Vlw ajuda reputado Achei o erro arrumei o outro os 2 esta funcionado aqui. É nos murilao!!! XD
  3. Ola pessoal preciso de ajuda pra acerta o npc de viaje pro meu ot. o npc é esse 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 local voices = { {text = 'Whoah. That was a large shadow passing by.'} } npcHandler:addModule(VoiceModule:new(voices)) local travelNode = keywordHandler:addKeyword({'yalahar'}, StdModule.say, {npcHandler = npcHandler, text = 'That is quite a long unprofitable travel. I\'ll bring you to Yalahar. Is that ok with you?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 0, cost = 400, destination = Position(32817, 31270, 7) }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'thais'}, StdModule.say, {npcHandler = npcHandler, text = 'That is quite a long unprofitable travel. I\'ll bring you to Thais. Is that ok with you?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 0, cost = 400, destination = Position(32310, 32209, 7) }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'carlin'}, StdModule.say, {npcHandler = npcHandler, text = 'That is quite a long unprofitable travel. I\'ll bring you to Carlin. Is that ok with you?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 0, cost = 400, destination = Position(32387, 31821, 7) }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'venore'}, StdModule.say, {npcHandler = npcHandler, text = 'That is quite a long unprofitable travel. I\'ll bring you to Venore. Is that ok with you?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 0, cost = 400, destination = Position(32962, 32021, 7) }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'port hope'}, StdModule.say, {npcHandler = npcHandler, text = 'That is quite a long unprofitable travel. I\'ll bring you to Port Hope. Is that ok with you?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 0, cost = 400, destination = Position(32535, 32783, 7) }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'darashia'}, StdModule.say, {npcHandler = npcHandler, text = 'That is quite a long unprofitable travel. I\'ll bring you to Darashia. Is that ok with you?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 0, cost = 400, destination = Position(33289, 32481, 7) }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'liberty bay,'}, StdModule.say, {npcHandler = npcHandler, text = 'That is quite a long unprofitable travel. I\'ll bring you to Liberty Bay,. Is that ok with you?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 0, cost = 400, destination = Position(32298, 32900, 7) }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'svargrond'}, StdModule.say, {npcHandler = npcHandler, text = 'That is quite a long unprofitable travel. I\'ll bring you to Svargrond. Is that ok with you?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 0, cost = 400, destination = Position(32342, 31108, 7) }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'edron'}, StdModule.say, {npcHandler = npcHandler, text = 'That is quite a long unprofitable travel. I\'ll bring you to Edron,. Is that ok with you?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 0, cost = 400, destination = Position(33176, 31764, 7) }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'ankrahmun'}, StdModule.say, {npcHandler = npcHandler, text = 'That is quite a long unprofitable travel. I\'ll bring you to Ankrahmun. Is that ok with you?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 0, cost = 400, destination = Position(33092, 32883, 7) }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, reset = true, text = 'We would like to serve you some time.'}) keywordHandler:addKeyword({'sail'}, StdModule.say, {npcHandler = npcHandler, text = 'Welcome on board, free |PLAYERNAME|. I can bring you to {Thais}, {Carlin}, {Venore}, {Port Hope}, {Darashia}, {Liberty Bay}, {Svargrond}, {Edron}, {Ankrahmun} or {Yalahar} .'}) keywordHandler:addKeyword({'passage'}, StdModule.say, {npcHandler = npcHandler, text = 'Welcome on board, noble |PLAYERNAME|. I can bring you to {Thais}, {Carlin}, {Venore}, {Port Hope}, {Darashia}, {Liberty Bay}, {Svargrond}, {Edron}, {Ankrahmun} or {Yalahar}, .'}) keywordHandler:addKeyword({'job'}, StdModule.say, {npcHandler = npcHandler, text = 'I am the captain of this ship.'}) keywordHandler:addKeyword({'captain'}, StdModule.say, {npcHandler = npcHandler, text = 'I am the captain of this ship.'}) npcHandler:setMessage(MESSAGE_GREET, "Ahoy, |PLAYERNAME|. On a mission for the explorer society, eh?") npcHandler:setMessage(MESSAGE_FAREWELL, "Good bye.") npcHandler:setMessage(MESSAGE_WALKAWAY, "Good bye.") npcHandler:addModule(FocusModule:new()) ta dando este erro [Warning - NpcScript::NpcScript] Can not load script: Captain Free.lua data/npc/scripts/Captain Free.lua:14: ')' expected near '=' quem puder me ajuda rp+ Consegui arruma aqui era erro nas posições tinha que tirar o x,z,y = Editei corretamente a cima se alguém quiser usar depois XD.
  4. muito bom ta bugado pra compra pelo gesior aki n chega isso me salvo reputado vlwss!!! Otimo Cara me ajudo muito vou ajuda tbm ae codigo atualizado versao 10.96 local mounts = { --["mount"] = {id = x}, ["widow queen"] = {id = 1}, ["racing bird"] = {id = 2}, ["war bear"] = {id = 3}, ["black sheep"] = {id = 4}, ["midnight panther"] = {id = 5}, ["draptor"] = {id = 6}, ["titanica"] = {id = 7}, ["tin lizzard"] = {id = 8}, ["blazebringer"] = {id = 9}, ["rapid boar"] = {id = 10}, ["stampor"] = {id = 11}, ["undead cavebear"] = {id = 12}, ["donkey"] = {id = 13}, ["tiger slug"] = {id = 14}, ["uniwheel"] = {id = 15}, ["crystal wolf"] = {id = 16}, ["war horse"] = {id = 17}, ["kingly deer"] = {id = 18}, ["tamed panda"] = {id = 19}, ["dromedary"] = {id = 20}, ["scorpion king"] = {id = 21}, ["rented horse"] = {id = 22}, ["armoured war horse"] = {id = 23}, ["shadow draptor"] = {id = 24}, ["rented horse"] = {id = 26}, ["lady bug"] = {id = 27}, ["manta ray"] = {id = 28}, ["ironblight"] = {id = 29}, ["magma crawler"] = {id = 30}, ["dragonling"] = {id = 31}, ["gnarlhound"] = {id = 32}, ["crimson ray"] = {id = 33}, ["steelbeak"] = {id = 34}, ["water buffalo"] = {id = 35}, ["armoured scorpion"] = {id = 36}, ["armoured dragonling"] = {id = 37}, ["ursagrodon"] = {id = 38}, ["hellgrip"] = {id = 39}, ["noble lion"] = {id = 40}, ["desert king"] = {id = 41}, ["shock head"] = {id = 42}, ["walker"] = {id = 43}, ["azudocus"] = {id = 44}, ["carpacosaurus"] = {id = 45}, ["death crawler"] = {id = 46}, ["flamesteed"] = {id = 47}, ["jade lion"] = {id = 48}, ["jade pincer"] = {id = 49}, ["nethersteed"] = {id = 50}, ["tempest"] = {id = 51}, ["winter king"] = {id = 52}, ["doombringer"] = {id = 53}, ["woodland prince"] = {id = 54}, ["hailtorm fury"] = {id = 55}, ["siegebreaker"] = {id = 56}, ["poisonbane"] = {id = 57}, ["blackpelt"] = {id = 58}, ["golden dragonfly"] = {id = 59}, ["steel bee"] = {id = 60}, ["copper fly"] = {id = 61}, ["tundra rambler"] = {id = 62}, ["highland yak"] = {id = 63}, ["glacier vagabond"] = {id = 64}, ["flying divan"] = {id = 65}, ["magic carpet"] = {id = 66}, ["floating kashmir"] = {id = 67}, ["ringtail waccoon"] = {id = 68}, ["night waccoon"] = {id = 69}, ["emerald waccoon"] = {id = 70}, ["glooth glider"] = {id = 71}, ["shadow hart"] = {id = 72}, ["black stag"] = {id = 73}, ["emperor deer"] = {id = 74}, ["flitterkatzen"] = {id = 75}, ["venompaw"] = {id = 76}, ["batcat"] = {id = 77}, ["sea devil"] = {id = 78}, ["coralripper"] = {id = 79}, ["plumfish"] = {id = 80}, ["gorongra"] = {id = 81}, ["noctungra"] = {id = 82}, ["silverneck"] = {id = 83}, ["slagsnare"] = {id = 84}, ["nightstinger"] = {id = 85}, ["razorcreep"] = {id = 86}, ["rift runner"] = {id = 87}, ["nightweller"] = {id = 88}, ["frostflare"] = {id = 89}, ["cinderhoof"] = {id = 90}, ["mouldpincer"] = {id = 91}, ["bloodcurl"] = {id = 92}, ["leafscuttler"] = {id = 93}, ["sparkion"] = {id = 94}, ["neon sparkid"] = {id = 95}, ["vortexion"] = {id = 96} } function onSay(player, words, param) local word = mounts[string.lower(param)] local mountdoll_id = 9019 -- id do mount doll if (player:getItemCount(mountdoll_id) > 0) then if (param ~= "" and word) then if(word and not player:hasMount(word.id)) then player:removeItem(mountdoll_id, 1) player:sendTextMessage(MESSAGE_INFO_DESCR, "Sua mount foi adicionada!") player:getPosition():sendMagicEffect(CONST_ME_GIFT_WRAPS) player:addMount(word.id) else player:sendCancelMessage("Voce ja tem esta mount.") end else player:sendCancelMessage("Digite novamente, algo está errado!") end else player:sendCancelMessage("Voce não tem um mount doll!") end return true end espero que ajude. vc tem que decha tudo ate o letra minúscula ai vai roda manin ou pega o codigo que editei abaixo vlw!!!
  5. Não pego tá do mesmo geito fala que nao tem o item pra compra sem da erro nem um.
  6. Eai galera fmz!! Quero muda o comando !buypremium pra inves de remover dinheiro remova um item especifico para compra a premium. tentei um exemplo aki mais nao deu certo nao remove item so aparece msg mais nada. Quem puder me ajuda agradeço vlws!!! script que eu tentei fazer aki^^ local config = { days = 30, maxDays = 365, item = 16101, cost = 1 } function onSay(player, words, param) if configManager.getBoolean(configKeys.FREE_PREMIUM) then return true end if player:getPremiumDays(cid) <= config.maxDays then if(doPlayerRemoveItem(cid, item, cost)) then player:addPremiumDays(config.days) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You have bought " .. config.days .." days of premium account.") else player:sendCancelMessage("You don't have enough coins, " .. config.days .. " days premium account costs " .. config.cost .. " premium coins.") player:getPosition():sendMagicEffect(CONST_ME_POFF) end else player:sendCancelMessage("You can not buy more than " .. config.maxDays .. " days of premium account.") player:getPosition():sendMagicEffect(CONST_ME_POFF) end return false end Tentei esse que vc me passo configurei ele asim /\ Mas nao pego fala que nao tem o item pra comprar mas nao deu nem um errro na distro ta que nem o meu XD.
  7. Ok obrigado mals ae XD
  8. Babilonia postou uma resposta no tópico em Suporte Tibia OTServer
    tambem preciso ajuda pfv!!!
  9. premium scroll funcional pra versão 10.96 tfs 1.2 tem como ??
  10. corcodo porem nao foi copilado com pvpexpert vc teria as soucers com o sistema ou a distro com o sistema x64? Store system não funciona como configurar ele ajuda dou rp+ ??
  11. No meu site fica ssism e nao aperce mais nada ajuda pfv!!! There are no players streaming right now on 8.60 Server.
  12. Concordo muito mal feito faltando n coisas a ideia e boa mas a programaçao ta muito ruim melhora isso ai cara.
  13. Desculpa amigo, eu tava com esse erro vim parar nesse topico nao encontrei a reposta depois de analizar bem que vi a questao do erro postei aki para ajuda quem o tivece e parace aki tbm. Mas vlw o alerta abraços !!!
  14. Nao e o script que ta bugado ele nao colocou o nome do arquivo corretamente lottery.lua deiche lottery sem o .lua e no xml deiche normal lottery.lua bug resolvido rp+ flws
  15. Babilonia postou uma resposta no tópico em Suporte Tibia OTServer
    Na verdade ta dando esse erros por voce ter nomeado errado os arquivos exemplo onsay.lua voce decha somente onsay ele ja arquivo lua nao precisa por .lua no final renomei corretamente e seja feliz ajudo R+
  16. Babilonia postou uma resposta no tópico em Suporte Tibia OTServer
    Onde muda essa parada no lua?? Tom com esse B.O tbm

Informação Importante

Confirmação de Termo