Ir para conteúdo

wedyhiu2

Membro
  • Registro em

  • Última visita

Tudo que wedyhiu2 postou

  1. Olá Alguem poderia me disponibilizar um skills por stages para otx 2.1 ?? 8.60 ?
  2. Olá, estou com uma duvida, é possivel criar uma spell que so libera para usar outra spell se ussar essa certa spell, ela seria um buff que ao usar esse buff liberaria para usar outras spells, é possivel fazer isso, ? creio que as duas tem que ter o mesmo storage porem como usa o sendcancel?
  3. Olá Tibianos, Boa tarde, estou a procura de um script (creaturescript) que so permita o trade de certo item de id 1964 se ele estiver dentro de uma Backpack, alguma boa alma poderia me ajudar ??
  4. já resolvi, Obrigado pela atenção.
  5. nao deu
  6. não agora o player (cid) recebe a mensagem que recebeu a transferencia, e que seria no caso que ele transferiu, e o player (target), nao apareceu mensagem alguma.
  7. Boa Noite, estou com um poblema em um script de troca, a mensagem do player (cid) nao aparece como warning apenas a do player (target) alguem pode analizar o script e me dar um help agradeço des de ja.. function onTradeAccept(cid, target, item, targetItem) if isPlayer(cid) and isPlayer(target) then if item.itemid == Points_Trade.Document_ItemID then doPlayerSendTextMessage(target, MESSAGE_STATUS_WARNING, "Transferencia efetuada com sucesso, você recebeu ".. DocumentPoints(item) .." premium points.") doPlayerAddPoints(target, DocumentPoints(item)) doPlayerRemovePoints(cid, DocumentPoints(item)) addEvent(doPlayerRemoveItem, 1, target, Points_Trade.Document_ItemID, 1) elseif targetItem.itemid == Points_Trade.Document_ItemID then doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Transação efetuada com sucesso de ".. DocumentPoints(targetItem) .." premium points.") doPlayerAddPoints(cid, DocumentPoints(targetItem)) doPlayerRemovePoints(target, DocumentPoints(targetItem)) addEvent(doPlayerRemoveItem, 1, cid, Points_Trade.Document_ItemID, 1) end end return true end
  8. wedyhiu2 postou uma resposta no tópico em Suporte & Pedidos
    pode disponibiliza-lo ?
  9. wedyhiu2 postou uma resposta no tópico em Suporte & Pedidos
    alguem tem esse layout para disponibilizar
  10. Alguma alma boa poderia modificar esse script para ao invés dele criar um item no trade o propio item com id:6108 efetuar a ação do trade sem usar um comando apenas usando o propio item ? eu estou usando a função do oneshot doStartTrade : resumindo eu estou tentando fazer um item com um valor em points pré definido que ao dar trade com esse item, ele executa esse comando, se eu tiver os points a transferencia se completa com a função doAccepTrade....... se nao efetua a transferência, dos pontos direto com a database, quem quiser ajudar de coração agradeço quem nao eu pago para fazer! function onSay(cid, words, param, param2, channel) local t = string.explode(param, ",") local target = getCreatureByName(t[1]) local points = tonumber(t[2]) local item = 6108 local storage = 21223 if(param == '') then return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.") end if (target ~= nil) and isPlayer(target) and not isPlayerGhost(target) then if (points ~= nil) and (type(points) == 'number') and (points>0) then if getPlayerVipPoints(cid) > points then local addItem = doPlayerAddItem(cid, item, 1) doStartTrade(cid, target, addItem) doItemSetAttribute(addItem, "description", "Transferência de "..points.." premium points.") doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você deu trade no jogador "..getPlayerName(target)..", com a intenção de trocar "..points.." premium points.") doPlayerSendTextMessage(target, MESSAGE_STATUS_WARNING, "O Jogador "..getPlayerName(cid).." deu trade em você, e está disposto a trocar "..points.." premium points.") setPlayerStorageValue(cid, storage, points) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você não tem essa quantidade de premium points.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") end return true end
  11. analisando nova mente o script funciona porem, nao e por comando e apenas colocar um item no trade e ele transferir como points seria tudo um creature script!!!!!
  12. wedyhiu2 postou uma resposta no tópico em Suporte Tibia OTServer
    Olá boa tarde, queria saber se alguem sabe converter uma Talkactions em um script que e usado ao dar trade com ele resumindo executar o comando só quando der trade com um item de id = 6102 ???
  13. Uptime: 75h 4m realmente não trocou mais
  14. isso mesmo por que se fica uma unica vocação, o dano não aumentaria será que tem algum script de transformar ou reverter que não ocasiona esse bug ? será que tem algum script onlogin que toda vez que ele logar e deslogar ele salva a outfit e a vocação do player ?
  15. bem esclarecedor parabéns.
  16. como eu disse e eu acho que você que não entendeu e essa não e a solução valida pois isso não resolve o real problema, não a vocação desnecessária todas são necessárias. andei estudando mais afundo nesse problema que ninguém sabe responder o por que da tfs 0.4 trocar as vocações uma solução validade foi verificar o fromvoc, pois assim que o players loga ele checa a fromvoc porem e ai que esta por que esse bug ocorre, inescapável, pois a database checa ou algo relacionado ao 031-vocation.lua, não acho essa a real solução isso otimiza porem não resolve o real problema. que persiste não só comigo mais com muitos outros
  17. OLÁ BOA TARDE EU QUERIA SABER SE ALGUÉM SABE ADICIONAR, UM TEMPO PARA OS BICHOS NASCEREM NA SURVIVAL EXEMPLO: O MAXIMO EM 30 BIXOS POR WAVE QUANDO INICIA ELES JA NASCEM OS 30 DE UMA VEZ, TERIA COMO COLOCAR PARA NASCER DE 5 EM 5 POR EXEMPLO ???
  18. só assim para levantar o tópico, não eles não voltam, para a vocação um eles embaralham as vocações, por exemplo, o servidor crasha repentinamente player que estava na vocation 54 vao para a 60 outros 0 a vocação e alguns bugam que quando logam, o servidor mostra que esta online porem o distro fica inerte nao da para logar. porem isso que você falou e valido
  19. explique melhor, pois eu nao vejo aonde esta o erro no creature.xml o problema que acho que você não entendeu meu servidor e de dragon ball, eu dependo dos ids das vocações para, mudar a força a cada transformação, você disse que pode ser no creaturescript.xml ou no login.lua mais não me indicou aonde esta os erros, só disse que aquela talk que postaram e mais eficiente, porem não disse se tem algum poblema nos scripts! o real poblema e que se o servidor crash repentinamente, as vocaçoes do jogo trocam subitamente, e o pior poblema e que buga alguns player assim que eles logam no servidor os players não conseguem mais logar, por isso achei que pode ser um bug no login.lua ou no creature script.
  20. <?xml version="1.0" encoding="UTF-8"?> <creaturescripts> <event type="login" name="StaffLogin" event="script" value="tutor.lua"/> <event type="login" name="PlayerLogin" event="script" value="login.lua"/> <event type="joinchannel" name="GuildMotd" event="script" value="guildmotd.lua"/> <event type="receivemail" name="Mail" event="script" value="mail.lua"/> <event type="login" name="LookTypes" event="script" value="looktypes.lua"/> <event type="reportbug" name="SaveReportBug" script="reportbug.lua"/> <event type="advance" name="AdvanceSave" event="script" value="advancesave.lua"/> <event type="think" name="Idle" event="script" value="idle.lua"/> <event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/> <event type="moveitem" name="MoveItem" event="script" value="houseprotect.lua"/> <event type="advance" name="MagicLevel" script="magiclevel.lua"/> <event type="advance" name="MaxSkill" script="maxskill.lua"/> <event type="death" name="Bubbles" event="script" value="teleportkaito.lua"/> <event type="death" name="Kraken" event="script" value="octopus.lua"/> <event type="death" name="Dabura Boss" event="script" value="daburaboss.lua"/> <!--<event type="login" name="BoasVindas" event="script" value="boasvindas.lua"/> --> <event type="login" name="SkillStagesLogin" event="script" value="skillstageslogin.lua" /> <event type="advance" name="SkillStagesAdvance" event="script" value="skillstagesadvance.lua" /> <!-- WoE --> <event type="death" name="empe_broken" event="script" value="empe_broken.lua"/> <event type="death" name="pre_empes" event="script" value="pre_empes.lua"/> <event type="statschange" name="empe_dmg" event="script" value="empe_dmg.lua"/> <event type="login" name="reg_vs_guard" event="script" value="vs_guard.lua"/> <event type="statschange" name="vs_guard" event="script" value="vs_guard.lua"/> </creaturescripts>
  21. dependo dos ids do vocation xml para chamar o talkctions, e cada vocação tem 8 transforms entao se eu apagar ja era no creature nao tem pode analizar meu login.lua ? local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil and getPlayerStorageValue(cid, "bless") ~= 5) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end if(getPlayerStorageValue(cid, "death_bless") == 1) then local t = {PLAYERLOSS_EXPERIENCE, PLAYERLOSS_SKILLS, PLAYERLOSS_ITEMS, PLAYERLOSS_CONTAINERS} for i = 1, #t do doPlayerSetLossPercent(cid, t[i], 100) end setPlayerStorageValue(cid, "death_bless", 0) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?") elseif(accountManager == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "Idle") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "SkillStagesLogin") registerCreatureEvent(cid, "SkillStagesAdvance") registerCreatureEvent(cid, "LookTypes") registerCreatureEvent(cid, "logout") registerCreatureEvent(cid, "MaxSkill") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "AdvanceSave") return true end
  22. sim tem uma talkction de transformar que muda a vocação e a outfit ESSA E A DE REVERTER!!! local config = { -- Goku -- [591] = { 1, 590, 437, 116}, [592] = { 1, 590, 437, 116}, [593] = { 1, 590, 437, 116}, [594] = { 1, 590, 437, 116}, [595] = { 1, 590, 437, 116}, [596] = { 1, 590, 437, 116}, [597] = { 1, 590, 437, 116}, [599] = { 1, 598, 447, 116}, [600] = { 1, 598, 447, 116}, [601] = { 1, 598, 447, 116}, [602] = { 1, 598, 447, 116}, [603] = { 1, 598, 447, 116}, [604] = { 1, 598, 447, 116}, [605] = { 1, 598, 447, 116}, [606] = { 1, 598, 447, 116}, -- Vegeta -- [20] = { 1, 19, 455, 116}, [21] = { 1, 19, 455, 116}, [22] = { 1, 19, 455, 116}, [23] = { 1, 19, 455, 116}, [24] = { 1, 19, 455, 116}, [25] = { 1, 19, 455, 116}, [26] = { 1, 19, 455, 116}, [28] = { 1, 27, 462, 116}, [29] = { 1, 27, 462, 116}, [30] = { 1, 27, 462, 116}, [31] = { 1, 27, 462, 116}, [32] = { 1, 27, 462, 116}, [33] = { 1, 27, 462, 116}, [34] = { 1, 27, 462, 116}, [239] = { 1, 27, 462, 116}, [240] = { 1, 27, 462, 116}, -- Buu -- [36] = { 1, 35, 468, 30}, [37] = { 1, 35, 468, 30}, [38] = { 1, 35, 468, 30}, [39] = { 1, 35, 468, 30}, [40] = { 1, 35, 468, 30}, [43] = { 1, 42, 468, 30}, [44] = { 1, 42, 468, 30}, [45] = { 1, 42, 468, 30}, [46] = { 1, 42, 468, 30}, [47] = { 1, 42, 468, 30}, [242] = { 1, 42, 468, 30}, -- C17 -- [51] = { 1, 50, 475, 34}, [52] = { 1, 50, 475, 34}, [53] = { 1, 50, 475, 34}, [54] = { 1, 50, 475, 34}, [57] = { 1, 56, 475, 34}, [58] = { 1, 56, 475, 34}, [59] = { 1, 56, 475, 34}, [60] = { 1, 56, 475, 34}, [61] = { 1, 56, 475, 34}, [244] = { 1, 56, 475, 34}, -- Brolly -- [71] = { 1, 70, 483, 116}, [72] = { 1, 70, 483, 116}, [73] = { 1, 70, 483, 116}, [74] = { 1, 70, 483, 116}, [77] = { 1, 76, 488, 116}, [78] = { 1, 76, 488, 116}, [79] = { 1, 76, 488, 116}, [80] = { 1, 76, 488, 116}, [81] = { 1, 76, 488, 116}, [246] = { 1, 76, 488, 116}, -- Janemba -- [91] = { 1, 90, 504, 116}, [92] = { 1, 90, 504, 116}, [93] = { 1, 90, 504, 116}, [94] = { 1, 90, 504, 116}, [97] = { 1, 96, 504, 116}, [88] = { 1, 96, 504, 116}, [99] = { 1, 96, 504, 116}, [100] = { 1, 96, 504, 116}, [101] = { 1, 96, 504, 116}, [248] = { 1, 96, 504, 116}, -- Raditz -- [111] = { 1, 110, 496, 116}, [112] = { 1, 110, 496, 116}, [113] = { 1, 110, 496, 116}, [114] = { 1, 110, 496, 116}, [115] = { 1, 110, 496, 116}, [118] = { 1, 117, 498, 116}, [119] = { 1, 117, 498, 116}, [120] = { 1, 117, 498, 116}, [121] = { 1, 117, 498, 116}, [122] = { 1, 117, 498, 116}, [123] = { 1, 117, 498, 116}, [250] = { 1, 117, 498, 116}, -- Turles -- [126] = { 1, 125, 512, 116}, [127] = { 1, 125, 512, 116}, [128] = { 1, 125, 512, 116}, [129] = { 1, 125, 512, 116}, [132] = { 1, 131, 516, 116}, [133] = { 1, 131, 516, 116}, [134] = { 1, 131, 516, 116}, [135] = { 1, 131, 516, 116}, [136] = { 1, 131, 516, 116}, [252] = { 1, 131, 516, 116}, -- Vegetto -- [141] = { 1, 140, 521, 116}, [142] = { 1, 140, 521, 116}, [143] = { 1, 140, 521, 116}, [144] = { 1, 140, 521, 116}, [147] = { 1, 146, 521, 116}, [148] = { 1, 146, 521, 116}, [149] = { 1, 146, 521, 116}, [150] = { 1, 146, 521, 116}, [151] = { 1, 146, 521, 116}, [233] = { 1, 146, 521, 116}, [234] = { 1, 146, 521, 116}, -- Shenron -- [161] = { 1, 160, 728, 116}, [162] = { 1, 160, 728, 116}, [163] = { 1, 160, 728, 116}, [164] = { 1, 160, 728, 116}, [167] = { 1, 166, 728, 116}, [168] = { 1, 166, 728, 116}, [169] = { 1, 166, 728, 116}, [170] = { 1, 166, 728, 116}, [171] = { 1, 166, 728, 116}, [254] = { 1, 166, 728, 116}, -- Tapion -- [175] = { 1, 175, 548, 116}, [176] = { 1, 175, 548, 116}, [177] = { 1, 175, 548, 116}, [178] = { 1, 175, 548, 116}, [179] = { 1, 175, 548, 116}, [186] = { 1, 185, 553, 116}, [187] = { 1, 185, 553, 116}, [188] = { 1, 185, 553, 116}, [189] = { 1, 185, 553, 116}, [190] = { 1, 185, 553, 116}, [256] = { 1, 185, 553, 116}, -- Kame -- [196] = { 1, 195, 527, 116}, [197] = { 1, 195, 527, 116}, [198] = { 1, 195, 527, 116}, [199] = { 1, 195, 527, 116}, [211] = { 1, 210, 532, 116}, [212] = { 1, 210, 532, 116}, [213] = { 1, 210, 532, 116}, [214] = { 1, 210, 532, 116}, [215] = { 1, 210, 532, 116}, [216] = { 1, 210, 532, 116}, [258] = { 1, 210, 532, 116}, -- King Vegeta -- [221] = { 1, 220, 538, 116}, [222] = { 1, 220, 538, 116}, [223] = { 1, 220, 538, 116}, [224] = { 1, 220, 538, 116}, [227] = { 1, 226, 543, 116}, [228] = { 1, 226, 543, 116}, [229] = { 1, 226, 543, 116}, [230] = { 1, 226, 543, 116}, [231] = { 1, 226, 543, 116}, [260] = { 1, 226, 543, 116}, -- Gohan -- [264] = { 1, 263, 593, 116}, [265] = { 1, 263, 593, 116}, [266] = { 1, 263, 593, 116}, [267] = { 1, 263, 593, 116}, -- Gohan reborn -- [270] = { 1, 269, 592, 116}, [271] = { 1, 269, 592, 116}, [272] = { 1, 269, 592, 116}, [273] = { 1, 269, 592, 116}, [274] = { 1, 269, 592, 116}, [275] = { 1, 269, 592, 116}, -- Goten -- [278] = { 1, 277, 601, 116}, [279] = { 1, 277, 601, 116}, [280] = { 1, 277, 601, 116}, [281] = { 1, 277, 601, 116}, [282] = { 1, 277, 601, 116}, -- Goten reborn -- [285] = { 1, 284, 607, 116}, [286] = { 1, 284, 607, 116}, [287] = { 1, 284, 607, 116}, [288] = { 1, 284, 607, 116}, [289] = { 1, 284, 607, 116}, -- Trunks -- [292] = { 1, 291, 613, 116}, [293] = { 1, 291, 613, 116}, [294] = { 1, 291, 613, 116}, [295] = { 1, 291, 613, 116}, [296] = { 1, 291, 613, 116}, [297] = { 1, 291, 613, 116}, -- Trunks reborn -- [301] = { 1, 300, 620, 116}, [302] = { 1, 300, 620, 116}, [303] = { 1, 300, 620, 116}, [304] = { 1, 300, 620, 116}, [305] = { 1, 300, 620, 116}, [306] = { 1, 300, 620, 116}, -- Freeza -- [309] = { 1, 308, 626, 116}, [310] = { 1, 308, 626, 116}, [311] = { 1, 308, 626, 116}, [312] = { 1, 308, 626, 116}, [313] = { 1, 308, 626, 116}, [314] = { 1, 308, 626, 116}, -- Freeza reborn -- [317] = { 1, 316, 627, 116}, [318] = { 1, 316, 627, 116}, [319] = { 1, 316, 627, 116}, [320] = { 1, 316, 627, 116}, [321] = { 1, 316, 627, 116}, [322] = { 1, 316, 627, 116}, -- Cell -- [325] = { 1, 324, 636, 116}, [326] = { 1, 324, 636, 116}, [327] = { 1, 324, 636, 116}, [328] = { 1, 324, 636, 116}, -- Cell reborn -- [331] = { 1, 330, 639, 116}, [332] = { 1, 330, 639, 116}, [333] = { 1, 330, 639, 116}, [334] = { 1, 330, 639, 116}, [335] = { 1, 330, 639, 116}, [336] = { 1, 330, 639, 116}, -- C18 -- [341] = { 1, 340, 642, 116}, [342] = { 1, 340, 642, 116}, [343] = { 1, 340, 642, 116}, [344] = { 1, 340, 642, 116}, -- C18 reborn -- [347] = { 1, 346, 642, 116}, [348] = { 1, 346, 642, 116}, [349] = { 1, 346, 642, 116}, [350] = { 1, 346, 642, 116}, [351] = { 1, 346, 642, 116}, [352] = { 1, 346, 642, 116}, -- Kagome -- [355] = { 1, 354, 650, 116}, [356] = { 1, 354, 650, 116}, [357] = { 1, 354, 650, 116}, [358] = { 1, 354, 650, 116}, -- Kagome reborn -- [361] = { 1, 360, 654, 116}, [362] = { 1, 360, 654, 116}, [363] = { 1, 360, 654, 116}, [364] = { 1, 360, 654, 116}, [365] = { 1, 360, 654, 116}, [366] = { 1, 360, 654, 116}, -- Zaiko -- [371] = { 1, 370, 660, 116}, [372] = { 1, 370, 660, 116}, [373] = { 1, 370, 660, 116}, [374] = { 1, 370, 660, 116}, -- Zaiko reborn -- [377] = { 1, 376, 665, 116}, [378] = { 1, 376, 665, 116}, [379] = { 1, 376, 665, 116}, [380] = { 1, 376, 665, 116}, [381] = { 1, 376, 665, 116}, [382] = { 1, 376, 665, 116}, [383] = { 1, 376, 665, 116}, -- Dende -- [386] = { 1, 385, 672, 116}, [387] = { 1, 385, 672, 116}, [388] = { 1, 385, 672, 116}, [389] = { 1, 385, 672, 116}, -- Dende reborn -- [393] = { 1, 392, 677, 116}, [394] = { 1, 392, 677, 116}, [395] = { 1, 392, 677, 116}, [396] = { 1, 392, 677, 116}, [397] = { 1, 392, 677, 116}, [398] = { 1, 392, 677, 116}, -- Chilled -- [401] = { 1, 400, 683, 116}, [402] = { 1, 400, 683, 116}, [403] = { 1, 400, 683, 116}, [404] = { 1, 400, 683, 116}, -- Chilled reborn -- [407] = { 1, 406, 685, 116}, [408] = { 1, 406, 685, 116}, [409] = { 1, 406, 685, 116}, [410] = { 1, 406, 685, 116}, [411] = { 1, 406, 685, 116}, [412] = { 1, 406, 685, 116}, -- Bulma -- [415] = { 1, 414, 692, 116}, [416] = { 1, 414, 692, 116}, [417] = { 1, 414, 692, 116}, [418] = { 1, 414, 692, 116}, -- Bulma reborn -- [421] = { 1, 420, 696, 116}, [422] = { 1, 420, 696, 116}, [423] = { 1, 420, 696, 116}, [424] = { 1, 420, 696, 116}, [425] = { 1, 420, 696, 116}, [426] = { 1, 420, 696, 116}, -- Uub -- [429] = { 1, 428, 702, 116}, [430] = { 1, 428, 702, 116}, [431] = { 1, 428, 702, 116}, [432] = { 1, 428, 702, 116}, -- Uub reborn -- [435] = { 1, 434, 702, 116}, [436] = { 1, 434, 702, 116}, [437] = { 1, 434, 702, 116}, [438] = { 1, 434, 702, 116}, [439] = { 1, 434, 702, 116}, [440] = { 1, 434, 702, 116}, -- Bardock -- [443] = { 1, 442, 708, 116}, [444] = { 1, 442, 708, 116}, [445] = { 1, 442, 708, 116}, [446] = { 1, 442, 708, 116}, [447] = { 1, 442, 708, 116}, -- Bardock reborn -- [450] = { 1, 449, 708, 116}, [451] = { 1, 449, 708, 116}, [452] = { 1, 449, 708, 116}, [453] = { 1, 449, 708, 116}, [454] = { 1, 449, 708, 116}, [455] = { 1, 449, 708, 116}, -- Kuririn -- [459] = { 1, 458, 720, 116}, [460] = { 1, 458, 720, 116}, [461] = { 1, 458, 720, 116}, [462] = { 1, 458, 720, 116}, -- Kuririn reborn -- [465] = { 1, 464, 720, 116}, [466] = { 1, 464, 720, 116}, [467] = { 1, 464, 720, 116}, [468] = { 1, 464, 720, 116}, [469] = { 1, 464, 720, 116}, [470] = { 1, 464, 720, 116}, -- Kaio -- [473] = { 1, 472, 735, 116}, [474] = { 1, 472, 735, 116}, [475] = { 1, 472, 735, 116}, -- Kaio reborn -- [478] = { 1, 477, 737, 116}, [479] = { 1, 477, 737, 116}, [480] = { 1, 477, 737, 116}, [481] = { 1, 477, 737, 116}, [482] = { 1, 477, 737, 116}, [483] = { 1, 477, 737, 116}, -- Jenk -- [486] = { 1, 485, 743, 116}, [487] = { 1, 485, 743, 116}, [488] = { 1, 485, 743, 116}, [489] = { 1, 485, 743, 116}, -- Jenk reborn -- [493] = { 1, 492, 748, 116}, [494] = { 1, 492, 748, 116}, [495] = { 1, 492, 748, 116}, [496] = { 1, 492, 748, 116}, [497] = { 1, 492, 748, 116}, [498] = { 1, 492, 748, 116}, -- Tsuful -- [515] = { 1, 514, 762, 116}, [516] = { 1, 514, 762, 116}, [517] = { 1, 514, 762, 116}, [518] = { 1, 514, 762, 116}, -- Tsuful reborn -- [520] = { 1, 519, 767, 116}, [521] = { 1, 519, 767, 116}, [522] = { 1, 519, 767, 116}, [523] = { 1, 519, 767, 116}, [524] = { 1, 519, 767, 116}, [525] = { 1, 519, 767, 116}, -- Videl -- [501] = { 1, 500, 755, 116}, [502] = { 1, 500, 755, 116}, [503] = { 1, 500, 755, 116}, [504] = { 1, 500, 755, 116}, -- Videl reborn -- [507] = { 1, 506, 755, 116}, [508] = { 1, 506, 755, 116}, [509] = { 1, 506, 755, 116}, [510] = { 1, 506, 755, 116}, [511] = { 1, 506, 755, 116}, [512] = { 1, 506, 755, 116}, -- C16 -- [529] = { 1, 528, 774, 116}, [530] = { 1, 528, 774, 116}, [531] = { 1, 528, 774, 116}, [532] = { 1, 528, 774, 116}, -- C16 reborn -- [534] = { 1, 533, 774, 116}, [535] = { 1, 533, 774, 116}, [536] = { 1, 533, 774, 116}, [537] = { 1, 533, 774, 116}, [538] = { 1, 533, 774, 116}, [539] = { 1, 533, 774, 116}, -- Picollo -- [543] = { 1, 542, 782, 116}, [544] = { 1, 542, 782, 116}, [545] = { 1, 542, 782, 116}, [546] = { 1, 542, 782, 116}, -- Picollo reborn -- [548] = { 1, 547, 787, 116}, [549] = { 1, 547, 787, 116}, [550] = { 1, 547, 787, 116}, [551] = { 1, 547, 787, 116}, [552] = { 1, 547, 787, 116}, [553] = { 1, 547, 787, 116}, -- Tenshinhan -- [611] = { 1, 610, 810, 116}, [612] = { 1, 610, 810, 116}, [613] = { 1, 610, 810, 116}, [614] = { 1, 610, 810, 116}, -- Tenshinhan reborn -- [617] = { 1, 616, 814, 116}, [618] = { 1, 616, 814, 116}, [619] = { 1, 616, 814, 116}, [620] = { 1, 616, 814, 116}, [621] = { 1, 616, 814, 116}, [622] = { 1, 616, 814, 116}, } function onSay(cid, words, param, channel) local voc = config[getPlayerVocation(cid)] if voc then if getPlayerLevel(cid) >= voc[1] then doPlayerSetVocation(cid, voc[2]) local outfit = {lookType = voc[3]} doCreatureChangeOutfit(cid, outfit) doSendMagicEffect(getCreaturePosition(cid), voc[4]) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Voce precisa estar no level " .. voc[1] .. " para transformar.") end else doPlayerSendCancel(cid, "Voce nao pode Reverter") end return true end ESSA E DE TRANSFORMAR!!! local config = { --[vocation id] = { level, nova voc, looktype, efeito} -- Goku -- [590] = { 30, 591, 439, 112}, [591] = { 50, 592, 440, 114}, [592] = { 75, 593, 441, 114}, [593] = { 100, 594, 442, 114}, [594] = { 150, 595, 444, 114}, [595] = { 180, 596, 445, 116}, [596] = { 200, 597, 446, 115}, ---------------------------- ---------Reborn------------- ---------------------------- [598] = { 50, 599, 448, 114}, [599] = { 100, 600, 449, 114}, [600] = { 150, 601, 450, 114}, [601] = { 199, 602, 451, 34}, [602] = { 200, 603, 452, 112}, [603] = { 400, 604, 454, 116}, [604] = { 600, 605, 578, 112}, [605] = { 600, 606, 582, 115}, -- Vegeta -- [19] = { 30, 20, 456, 46}, [20] = { 40, 21, 457, 116}, [21] = { 50, 22, 458, 114}, [22] = { 75, 23, 459, 114}, [23] = { 100, 24, 460, 116}, [24] = { 150, 25, 461, 114}, [25] = { 200, 26, 461, 114}, ---------------------------- ---------Reborn------------- ---------------------------- [27] = { 50, 28, 463, 116}, [28] = { 100, 29, 464, 114}, [29] = { 150, 30, 464, 114}, [30] = { 199, 31, 465, 114}, [31] = { 200, 32, 466, 112}, [32] = { 400, 33, 467, 116}, [33] = { 400, 239, 579, 107}, [239] = { 600, 240, 580, 115}, -- Buu -- [35] = { 30, 36, 469, 30}, [36] = { 50, 37, 470, 30}, [37] = { 100, 38, 471, 30}, [38] = { 150, 39, 472, 30}, [39] = { 200, 40, 473, 30}, ---------------------------- ---------Reborn------------- ---------------------------- [42] = { 50, 43, 469, 30}, [43] = { 100, 44, 470, 30}, [44] = { 150, 45, 471, 30}, [45] = { 200, 46, 473, 30}, [46] = { 400, 47, 474, 30}, [47] = { 600, 242, 581, 90}, -- C17-- [50] = { 50, 51, 476, 34}, [51] = { 100, 52, 477, 34}, [52] = { 150, 53, 478, 34}, [53] = { 200, 54, 478, 115}, ---------------------------- ---------Reborn------------- ---------------------------- [56] = { 50, 57, 479, 34}, [57] = { 100, 58, 477, 34}, [58] = { 150, 59, 480, 34}, [59] = { 200, 60, 481, 121}, [60] = { 400, 61, 482, 116}, [61] = { 600, 244, 583, 116}, -- Brolly -- [70] = { 50, 71, 484, 114}, [71] = { 100, 72, 485, 114}, [72] = { 150, 73, 486, 114}, [73] = { 200, 74, 487, 114}, ---------------------------- ---------Reborn------------- ---------------------------- [76] = { 50, 77, 489, 111}, [77] = { 100, 78, 490, 114}, [78] = { 150, 79, 491, 114}, [79] = { 200, 80, 492, 112}, [80] = { 400, 81, 494, 111}, [81] = { 600, 246, 584, 102}, -- Janemba -- [90] = { 50, 91, 505, 34}, [91] = { 100, 92, 506, 110}, [92] = { 150, 93, 507, 112}, [93] = { 200, 94, 508, 112}, ---------------------------- ---------Reborn------------- ---------------------------- [96] = { 50, 97, 505, 34}, [97] = { 100, 98, 506, 110}, [98] = { 150, 99, 507, 112}, [99] = { 200, 100, 508, 112}, [100] = { 400, 101, 509, 112}, [101] = { 600, 248, 511, 112}, -- Raditz -- [110] = { 50, 111, 496, 114}, [111] = { 75, 112, 497, 114}, [112] = { 100, 113, 498, 114}, [113] = { 150, 114, 499, 114}, [114] = { 200, 115, 500, 114}, ---------------------------- ---------Reborn------------- ---------------------------- [117] = { 50, 118, 497, 114}, [118] = { 75, 119, 499, 114}, [119] = { 100, 120, 500, 114}, [120] = { 150, 122, 501, 112}, [122] = { 400, 123, 502, 116}, [123] = { 600, 250, 503, 114}, -- Turles -- [125] = { 50, 126, 513, 114}, [126] = { 100, 127, 513, 114}, [127] = { 150, 128, 514, 114}, [128] = { 200, 129, 515, 114}, ---------------------------- ---------Reborn------------- ---------------------------- [131] = { 50, 132, 517, 114}, [132] = { 100, 133, 517, 114}, [133] = { 150, 134, 518, 114}, [134] = { 200, 135, 519, 114}, [135] = { 400, 136, 520, 116}, [136] = { 600, 252, 585, 114}, -- Vegetto -- [140] = { 50, 141, 522, 114}, [141] = { 100, 142, 523, 114}, [142] = { 150, 143, 524, 114}, [143] = { 200, 144, 524, 114}, ---------------------------- ---------Reborn------------- ---------------------------- [146] = { 50, 147, 522, 114}, [147] = { 100, 148, 523, 114}, [148] = { 150, 149, 524, 114}, [149] = { 200, 150, 525, 114}, [150] = { 400, 151, 526, 114}, [151] = { 400, 233, 576, 41}, [233] = { 600, 234, 577, 33}, -- Shenron -- [160] = { 50, 161, 729, 34}, [161] = { 100, 162, 730, 115}, [162] = { 150, 163, 732, 115}, [163] = { 200, 164, 733, 114}, ---------------------------- ---------Reborn------------- ---------------------------- [166] = { 50, 167, 729, 34}, [167] = { 100, 168, 730, 115}, [168] = { 150, 169, 732, 115}, [169] = { 200, 170, 733, 114}, [170] = { 400, 171, 586, 111}, [171] = { 600, 254, 734, 114}, -- Tapion -- [175] = { 50, 176, 549, 111}, [176] = { 100, 177, 550, 114}, [177] = { 150, 178, 551, 111}, [178] = { 200, 179, 552, 112}, ---------------------------- ---------Reborn------------- ---------------------------- [185] = { 50, 186, 554, 116}, [186] = { 100, 187, 555, 112}, [187] = { 150, 188, 556, 114}, [188] = { 200, 189, 557, 116}, [189] = { 400, 190, 558, 116}, [190] = { 600, 256, 587, 112}, -- Kame -- [195] = { 50, 196, 528, 114}, [196] = { 100, 197, 529, 114}, [197] = { 150, 198, 530, 114}, [198] = { 200, 199, 531, 114}, ---------------------------- ---------Reborn------------- ---------------------------- [210] = { 50, 211, 533, 114}, [211] = { 100, 212, 534, 114}, [212] = { 150, 213, 534, 114}, [213] = { 200, 214, 535, 112}, [214] = { 400, 215, 536, 116}, [215] = { 400, 216, 537, 112}, [216] = { 600, 258, 588, 116}, -- King Vegeta -- [220] = { 50, 221, 539, 114}, [221] = { 100, 222, 540, 114}, [222] = { 150, 223, 541, 114}, [223] = { 200, 224, 542, 114}, ---------------------------- ---------Reborn------------- ---------------------------- [226] = { 50, 227, 544, 114}, [227] = { 100, 228, 544, 114}, [228] = { 150, 229, 545, 114}, [229] = { 200, 230, 546, 115}, [230] = { 400, 231, 547, 112}, [231] = { 600, 260, 589, 114}, -- Gohan -- [263] = { 50, 264, 594, 114}, [264] = { 100, 265, 597, 114}, [265] = { 150, 266, 592, 114}, [266] = { 200, 267, 598, 114}, ---------------------------- ----------Reborn------------ ---------------------------- [269] = { 50, 270, 596, 114}, [270] = { 100, 271, 596, 114}, [271] = { 150, 272, 595, 114}, [272] = { 200, 273, 599, 116}, [273] = { 400, 274, 591, 112}, [274] = { 600, 275, 590, 115}, -- Goten -- [277] = { 30, 278, 602, 114}, [278] = { 75, 279, 603, 121}, [279] = { 100, 280, 604, 121}, [280] = { 150, 281, 605, 114}, [281] = { 200, 282, 606, 114}, ---------------------------- ----------Reborn------------ ---------------------------- [284] = { 50, 285, 608, 114}, [285] = { 150, 286, 609, 114}, [286] = { 200, 287, 610, 114}, [287] = { 400, 288, 611, 112}, [288] = { 600, 289, 612, 115}, -- Trunks -- [291] = { 30, 292, 614, 114}, [292] = { 50, 293, 615, 114}, [293] = { 75, 294, 616, 114}, [294] = { 100, 295, 617, 114}, [295] = { 150, 296, 618, 114}, [296] = { 200, 297, 619, 114}, ---------------------------- ----------Reborn------------ ---------------------------- [300] = { 50, 301, 621, 114}, [301] = { 100, 302, 621, 114}, [302] = { 150, 303, 622, 114}, [303] = { 200, 304, 623, 112}, [304] = { 400, 305, 624, 112}, [305] = { 600, 306, 625, 115}, -- Freeza -- [308] = { 30, 309, 627, 113}, [309] = { 50, 310, 628, 113}, [310] = { 75, 311, 629, 113}, [311] = { 100, 312, 630, 113}, [312] = { 150, 313, 631, 113}, [313] = { 200, 314, 632, 113}, ---------------------------- ----------Reborn------------ ---------------------------- [316] = { 50, 317, 628, 113}, [317] = { 100, 318, 629, 113}, [318] = { 150, 319, 630, 113}, [319] = { 200, 320, 633, 112}, [320] = { 400, 321, 634, 116}, [321] = { 600, 322, 635, 115}, -- Cell -- [324] = { 50, 325, 637, 111}, [325] = { 100, 326, 637, 111}, [326] = { 150, 327, 638, 111}, [327] = { 200, 328, 638, 111}, ---------------------------- ----------Reborn------------ ---------------------------- [330] = { 50, 331, 637, 111}, [331] = { 100, 332, 637, 111}, [332] = { 150, 333, 638, 111}, [333] = { 200, 334, 638, 111}, [334] = { 400, 335, 640, 112}, [335] = { 600, 336, 641, 113}, -- C18 -- [340] = { 50, 341, 643, 34}, [341] = { 100, 342, 644, 34}, [342] = { 150, 343, 645, 114}, [343] = { 200, 344, 645, 114}, ---------------------------- ----------Reborn------------ ---------------------------- [346] = { 50, 347, 643, 34}, [347] = { 100, 348, 644, 34}, [348] = { 150, 349, 646, 114}, [349] = { 200, 350, 647, 114}, [350] = { 400, 351, 648, 114}, [351] = { 600, 352, 649, 114}, -- Kagome -- [354] = { 50, 355, 651, 114}, [355] = { 100, 356, 652, 114}, [356] = { 150, 357, 652, 114}, [357] = { 200, 358, 653, 114}, ---------------------------- ----------Reborn------------ ---------------------------- [360] = { 50, 361, 655, 114}, [361] = { 100, 362, 655, 114}, [362] = { 150, 363, 656, 114}, [363] = { 200, 364, 657, 114}, [364] = { 400, 365, 658, 112}, [365] = { 600, 366, 659, 114}, -- Zaiko -- [370] = { 50, 371, 661, 116}, [371] = { 100, 372, 662, 116}, [372] = { 150, 373, 663, 114}, [373] = { 200, 374, 664, 114}, ---------------------------- ----------Reborn------------ ---------------------------- [376] = { 50, 377, 666, 116}, [377] = { 100, 378, 667, 116}, [378] = { 150, 379, 667, 116}, [379] = { 200, 380, 668, 116}, [380] = { 400, 381, 669, 116}, [381] = { 400, 382, 670, 114}, [382] = { 600, 383, 671, 116}, -- Dende -- [385] = { 50, 386, 673, 111}, [386] = { 100, 387, 674, 111}, [387] = { 150, 388, 675, 111}, [388] = { 200, 389, 676, 111}, ---------------------------- ----------Reborn------------ ---------------------------- [392] = { 50, 393, 678, 111}, [393] = { 100, 394, 679, 111}, [394] = { 150, 395, 680, 111}, [395] = { 200, 396, 680, 111}, [396] = { 400, 397, 681, 111}, [397] = { 600, 398, 682, 111}, -- Chilled -- [400] = { 50, 401, 684, 113}, [401] = { 100, 402, 685, 113}, [402] = { 150, 403, 686, 113}, [403] = { 200, 404, 686, 113}, ---------------------------- ----------Reborn------------ ---------------------------- [406] = { 50, 407, 686, 113}, [407] = { 100, 408, 687, 113}, [408] = { 150, 409, 688, 113}, [409] = { 200, 410, 689, 113}, [410] = { 400, 411, 690, 113}, [411] = { 600, 412, 691, 113}, -- Bulma -- [414] = { 50, 415, 693, 115}, [415] = { 100, 416, 694, 115}, [416] = { 150, 417, 695, 115}, [417] = { 200, 418, 695, 115}, ---------------------------- ----------Reborn------------ ---------------------------- [420] = { 50, 421, 697, 114}, [421] = { 100, 422, 697, 114}, [422] = { 150, 423, 698, 114}, [423] = { 200, 424, 699, 112}, [424] = { 400, 425, 700, 116}, [425] = { 600, 426, 701, 34}, -- Uub -- [428] = { 50, 429, 703, 111}, [429] = { 100, 430, 704, 114}, [430] = { 150, 431, 705, 114}, [431] = { 200, 432, 705, 114}, ---------------------------- ----------Reborn------------ ---------------------------- [434] = { 50, 435, 702, 112}, [435] = { 100, 436, 703, 111}, [436] = { 150, 437, 704, 114}, [437] = { 200, 438, 705, 114}, [438] = { 400, 439, 706, 111}, [439] = { 600, 440, 707, 114}, -- Bardock -- [442] = { 30, 443, 709, 34}, [443] = { 50, 444, 710, 112}, [444] = { 100, 445, 711, 112}, [445] = { 150, 446, 712, 116}, [446] = { 200, 447, 713, 114}, ---------------------------- ----------Reborn------------ ---------------------------- [449] = { 50, 450, 709, 34}, [450] = { 100, 451, 715, 114}, [451] = { 150, 452, 716, 114}, [452] = { 200, 453, 717, 112}, [453] = { 400, 454, 718, 116}, [454] = { 600, 455, 719, 114}, -- Kuririn -- [458] = { 50, 459, 720, 116}, [459] = { 100, 460, 721, 116}, [460] = { 150, 461, 722, 116}, [461] = { 200, 462, 723, 116}, ---------------------------- ----------Reborn------------ ---------------------------- [464] = { 50, 465, 724, 116}, [465] = { 100, 466, 724, 116}, [466] = { 150, 467, 725, 116}, [467] = { 200, 468, 725, 116}, [468] = { 400, 469, 726, 116}, [469] = { 600, 470, 727, 116}, -- Kaio -- [472] = { 50, 473, 736, 116}, [473] = { 100, 474, 737, 112}, [474] = { 150, 475, 738, 113}, ---------------------------- ----------Reborn------------ ---------------------------- [477] = { 50, 478, 738, 113}, [478] = { 100, 479, 738, 113}, [479] = { 150, 480, 739, 113}, [480] = { 200, 481, 740, 113}, [481] = { 400, 482, 741, 116}, [482] = { 600, 483, 742, 113}, -- Jenk -- [485] = { 50, 486, 744, 114}, [486] = { 100, 487, 745, 114}, [487] = { 150, 488, 746, 114}, [488] = { 200, 489, 747, 114}, ---------------------------- ----------Reborn------------ ---------------------------- [492] = { 50, 493, 749, 116}, [493] = { 100, 494, 750, 34}, [494] = { 150, 495, 751, 116}, [495] = { 200, 496, 752, 116}, [496] = { 400, 497, 753, 116}, [497] = { 600, 498, 754, 116}, -- Tsuful -- [514] = { 50, 515, 763, 114}, [515] = { 100, 516, 764, 2}, [516] = { 150, 517, 765, 114}, [517] = { 200, 518, 766, 114}, ---------------------------- ----------Reborn------------ ---------------------------- [519] = { 50, 520, 768, 114}, [520] = { 100, 521, 769, 116}, [521] = { 150, 522, 770, 116}, [522] = { 200, 523, 771, 34}, [523] = { 400, 524, 772, 116}, [524] = { 600, 525, 773, 116}, -- Videl -- [500] = { 50, 501, 756, 34}, [501] = { 100, 502, 757, 34}, [502] = { 150, 503, 758, 34}, [503] = { 200, 504, 758, 34}, ---------------------------- ----------Reborn------------ ---------------------------- [506] = { 50, 507, 756, 116}, [507] = { 100, 508, 757, 116}, [508] = { 150, 509, 758, 116}, [509] = { 200, 510, 759, 116}, [510] = { 400, 511, 760, 116}, [511] = { 600, 512, 761, 116}, -- C16 -- [528] = { 50, 529, 775, 34}, [529] = { 100, 530, 777, 34}, [530] = { 150, 531, 778, 34}, [531] = { 200, 532, 778, 34}, ---------------------------- ----------Reborn------------ ---------------------------- [533] = { 50, 534, 779, 34}, [534] = { 100, 535, 776, 34}, [535] = { 150, 536, 777, 34}, [536] = { 200, 537, 778, 34}, [537] = { 400, 538, 780, 34}, [538] = { 600, 539, 781, 34}, -- Picollo -- [542] = { 50, 543, 783, 111}, [543] = { 100, 544, 784, 111}, [544] = { 150, 545, 785, 111}, [545] = { 200, 546, 786, 111}, ---------------------------- ----------Reborn------------ ---------------------------- [546] = { 50, 547, 788, 111}, [547] = { 100, 548, 789, 111}, [548] = { 150, 549, 790, 111}, [549] = { 200, 550, 791, 111}, [550] = { 400, 551, 792, 111}, [551] = { 600, 552, 7, 111}, -- Tenshinhan -- [610] = { 50, 611, 811, 116}, [611] = { 100, 612, 811, 116}, [612] = { 150, 613, 812, 116}, [613] = { 200, 614, 813, 116}, ---------------------------- ----------Reborn------------ ---------------------------- [616] = { 50, 617, 815, 111}, [617] = { 100, 618, 817, 112}, [618] = { 150, 619, 816, 114}, [619] = { 200, 620, 816, 114}, [620] = { 400, 621, 818, 116}, [621] = { 600, 622, 819, 112}, } function onSay(cid, words, param, channel) local time = 2 -- Quanto tempo de exausted você deseja local storage = 957486 -- Storage utilizada no check local voc = config[getPlayerVocation(cid)] if getPlayerStorageValue(cid, storage) <= os.time() then if voc then if getPlayerLevel(cid) >= voc[1] then doPlayerSetVocation(cid, voc[2]) doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Voce Transformou!") local outfit = {lookType = voc[3]} doCreatureChangeOutfit(cid, outfit) doSendMagicEffect(getCreaturePosition(cid), voc[4]) setPlayerStorageValue(cid, storage, os.time()+time) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Voce precisa estar no level " .. voc[1] .. " para transformar.") end else doPlayerSendCancel(cid, "Voce nao pode se Transformar!") end else doSendMagicEffect(getThingPos(cid),CONST_ME_POFF) return true end return true end
  23. e complicado cara esse problema persiste a mais de 1 ano e nunca consegui resolver, sim e de Dragon ball, se o servidor crasha ele troca as vocaçoes embaralha tudo, falarem que e staorage mais e algo mais

Informação Importante

Confirmação de Termo