when i run dedicated.exe to start my server ( normal thing )
i have that message .. =>
LUA ERROR: sys/lua/cs2dtibia/server.lua:32: bad argument #1 to 'ipairs' (table expected, got nil)
the line 28 to 40 from server.lua is ( i took 28-40 for more information about the part of the script ..) =>
for y = 0, map'ysize' do
GROUNDITEMS[y], TILEZONE[y] = {}, {}
for x = 0, map'xsize' do
GROUNDITEMS[y][x], TILEZONE[y][x] = {}, {}
for i, v in ipairs(SAFEZONE) do
TILEZONE[y][x].SAFE = (x >= v[1][1] and x <= v[2][1] and y >= v[1][2] and y <= v[2][2])
if TILEZONE[y][x].SAFE then
TILEZONE[y][x].NOPVP = true
TILEZONE[y][x].NOMONSTERS = true
TILEZONE[y][x].PVP = false
break
end
end
can someone help me whit this ?