Tipologie server:pvm
*Resursă folosită:-
*ServerFiles utilizat: mega release de aici de pe forum.
*Syserr:
Cod: Selectaţi tot
SYSERR: May 19 22:47:45 :: RunState: LUA_ERROR: locale/romania/quest/questlib.lua:80: attempt to index a nil value
SYSERR: May 19 22:47:45 :: WriteRunningStateToSyserr: LUA_ERROR: quest dungeon_manager.start clickPoză:
*Detalii suplimentare:
Linia respectiva din questlib.lua
Cod: Selectaţi tot
mysql_query = function(query)
if not pre then
local rt = io.open('CONFIG','r'):read('*all')
pre,_= string.gsub(rt,'.+PLAYER_SQL:%s(%S+)%s(%S+)%s(%S+)%s(%S+).+','-h%1 -u%2 -p%3 -D%4')
end
math.randomseed(os.time())
local fi,t,out = 'mysql_data_'..math.random(10^9)+math.random(2^4,2^10),{},{}
-- os.execute('mysql '..pre..' --e='..string.format('%q',query)..' > '..fi) -- fur MySQL51
os.execute('mysql '..pre..' -e'..string.format('%q',query)..' > '..fi) -- fur MySQL55
for av in io.open(fi,'r'):lines() do table.insert(t,split(av,'\t')) end; os.remove(fi); -- aici este linia 80
for i = 2, table.getn(t) do table.foreach(t[i],function(a,b)
out[i-1] = out[i-1] or {}
out[i-1][a] = tonumber(b) or b or 'NULL'
out[t[1][a]] = out[t[1][a]] or {}
out[t[1][a]][i-1] = tonumber(b) or b or 'NULL'
end) end
return out
end Cod: Selectaţi tot
quest dungeon_manager begin
state start begin
when login or enter begin
dungeonLib.update()
end
when button begin
cmdchat("GetDungeonInfo INPUT#1")
local cmd = split(input(cmdchat("GetDungeonInfo CMD#")), "#")
cmdchat("GetDungeonInfo INPUT#0")
if cmd[1] == "WARP" then
pc.warp(tonumber(cmd[2]) * 100, tonumber(cmd[3]) * 100)
elseif cmd[1] == "RANKING" then
dungeonLib.update_ranking(tonumber(cmd[2]), tonumber(cmd[3]))
end
end
end
endsh: Syntax error: ")" unexpected
[/b]
Alte informatii, am sters baza de date si am bagat-o iar. Tin sa mentionez ca cei de la host au bagat si ip si ipfw.



