• 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!

Error during engine compilation

shioon

New Member
Joined
Feb 10, 2024
Messages
11
Reaction score
1
Hi guys
I have problem, I named by database "lokal" which works fine cause it uploaded without problems and I see account I created for my localhost ots etc.
But i get this message:

DBRebirth, version 1.0 (Swiruseq)
Compiled with GNU C++ version 3.4.5 (mingw special) at Dec 24 2018, 23:14:04.
A server developed by Elf, slawkens, Talaturen, KaczooH, Lithium, Kiper, Kornholijo.
Visit our forum for updates, support and resources: OTLand (http://otland.net).

> Loading config (config.lua)
Using plaintext encryption
Loading RSA key
Starting SQL connection
Running Database Manager
mysql_real_query(): SELECT TABLE_NAME FROM information_schema.tables WHERE TABLE_SCHEMA = 'lokal'; - MYSQL ERROR: Commands out of sync; you can't run this command now (2014)

ERROR: The database you specified in config.lua is empty, please import schemas/<dbengine>.sql to the database (if you are using MySQL, please read doc/MYSQL_HELP for more information).


My config.lua:
Code:
accountManager = false
namelockManager = false
newPlayerChooseVoc = true
newPlayerSpawnPosX = 229
newPlayerSpawnPosY = 17
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 8
newPlayerMagicLevel = 1
generateAccountNumber = false

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 = false

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

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

worldId = 0
ip = "127.0.0.1"
bindOnlyConfiguredIpAddress = true
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 100
motd = "Welcome to DBRebirth"
displayOnOrOffAtCharlist = false
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "DBRebirth"
loginMessage = "Witamy w DBRebirth!"
statusTimeout = 5 * 60
replaceKickOnLogin = true
forceSlowConnectionsToDisconnect = false
loginOnlyWithLoginServer = false
premiumPlayerSkipWaitList = true

sqlType = "mysql"
sqlHost = "localhost"
sqlUser = "root"
sqlPass = ""
sqlDatabase = "lokal"
sqlPort = 3306
mysqlSock = ""
passwordType = "sha1"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "plain"

deathListEnabled = true
deathListRequiredTime = 1 * 60 * 1000
deathAssistCount = 19
maxDeathRecords = 5
ingameGuildManagement = false
levelToFormGuild = 8
premiumDaysToFormGuild = 0
guildNameMinLength = 4
guildNameMaxLength = 20

highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60

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

timeBetweenActions = 200
timeBetweenExActions = 200
checkCorpseOwner = true
hotkeyAimbotEnabled = true
maximumDoorLevel = 800

mapName = "dbr-map"
mapAuthor = "zabka229 and team"
randomizeTiles = true
useHouseDataStorage = false
storeTrash = true
cleanProtectedZones = true
mailboxDisabledTowns = "-1"

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

maxMessageBuffer = 5
bufferMutedOnSpellFailure = false

dataDirectory = "data/"
allowChangeOutfit = false
allowChangeColors = false
allowChangeAddons = false
disableOutfitsForPrivilegedPlayers = false
bankSystem = true
saveGlobalStorage = true
displaySkillLevelOnAdvance = false
spellNameInsteadOfWords = true
emoteSpells = true
promptExceptionTracerErrorBox = true
storePlayerDirection = false
monsterLootMessage = 3
monsterLootMessageType = 20
separateViplistPerCharacter = false
noDamageToPartyMembers = true
ghostModeInvisibleEffect = false
ghostModeSpellEffects = true

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

freePremium = false
premiumForPromotion = true

blessingOnlyPremium = false
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 8

experienceStages = true
rateExperience = 85.0
rateExperienceFromPlayers = 7
rateSkill = 1.0
rateMagic = 1.0
rateLoot = 1000.0
rateSpawn = 1

rateMonsterHealth = 1.0
rateMonsterMana = 1.0
rateMonsterAttack = 1.0
rateMonsterDefense = 1.0

minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1

rateStaminaLoss = 1
rateStaminaGain = 2
rateStaminaThresholdGain = 12
staminaRatingLimitTop = 40 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.2
rateStaminaUnderNormal = 0.5
staminaThresholdOnlyPremium = true

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

globalSaveEnabled = true
globalSaveHour = 3
shutdownAtGlobalSave = true
cleanMapAtGlobalSave = true
deSpawnRange = 2
deSpawnRadius = 50

maxPlayerSummons = 2
teleportAllSummons = false
teleportPlayerSummons = false

ownerName = "zabka229"
ownerEmail = "[email protected]"
url = "http://dbrebirth.no-ip.org"
location = "Europe"
displayGamemastersWithOnlineCommand = false

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

Please, can you help?
 
Code:
ERROR: The database you specified in config.lua is empty, please import schemas/<dbengine>.sql to the database (if you are using MySQL, please read doc/MYSQL_HELP for more information).

Have you logged into the database and imported the schema that comes with your server? because the error says your database is empty
 
Code:
ERROR: The database you specified in config.lua is empty, please import schemas/<dbengine>.sql to the database (if you are using MySQL, please read doc/MYSQL_HELP for more information).

Have you logged into the database and imported the schema that comes with your server? because the error says your database is empty
Does it seem right? Look post above.
 
I can guarantee, create another database with a different name and import the SQL through your server. Then, replace the config.lua with the name of the database you just created, and check if it is the same as before or if the problem is resolved.
 
I can guarantee, create another database with a different name and import the SQL through your server. Then, replace the config.lua with the name of the database you just created, and check if it is the same as before or if the problem is resolved.
Tried that already ... problem still occurs
Post automatically merged:

Just another thought, I had to add 4 .dll files to the same folder as engine to be able to launch it. Is there possibility that I have too new .dll files and have to add older ones?

Post automatically merged:


For future ones, use libmysql version 5.7.17.0 x32 architecture causee 6.1.10.0 f*cked it up.
 
Last edited:
Back
Top