• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

(website) Error when trying to find config

brendan2

Sensation black
Joined
Feb 19, 2009
Messages
507
Reaction score
1
Warning: syntax error, unexpected ':' in C:/Users/brendan/Desktop/New Folder/cryingdamson6-gui/config.lua on line 16 in C:\xampp\htdocs\install.php on line 150
File config.lua loaded from C:/Users/brendan/Desktop/New Folder/cryingdamson6-gui/config.lua and it's not valid TFS config.lua file. Go to STEP 1 - select other directory. If it's your config.lua file from TFS contact with acc. maker author.


im using tfs .3.6 tibia client 8.54

I am new to this prob a simple prob:S
 
Rescue!

OPEN CONFIG.LUA AND DELETE


Code:
	[COLOR="SeaGreen"]-- NOTE: *Banishment and *BlackSkull variables are >summed up<
	-- (dailyFragsToRedSkull + dailyFragsToBanishment) with their
	-- *RedSkull equivalents.
	-- Auto banishing works only if useBlackSkull set to negative.
	-- advancedFragList is not advised if you use huge frags
	-- requirements.[/COLOR]

and everything that looks like it.

Code:
[COLOR="SeaGreen"]-- violationNameReportActionType 1 = just a report, 2 = name lock, 3 = player banishment
	-- killsBanLength works only if useBlackSkull option is disabled.[/COLOR]

etc etc.. check the whole config and delete everything thats green and it will work
 
STEP 1
Check server configuration

Warning: syntax error, unexpected ':' in C:/otserv/config.lua on line 47 in C:\xampp\htdocs\install.php on line 150
File config.lua loaded from C:/otserv/config.lua and it's not valid TFS config.lua file. Go to STEP 1 - select other directory. If it's your config.lua file from TFS contact with acc. maker author.


i did all you sed in the green box i deleted but still sendin this mensseger.
 
copy paste this on your config.lua

Code:
	notationsToBan = 3
	warningsToFinalBan = 4
	warningsToDeletion = 5
	banLength = 7 * 24 * 60 * 60
	killsBanLength = 7 * 24 * 60 * 60
	finalBanLength = 30 * 24 * 60 * 60
	ipBanishmentLength = 1 * 24 * 60 * 60
	broadcastBanishments = true
	maxViolationCommentSize = 200
	violationNameReportActionType = 2
	autoBanishUnknownBytes = false

find that in your config.. and overwrite it with this one


something is wrong here

Code:
	finalBanLength = 30 * 24 * 60 * 60

or here

Code:
	-- Battle
	worldType = "pvp"
	protectionLevel = 8
 
The Panic Server Config

Account manager
accountManager = true
namelockManager = true
newPlayerChooseVoc = true
newPlayerSpawnPosX = 100
newPlayerSpawnPosY = 40
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 10
newPlayerMagicLevel = 2
generateAccountNumber = false

Unjustified kills
redSkullLength = 30 * 24 * 60 * 60
blackSkullLength = 45 * 24 * 60 * 60
dailyFragsToRedSkull = 3
weeklyFragsToRedSkull = 5
monthlyFragsToRedSkull = 10
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 40
blackSkulledDeathMana = 0
useBlackSkull = true
useFragHandler = true
advancedFragList = true

Banishments
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 7 * 24 * 60 * 60
killsBanLength = 7 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = true
maxViolationCommentSize = 200
violationNameReportActionType = 2
autoBanishUnknownBytes = false

Battle
worldType = pvp
protectionLevel = 20
pvpTileIgnoreLevelAndVocationProtection = true
pzLocked = 60 * 1000
huntingDuration = 60 * 1000
criticalHitChance = 7
criticalHitMultiplier = 1
displayCriticalHitNotify = false
removeWeaponAmmunition = false
removeWeaponCharges = false
removeRuneCharges = false
whiteSkullTime = 15 * 60 * 1000
noDamageToSameLookfeet = false
showHealingDamage = false
showHealingDamageForMonsters = false
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = false
oldConditionAccuracy = false
loginProtectionPeriod = 10 * 1000
deathLostPercent = 10
stairhopDelay = 2 * 1000
pushCreatureDelay = 2 * 1000
deathContainerId = 1987
gainExperienceColor = 215
addManaSpentInPvPZone = true
squareColor = 0
allowFightback = true

Connection config
worldId = 0
ip = localhost
bindOnlyConfiguredIpAddress = false
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 1000
motd = Bem vindo ao Panico Serv 3.7! Enjoy
displayOnOrOffAtCharlist = false
onePlayerOnlinePerAccount = true
allowClones = false
serverName = Panico Serv
loginMessage = Bem vindo ao Panico Serv 3.7! Enjoy
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = true
forceSlowConnectionsToDisconnect = false
loginOnlyWithLoginServer = false
premiumPlayerSkipWaitList = false

Database
sqlType = mysql
sqlHost = localhost
sqlPort = 3306
sqlUser = root
sqlPass =
sqlDatabase = mysql.sql
sqlFile = schemas/Alissow.s3db
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
passwordType = plain

Deathlist
deathListEnabled = true
deathListRequiredTime = 1 * 60 * 1000
deathAssistCount = 19
maxDeathRecords = 5

Guilds
ingameGuildManagement = true
levelToFormGuild = 75
premiumDaysToFormGuild = 0
guildNameMinLength = 4
guildNameMaxLength = 25

Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60

Houses
buyableAndSellableHouses = true
houseNeedPremium = true
bedsRequirePremium = true
levelToBuyHouse = 75
housesPerAccount = 0
houseRentAsPrice = false
housePriceAsRent = false
housePriceEachSquare = 1000
houseRentPeriod = never
houseCleanOld = 0
guildHalls = false

Item usage
timeBetweenActions = 200
timeBetweenExActions = 1000
checkCorpseOwner = true
hotkeyAimbotEnabled = true
maximumDoorLevel = 500

Map
mapName = Xedegux
mapAuthor = LucasFG
randomizeTiles = true
useHouseDataStorage = false
storeTrash = true
cleanProtectedZones = true
mailboxDisabledTowns = 1

Startup
defaultPriority = high
niceLevel = 5
coresUsed = 1
optimizeDatabaseAtStartup = true
removePremiumOnInit = true
confirmOutdatedVersion = false

Muted buffer
maxMessageBuffer = 4
bufferMutedOnSpellFailure = false

Miscellaneous
dataDirectory = data/
allowChangeOutfit = true
allowChangeColors = true
allowChangeAddons = true
disableOutfitsForPrivilegedPlayers = false
bankSystem = true
saveGlobalStorage = true
displaySkillLevelOnAdvance = true
spellNameInsteadOfWords = false
emoteSpells = true
promptExceptionTracerErrorBox = true
storePlayerDirection = false
monsterLootMessage = 3
monsterLootMessageType = 25
separateViplistPerCharacter = false

Ghost mode
ghostModeInvisibleEffect = false
ghostModeSpellEffects = true

Limits
idleWarningTime = 14 * 60 * 1000
idleKickTime = 15 * 60 * 1000
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 0
maxItemsPerHouseTile = 0

Premium related
freePremium = true
premiumForPromotion = true

Blessings
blessingOnlyPremium = true
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 8

Rates
experienceStages = false
rateExperience = 100
rateExperienceFromPlayers = 0
rateSkill = 90
rateMagic = 90
rateLoot = 3
rateSpawn = 1

Monster rates
rateMonsterHealth = 1.0
rateMonsterMana = 1.0
rateMonsterAttack = 1.0
rateMonsterDefense = 1.0

Experience from players
minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1

Stamina
rateStaminaLoss = 1
rateStaminaGain = 3
rateStaminaThresholdGain = 12
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 0.5
staminaThresholdOnlyPremium = true

Party
experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 2 / 3
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5
experienceShareActivity = 2 * 60 * 1000

Global save
globalSaveEnabled = false
globalSaveHour = 8
shutdownAtGlobalSave = true
cleanMapAtGlobalSave = false

Spawns
deSpawnRange = 2
deSpawnRadius = 50

Summons
maxPlayerSummons = 2
teleportAllSummons = false
teleportPlayerSummons = false

Status
ownerName = LucasFG
ownerEmail = [email protected]
url = http://panico-rpg.servegame.com
location = EUROPE
displayGamemastersWithOnlineCommand = false

Logs
adminLogsEnabled = false
displayPlayersLogging = true
prefixChannelLogs =
runFile =
outLogName =
errorLogName =
truncateLogsOnStartup = false


Is that how it meant to look like my confi.lua?
and i have sqlite.sql..and...mysql.sql..and...pgsql.sql
 
Copy paste this in your config.lua

remember to change SQL-PASSWORD -> XXX

Code:
The Panic Server Config

Account manager
accountManager = true
namelockManager = true
newPlayerChooseVoc = true
newPlayerSpawnPosX = 100
newPlayerSpawnPosY = 40
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 10
newPlayerMagicLevel = 2
generateAccountNumber = false

Unjustified kills
redSkullLength = 30 * 24 * 60 * 60
blackSkullLength = 45 * 24 * 60 * 60
dailyFragsToRedSkull = 3
weeklyFragsToRedSkull = 5
monthlyFragsToRedSkull = 10
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 40
blackSkulledDeathMana = 0
useBlackSkull = true
useFragHandler = true
advancedFragList = true

Banishments
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 7 * 24 * 60 * 60
killsBanLength = 7 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = true
maxViolationCommentSize = 200
violationNameReportActionType = 2
autoBanishUnknownBytes = false

Battle
worldType = "pvp"
protectionLevel = 20
pvpTileIgnoreLevelAndVocationProtection = true
pzLocked = 60 * 1000
huntingDuration = 60 * 1000
criticalHitChance = 7
criticalHitMultiplier = 1
displayCriticalHitNotify = false
removeWeaponAmmunition = false
removeWeaponCharges = false
removeRuneCharges = false
whiteSkullTime = 15 * 60 * 1000
noDamageToSameLookfeet = false
showHealingDamage = false
showHealingDamageForMonsters = false
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = false
oldConditionAccuracy = false
loginProtectionPeriod = 10 * 1000
deathLostPercent = 10
stairhopDelay = 2 * 1000
pushCreatureDelay = 2 * 1000
deathContainerId = 1987
gainExperienceColor = 215
addManaSpentInPvPZone = true
squareColor = 0
allowFightback = true

Connection config
worldId = 0
ip = "127.0.0.1"
bindOnlyConfiguredIpAddress = false
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 1000
motd = "Bem vindo ao Panico Serv 3.7! Enjoy"
displayOnOrOffAtCharlist = false
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Panico Serv"
loginMessage = "Bem vindo ao Panico Serv 3.7! Enjoy"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = true
forceSlowConnectionsToDisconnect = false
loginOnlyWithLoginServer = false
premiumPlayerSkipWaitList = false

Database
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = "3306"
sqlUser = "root"
sqlPass = "[COLOR="red"]xxxx[/COLOR]"
sqlDatabase = "mysql.sql"
sqlFile = "schemas/Alissow.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
passwordType = "plain"

Deathlist
deathListEnabled = true
deathListRequiredTime = 1 * 60 * 1000
deathAssistCount = 19
maxDeathRecords = 5

Guilds
ingameGuildManagement = true
levelToFormGuild = 75
premiumDaysToFormGuild = 0
guildNameMinLength = 4
guildNameMaxLength = 25

Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60

Houses
buyableAndSellableHouses = true
houseNeedPremium = true
bedsRequirePremium = true
levelToBuyHouse = 75
housesPerAccount = 0
houseRentAsPrice = false
housePriceAsRent = false
housePriceEachSquare = 1000
houseRentPeriod = "never"
houseCleanOld = 0
guildHalls = false

Item usage
timeBetweenActions = 200
timeBetweenExActions = 1000
checkCorpseOwner = true
hotkeyAimbotEnabled = true
maximumDoorLevel = 500

Map
mapName = "Xedegux"
mapAuthor = "LucasFG"
randomizeTiles = true
useHouseDataStorage = false
storeTrash = true
cleanProtectedZones = true
mailboxDisabledTowns = "-1"

Startup
defaultPriority = "high"
niceLevel = 5
coresUsed = 1
optimizeDatabaseAtStartup = true
removePremiumOnInit = true
confirmOutdatedVersion = false

Muted buffer
maxMessageBuffer = 4
bufferMutedOnSpellFailure = false

Miscellaneous
dataDirectory = "data/"
allowChangeOutfit = true
allowChangeColors = true
allowChangeAddons = true
disableOutfitsForPrivilegedPlayers = false
bankSystem = true
saveGlobalStorage = true
displaySkillLevelOnAdvance = true
spellNameInsteadOfWords = false
emoteSpells = true
promptExceptionTracerErrorBox = true
storePlayerDirection = false
monsterLootMessage = 3
monsterLootMessageType = 25
separateViplistPerCharacter = false

Ghost mode
ghostModeInvisibleEffect = false
ghostModeSpellEffects = true

Limits
idleWarningTime = 14 * 60 * 1000
idleKickTime = 15 * 60 * 1000
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 0
maxItemsPerHouseTile = 0

Premium related
freePremium = true
premiumForPromotion = true

Blessings
blessingOnlyPremium = true
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 8

Rates
experienceStages = false
rateExperience = 100
rateExperienceFromPlayers = 0
rateSkill = 90
rateMagic = 90
rateLoot = 3
rateSpawn = 1

Monster rates
rateMonsterHealth = 1.0
rateMonsterMana = 1.0
rateMonsterAttack = 1.0
rateMonsterDefense = 1.0

Experience from players
minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1

Stamina
rateStaminaLoss = 1
rateStaminaGain = 3
rateStaminaThresholdGain = 12
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 0.5
staminaThresholdOnlyPremium = true

Party
experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 2 / 3
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5
experienceShareActivity = 2 * 60 * 1000

Global save
globalSaveEnabled = false
globalSaveHour = 8
shutdownAtGlobalSave = true
cleanMapAtGlobalSave = false

Spawns
deSpawnRange = 2
deSpawnRadius = 50

Summons
maxPlayerSummons = 2
teleportAllSummons = false
teleportPlayerSummons = false

Status
ownerName = "LucasFG"
ownerEmail = "[email protected]"
url = ""
location = "EUROPE"
displayGamemastersWithOnlineCommand = false

Logs
adminLogsEnabled = false
displayPlayersLogging = true
prefixChannelLogs = 
runFile = 
outLogName = 
errorLogName = 
truncateLogsOnStartup = false

And don't remove the " " "
 
STEP 1
Check server configuration
File config.lua loaded from C:/otserv/config.lua and looks like fine server config file. Now you can check database(mysql) connection: STEP 2 - check database connection

Thankss You Very Very Muchh frankfarmer thanks alot
 
STEP 1
Check server configuration
File config.lua loaded from C:/otserv/config.lua and looks like fine server config file. Now you can check database(mysql) connection: STEP 2 - check database connection

Thankss You Very Very Muchh frankfarmer thanks alot

No problem! Have fun :peace:
 
Know send me this error ¬¬'

STEP 2
Check database connection
If you don't see any errors press link to STEP 3 - Add tables and columns to DB. If you see some errors it mean server has wrong configuration. Check FAQ or ask author of acc. maker.Can't connect to MySQL database.


then after i click in the linkc come to other page saying Can't connect to MySQL database.
 
Open config.lua and look for this

Code:
Database
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = "3306"
sqlUser = "root"
sqlPass = "[COLOR="red"]xxxx[/COLOR]"

change "xxxx" TO "your password"

IT is the same password as when you login http://localhost/phpmyadmin
 
does't work still the same error and i have put a password already...

Database
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = "3306"
sqlUser = "root"
sqlPass = "lucasfg1930"
sqlDatabase = "mysql.sql"
sqlFile = "schemas/Alissow.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
passwordType = "plain"


STEP 2
Check database connection
If you don't see any errors press link to STEP 3 - Add tables and columns to DB. If you see some errors it mean server has wrong configuration. Check FAQ or ask author of acc. maker.


then after i click in the linkc come to other page saying
Can't connect to MySQL database.
 
does't work still the same error and i have put a password already...

Database
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = "3306"
sqlUser = "root"
sqlPass = "XXXXXXXXXX"
sqlDatabase = "mysql.sql"
sqlFile = "schemas/Alissow.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
passwordType = "plain"


STEP 2
Check database connection
If you don't see any errors press link to STEP 3 - Add tables and columns to DB. If you see some errors it mean server has wrong configuration. Check FAQ or ask author of acc. maker.


then after i click in the linkc come to other page saying
Can't connect to MySQL database.

1. + CHANGE PASSWORD / EDIT POST -> Don't show you password to people

2. Open your config.lua

look for

Code:
sqlDatabase = "mysql.sql"
sqlFile = "schemas/Alissow.s3db"

change to

Code:
	sqlDatabase = "NAME OF YOUR DATABASE"
	sqlFile = "forgottenserver.s3db"

"name of your database" inside http://localhost/phpmyadmin
 
Okay i have changed my password.
and i have changed the

sqlDatabase = "mysql.sql"
sqlFile = "schemas/Alissow.s3db"

change to

sqlDatabase = "theforgottenserver"
sqlFile = "forgottenserver.s3db"

and still don't work =[ same error Can't connect to MySQL database.
 
Back
Top