Postado Agosto 1, 2014 11 anos Recomendo tirar o task, a principio, vai arrumar, vou dar uma olhada no seu task para ver se acho algo. Tente colocar isso, talvez funcione. function onKill(cid, target) local config = { ['verminor'] = {amount = 2000, storage = 19555, startstorage = 5555, startvalue = 1}, } local monster = config[getCreatureName(target):lower()] if isPlayer(target) or not monster or isSummon(target) then return true end if getPlayerStorageValue(cid, monster.storage) >= -1 and (getPlayerStorageValue(cid, monster.storage)+1) < monster.amount and getPlayerStorageValue(cid, monster.startstorage) >= monster.startvalue then setPlayerStorageValue(cid, monster.storage, getPlayerStorageValue(cid, monster.storage) + 1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Task: Matou '..(getPlayerStorageValue(cid, monster.storage)+1)..' de '..monster.amount..' '..getCreatureName(target)..'s.') end if (getPlayerStorageValue(cid, monster.storage)+1) == monster.amount then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Parabens, voce matou '..(getPlayerStorageValue(cid, monster.storage)+1)..' '..getCreatureName(target)..'s e completou a missao dos '..getCreatureName(target)..'s.') setPlayerStorageValue(cid, monster.storage, getPlayerStorageValue(cid, monster.storage) + 1) end return true end Editado Agosto 1, 2014 11 anos por gabisa00 (veja o histórico de edições) Meus Trabalhos *CreatureScripts* Defense System *CreatureScripts* {Premium} No Nome *GlobalEvents* Removing Houses Inactive Players *Função* getplayerbyhousewildcard *Função* getplayerbynameaccountid *Sistema* Arena War *Sistema* 3 Teans And 1 Boss *Sistema* Five Fase Quest *Sistema* Pilar Bosses *Sistema* Absorb Mana ArmMeu Site Porno ;P
Postado Agosto 1, 2014 11 anos Autor Mas, eu uso essa task em uns 10 bichos, só o verminor esta com esse bug.
Postado Agosto 1, 2014 11 anos tentou usar o que postei? Meus Trabalhos *CreatureScripts* Defense System *CreatureScripts* {Premium} No Nome *GlobalEvents* Removing Houses Inactive Players *Função* getplayerbyhousewildcard *Função* getplayerbynameaccountid *Sistema* Arena War *Sistema* 3 Teans And 1 Boss *Sistema* Five Fase Quest *Sistema* Pilar Bosses *Sistema* Absorb Mana ArmMeu Site Porno ;P
Postado Agosto 12, 2014 11 anos Autor up Olha como fica a storage na database quando buga: http://prntscr.com/4byje3
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.