Ir para conteúdo

omin

Campones
  • Total de itens

    11
  • Registro em

  • Última visita

Sobre omin

Informações

  • Forma que conheci o xTibia
    Otservs
  • Sou
    OT-Admin

Últimos Visitantes

628 visualizações

omin's Achievements

  1. omin

    Item Editor 10.90

    --------------------------- --------------------------- Could not find a plugin that could handle client version 58 --------------------------- Acept ---------------------------
  2. muito obrigado Mas o erro aparece aleatoriamente. Não se relacionam com qualquer coisa a verdade. Agora tin un novo error. [26/10/2013 19:59:27] [Error - CreatureScript Interface] [26/10/2013 19:59:27] data/creaturescripts/scripts/exp2.0.lua:onStatsChange [26/10/2013 19:59:27] Description: [26/10/2013 19:59:27] data/lib/pokemon moves.lua:3857: attempt to index local 'outfitt' (a nil value) [26/10/2013 19:59:27] stack traceback: [26/10/2013 19:59:27] data/lib/pokemon moves.lua:3857: in function 'docastspell' [26/10/2013 19:59:27] data/creaturescripts/scripts/exp2.0.lua:554: in function <data/creaturescripts/scripts/exp2.0.lua:62> [26/10/2013 19:59:29] Error trying to use move Demon Puncher, move not specified in the pokemon table. [26/10/2013 19:59:30] Error trying to use move Demon Puncher, move not specified in the pokemon table. [26/10/2013 19:59:32] Error trying to use move Demon Puncher, move not specified in the pokemon table.
  3. Pokemon Dash Advanced (1.0), last compiled at Jan 11 2012. Credits to all TFS team ( Elf, slawkens, Talaturen, Lithium, KaczooH, Kiper, Kornholijo). PokemonDistro made by mastercraft/brun123. pokemon moves.lua Onde adicionar esta linha de código?
  4. [19/10/2013 14:42:43] [Error - Spell Interface] [19/10/2013 14:42:43] data/spells/scripts/passivas/Demon Puncher.lua:onCastSpell [19/10/2013 14:42:44] Description: [19/10/2013 14:42:45] data/lib/pokemon moves.lua:4165: attempt to index global 'tabela' (a nil value) [19/10/2013 14:42:45] stack traceback: [19/10/2013 14:42:46] data/lib/pokemon moves.lua:4165: in function 'docastspell' [19/10/2013 14:42:46] data/spells/scripts/passivas/Demon Puncher.lua:3: in function <data/spells/scripts/passivas/Demon Puncher.lua:1> [19/10/2013 14:44:32] [Error - TalkAction Interface] [19/10/2013 14:44:33] data/talkactions/scripts/move1.lua:onSay [19/10/2013 14:44:33] Description: [19/10/2013 14:44:34] (luaDoConvinceCreature) Creature not found [19/10/2013 14:43:57] [Error - CreatureScript Interface] [19/10/2013 14:43:58] data/creaturescripts/scripts/login.lua:onLogin [19/10/2013 14:43:59] Description: [19/10/2013 14:43:59] (luaGetItemAttribute) Item not found Preciso Ayuda!!
  5. E como eu posso mudar isso? Y O segundo erro já está resolvido
  6. Información del Servidor Pokemon Dash Advanced (1.0), last compiled at Jan 11 2012. Credits to all TFS team ( Elf, slawkens, Talaturen, Lithium, KaczooH, Kiper, Kornholijo). PokemonDistro made by mastercraft/brun123. Main window log cleared. [22/09/2013 12:56:16] [Error - CreatureScript Interface] [22/09/2013 12:56:16] data/creaturescripts/scripts/login.lua:onLogin [22/09/2013 12:56:16] Description: [22/09/2013 12:56:16] (luaGetItemAttribute) Item not found login.lua local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } --alterado v1.6 tabelas soh em configuration.lua; function onLogin(cid) doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 60) doCreatureSetDropLoot(cid, false) doPlayerSendTextMessage(cid, 27, "ICON SYSTEM ATIVADO, POKEBAR DESATIVADA.") setPlayerStorageValue(cid, 52480, -1) setPlayerStorageValue(cid, 154580, -1) setPlayerStorageValue(cid, 6955, -1) setPlayerStorageValue(cid, 656494, -1) setPlayerStorageValue(cid, 950000, -1) setPlayerStorageValue(cid, 897530, 1) local accountManager = getPlayerAccountManager(cid) if getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 240 then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 30) end if getPlayerLevel(cid) >= 240 then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 10) end local pos = {x=49,y=73,z=7} if getPlayerStorageValue(cid, 20000) == 1 then doTeleportThing(cid, pos) setPlayerStorageValue(cid, 20000, -1) end if getPlayerStorageValue(cid, 121212) >= 0 or getPlayerStorageValue(cid,121213) == 1 or getPlayerStorageValue(cid,12123) == 1 then setPlayerStorageValue(cid, 121212, -1) setPlayerStorageValue(cid, 121213, -1) setPlayerStorageValue(cid, 12123, -1) end 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 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 getCreatureName(cid) == "Account Manager" then local outfit = {} if accountManagerRandomPokemonOutfit then outfit = {lookType = getPokemonXMLOutfit(oldpokedex[math.random(151)][1])} else outfit = accountManagerOutfit end doSetCreatureOutfit(cid, outfit, -1) return true end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end local outfit = {} if getPlayerVocation(cid) == 0 then doPlayerSetMaxCapacity(cid, 0) doPlayerSetVocation(cid, 1) setCreatureMaxMana(cid, 6) doPlayerAddSoul(cid, -getPlayerSoul(cid)) setPlayerStorageValue(cid, 19898, 0) if getCreatureOutfit(cid).lookType == 128 then outfit = {lookType = 510, lookHead = math.random(0, 132), lookBody = math.random(0, 132), lookLegs = math.random(0, 132), lookFeet = math.random(0, 132)} elseif getCreatureOutfit(cid).lookType == 136 then outfit = {lookType = 511, lookHead = math.random(0, 132), lookBody = math.random(0, 132), lookLegs = math.random(0, 132), lookFeet = math.random(0, 132)} end doCreatureChangeOutfit(cid, outfit) end --alterado v1.6.1 removido a linha! registerCreatureEvent(cid, "dropStone") registerCreatureEvent(cid, "ShowPokedex") --alterado v1.6 registerCreatureEvent(cid, "ClosePokedex") --alterado v1.6 registerCreatureEvent(cid, "ZombieAttack") registerCreatureEvent(cid, "WatchTv") registerCreatureEvent(cid, "StopWatchingTv") registerCreatureEvent(cid, "WalkTv") registerCreatureEvent(cid, "RecordTv") registerCreatureEvent(cid, "PlayerLogout") registerCreatureEvent(cid, "WildAttack") registerCreatureEvent(cid, "Idle") registerCreatureEvent(cid, "PokemonIdle") registerCreatureEvent(cid, "EffectOnAdvance") registerCreatureEvent(cid, "GeneralConfiguration") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "LookSystem") registerCreatureEvent(cid, "T1") registerCreatureEvent(cid, "T2") registerCreatureEvent(cid, "task_count") registerCreatureEvent(cid, "aloot_kill") registerCreatureEvent(cid, "especialloot") if getPlayerStorageValue(cid, 99284) == 1 then setPlayerStorageValue(cid, 99284, -1) end if getPlayerStorageValue(cid, 6598754) >= 1 or getPlayerStorageValue(cid, 6598755) >= 1 then setPlayerStorageValue(cid, 6598754, -1) setPlayerStorageValue(cid, 6598755, -1) doRemoveCondition(cid, CONDITION_OUTFIT) --alterado v1.9 \/ doTeleportThing(cid, posBackPVP, false) doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) end doChangeSpeed(cid, -(getCreatureSpeed(cid))) --///////////////////////////////////////////////////////////////////////////-- local storages = {17000, 63215, 17001, 13008, 5700} for s = 1, #storages do if not tonumber(getPlayerStorageValue(cid, storages[s])) then if s == 3 then setPlayerStorageValue(cid, storages[s], 1) elseif s == 4 then setPlayerStorageValue(cid, storages[s], -1) else if isBeingUsed(getPlayerSlotItem(cid, 8).itemid) then setPlayerStorageValue(cid, storages[s], 1) --alterado v1.6 else setPlayerStorageValue(cid, storages[s], -1) end end doPlayerSendTextMessage(cid, 27, "Sorry, but a problem occurred on the server, but now it's alright") end end --/////////////////////////////////////////////////////////////////////////-- if getPlayerStorageValue(cid, 17000) >= 1 then -- fly local item = getPlayerSlotItem(cid, 8) local poke = getItemAttribute(item.uid, "poke") doChangeSpeed(cid, getPlayerStorageValue(cid, 54844)) doRemoveCondition(cid, CONDITION_OUTFIT) doSetCreatureOutfit(cid, {lookType = flys[poke][1] + 351}, -1) local apos = getFlyingMarkedPos(cid) apos.stackpos = 0 if getTileThingByPos(apos).itemid <= 2 then doCombatAreaHealth(cid, FIREDAMAGE, getFlyingMarkedPos(cid), 0, 0, 0, CONST_ME_NONE) doCreateItem(460, 1, getFlyingMarkedPos(cid)) end doTeleportThing(cid, apos, false) local posicao = getTownTemplePosition(getPlayerTown(cid)) markFlyingPos(cid, posicao) elseif getPlayerStorageValue(cid, 63215) >= 1 then -- surf local item = getPlayerSlotItem(cid, 8) local poke = getItemAttribute(item.uid, "poke") doSetCreatureOutfit(cid, {lookType = surfs[poke].lookType + 351}, -1) --alterado v1.6 doChangeSpeed(cid, getPlayerStorageValue(cid, 54844)) elseif getPlayerStorageValue(cid, 17001) >= 1 then -- ride local item = getPlayerSlotItem(cid, 8) local poke = getItemAttribute(item.uid, "poke") if rides[poke] then doChangeSpeed(cid, getPlayerStorageValue(cid, 54844)) doRemoveCondition(cid, CONDITION_OUTFIT) doSetCreatureOutfit(cid, {lookType = rides[poke][1] + 351}, -1) else setPlayerStorageValue(cid, 17001, -1) doRegainSpeed(cid) --alterado v1.6 end local posicao2 = getTownTemplePosition(getPlayerTown(cid)) markFlyingPos(cid, posicao2) elseif getPlayerStorageValue(cid, 13008) >= 1 then -- dive if not isInArray({5405, 5406, 5407, 5408, 5409, 5410}, getTileInfo(getThingPos(cid)).itemid) then setPlayerStorageValue(cid, 13008, 0) doRegainSpeed(cid) --alterado v1.6 doRemoveCondition(cid, CONDITION_OUTFIT) return true end if getPlayerSex(cid) == 1 then doSetCreatureOutfit(cid, {lookType = 1034, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet}, -1) else doSetCreatureOutfit(cid, {lookType = 1035, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet}, -1) end doChangeSpeed(cid, 800) elseif getPlayerStorageValue(cid, 5700) > 0 then --bike doChangeSpeed(cid, getPlayerStorageValue(cid, 5700)) if getPlayerSex(cid) == 1 then doSetCreatureOutfit(cid, {lookType = 1394}, -1) else doSetCreatureOutfit(cid, {lookType = 1393}, -1) end else doRegainSpeed(cid) --alterado v1.6 end if getPlayerStorageValue(cid, 22545) >= 1 then setPlayerStorageValue(cid, 22545, -1) --alterado v1.4 doTeleportThing(cid, getClosestFreeTile(cid, posBackGolden), false) setPlayerRecordWaves(cid) end if useKpdoDlls then doUpdatePokemonsBar(cid) end doPlayerChangeModeIcon(cid) return true end [22/09/2013 12:56:42] [Error - Npc interface] [22/09/2013 12:56:42] data/npc/scripts/profrobert.lua:onCreatureSay [22/09/2013 12:56:42] Description: [22/09/2013 12:56:42] data/lib/some functions.lua:787: attempt to index local 'str' (a nil value) [22/09/2013 12:56:42] stack traceback: [22/09/2013 12:56:42] data/lib/some functions.lua:787: in function 'doCorrectString' [22/09/2013 12:56:42] data/npc/scripts/profrobert.lua:46: in function 'callback' [22/09/2013 12:56:42] data/npc/lib/npcsystem/npchandler.lua:391: in function 'onCreatureSay' [22/09/2013 12:56:42] data/npc/scripts/profrobert.lua:7: in function <data/npc/scripts/profrobert.lua:7> some functions.lua function doCorrectString(str) local name = str:explode(" ") --alterado v1.9 local final = {} for _, s in ipairs(name) do table.insert(final, s:sub(1, 1):upper()..s:sub(2, #s):lower()) end return table.concat(final, (name[2] and " " or "")) end npchandler.lua function NpcHandler:onCreatureSay(cid, class, msg) local callback = self:getCallback(CALLBACK_CREATURE_SAY) if(callback == nil or callback(cid, class, msg)) then if(self:processModuleCallback(CALLBACK_CREATURE_SAY, cid, class, msg)) then if(not self:isInRange(cid)) then return end if(self.keywordHandler ~= nil) then if((self:isFocused(cid) and (class == TALKTYPE_PRIVATE_PN or NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT)) or not self:isFocused(cid)) then local ret = self.keywordHandler:processMessage(cid, msg) if(not ret) then local callback = self:getCallback(CALLBACK_MESSAGE_DEFAULT) if(callback ~= nil and callback(cid, class, msg)) then if(NPCHANDLER_CONVBEHAVIOR ~= CONVERSATION_DEFAULT) then self.talkStart[cid] = os.time() else self.talkStart = os.time() end end else if(NPCHANDLER_CONVBEHAVIOR ~= CONVERSATION_DEFAULT) then self.talkStart[cid] = os.time() else self.talkStart = os.time() end end end end end end end profrobert.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 places = { ["saffron"] = 1, ["cerulean"] = 2, ["lavender"] = 3, ["fuchsia"] = 4, ["celadon"] = 5, ["viridian"] = 6, ["vermilion"] = 7, ["pewter"] = 8, ["cinnabar"] = 10, } if msgcontains(string.lower(msg), 'city') or msgcontains(string.lower(msg), 'citys') then if getPlayerStorageValue(cid, 9658754) == 1 then selfSay("You already choose your beginner town!", cid) return true else selfSay("You can choose your beginner town between: {Saffron, Cerulean, Lavender, Fuchsia, Celadon, Viridian, Vermilion, Pewter or Cinnabar}.", cid) return true end elseif places[string.lower(msg)] then city = string.lower(msg) selfSay("Are you sure which you want to begin in {".. doCorrectString(msg) .."}?", cid) talkState[talkUser] = 2 return true elseif msgcontains(msg, "yes") or msgcontains(msg, "Yes") and talkState[talkUser] == 2 then if getPlayerStorageValue(cid, 9658754) == 1 then selfSay("You already choose your beginner town!", cid) return true else selfSay("OK then... Now your beginner town is ".. doCorrectString(city)..". Good luck in your jorney!", cid) doPlayerSetTown(cid, places[city]) setPlayerStorageValue(cid, 9658754, 1) return true end elseif msgcontains(msg, "no") or msgcontains(msg, "No") and talkState[talkUser] == 2 then selfSay("Ok then... say again what city you want to begin!", cid) talkState[talkUser] = 0 return true end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  7. Eu tenho um problema com o: Crie um arquivo countkills.lua e adicione em talkactions/scripts function onSay(cid, words, param, channel) local monster, permission = getPlayerStorageValue(cid,taskstg.monster), getPlayerStorageValue(cid,tasksg.permission) local kills, killstotal = getPlayerStorageValue(cid,taskstg.kills), getPlayerStorageValue(cid,taskstg.killstotal) if monster == -1 or monster == 0 then doPlayerSendTextMessage(cid,27,'Voce nao tem nenhuma task ativa.') else local left = kills - killstotal if left <= 0 then doPlayerSendTextMessage(cid,27,'Voce ja matou monstros suficientes para terminar sua task.') else doPlayerSendTextMessage(cid,27,'Andamento da sua task de '..taskmonsters[monster][1]..'s -> ['..kills..'/'..killstotal..']') end end return true end Eu já criado e colocado tudo, mas quando eu digo que o comando !countkills no servidor eu recebo um erro: [Error - TalkAction Interface] data/talkactions/scripts/countkills.lua:onSay Description: data/talkactions/scripts/countkills.lua:2: attempt to index global 'tasksg' (a nil value) stack traceback: data/talkactions/scripts/countkills.lua:2: in function <data/talkactions/scripts/countkills.lua:1> Eu uso o servidor: Pokemon Dash Advanced (1.0), last compiled at Jan 11 2012. Credits to all TFS team (Elf, slawkens, Talaturen, Lithium, KaczooH, Kiper, Kornholijo). PokemonDistro made by mastercraft/brun123.
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...