.
- Fórum
- OTServ
- Suporte
- Tópicos Sem Resposta
- [Encerrado] Ajuda Rapido
info
Grupo: Campones
Registrado: 30/06/09
Posts: 51
Reputação: +2
Char no Tibia: Assassin of Shadow

tem como você postar o seu config.lua pra eu vêr ?
info
Grupo: Campones
Registrado: 30/06/09
Posts: 51
Reputação: +2
Char no Tibia: Assassin of Shadow

o poblema nao e na config lua mais ta ai
-- The Forgotten Server Config
-- Account manager
accountManager = "no"
namelockManager = "yes"
newPlayerChooseVoc = "no"
newPlayerSpawnPosX = 160
newPlayerSpawnPosY = 54
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 8
newPlayerMagicLevel = 1
generateAccountNumber = "no"
-- Banishments
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 7 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = "yes"
killsToBan = 7
maxViolationCommentSize = 200
autoBanishUnknownBytes = "no"
-- Battle
-- NOTE: loginProtectionPeriod is the famous Tibia anti-magebomb system.
-- deathLostPercent set to nil enables manual mode.
-- showHealingDamageForMonsters inheritates from showHealingDamage.
worldType = "pvp"
protectionLevel = 50
pvpTileIgnoreLevelAndVocationProtection = "yes"
killsToRedSkull = 3
pzLocked = 60 * 1000
criticalHitChance = 7
criticalHitMultiplier = 1
displayCriticalHitNotify = "yes"
removeWeaponAmmunition = "no"
removeWeaponCharges = "yes"
removeRuneCharges = "yes"
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
noDamageToSameLookfeet = "no"
experienceByKillingPlayers = "no"
showHealingDamage = "yes"
showHealingDamageForMonsters = "yes"
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = "no"
oldConditionAccuracy = "no"
loginProtectionPeriod = 10 * 1000
deathLostPercent = 5
stairhopDelay = 2 * 1000
gainExperienceColor = 215
-- Connection config
worldId = 0
ip = "189.41.42.177"
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "100"
motd = "Bem vindo ao Meteor Server"
displayOnOrOffAtCharlist = "no"
onePlayerOnlinePerAccount = "yes"
allowClones = 0
serverName = "Meteor Server"
loginMessage = "Bem vindo ao Meteor Server"
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 = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = ""
sqlDatabase = "schema"
sqlFile = "schema.mysql"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTImeout = 10
passwordType = "plain"
-- Deathlist
deathListEnabled = "yes"
maxDeathRecords = 5
-- Guilds
ingameGuildManagement = "yes"
levelToFormGuild = 100
guildNameMinLength = 4
guildNameMaxLength = 20
-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60
-- Houses
buyableAndSellableHouses = "yes"
houseNeedPremium = "yes"
bedsRequirePremium = "yes"
levelToBuyHouse = 150
housesPerAccount = 1
houseRentAsPrice = "no"
housePriceAsRent = "no"
housePriceEachSquare = 7000
houseRentPeriod = "never"
-- Item usage
timeBetweenActions = 200
timeBetweenExActions = 1000
checkCorpseOwner = "yes"
hotkeyAimbotEnabled = "yes"
-- Map
-- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.
-- useHouseDataStorage usage may be found at README.
mapName = "test"
mapAuthor = "Shadown"
randomizeTiles = "yes"
useHouseDataStorage = "no"
storeTrash = "yes"
cleanProtectedZones = "yes"
-- Startup
-- NOTE: defaultPriority works only on Windows and niceLevel on *nix
-- coresUsed are seperated by comma cores ids used by server process,
-- default is -1, so it stays untouched automaticaly assigned by OS.
defaultPriority = "high"
niceLevel = 5
coresUsed = "-1"
optimizeDatabaseAtStartup = "yes"
removePremiumOnInit = "yes"
-- Muted buffer
maxMessageBuffer = 5
bufferMutedOnSpellFailure = "no"
-- Miscellaneous
-- NOTE: promptExceptionTracerErrorBox works only with precompiled support feature,
-- called exception tracer __EXCEPTION_TRACER__ flag.
dataDirectory = "data/"
kickIdlePlayerAfterMinutes = 15
allowChangeOutfit = "yes"
allowChangeColors = "yes"
allowChangeAddons = "yes"
disableOutfitsForPrivilegedPlayers = "no"
bankSystem = "yes"
saveGlobalStorage = "yes"
ghostModeInvisibleEffect = "yes"
displaySkillLevelOnAdvance = "yes"
spellNameInsteadOfWords = "no"
emoteSpells = "no"
expireReportsAfterReads = 1
promptExceptionTracerErrorBox = "yes"
storePlayerDirection = "no"
playerQueryDeepness = 2
-- Premium-related
freePremium = "no"
premiumForPromotion = "yes"
-- Blessings
-- NOTE: blessingReduction* regards items/containers loss.
-- eachBlessReduction is how much each bless reduces the experience/magic/skills loss.
blessingsOnlyPremium = "yes"
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 8
-- Rates
-- NOTE: experienceStages configuration is located in data/XML/stages.xml.
experienceStages = "yes"
rateExperience = 35
rateSkill = 25
rateMagic = 15
rateLoot = 2
rateSpawn = 1
-- Stamina
-- NOTE: Stamina is stored in miliseconds, so seconds are multiplied by 1000.
-- rateStaminaHits multiplies every hit done a creature, which are later
-- multiplied by player attack speed.
-- rateStaminaGain is multiplying every second of logged out time, eg:
-- 60 * 1000 / 3 = 20 seconds, what gives 1 stamina minute for 3 being logged off.
-- rateStaminaThresholdGain is dividing in case the normal gain that is
-- multiplied by rateStaminaGain, btw. passed above threshold, eg:
-- staminaRatingLimit* is in minutes.
rateStaminaLoss = 1
rateStaminaGain = 1000 / 3
rateStaminaThresholdGain = 4
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 0.5
staminaThresholdOnlyPremium = "yes"
-- Party
-- NOTE: experienceShareLevelDifference is float number.
-- experienceShareLevelDifference is highestLevel * value
experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 2 / 3
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 = "yes"
cleanMapAtGlobalSave = "no"
-- Spawns
deSpawnRange = 2
deSpawnRadius = 50
-- Summons
maxPlayerSummons = 2
teleportAllSummons = "no"
teleportPlayerSummons = "no"
-- Status
ownerName = ""
ownerEmail = ""
url = ""
location = "Brasil"
displayGamemastersWithOnlineCommand = "no"
-- Logs
-- NOTE: This kind of logging does not work in GUI version.
-- For such, please compile the software with __GUI_LOGS__ flag.
adminLogsEnabled = "no"
displayPlayersLogging = "yes"
prefixChannelLogs = ""
runeFile = ""
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = "no"
info
Grupo: Conde
Registrado: 07/05/08
Posts: 612
Reputação: +12
Char no Tibia: leviana luciferiana

isso esta errado no seu config.lua
sqlFile = "schema.mysql"
aqui seria a database s3db o nome dela nao o schema.mysql
e isso tb:
sqlDatabase = "schema"
e aqui seria o nome da database que voce criou no local hoste.
Editado Julho 3 por Marcryzius
info
Grupo: Campones
Registrado: 30/06/09
Posts: 51
Reputação: +2
Char no Tibia: Assassin of Shadow

sqlDatabase = "schema"
sim isso e oque eu criei no local host e isso aki ta assim sqlFile = "schema.mysql"
porq o serv ta em mysql dai essa e a db ^^
info
Grupo: Campones
Registrado: 30/06/09
Posts: 51
Reputação: +2
Char no Tibia: Assassin of Shadow

bom olhando a database descobri que alguns players estao com lossexperience 0 e outros 50 mais os q estao 50 foi os chars q eu criei primeiro e esse bug nao e da db e de alguma config do serv entao alguem sabe como arrumar?
info
Grupo: Herói
Registrado: 28/11/10
Posts: 3.4k
Reputação: +585
Gênero: Masculino

+ Caso a dúvida não tenha sido resolvida você poderá criar outro tópico solicitando ajuda.
* Lembre-se que é permitido dar UP no tópico a cada 24 horas para assim o destacar e manter movimentado.



info
Grupo: Campones
Registrado: 30/06/09
Posts: 51
Reputação: +2
Char no Tibia: Assassin of Shadow
Bom tou com os seguintes bugs no meu server
o primeiro e que quando o player morre nao perde nada,e ta tudo configurado direitinho no config lua
e o segundo e q quando o player compra promotion e morre perde todos os levels!
por favor se eu postei na seçao errada pode mover nao sabia aonde postar entao postei aki...
ajudem me por favor meu server abriu hj e ja tem 12 players online quem souber como me ajudar responde aew ou me add msn
henriquemoreira2006@hotmail.com
OBS:MEU SERVER E EM MYSQL PRA FUNCIONAR O SITE!
por favor alguem me ajuda preciso ageita isso rapido no meu serv :S