Ir para conteúdo
  • Cadastre-se

(Resolvido)BUG DE CAP


Ir para solução Resolvido por Smart Maxx,

Posts Recomendados

Bom galera, alguem sabe como tirar o bug de cap? quando a pessoa atingi um certo ponto de peso, ela comeca a buga o ot e assim faz como derrubar o ot? alguem sabe tirar isso?

 

Ot e 8.4!!

Link para o post
Compartilhar em outros sites

Amigo posta o seu arquivo compat.lua ai pra nois :)

--[[
 * File containing deprecated functions and constants used by alot of scripts and other engines
]]--
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
 
table.getPos = table.find
doSetCreatureDropLoot = doCreatureSetDropLoot
doPlayerSay = doCreatureSay
doPlayerAddMana = doCreatureAddMana
playerLearnInstantSpell = doPlayerLearnInstantSpell
doPlayerRemOutfit = doPlayerRemoveOutfit
pay = doPlayerRemoveMoney
broadcastMessage = doBroadcastMessage
getPlayerName = getCreatureName
getPlayerPosition = getCreaturePosition
getCreaturePos = getCreaturePosition
creatureGetPosition = getCreaturePosition
getPlayerMana = getCreatureMana
getPlayerMaxMana = getCreatureMaxMana
hasCondition = getCreatureCondition
isMoveable = isMovable
isItemMoveable = isItemMovable
saveData = saveServer
savePlayers = saveServer
getPlayerSkill = getPlayerSkillLevel
getPlayerSkullType = 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

 ta ae
Link para o post
Compartilhar em outros sites

você usa banco de dados my sql ou sqlite?


O problema é dependendo do banco de dados q vc usa, na tabela character você precisará mudar o tipo da cap lá...

Se ela estiver int você coloca bigint e tenta novamente...

Agora é um conselho...

É bom você mudar e colocar uma liminitação no seu cap '-'

Link para o post
Compartilhar em outros sites

você usa banco de dados my sql ou sqlite?

O problema é dependendo do banco de dados q vc usa, na tabela character você precisará mudar o tipo da cap lá...

Se ela estiver int você coloca bigint e tenta novamente...

Agora é um conselho...

É bom você mudar e colocar uma liminitação no seu cap '-'

onde que coloco limitação no cap dos players?

Link para o post
Compartilhar em outros sites

mini45 poste seu config.lua se possível.

 

Obs : em spoiler;

-- The Forgotten Server Config
 
-- Account manager
accountManager = "yes"
namelockManager = "no"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 570
newPlayerSpawnPosY = 272
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 50
newPlayerMagicLevel = 0
generateAccountNumber = "no"
 
-- Banishments
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 7
banLength = 7 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = "yes"
killsToBan = 25
maxViolationCommentSize = 200
 
-- Battle
-- NOTE: loginProtectionPeriod is the famous Tibia anti-magebomb system.
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 50
pvpTileIgnoreLevelAndVocationProtection = "yes"
killsToRedSkull = 4
pzLocked = 15000
criticalHitChance = 25
displayCriticalHitNotify = "no"
removeWeaponAmmunition = "no"
removeWeaponCharges = "no"
removeRuneCharges = "no"
timeToDecreaseFrags = 1800000
whiteSkullTime = 180000
noDamageToSameLookfeet = "no"
experienceByKillingPlayers = "yes"
showHealingDamage = "yes"
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = "no"
oldConditionAccuracy = "no"
loginProtectionPeriod = 10
 
-- Connection config
worldId = 0
ip = "127.0.0.1"
port = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "100"
motd = "OT"
displayOnOrOffAtCharlist = "no"
onePlayerOnlinePerAccount = "yes"
allowClones = 0
serverName = "Magnum OT"
loginMessage = " OT"
adminLogsEnabled = "no"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"
forceSlowConnectionsToDisconnect = "no"
loginOnlyWithLoginServer = "no"
 
-- Database
-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
sqlType = "sqlite"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = ""
sqlDatabase = "theforgottenserver"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 60
mysqlReadTimeout = 3
optimizeDatabaseAtStartup = "yes"
passwordType = "plain"
 
-- Deathlist
deathListEnabled = "yes"
maxDeathRecords = 5
 
-- Guilds
ingameGuildManagement = "yes"
levelToFormGuild = 100
guildNameMinLength = 4
guildNameMaxLength = 25
 
-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60
 
-- Houses
buyableAndSellableHouses = "yes"
housesPerAccount = 0
levelToBuyHouse = 300
houseRentAsPrice = "no"
housePriceAsRent = "no"
housePriceEachSQM = 24000
houseRentPeriod = "never"
 
-- Item usage
timeBetweenActions = 200
timeBetweenExActions = 1000
 
-- Map
-- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.
-- useHouseDataStorage usage may be found at README.
mapName = "OT"
mapAuthor = "test"
randomizeTiles = "yes"
useHouseDataStorage = "no"
storeTrash = "yes"
cleanProtectedZones = "yes"
 
-- Miscellaneous
-- NOTE: defaultPriority works only on Windows
-- promptExceptionTracerErrorBox works only with precompiled support feature,
-- called "exception tracer" (__EXCEPTION_TRACER__ flag).
defaultPriority = "normal"
maxMessageBuffer = 1000
kickIdlePlayerAfterMinutes = 15
allowChangeOutfit = "yes"
allowChangeColors = "yes"
disableOutfitsForPrivilegedPlayers = "no"
displayGamemastersWithOnlineCommand = "no"
bankSystem = "yes"
saveGlobalStorage = "yes"
displaySkillLevelOnAdvance = "no"
spellNameInsteadOfWords = "no"
emoteSpells = "yes"
expireReportsAfterReads = 1
promptExceptionTracerErrorBox = "yes"
 
-- Premium account
freePremium = "yes"
removePremiumOnInit = "yes"
premiumForPromotion = "yes"
blessingsOnlyPremium = "yes"
houseNeedPremium = "yes"
bedsRequirePremium = "yes"
 
-- Rates
-- NOTE: experienceStages configuration is located in data/XML/stages.xml.
rateExperience = 999
rateSkill = 200
rateMagic = 50
rateLoot = 10
rateSpawn = 2
experienceStages = "yes"
 
-- Party
-- NOTE experienceShareLevelDifference is float number.
-- 0.66666666666667 is highestLevel * 2 / 3
experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 0.66666666666667
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5
 
-- Global save
-- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,
-- if you want such a system please check out data/globalevents/globalevents.xml.
globalSaveEnabled = "no"
globalSaveHour = 8
shutdownAtGlobalSave = "no"
cleanMapAtGlobalSave = "no"
 
-- Spawns
deSpawnRange = 2
deSpawnRadius = 50
 
-- Summons
maxPlayerSummons = 2
teleportAllSummons = "no"
teleportPlayerSummons = "no"
 
-- Status
ownerName = "Mauricio"
ownerEmail = "@otland.net"
location = "Brasil"
 
-- Logs
-- NOTE: This kind of logging does not work in GUI version.
-- For such, please compile the software with __GUI_LOGS__ flag.
outLogName = "server/out.log"
errorLogName = "server/error.log"
truncateLogsOnStartup = "yes"

Pronto está ai!
Link para o post
Compartilhar em outros sites
  • Solução

Eu adicionei capsystem = "no" , no config.lua , que ai seu serve não possuirá mais cap system(pelo menos eu acho), ai vai resolver o problema por enquanto, pois nunca ví nenhum problema do tipo, se possível me fale qual a base do seu servidor pra dps eu baixar e dar uma olhada quando não tiver nada pra fazer;

 

-- The Forgotten Server Config


-- Account manager
accountManager = "yes"
namelockManager = "no"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 570
newPlayerSpawnPosY = 272
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 50
newPlayerMagicLevel = 0
generateAccountNumber = "no"


-- Banishments
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 7
banLength = 7 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = "yes"
killsToBan = 25
maxViolationCommentSize = 200


-- Battle
-- NOTE: loginProtectionPeriod is the famous Tibia anti-magebomb system.
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 50
pvpTileIgnoreLevelAndVocationProtection = "yes"
killsToRedSkull = 4
pzLocked = 15000
criticalHitChance = 25
displayCriticalHitNotify = "no"
removeWeaponAmmunition = "no"
removeWeaponCharges = "no"
removeRuneCharges = "no"
timeToDecreaseFrags = 1800000
whiteSkullTime = 180000
noDamageToSameLookfeet = "no"
experienceByKillingPlayers = "yes"
showHealingDamage = "yes"
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = "no"
oldConditionAccuracy = "no"
loginProtectionPeriod = 10


-- Connection config
worldId = 0
ip = "127.0.0.1"
port = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "100"
motd = "OT"
displayOnOrOffAtCharlist = "no"
onePlayerOnlinePerAccount = "yes"
allowClones = 0
serverName = "Magnum OT"
loginMessage = " OT"
adminLogsEnabled = "no"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"
forceSlowConnectionsToDisconnect = "no"
loginOnlyWithLoginServer = "no"


-- Database
-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
sqlType = "sqlite"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = ""
sqlDatabase = "theforgottenserver"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 60
mysqlReadTimeout = 3
optimizeDatabaseAtStartup = "yes"
passwordType = "plain"


-- Deathlist
deathListEnabled = "yes"
maxDeathRecords = 5


-- Cap
capsystem = "no"


-- Guilds
ingameGuildManagement = "yes"
levelToFormGuild = 100
guildNameMinLength = 4
guildNameMaxLength = 25


-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60


-- Houses
buyableAndSellableHouses = "yes"
housesPerAccount = 0
levelToBuyHouse = 300
houseRentAsPrice = "no"
housePriceAsRent = "no"
housePriceEachSQM = 24000
houseRentPeriod = "never"


-- Item usage
timeBetweenActions = 200
timeBetweenExActions = 1000


-- Map
-- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.
-- useHouseDataStorage usage may be found at README.
mapName = "OT"
mapAuthor = "test"
randomizeTiles = "yes"
useHouseDataStorage = "no"
storeTrash = "yes"
cleanProtectedZones = "yes"


-- Miscellaneous
-- NOTE: defaultPriority works only on Windows
-- promptExceptionTracerErrorBox works only with precompiled support feature,
-- called "exception tracer" (__EXCEPTION_TRACER__ flag).
defaultPriority = "normal"
maxMessageBuffer = 1000
kickIdlePlayerAfterMinutes = 15
allowChangeOutfit = "yes"
allowChangeColors = "yes"
disableOutfitsForPrivilegedPlayers = "no"
displayGamemastersWithOnlineCommand = "no"
bankSystem = "yes"
saveGlobalStorage = "yes"
displaySkillLevelOnAdvance = "no"
spellNameInsteadOfWords = "no"
emoteSpells = "yes"
expireReportsAfterReads = 1
promptExceptionTracerErrorBox = "yes"


-- Premium account
freePremium = "yes"
removePremiumOnInit = "yes"
premiumForPromotion = "yes"
blessingsOnlyPremium = "yes"
houseNeedPremium = "yes"
bedsRequirePremium = "yes"


-- Rates
-- NOTE: experienceStages configuration is located in data/XML/stages.xml.
rateExperience = 999
rateSkill = 200
rateMagic = 50
rateLoot = 10
rateSpawn = 2
experienceStages = "yes"


-- Party
-- NOTE experienceShareLevelDifference is float number.
-- 0.66666666666667 is highestLevel * 2 / 3
experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 0.66666666666667
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5


-- Global save
-- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,
-- if you want such a system please check out data/globalevents/globalevents.xml.
globalSaveEnabled = "no"
globalSaveHour = 8
shutdownAtGlobalSave = "no"
cleanMapAtGlobalSave = "no"


-- Spawns
deSpawnRange = 2
deSpawnRadius = 50


-- Summons
maxPlayerSummons = 2
teleportAllSummons = "no"
teleportPlayerSummons = "no"


-- Status
ownerName = "Mauricio"
ownerEmail = "@otland.net"
url = "http://otland.net/"
location = "Brasil"


-- Logs
-- NOTE: This kind of logging does not work in GUI version.
-- For such, please compile the software with __GUI_LOGS__ flag.
outLogName = "server/out.log"
errorLogName = "server/error.log"
truncateLogsOnStartup = "yes"

 

btn_donate_LG.gif

 
 
 

 

Link para o post
Compartilhar em outros sites

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.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo