Postado Fevereiro 13, 2020 5 anos Autor aeho, funcionou o comando !task denovo agora vou esperar pra ver se aquele lag volta, obrigado
Postado Fevereiro 14, 2020 5 anos @poko360 ok, qualquer coisa posta [*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*] DISCORD: vodkart#6090
Postado Fevereiro 18, 2020 5 anos Autor funcionou sem dar lag até agora, obrigado @Vodkart, resolvido!
Postado Março 3, 2020 5 anos Autor @Vodkart o problema voltou =( o problema ta no creaturescript, n sei oq ta dando, ja tentei qse td, ajuda plos
Postado Março 10, 2020 5 anos Autor @Vodkart pelo q entendi o problema ta aqui: [1:6:39.456] [string "LuaInterface::loadBuffer"]:7: attempt to compare string with number [1:6:39.460] stack traceback: [1:6:39.461] [string "LuaInterface::loadBuffer"]:7: in function <[string "LuaInterface::loadBuffer"]:2> nessa parte do script aqui Spoiler <event type="kill" name="KillAutTask" event="script"><![CDATA[ domodlib('auto_stask') function onKill(cid, target) local str = "" if isPlayer(cid) and isMonster(target) then for task , info in pairs(automatic_task) do if isInArray(info.monsters_list, getCreatureName(target):lower()) and getPlayerLevel(cid) >= info.level_min then local ret = tonumber(getPlayerStorageValue(cid, info.storage) <= 0 and 0 or getPlayerStorageValue(cid, info.storage)) if tonumber(ret) < tonumber(info.count) then setPlayerStorageValue(cid, info.storage, tonumber(getPlayerStorageValue(cid, info.storage) <= 0 and 1 or getPlayerStorageValue(cid, info.storage)+1)) if getPlayerStorageValue(cid, automatic_task_config.defeat_storage) <= 0 and tonumber(getPlayerStorageValue(cid, info.storage)) < info.count then doPlayerSendTextMessage(cid, 24,"[Task System] defeated Total [" .. tonumber(getPlayerStorageValue(cid, info.storage)) .. "/" .. info.count .. "] da Task do " .. info.name .. ".") end if tonumber(getPlayerStorageValue(cid, info.storage)) >= info.count then if info.exp > 0 then doPlayerAddExp(cid, info.exp) str = str.."".. (str == "" and "" or ", ") .." "..info.exp.." de exp" end if info.money > 0 then doPlayerAddMoney(cid, info.money) str = str.."".. (str == "" and "" or ", ") ..""..info.money.." gps" end if table.maxn(info.reward) > 0 then GiveRewardsTask(cid, info.reward) str = str.."".. (str == "" and "" or ", ") ..""..getItemsFromList(info.reward) end doPlayerSendTextMessage(cid, automatic_task_config.reward_type, "[Task System] Voce completou a "..info.name.." Task. Obrigado pela sua ajuda!! Suas Recompensas: "..(str == "" and "nenhuma" or str)) if info.can_repeat == true then setPlayerStorageValue(cid, info.storage, 0) end end end end end end return true end]]></event> </mod> acho que é na hora que o script zera as tasks, que da algum error. tens alguma ideia doq seja nao? =s Editado Março 10, 2020 5 anos por poko360 (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.