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

Solved Gesior 2012 - Invalid key (config)

raslan

Banned User
Joined
Aug 28, 2019
Messages
4
Reaction score
0
when i making a Installation of gesior 2012 for server 7.6 i get this error

Error ID:
More info: ERROR: #C-1 : Class::ConfigLUA - Line 32 of LUA config file is not valid [key: speed]

File: C:\Inetpub\vhosts\otchaos-classic.com\httpdocs\classes/configlua.php Line: 59
File: C:\Inetpub\vhosts\otchaos-classic.com\httpdocs\classes/configlua.php Line: 20
File: C:\Inetpub\vhosts\otchaos-classic.com\httpdocs\classes/configlua.php Line: 12
File: C:\Inetpub\vhosts\otchaos-classic.com\httpdocs/install.php Line: 249

I dont really know why please help.
This is my configlua

Lua:
---------- Wanna make changes in game and reload config? Use /reload config ----------
----------------------------1337SOT CONFIGURATION---------------------------

-- house price for 1 sqm
priceforsqm = 1000000

-- max houses for player
maxhouses = 1

-- required level to buy a house
houselevel = 1000

-- Do you want to enable !buyhouse(yes/no)
buyhouseable = "yes"

----- config animated text -----(Type the set command tomorow and a word. Example: ~HELLO!)
animatedtext = "~"

--Do you want the fancy skill advance animations?!
animations = "yes"
-- color of advance animations
-- (darkblue = 2, red = 180, orange = 199, gray = 121, green = 84)
-- (lime = 102, yellow = 169, light blue = 71, white = 983)
anicolor = 180

--Auto Save time for each player.... 1 = 1min
saveTime = 3

-- How many % increase magic damage when u have blue robe? (2656)
bluerobe = 200
-- speed of attack in seconds (no-voc, sorc, druid, pally, knight)
speed = {"1.5", "0.5", "0.5", "0.5", "0.5"}

-- Life Ring Configuration
LifeRingHealth = "2000"
LifeRingMana = "500"

-- ROH Configuration
RoHHealth = "500"
RoHMana = "2000"

--Better Server saves, to prevent lagg... i usuly set players every 5 mins+the auto player save shown above, houses 20 mins and guids 30 then a real serversave every 1 hour
-- Char saving.. yes/no
charSaving = "yes"

-- Guild saving.. yes/no
guildSaving = "no"

-- House saving.. yes/no
houseSaving = "yes"

-- how often do server saves characters  (1 = 1min)  **Requires  Char saving..  enabled.
playersave = 1

-- how often do server saves houses (1 = 1min)  **Requires  House saving..  enabled.
housesave = 1*1*1
-- how often do server saves guilds  (1 = 1min)  **Requires  Guild saving..  enabled.
guildsave = 1*1*1


-- How many premmy days the player get when say !buypremmy
numpremmydays = 7

-- How many the player pay when say !buypremmy
pricepremmy = 1000000


-- Cost to change gender using !gender
gendercost = 10000000



-------Town Teleports

-- Teleport to town 1 (/tmp 1)
town1x = 160
town1y = 54
town1z = 7

-- Teleport to town 2 (/tmp 2)
town2x = 144
town2y = 192
town2z = 7

-- Teleport to town 3 (/tmp 3)
town3x = 479
town3y = 64
town3z = 6


-- Additional server comments (Viewed when a player types !info) (To start a new line type \n. Example: -- Hello\nMy\nName\nIs\nBncplix   (At each \n it will be on a seperate line, so 1 word per line in that -- case)
othercomments = "Chaos OT"

-- Show blue energy ball when u click teleport after enabling /tp?
tpeffect = "yes"




-- The average hit a gm does with melee (Default is 0)
gmdamage = 9999999999


---- UCB Suspend System
-- Suspend time period (in minuts)
suspend_time_max = 5

-- Acc tries to be suspended in the period
suspend_acc_tries = 20

-- Same IP loggin tries to be suspended in the period
suspend_ip_tries = 20

-- Message to user when he got suspended
suspendmsg = "Ip block for 5 minute for getting password wrong too many times."

-- Access lvl required to broadcast without a name with /bc (Twilite Aura Server Sources)
bcNoName = 4

-- When a player is baned, do u want the console to say :: >>PLAYERNAME<< Was just banned. ??
banmsg = "yes"

---------------------------END 1337SOT CONFIGURATION---------------------

---------------------------- OTServ configuration ------------------------------

-- datadir
datadir = "data/"

-- sets what map to load
map = "data/world/test.otbm"

-- OTBM for binary, SQL for SQL map, XML for OTX maps
mapkind = "OTBM"

-- SQL for acc/player info from SQL, XML for acc/player info from XML
sourcedata = "XML"

-- the message the player gets when he logs in
loginmsg = "Welcome to the Chaos"

-- the port otserv listens on
port = "7171"

-- name of our server
servername = "Chaos Era Of Terror"

-- name of the owner of our server
ownername = "Death,Chaos,Nova"

-- email of the owner of our server
owneremail = "[email protected]"

-- the url for more server info
url = "http://68.36.227.169"

-- the location of the server
location = "USA"

-- the ip the server should redirect to--type  auto   for auto ip detect
ip = "68.36.227.169"

-- The messagebox you sometimes get before you choose characters
motd = "Chaos Oblivion Era"
motdnum="1"

-- use md5 passwords for accounts, yes/no
md5passwords = "no"

-- world type. options: pvp, no-pvp, pvp-enforced
worldtype = "pvp"

-- max number of players allowed
maxplayers = "500"

-- exhausted time in ms (1000 = 1sec)
exhausted = 1000

-- exhaustion time for healing spells (1000 = 1sec)
exhaustedheal = 1000

-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1sec)
exhaustedadd = 0

-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1sec)
pzlocked = 30000

-- allow multiple logins of the same char
allowclones = 0

-- vocation names
vocations = {"a Demonic Soul", "a Holy Templar", "a Sniper", "a Warlord"}
promoted_vocations = {"a Demonic Soul", "a Holy BattlePriest", "a Sniper", "a Warlord"}

--- SQL part
sql_host = "lo234sdfsdfsdftlhost"
sql_user = "ro324dfsdf"
sql_pass = ""
sql_db   = "otserv"


--- SQL MAP part
sqlmap = "test_map"
map_host = "loc234234fge4lhost"
map_user = "rosdfe234234"
map_pass = ""
map_db   = ""

------------------------- YurOTS basic configuration ---------------------------

-- name of your world (seen on the character list when logging in)
worldname = "ChaosOT Oblivion Era"

-- how often do server saves it's state (0 = off, 5 = 5min, 60 = hour)
autosave = 5

-- do you want to enable cap system? (yes/no)
capsystem = "no"

-- do you want players to learn spells before they can use them? (yes/no)
learnspells = "no"

-- do you want to give premium account to all players? (yes/no)
freepremmy = "yes"

-- do you want premium players to wait in queue as others? (yes/no)
queuepremmy = "yes"

-- how much % of {exp, mana, skill, eq, bp} do you lose when dying
diepercent = {"2", "2", "2", "2", "100"}

-- how many summons player can have
maxsummons = 0

-- do you want to give summons for all vocations? (yes/no)
summonsallvoc = "no"

-- chance of losing a spear when shot (0 - none lost, 100000 - all lost)
spearlosechance = 0

-- anti-afk - maximum idle time to kick player (1 = 1min)
kicktime = 15

-- maximum number of items player can keep in his/her depot
maxdepotitems = 1000

-- maximum number of items on a house tile (including those in containers)
maxhousetileitems = 10

-- how much death entries are saved in players file (old are deleted)
maxdeathentries = 2

-- mana consumend by {snakebite, moonlight, volcanic, quagmire, tempest} rod
rodmana = {"2", "3", "5", "8", "13"}

-- mana consumed by wand of {vortex, dragonbreath, plague, cosmic energy, inferno}
wandmana = {"2", "3", "5", "8", "13"}

-- shooting range of {snakebite, moonlight, volcanic, quagmire, tempest} rod
rodrange = {"6", "5", "4", "3", "2"}

-- shooting range of  wand of {vortex, dragonbreath, plague, cosmic energy, inferno}
wandrange = {"6", "5", "4", "3", "2"}

-- damage of burst arrows blast
-- default is from (1*lvl+5*mlvl)*0.24 to (1*lvl+5*mlvl)*0.55
burstarrowdmg = {"3.5", "5.0", "1.74", "1.95"}

--------------------------- Multipliers and gains ------------------------------

-- experience multiplier (how much faster you got exp from monsters)
expmul = 70

-- experience multiplier for pvp-enforced (how much faster you got exp from players)
expmulpvp = 1

-- skill multipliers: 1 - rl tibia, 10 - ten times faster etc. {no-voc, sorcerer, druid, paladin, knight}
weaponmul = {"3", "30", "30", "90", "120"}
distmul = {"3", "20", "30", "200", "90"}
shieldmul = {"3", "30", "30", "100", "150"}
manamul = {"2", "20", "20", "10", "10"}

-- how much points of life,mana,cap do you get when advancing {no-voc, sorcerer, druid, paladin, knight}
capgain = {"0", "0", "0", "0", "0"}
managain = {"5", "100", "80", "75", "50"}
hpgain = {"5", "30", "40", "70", "100"}

-- how much faster do you recovery life,mana after eating food (1 - rl tibia)
healthtickmul = 500
manatickmul = 500

-------------------------------- Skull system ----------------------------------

-- how many unjustified kills to get a red skull
redunjust = 8

-- how many unjustified kills to get banned
banunjust = 10

-- how long do you have white skull after attacking player (1 = 1min)
hittime = 1

-- how long do you have white skull after killing player (1 = 1min)
whitetime = 5

-- how long do you have red skull (1 = 1min)
redtime = 1*30

-- how long do you have to wait to lose 1 unjustified kill (1 = 1min)
fragtime = 30

------------------------------ GM access rights --------------------------------

-- access to walk into houses and open house doors
accesshouse = 8

-- access to login without waiting in the queue or when server is closed
accessenter = 3

-- access to ignore damage, exhaustion, cap limit and be ignored by monsters
accessprotect = 3

-- access to broadcast messages and talk in colors (#c blabla - in public channels)
accesstalk = 1

-- access to move distant items from/to distant locations
accessremote = 8

-- access to see id and position of the item you are looking at
accesslook = 8
dist = 25

chancebleed = 20
logpackets = 0

packetticks = 334
limit = 1000
 
Solution
Gesior2012 does not work with 'tables' in config.lua, so this line is wrong:
Code:
speed = {"1.5", "0.5", "0.5", "0.5", "0.5"}
Simpliest solution is to make copy of server folder, put there modified config.lua file and point acc. maker to use that folder as server folder.
In copy of server folder put that in config.lua file:
Code:
-- the port otserv listens on
port = "7171"

-- name of our server
servername = "Chaos Era Of Terror"

-- name of the owner of our server
ownername = "Death,Chaos,Nova"

-- email of the owner of our server
owneremail = "[email protected]"

-- the url for more server info
url = "http://68.36.227.169"

-- the location of the server
location = "USA"

-- the ip the server should redirect to--type  auto   for auto...
Gesior2012 does not work with 'tables' in config.lua, so this line is wrong:
Code:
speed = {"1.5", "0.5", "0.5", "0.5", "0.5"}
Simpliest solution is to make copy of server folder, put there modified config.lua file and point acc. maker to use that folder as server folder.
In copy of server folder put that in config.lua file:
Code:
-- the port otserv listens on
port = "7171"

-- name of our server
servername = "Chaos Era Of Terror"

-- name of the owner of our server
ownername = "Death,Chaos,Nova"

-- email of the owner of our server
owneremail = "[email protected]"

-- the url for more server info
url = "http://68.36.227.169"

-- the location of the server
location = "USA"

-- the ip the server should redirect to--type  auto   for auto ip detect
ip = "68.36.227.169"

--- SQL part
sql_host = "lo234sdfsdfsdftlhost"
sql_user = "ro324dfsdf"
sql_pass = ""
sql_db   = "otserv"

--- SQL MAP part
sqlmap = "test_map"
map_host = "loc234234fge4lhost"
map_user = "rosdfe234234"
map_pass = ""
map_db   = ""
(and put current database password)
Rest of config is not used by acc. maker. I don't think Gesior2012 will work with 7.6 anyway. Your config looks like some OTS from 2007 and server database schema is probably crap too.
 
Solution
Gesior2012 does not work with 'tables' in config.lua, so this line is wrong:
Code:
speed = {"1.5", "0.5", "0.5", "0.5", "0.5"}
Simpliest solution is to make copy of server folder, put there modified config.lua file and point acc. maker to use that folder as server folder.
In copy of server folder put that in config.lua file:
Code:
-- the port otserv listens on
port = "7171"

-- name of our server
servername = "Chaos Era Of Terror"

-- name of the owner of our server
ownername = "Death,Chaos,Nova"

-- email of the owner of our server
owneremail = "[email protected]"

-- the url for more server info
url = "http://68.36.227.169"

-- the location of the server
location = "USA"

-- the ip the server should redirect to--type  auto   for auto ip detect
ip = "68.36.227.169"

--- SQL part
sql_host = "lo234sdfsdfsdftlhost"
sql_user = "ro324dfsdf"
sql_pass = ""
sql_db   = "otserv"

--- SQL MAP part
sqlmap = "test_map"
map_host = "loc234234fge4lhost"
map_user = "rosdfe234234"
map_pass = ""
map_db   = ""
(and put current database password)
Rest of config is not used by acc. maker. I don't think Gesior2012 will work with 7.6 anyway. Your config looks like some OTS from 2007 and server database schema is probably crap too.
Thank you. fixed
 
Back
Top