Postado Fevereiro 14, 2015 10 anos Autor Estou usando esse server aqui:http://www.tibiaking.com/forum/topic/12439-mapa-global-full-com-rookgaard/
Postado Fevereiro 14, 2015 10 anos Vai em lib/100-compat.lua e procura por: db.executeQuery = db.query Se encontrar, apague essa linha e use o script que eu lhe passei..
Postado Fevereiro 15, 2015 10 anos Autor Achei a linha e a deletei, mas o erro persiste: [14/02/2015 22:03:24] [Error - GlobalEvent Interface] [14/02/2015 22:03:24] data/globalevents/scripts/shop.lua:onThink [14/02/2015 22:03:24] Description: [14/02/2015 22:03:24] data/globalevents/scripts/shop.lua:55: attempt to call field 'query' (a nil value) [14/02/2015 22:03:24] stack traceback: [14/02/2015 22:03:24] data/globalevents/scripts/shop.lua:55: in function <data/globalevents/scripts/shop.lua:4> [14/02/2015 22:03:24] [Error - GlobalEvents::think] Couldn't execute event: shop Aqui ta o meu arquivo 100-compat, onde estava a linha (acho que tem alguma coisa errada com ele, os dados estão todos "concatenados": --[[ * File containing deprecated functions and constants used by alot of scripts and other engines ]]-- --bit = require("bit") TRUE = true FALSE = false LUA_ERROR = false LUA_NO_ERROR = true LUA_NULL = nil TALKTYPE_CHANNEL_R1 = TALKTYPE_CHANNEL_RN TALKTYPE_CHANNEL_R2 = TALKTYPE_CHANNEL_RA TALKTYPE_ORANGE_1 = TALKTYPE_MONSTER TALKTYPE_ORANGE_2 = TALKTYPE_MONSTER_YELL TEXTCOLOR_BLACK = 0 TEXTCOLOR_BLUE = 5 TEXTCOLOR_GREEN = 18 TEXTCOLOR_TEAL = 35 TEXTCOLOR_LIGHTGREEN = 66 TEXTCOLOR_DARKBROWN = 78 TEXTCOLOR_LIGHTBLUE = 89 TEXTCOLOR_DARKPURPLE = 112 TEXTCOLOR_BROWN = 120 TEXTCOLOR_GREY = 129 TEXTCOLOR_DARKRED = 144 TEXTCOLOR_DARKPINK = 152 TEXTCOLOR_PURPLE = 154 TEXTCOLOR_DARKORANGE = 156 TEXTCOLOR_RED = 180 TEXTCOLOR_PINK = 190 TEXTCOLOR_ORANGE = 192 TEXTCOLOR_DARKYELLOW = 205 TEXTCOLOR_YELLOW = 210 TEXTCOLOR_WHITE = 215 TEXTCOLOR_NONE = 255 CONDITION_PARAM_STAT_MAXHITPOINTS = CONDITION_PARAM_STAT_MAXHEALTH CONDITION_PARAM_STAT_MAXMANAPOINTS = CONDITION_PARAM_STAT_MAXMANA CONDITION_PARAM_STAT_SOULPOINTS = CONDITION_PARAM_STAT_SOUL CONDITION_PARAM_STAT_MAGICPOINTS = CONDITION_PARAM_STAT_MAGICLEVEL CONDITION_PARAM_STAT_MAXHITPOINTSPERCENT = CONDITION_PARAM_STAT_MAXHEALTHPERCENT CONDITION_PARAM_STAT_MAXMANAPOINTSPERCENT = CONDITION_PARAM_STAT_MAXMANAPERCENT CONDITION_PARAM_STAT_SOULPOINTSPERCENT = CONDITION_PARAM_STAT_SOULPERCENT CONDITION_PARAM_STAT_MAGICPOINTSPERCENT = CONDITION_PARAM_STAT_MAGICLEVELPERCENT STACKPOS_FIRST_ITEM_ABOVE_GROUNDTILE = 1 STACKPOS_SECOND_ITEM_ABOVE_GROUNDTILE = 2 STACKPOS_THIRD_ITEM_ABOVE_GROUNDTILE = 3 STACKPOS_FOURTH_ITEM_ABOVE_GROUNDTILE = 4 STACKPOS_FIFTH_ITEM_ABOVE_GROUNDTILE = 5 WORLD_TYPE_NO_PVP = 1 WORLD_TYPE_PVP = 2 WORLD_TYPE_PVP_ENFORCED = 3 WORLDTYPE_NO_PVP = 1 WORLDTYPE_PVP = 2 WORLDTYPE_PVP_ENFORCED = 3 CHANNEL_STAFF = 2 CHANNEL_COUNSELOR = 4 CHANNEL_GAMECHAT = 5 CHANNEL_TRADE = 6 CHANNEL_TRADEROOK = 7 CHANNEL_RLCHAT = 8 BANTYPE_IP_BANISHMENT = 1 BANTYPE_NAMELOCK = 2 BANTYPE_BANISHMENT = 3 BANTYPE_NOTATION = 4 BANTYPE_DELETION = 3 SKILLS = SKILL_NAMES table.getPos = table.find doSetCreatureDropLoot = doCreatureSetDropLoot doPlayerSay = doCreatureSay doPlayerAddMana = doCreatureAddMana playerLearnInstantSpell = doPlayerLearnInstantSpell doPlayerRemOutfit = doPlayerRemoveOutfit pay = doPlayerRemoveMoney broadcastMessage = doBroadcastMessage getPlayerName = getCreatureName getCreaturePosition = getThingPosition getPlayerPosition = getCreaturePosition getCreaturePos = getCreaturePosition creatureGetPosition = getCreaturePosition getPlayerMana = getCreatureMana getPlayerMaxMana = getCreatureMaxMana hasCondition = getCreatureCondition isMoveable = isMovable isItemMoveable = isItemMovable saveData = saveServer savePlayers = saveServer getPlayerSkill = getPlayerSkillLevel getPlayerSkullType = getCreatureSkullType getCreatureSkull = getCreatureSkullType getAccountNumberByName = getAccountIdByName getIPByName = getIpByName getPlayersByIP = getPlayersByIp getThingfromPos = getThingFromPos getPlayersByAccountNumber = getPlayersByAccountId getIPByPlayerName = getIpByName getPlayersByIPNumber = getPlayersByIp getAccountNumberByPlayerName = getAccountIdByName convertIntToIP = doConvertIntegerToIp convertIPToInt = doConvertIpToInteger queryTileAddThing = doTileQueryAdd getTileHouseInfo = getHouseFromPos executeRaid = doExecuteRaid saveServer = doSaveServer cleanHouse = doCleanHouse cleanMap = doCleanMap shutdown = doShutdown mayNotMove = doCreatureSetNoMove doPlayerSetNoMove = doCreatureSetNoMove getPlayerNoMove = getCreatureNoMove getConfigInfo = getConfigValue doPlayerAddExp = doPlayerAddExperience isInArea = isInRange doPlayerSetSkillRate = doPlayerSetRate getCreatureLookDir = getCreatureLookDirection getPlayerLookDir = getCreatureLookDirection getPlayerLookDirection = getCreatureLookDirection doCreatureSetLookDir = doCreatureSetLookDirection getPlayerLookPos = getCreatureLookPosition setPlayerStamina = doPlayerSetStamina setPlayerPromotionLevel = doPlayerSetPromotionLevel setPlayerGroupId = doPlayerSetGroupId setPlayerPartner = doPlayerSetPartner doPlayerSetStorageValue = doCreatureSetStorage setPlayerStorageValue = doPlayerSetStorageValue getPlayerStorageValue = getCreatureStorage getGlobalStorageValue = getStorage setGlobalStorageValue = doSetStorage setPlayerBalance = doPlayerSetBalance doAddMapMark = doPlayerAddMapMark doSendTutorial = doPlayerSendTutorial getWaypointsList = getWaypointList getPlayerLastLoginSaved = getPlayerLastLogin getThingPos = getThingPosition doAreaCombatHealth = doCombatAreaHealth doAreaCombatMana = doCombatAreaMana doAreaCombatCondition = doCombatAreaCondition doAreaCombatDispel = doCombatAreaDispel getItemDescriptionsById = getItemInfo hasProperty = hasItemProperty hasClient = hasPlayerClient print = std.cout getPosByDir = getPositionByDirection db.updateQueryLimitOperator = db.updateLimiter db.stringComparisonOperator = db.stringComparer db.stringComparison = db.stringComparer isNumber = isNumeric PlayerFlag_CannotUseCombat = 0 PlayerFlag_CannotAttackPlayer = 1 PlayerFlag_CannotAttackMonster = 2 PlayerFlag_CannotBeAttacked = 3 PlayerFlag_CanConvinceAll = 4 PlayerFlag_CanSummonAll = 5 PlayerFlag_CanIllusionAll = 6 PlayerFlag_CanSenseInvisibility = 7 PlayerFlag_IgnoredByMonsters = 8 PlayerFlag_NotGainInFight = 9 PlayerFlag_HasInfiniteMana = 10 PlayerFlag_HasInfiniteSoul = 11 PlayerFlag_HasNoExhaustion = 12 PlayerFlag_CannotUseSpells = 13 PlayerFlag_CannotPickupItem = 14 PlayerFlag_CanAlwaysLogin = 15 PlayerFlag_CanBroadcast = 16 PlayerFlag_CanEditHouses = 17 PlayerFlag_CannotBeBanned = 18 PlayerFlag_CannotBePushed = 19 PlayerFlag_HasInfiniteCapacity = 20 PlayerFlag_CanPushAllCreatures = 21 PlayerFlag_CanTalkRedPrivate = 22 PlayerFlag_CanTalkRedChannel = 23 PlayerFlag_TalkOrangeHelpChannel = 24 PlayerFlag_NotGainExperience = 25 PlayerFlag_NotGainMana = 26 PlayerFlag_NotGainHealth = 27 PlayerFlag_NotGainSkill = 28 PlayerFlag_SetMaxSpeed = 29 PlayerFlag_SpecialVIP = 30 PlayerFlag_NotGenerateLoot = 31 PlayerFlag_CanTalkRedChannelAnonymous = 32 PlayerFlag_IgnoreProtectionZone = 33 PlayerFlag_IgnoreSpellCheck = 34 PlayerFlag_IgnoreWeaponCheck = 35 PlayerFlag_CannotBeMuted = 36 PlayerFlag_IsAlwaysPremium = 37 PlayerFlag_CanAnswerRuleViolations = 38 PlayerFlag_39 = 39 -- ignore PlayerFlag_ShowGroupNameInsteadOfVocation = 40 PlayerFlag_HasInfiniteStamina = 41 PlayerFlag_CannotMoveItems = 42 PlayerFlag_CannotMoveCreatures = 43 PlayerFlag_CanReportBugs = 44 PlayerFlag_45 = 45 -- ignore PlayerFlag_CannotBeSeen = 46 PlayerFlag_HideHealth = 47 PlayerCustomFlag_AllowIdle = 0 PlayerCustomFlag_CanSeePosition = 1 PlayerCustomFlag_CanSeeItemDetails = 2 PlayerCustomFlag_CanSeeCreatureDetails = 3 PlayerCustomFlag_NotSearchable = 4 PlayerCustomFlag_GamemasterPrivileges = 5 PlayerCustomFlag_CanThrowAnywhere = 6 PlayerCustomFlag_CanPushAllItems = 7 PlayerCustomFlag_CanMoveAnywhere = 8 PlayerCustomFlag_CanMoveFromFar = 9 PlayerCustomFlag_CanLoginMultipleCharacters = 10 PlayerCustomFlag_HasFullLight = 11 PlayerCustomFlag_CanLogoutAnytime = 12 PlayerCustomFlag_HideLevel = 13 PlayerCustomFlag_IsProtected = 14 PlayerCustomFlag_IsImmune = 15 PlayerCustomFlag_NotGainSkull = 16 PlayerCustomFlag_NotGainUnjustified = 17 PlayerCustomFlag_IgnorePacification = 18 PlayerCustomFlag_IgnoreLoginDelay = 19 PlayerCustomFlag_CanStairhop = 20 PlayerCustomFlag_CanTurnhop = 21 PlayerCustomFlag_IgnoreHouseRent = 22
Postado Fevereiro 15, 2015 10 anos Infelizmente, recomendo que você troque o executável do seu servidor. Procure por um TFS (The Forgotten Server), pois acredito que o que você está usando não tem a função necessária para ter um script desse tipo.
Postado Fevereiro 15, 2015 10 anos Novamente eu concordo com o Garou apesar de ser bem estranho não ter essa função.. ;s
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.