Ir para conteúdo

Muvukaa

Membro
  • Registro em

  • Última visita

Tudo que Muvukaa postou

  1. function onUse(cid, item, frompos, item2, topos) if item.uid == 1664 then queststatus = getPlayerStorageValue(cid,1664) if queststatus == -1 then doPlayerSendTextMessage(cid,25,"Parabens Ganho 3kk.") doPlayerAddItem(cid,2160,300) doPlayerAddItem(cid,2383,1) doPlayerAddItem(cid,2390,1) doPlayerAddItem(cid,10518,1) doPlayerAddItem(cid,2471,1) doPlayerAddItem(cid,2646,1) doPlayerAddItem(cid,2469,1) doPlayerAddItem(cid,2523,1) doPlayerAddItem(cid,2494,1) doPlayerAddItem(cid,8926,1) doPlayerAddItem(cid,7431,1) doPlayerAddItem(cid,7368,1) doPlayerAddItem(cid,8910,1) doPlayerAddItem(cid,2789,100) doPlayerAddItem(cid,10518,1) setPlayerStorageValue(cid,1664,1) else doPlayerSendTextMessage(cid,22,"Voce ja pegou o bonus") end else return 0 end return 1 end
  2. ta funcionando porem level 100-400+900 funciona agora quando pego level 22500 e morro volto pro 22400 nao pega O QUE PODE SER? MEU OT XP RATE 99999 facil pegar 717217 de level
  3. ta funcionando porem level 100-400+900 funciona agora quando pego level 22500 e morro volto pro 22400 nao pega O QUE PODE SER? MEU OT XP RATE 99999 facil pegar 717217 de level M
  4. https://tibiaking.com/forums/topic/12807-recovery-exp/ 15:55 Scrutinon: Grande Samuel! Eu posso recuperar a exp perdida em sua morte. 15:55 Samuel [12132: recuperar 15:55 Scrutinon: você deseja recuperar a exp perdida após á sua morte por 10 vampire lord token? yes 15:55 Samuel [12132: yes 15:55 Scrutinon: Desculpe, você não morreu ou já recuperou sua exp perdida! eu morri 8x e sempre aparece essa memsagem fiz o que voce mandou no link e nada
  5. EU TAVA LEVEL 25 PAREI 24 FIZ TEST NAO OCASIONO NADA.
  6. Scrutinon: Sorry, you didn't die or have already recovered your lost experience. fica aparecendo isso eu morri tava com 5 vampire lord token e apareceu isso eu tenho death_list no banco de dados sendo que quando falei recuperar yes não deu nenhum erro no console mais não ta funcionando o segundo script nao funciona se fala hi ele nao tem nenhuma ação nao acontece nada. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} 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 DEATH_TABLE = { before_exp = 0, after_exp = 0 } function creatureSayCallback(cid, type, msg) if not npcHandler:isFocused(cid) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid local msg = string.lower(msg) local itemid, count = 9020, 5 -- Edit the item id and count here if isInArray({"recover", "recuperar", "exp", "experience"}, msg) then npcHandler:say("Do you want to recover lost experience after your death for " .. count .. " " .. getItemNameById(itemid) .. "? {yes}", cid) talkState[talkUser] = 1 elseif msgcontains(msg, 'yes') and talkState[talkUser] == 1 then if getPlayerStorageValue(cid, DEATH_TABLE.before_exp) ~= -1 and getPlayerExperience(cid) < getPlayerStorageValue(cid, DEATH_TABLE.before_exp) then if doPlayerRemoveItem(cid, itemid, count) == TRUE then local expToRestore = getPlayerStorageValue(cid, DEATH_TABLE.before_exp) - getPlayerStorageValue(cid, DEATH_TABLE.after_exp) doPlayerAddExp(cid, expToRestore) npcHandler:say("Thank you! Here is your experience.", cid) else npcHandler:say("Sorry, you don't have enough " .. getItemNameById(itemid) .. "!", cid) end else npcHandler:say("Sorry, you didn't die or have already recovered your lost experience.", cid) end talkState[talkUser] = 0 elseif msg == "no" then npcHandler:say("Then not.", cid) talkState[talkUser] = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  7. [28/09/2023 22:03:31] [Error - Npc interface] [28/09/2023 22:03:31] data/npc/scripts/expbuy.lua:onCreatureSay [28/09/2023 22:03:31] Description: [28/09/2023 22:03:31] data/npc/scripts/expbuy.lua:20: attempt to index global 'death_tabble' (a nil value) [28/09/2023 22:03:31] stack traceback: [28/09/2023 22:03:31] data/npc/scripts/expbuy.lua:20: in function 'callback' [28/09/2023 22:03:31] data/npc/lib/npcsystem/npchandler.lua:390: in function 'onCreatureSay' [28/09/2023 22:03:31] data/npc/scripts/expbuy.lua:7: in function <data/npc/scripts/expbuy.lua:7> expbuy.lua Scrutinon.xml npchandler.lua
  8. Scrutinon.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="Scrutinon" script="data/npc/scripts/expbuy.lua" walkinterval="0" floorchange="0"> <health now="100" max="100"/> <look typeex="7825" head="7825" body="0" legs="0" feet="0" addons="0"/> <parameters> <parameter key="message_greet" value="Grande |PLAYERNAME|! Eu posso {recuperar} a exp perdida em sua morte." /> <parameter key="message_decline" value="Adios." /> </parameters> </npc> buyexp.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} 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 creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT and 0 or cid local msg = string.lower(msg) local itemid,count = 9020,300 -- edite o id e count do item aqui if isInArray({"recover","recuperar","exp","experience"}, msg) then npcHandler:say("você deseja recuperar a exp perdida após á sua morte por "..count.." "..getItemNameById(itemid).."? {yes}", cid) talkState[talkUser] = 1 elseif (msgcontains(msg, 'yes') and talkState[talkUser] == 1) then if getPlayerStorageValue(cid, death_tabble.before_exp) ~= -1 and getPlayerExperience(cid) < getPlayerStorageValue(cid, death_tabble.before_exp) then if doPlayerRemoveItem(cid, itemid, count) == TRUE then local count = (getPlayerStorageValue(cid, death_tabble.before_exp) - getPlayerStorageValue(cid, death_tabble.after_exp)) doPlayerAddExp(cid, count) npcHandler:say("Obrigado! aqui está sua experiência.", cid) else npcHandler:say("Desculpe, você não tem "..getItemNameById(itemid).." suficientes!", cid) talkState[talkUser] = 0 end else npcHandler:say("Desculpe, você não morreu ou já recuperou sua exp perdida!", cid) talkState[talkUser] = 0 end elseif msg == "no" then selfSay("Then not", cid) talkState[talkUser] = 0 npcHandler:releaseFocus(cid) end return TRUE end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) ERRO: [27/09/2023 16:43:32] [Error - Npc interface] [27/09/2023 16:43:32] data/npc/scripts/expbuy.lua:onCreatureSay [27/09/2023 16:43:32] Description: [27/09/2023 16:43:32] data/npc/scripts/expbuy.lua:20: attempt to index global 'death_tabble' (a nil value) [27/09/2023 16:43:32] stack traceback: [27/09/2023 16:43:32] data/npc/scripts/expbuy.lua:20: in function 'callback' [27/09/2023 16:43:32] data/npc/lib/npcsystem/npchandler.lua:383: in function 'onCreatureSay' [27/09/2023 16:43:32] data/npc/scripts/expbuy.lua:7: in function <data/npc/scripts/expbuy.lua:7>
  9. experienceShareRadiusX = 65000 experienceShareRadiusY = 65000 experienceShareRadiusZ = 15 experienceShareLevelDifference = 2 / 3 extraPartyExperienceLimit = 99999 extraPartyExperiencePercent = 100 experienceShareActivity = 2 * 60 * 1000
  10. Aqui esta a source eu quero que funcione pra sqlite e mysql anti-entroza war system cast system e os canais abrindo conforme que listei no tópico stamina desce por que não desce meche na source tambem pra faze stamina desce. cryingdamson_0.3.6_(8.60)_V8.2_Source.rar
  11. mod_cast.xml GuildCast.xml Não to conseguindo abri esse mod no meu servidor aparece isso [12/09/2023 09:06:58] [Error - TalkAction Interface] [12/09/2023 09:06:58] buffer:onSay [12/09/2023 09:06:58] Description: [12/09/2023 09:06:58] [string "loadBuffer"]:2: attempt to call global 'getPlayerSpectators' (a nil value) [12/09/2023 09:06:58] stack traceback: [12/09/2023 09:06:58] [string "loadBuffer"]:2: in function <[string "loadBuffer"]:1>
  12. Não pego apareceu CRITICAL! mais não apareceu a mensagem You strike a critical hit! function onCombat(cid, target, damage, flags) if isPlayer(cid) and isCreature(target) and damage => 0 then local criticalHitChance = getConfigValue('criticalHitChance') -- Obtém a chance de acerto crítico do config.lua if math.random(1, 100) <= criticalHitChance then local criticalMessage = "You strike a critical hit!" -- Mensagem de acerto crítico if getConfigValue('displayCriticalHitNotify') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, criticalMessage) print("Mensagem de acerto crítico enviada com sucesso.") -- Adicione esta linha para depuração else print("displayCriticalHitNotify está definido como falso no config.lua.") -- Adicione esta linha para depuração end end end return true end
  13. [08/09/2023 16:55:59] [Error - CreatureScript Interface] [08/09/2023 16:55:59] data/creaturescripts/scripts/criticalhit.lua:onCombat [08/09/2023 16:55:59] Description: [08/09/2023 16:55:59] data/creaturescripts/scripts/criticalhit.lua:2: attempt to compare number with nil [08/09/2023 16:55:59] stack traceback: [08/09/2023 16:55:59] data/creaturescripts/scripts/criticalhit.lua:2: in function <data/creaturescripts/scripts/criticalhit.lua:1>
  14. ACTION: 13741 UNIQUE: 18956 local storage = 13741 function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerStorageValue(cid, storage) == -1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Voce Ganhou Donate Acesso Infinito.") setPlayerStorageValue(cid, storage, 1) doRemoveItem(item.uid, 1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Voce ja usou esse item antes.") end return true end
  15. Arquivos do Servidor.rar Se alguem puder revisar o scripts pra solucionar de vez esse problema ta ai.
  16. Eu não uso ATS eu aministro um OT mais ta dando esse erro frenetico eu não sei o que pode ser.
  17. Alguem sabe como fecha as tela doPlayerPopupFYI que aparece no tibia usando elfbot
  18. Alguem presta auxilio pra adiciona esse script ou mod mais facil. Soul System[MaXwEllDeN].zip

Informação Importante

Confirmação de Termo