Tudo que bpm91 postou
-
parchment quest
@JoviM isso ajudaria em algo? https://github.com/otservme/global860/blob/master/sources/doc/LUA_FUNCTIONS
-
parchment quest
-
parchment quest
-
parchment quest
@Rayo será q nao teria q ser movement? ao invés d action? pq ai oq poderia ser feito, seria, ao mover o item tal da posição tal , aconteceria tal coisa?
-
parchment quest
@Rayo eu axo q n ta dando certo porq a função está como onuse.
-
parchment quest
@JoviM mesma coisa, só aparece demon quando da use.
-
parchment quest
tfs 0.4 desculpe acho que aquele erro q te mandei deve ter sido de outra coisa. agora ele n aparece nenhum erro, ele só está como no inicio. ao dar use.
-
parchment quest
@Rayo o que acontece agora é, ao dar use ele aparece os demons, e a mensagem "coloque-me no lugar blablabla, só que ao mover n acontece nada, só ao usar. e apareceu esse erro tb
-
parchment quest
@Rayo pq ele tava com [ arrumei oq vc tinha dito ficou assim local cfg = { playerStorage = 60999, globalStorage = 60999, time = 60 * 60 * 24, -- Tempo em segundos positions = { {x=33060, y=31623, z=15}, {x=33066, y=31623, z=15}, {x=33060, y=31627, z=15}, {x=33066, y=31627, z=15} } } local id_item = 1951 -- id do item function isCooldownReady() return os.time() > getGlobalStorageValue(cfg.globalStorage) end function onUse(cid, item, frompos, item2, topos) local pos_item x = {33063, y = 31624, z = 15} -- coloque a posição EXATA que o item fica if getTileItemById(pos_item, id_item).uid > 0 then if not isCooldownReady() then return true end for _, t in pairs(cfg.positions) do doSummonCreature("Demon", t) end setPlayerStorageValue(cid, cfg.playerStorage, 1) setGlobalStorageValue(cfg.globalStorage, os.time() + cfg.time) end doPlayerSendTextMessage(cid, MESSAGE_EVENT_ORANGE, "Coloque-me onde eu estava!") return true end porem o que acontece é , nem dando use nem movendo ta aparecendo os demons
-
parchment quest
1951 {x = 33063, y = 31624}, z = 15} te mandei uma msg sobre o site.
-
parchment quest
ja tentei function onUse(cid, item, frompos, item2, topos) local pos_item == {x = 33063, y = 31624}, z = 15} -- coloque a posição EXATA que o item fica e ja tentei function onUse(cid, item, frompos, item2, topos) local pos_item = {x = 33063, y = 31624}, z = 15} -- coloque a posição EXATA que o item fica mas ele da sempre esse erro
-
parchment quest
-
Procuro alguém que mexe com site de ot
Valor a tratar whats 15 98113 4549
-
parchment quest
@Rayo o parchment fica em cima de um tumulo, após a pessoa tirar de cima do tumulo por na backpack ou jogar longe, apenas remover do local de origem dela, os demons ja aparecem, porque a quest está no tumulo e ao vc remover os demons devem aparecer pra pessoa clicar no tumulo e ganhar o loot. se nao a pessoa joga o parchment fora, pega o loot e nao nascem os demons
-
parchment quest
alguem poderia me dizer como modifico esse action pra quando for removido do seu local de origem aconteça de aparece os demons? pois esse script está como ao dar use ele aparecerá demons. local cfg = { playerStorage = 60999, globalStorage = 60999, time = 60 * 60 * 24, -- Tempo em segundos positions = { {x=33060, y=31623, z=15}, {x=33066, y=31623, z=15}, {x=33060, y=31627, z=15}, {x=33066, y=31627, z=15} } } function isCooldownReady() return os.time() > getGlobalStorageValue(cfg.globalStorage) end function onUse(cid, item, frompos, item2, topos) if not isCooldownReady() then return true end for _, t in pairs(cfg.positions) do doSummonCreature("Demon", t) end setPlayerStorageValue(cid, cfg.playerStorage, 1) setGlobalStorageValue(cfg.globalStorage, os.time() + cfg.time) end
-
Preciso muito de Ajuda.
@Poulaco o mapa vc baixa aqui do tk msm, geralmente os ots o mapa fica na pasta data>world quando vc abrir seu map editor, va em open e entao vá ate a essa pasta e abra, ele irá abrir. caso ela peça um client, vc faz como eu falei ali em cima
-
Morte de Player drop 100%
Alguem poderia me ajudar? isso está prejudicando tanto ?
-
Ot client
Alguem me passa um ot client bom? um que seja o mais proximo do global possivel? se alguem souber me envia um link por favor é pra versão 8.6
-
Preciso muito de Ajuda.
@Poulaco bom eu sou iniciante nessa area tambem vou falar mais ou menos o q eu fiz e vc tenta, n garanto q de certo. bom baixa o remers do site original, depois vc vai em file > preferences > entao vc escolhe a versao 8.60 assim como está no meu, desmarca a opção check. dps vc vai em map propriedades e poe igual o meu caso vc import o mapa e ele nao va, abra o remers normal aceitando tudo q aparecer, após ele abrir vc vai em open e vai até seu mapa. essa imagem q aparece sua quer dizer que vc precisa importar o spr do seu tibia 8.6 é como está na imagem abaixo minha
-
Movements piso que da dano
consegui fazer pra quem precisar o script ta disponivel mas agradeço a ajudar @DdJs function onStepIn(cid, item, pos) local trap = {x=32497, y=31888, z=7, stackpos=1} if item.actionid == 13002 then doCreatureAddHealth(cid, -200) doSendMagicEffect(trap,16) doSendAnimatedText(trap, '200', TEXTCOLOR_RED) end return TRUE end
-
Morte de Player drop 100%
@Rayo sim eu olhei nao tem essa opção, nao sei mais o q pode ser, ja to a dias tentando arrumar isso
-
Movements piso que da dano
Alguem tem um script de quando passar em um determinado piso ele dar 200 de dano de poison?
-
Morte de Player drop 100%
Bom pessoal estou com problemas nas mortes dos players, desde rook até main land, todas as vocações dropam o set inteiro com bag e tudo, igual red skull, porém n consigo resolver esse problema, alguem teria ideia do q fazer? eu uso tfs 0.4 e essas são minhas vocações xml <?xml version="1.0" encoding="UTF-8"?> <vocations> <vocation id="0" clientId="0" name="None" description="none" needpremium="0" gaincap="10" gainhp="5" gainmana="5" gainhpticks="4" gainhpamount="4" gainmanaticks="6" gainmanaamount="3" manamultiplier="4.0" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="0" attackable="no" droploot="no"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="1" clientId="3" name="Sorcerer" description="a sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="8" gainhpamount="2" gainmanaticks="3" gainmanaamount="3" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="1"> <formula meleeDamage="0.7" distDamage="0.7" wandDamage="1.0" magDamage="0.9" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="2" clientId="4" name="Druid" description="a druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="8" gainhpamount="2" gainmanaticks="3" gainmanaamount="3" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="2"> <formula meleeDamage="0.7" distDamage="0.7" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="3" clientId="2" name="Paladin" description="a paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="6" gainhpamount="3" gainmanaticks="4" gainmanaamount="4" manamultiplier="1.4" attackspeed="1800" soulmax="100" gainsoulticks="120" fromvoc="3"> <formula meleeDamage="1.0" distDamage="1.1" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="4" clientId="1" name="Knight" description="a knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="4" gainhpamount="2" gainmanaticks="6" gainmanaamount="4" manamultiplier="3.0" attackspeed="1800" soulmax="100" gainsoulticks="120" fromvoc="4"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="5" clientId="3" name="Master Sorcerer" description="a master sorcerer" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="2" gainmanaticks="2" gainmanaamount="4" manamultiplier="1.1" attackspeed="2000" soulmax="200" gainsoulticks="1" fromvoc="1" lessloss="30"> <formula meleeDamage="0.7" distDamage="0.7" wandDamage="1.0" magDamage="0.9" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="6" clientId="4" name="Elder Druid" description="an elder druid" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="2" gainmanaticks="2" gainmanaamount="4" manamultiplier="1.1" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="2" lessloss="30"> <formula meleeDamage="0.7" distDamage="0.7" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="7" clientId="2" name="Royal Paladin" description="a royal paladin" needpremium="1" gaincap="20" gainhp="10" gainmana="15" gainhpticks="5" gainhpamount="4" gainmanaticks="3" gainmanaamount="4" manamultiplier="1.4" attackspeed="1800" soulmax="200" gainsoulticks="15" fromvoc="3" lessloss="30"> <formula meleeDamage="1.0" distDamage="0.9" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="8" clientId="1" name="Elite Knight" description="an elite knight" needpremium="1" gaincap="25" gainhp="15" gainmana="5" gainhpticks="4" gainhpamount="4" gainmanaticks="6" gainmanaamount="4" manamultiplier="3.0" attackspeed="1800" soulmax="200" gainsoulticks="15" fromvoc="4" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> </vocations>
-
(Resolvido)Morrer e dropar tudo e após passar rook itens nao vem do script de first itens
bom o que eu fiz foi, removi a linha que vc pediu pra por no creaturescript do onlogin, entao voltei o first itens antigo q era o do mods, então o char nasce certo como está na imagem, agora o q acontece é , quando eu passo pra main. os id do brass set é 11:43 You see brass legs (Arm:5). It weighs 38.00 oz. ItemID: [2478]. Position: [X: 32360] [Y: 31786] [Z: 7]. 11:43 You see a brass armor (Arm:8). ItemID: [2465]. Position: [X: 32360] [Y: 31785] [Z: 7]. 11:43 You see a brass helmet (Arm:3). ItemID: [2460]. Position: [X: 32360] [Y: 31784] [Z: 7]. 11:44 You see a spellbook (Def:14). It weighs 58.00 oz. It shows your spells and can also shield against attack when worn. ItemID: [2175]. Position: [X: 32359] [Y: 31786] [Z: 7]. 11:44 You see a dwarven shield (Def:26). ItemID: [2525]. Position: [X: 32361] [Y: 31786] [Z: 7]. 11:44 You see a scimitar (Atk:19, Def:13). ItemID: [2419]. Position: [X: 32361] [Y: 31785] [Z: 7]. eu fiz um sorcerer no qual deveria começar apenas com a vortex. e veio tudo isso q nao tem nada a ver cara eu acho que descobri o erro, ta no the oracle local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local Topic, vocation, town, destination = {}, {}, {}, {} local TOWN_ISLANDOFDESTINY = 16 local islandOfDestinyEnabled = false 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 greetCallback(cid) if(getPlayerLevel(cid) < ? then npcHandler:say("CHILD! COME BACK WHEN YOU HAVE GROWN UP!", cid) return false elseif(getPlayerLevel(cid) > 20) then npcHandler:say(getCreatureName(cid) .. ", I CAN'T LET YOU LEAVE - YOU ARE TOO STRONG ALREADY! YOU CAN ONLY LEAVE WITH LEVEL 20 OR LOWER.", cid) return false else local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid Topic[talkUser], vocation[talkUser], town[talkUser], destination[talkUser] = 0, 0, 0, 0 return true end end function creatureSayCallback(cid, type, msg) local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if(not npcHandler:isFocused(cid)) then return false elseif msgcontains(msg, "yes") and Topic[talkUser] == 0 then npcHandler:say(islandOfDestinyEnabled and "I WILL BRING YOU TO THE ISLAND OF DESTINY AND YOU WILL BE UNABLE TO RETURN HERE! ARE YOU SURE?" or "IN WHICH TOWN DO YOU WANT TO LIVE: {CARLIN}, {VENORE} " .. (isPremium(cid) == TRUE and ", {THAIS}, {DARASHIA}, {ANKRAHMUN} OR {EDRON}?" or " OR {THAIS}?"), cid) Topic[talkUser] = islandOfDestinyEnabled and 4 or 1 elseif Topic[talkUser] == 0 then npcHandler:unGreet(cid) elseif msgcontains(msg, "carlin") and Topic[talkUser] == 1 then npcHandler:say("IN CARLIN! AND WHAT PROFESSION HAVE YOU CHOSEN: {KNIGHT}, {PALADIN}, {SORCERER}, OR {DRUID}?", cid) Topic[talkUser] = 2 town[talkUser] = 5 destination[talkUser] = {x=32360, y=31782, z=7} elseif msgcontains(msg, "ab'dendriel") and Topic[talkUser] == 1 then npcHandler:say("IN AB'DENDRIEL! AND WHAT PROFESSION HAVE YOU CHOSEN: {KNIGHT}, {PALADIN}, {SORCERER}, OR {DRUID}?", cid) Topic[talkUser] = 2 town[talkUser] = 1 destination[talkUser] = {x=32732, y=31634, z=7} elseif msgcontains(msg, "kazordoon") and Topic[talkUser] == 1 then npcHandler:say("IN KAZORDOON! AND WHAT PROFESSION HAVE YOU CHOSEN: {KNIGHT}, {PALADIN}, {SORCERER}, OR {DRUID}?", cid) Topic[talkUser] = 2 town[talkUser] = 2 destination[talkUser] = {x=32649, y=31925, z=11} elseif msgcontains(msg, "thais") and Topic[talkUser] == 1 then npcHandler:say("IN THAIS! AND WHAT PROFESSION HAVE YOU CHOSEN: {KNIGHT}, {PALADIN}, {SORCERER}, OR {DRUID}?", cid) Topic[talkUser] = 2 town[talkUser] = 3 destination[talkUser] = {x=32369, y=32241, z=7} elseif msgcontains(msg, "venore") and Topic[talkUser] == 1 then npcHandler:say("IN VENORE! AND WHAT PROFESSION HAVE YOU CHOSEN: {KNIGHT}, {PALADIN}, {SORCERER}, OR {DRUID}?", cid) Topic[talkUser] = 2 town[talkUser] = 4 destination[talkUser] = {x=32957, y=32076, z=7} elseif msgcontains(msg, "darashia") and Topic[talkUser] == 1 then if isPremium(cid) == TRUE then npcHandler:say("IN DARASHIA! AND WHAT PROFESSION HAVE YOU CHOSEN: {KNIGHT}, {PALADIN}, {SORCERER}, OR {DRUID}?", cid) Topic[talkUser] = 2 town[talkUser] = 7 destination[talkUser] = {x=33213, y=32454, z=1} else npcHandler:say("YOU NEED A PREMIUM ACCOUNT IN ORDER TO GO THERE!", cid) Topic[talkUser] = 1 end elseif msgcontains(msg, "ankrahmun") and Topic[talkUser] == 1 then if isPremium(cid) == TRUE then npcHandler:say("IN ANKRAHMUN! AND WHAT PROFESSION HAVE YOU CHOSEN: {KNIGHT}, {PALADIN}, {SORCERER}, OR {DRUID}?", cid) Topic[talkUser] = 2 town[talkUser] = 6 destination[talkUser] = {x=33194, y=32853, z=8} else npcHandler:say("YOU NEED A PREMIUM ACCOUNT IN ORDER TO GO THERE!", cid) Topic[talkUser] = 1 end elseif msgcontains(msg, "edron") and Topic[talkUser] == 1 then if isPremium(cid) == TRUE then npcHandler:say("IN EDRON! AND WHAT PROFESSION HAVE YOU CHOSEN: {KNIGHT}, {PALADIN}, {SORCERER}, OR {DRUID}?", cid) Topic[talkUser] = 2 town[talkUser] = 9 destination[talkUser] = {x=33217, y=31814, z=8} else npcHandler:say("YOU NEED A PREMIUM ACCOUNT IN ORDER TO GO THERE!", cid) Topic[talkUser] = 1 end elseif msgcontains(msg, "portaa11") and msgcontains(msg, "hopaa11e") and Topic[talkUser] == 1 then if isPremium(cid) == TRUE then npcHandler:say("IN PORT HOPE! AND WHAT PROFESSION HAVE YOU CHOSEN: {KNIGHT}, {PALADIN}, {SORCERER}, OR {DRUID}?", cid) Topic[talkUser] = 2 town[talkUser] = 10 destination[talkUser] = {x=32595, y=32744, z=6} else npcHandler:say("YOU NEED A PREMIUM ACCOUNT IN ORDER TO GO THERE!", cid) Topic[talkUser] = 1 end elseif Topic[talkUser] == 1 then npcHandler:say("{CARLIN}, {VENORE}" .. (isPremium(cid) == TRUE and ", {THAIS}, {DARASHIA}, {ANKRAHMUN} OR {EDRON}?" or " OR {THAIS}?"), cid) Topic[talkUser] = 1 elseif msgcontains(msg, "sorcerer") and Topic[talkUser] == 2 then npcHandler:say("A SORCERER! ARE YOU SURE? THIS DECISION IS IRREVERSIBLE!", cid) Topic[talkUser] = 3 vocation[talkUser] = 1 elseif msgcontains(msg, "druid") and Topic[talkUser] == 2 then npcHandler:say("A DRUID! ARE YOU SURE? THIS DECISION IS IRREVERSIBLE!", cid) Topic[talkUser] = 3 vocation[talkUser] = 2 elseif msgcontains(msg, "paladin") and Topic[talkUser] == 2 then npcHandler:say("A PALADIN! ARE YOU SURE? THIS DECISION IS IRREVERSIBLE!", cid) Topic[talkUser] = 3 vocation[talkUser] = 3 elseif msgcontains(msg, "knight") and Topic[talkUser] == 2 then npcHandler:say("A KNIGHT! ARE YOU SURE? THIS DECISION IS IRREVERSIBLE!", cid) Topic[talkUser] = 3 vocation[talkUser] = 4 elseif Topic[talkUser] == 2 then npcHandler:say("{KNIGHT}, {PALADIN}, {SORCERER}, OR {DRUID}?", cid) Topic[talkUser] = 2 elseif msgcontains(msg, "yes") and Topic[talkUser] == 3 then npcHandler:say("SO BE IT!", cid) Topic[talkUser] = 0 doPlayerSetVocation(cid, vocation[talkUser]) doPlayerSetTown(cid, town[talkUser]) npcHandler:releaseFocus(cid) npcHandler:resetNpc(cid) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) doTeleportThing(cid, destination[talkUser]) npcHandlerfocus = 0 doSendMagicEffect(destination[talkUser], CONST_ME_TELEPORT) if isSorcerer(cid) then local bag = doPlayerAddItem(cid, 1988, 1) doAddContainerItem(bag, 2789, 5) doAddContainerItem(bag, 2175, 1) doAddContainerItem(bag, 2460, 1) doAddContainerItem(bag, 2465, 1) doAddContainerItem(bag, 2478, 1) doAddContainerItem(bag, 2643, 1) doAddContainerItem(bag, 2525, 1) doPlayerAddItem(cid, 2419, 1) setPlayerStorageValue(cid, 50000, 1) elseif isDruid(cid) then local bag = doPlayerAddItem(cid, 1988, 1) doAddContainerItem(bag, 2789, 5) doAddContainerItem(bag, 2175, 1) doAddContainerItem(bag, 2460, 1) doAddContainerItem(bag, 2465, 1) doAddContainerItem(bag, 2478, 1) doAddContainerItem(bag, 2643, 1) doAddContainerItem(bag, 2525, 1) doAddContainerItem(bag, 2419, 1) setPlayerStorageValue(cid, 50000, 1) elseif isPaladin(cid) then local bag = doPlayerAddItem(cid, 1988, 1) doAddContainerItem(bag, 2789, 5) doAddContainerItem(bag, 2175, 1) doAddContainerItem(bag, 2460, 1) doAddContainerItem(bag, 2465, 1) doAddContainerItem(bag, 2478, 1) doAddContainerItem(bag, 2643, 1) doAddContainerItem(bag, 2525, 1) doAddContainerItem(bag, 2389, 5) setPlayerStorageValue(cid, 50000, 1) elseif isKnight(cid) then local bag = doPlayerAddItem(cid, 1988, 1) doAddContainerItem(bag, 2789, 5) doAddContainerItem(bag, 2175, 1) doAddContainerItem(bag, 2428, 1) doAddContainerItem(bag, 2460, 1) doAddContainerItem(bag, 2465, 1) doAddContainerItem(bag, 2478, 1) doAddContainerItem(bag, 2643, 1) doAddContainerItem(bag, 2525, 1) doAddContainerItem(bag, 2419, 1) setPlayerStorageValue(cid, 50000, 1) end elseif Topic[talkUser] == 3 then npcHandler:unGreet(cid) elseif Topic[talkUser] == 4 then if msgcontains(msg, "yes") then npcHandler:say("SO BE IT!", cid) Topic[talkUser] = 0 doPlayerSetTown(cid, TOWN_ISLANDOFDESTINY) npcHandler:releaseFocus(cid) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) doTeleportThing(cid, {x=32091,y=32027,z=7}) npcHandlerfocus = 0 doSendMagicEffect({x=32091,y=32027,z=7}, CONST_ME_TELEPORT) doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Welcome to the Island of Destiny. Walk north to find trainers who will help you find a suitable vocation.") doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "The surface of this island is a protection zone. You can't attack or regain health here. If you need healing, talk to Yandur.") doAddMapMark(cid, {x=32099,y=31996,z=7}, MAPMARK_EXCLAMATION, "Island of Destiny - Training Centre") doAddMapMark(cid, {x=32098,y=31986,z=7}, MAPMARK_GREENNORTH, "Ship to Mainland") else npcHandler:unGreet(cid) end end return TRUE end npcHandler:setMessage(MESSAGE_GREET, "|PLAYERNAME|, ARE YOU PREPARED TO FACE YOUR DESTINY?") npcHandler:setMessage(MESSAGE_WALKAWAY, "COME BACK WHEN YOU ARE PREPARED TO FACE YOUR DESTINY!") npcHandler:setMessage(MESSAGE_FAREWELL, "COME BACK WHEN YOU ARE PREPARED TO FACE YOUR DESTINY!") npcHandler:setCallback(CALLBACK_GREET, greetCallback) npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) vou mexer nele e ver se é isso msm @Vodkart vc saberia me dizer um outro problema que acontece q é a perda de todos os itens de qualquer vocação? todos meus players de qualquer vocação inclusive rook, está perdendo todo o set, e ja tentei de tudo n to conseguindo resolver isso
-
(Resolvido)Morrer e dropar tudo e após passar rook itens nao vem do script de first itens
começa em rook, e dps quando sai d rook deve receber aqueles ids q estão na lista de cada vocação, druid ganhará snackbit rod sorc vortex knight 3 armas (club,axe,sword) pally spear porém esta vindo brass set, dwarven shield, spellbook, 5 brown mushroom, e a unica arma q vem pra todas as vocações é a scimitar, e o kina vem scimitar com aquele axe. acho que eu deveria voltar o mods de first itens pois os itens de rook estavam certos. a unica coisa q quero descobrir é, aonde ta esse brass set pra eu remover hauiehaiueha