Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 14:21

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



lua error attempt to index a nil value

Discussion on lua error attempt to index a nil value within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,916
Received Thanks: 538
lua error attempt to index a nil value

Hey, benutze quest lib von mijago und bekomme beim energy_system immer folgenden fehler in der syserr(server_side)

PHP Code:
SYSERRJul 20 22:09:47 :: RunStateLUA_ERRORlocale/germany/quest/questing.lua:55attempt to index a nil value
SYSERR
Jul 20 22:09:47 :: WriteRunningStateToSyserrLUA_ERRORquest energy_sys.make click 
Bei der kopfgeld quest ist es auch so
PHP Code:
SYSERRJul 20 22:09:43 :: RunStateLUA_ERRORlocale/germany/quest/questing.lua:55attempt to index a nil value
SYSERR
Jul 20 22:09:43 :: WriteRunningStateToSyserrLUA_ERRORquest energy_sys.make click 
zeile 55:
PHP Code:
for av in io.open(fi,'r'):lines() do table.insert(t,split(av,'\t')) endos.remove(fi); 
komplette function:
PHP Code:
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) -- für MySQL51
    os
.execute('mysql '..pre..' -e'..string.format('%q',query)..' > '..fi) -- für MySQL55
    
for av in io.open(fi,'r'):lines() do table.insert(t,split(av,'\t')) endos.remove(fi);
    for 
2table.getn(t) do table.foreach(t[i],function(a,b)
        
out[i-1]               = out[i-1] or {}
        
out[i-1][a]            = tonumber(b) or or 'NULL'
        
out[t[1][a]]           = out[t[1][a]] or {}
        
out[t[1][a]][i-1]      = tonumber(b) or or 'NULL'
    
endend
    
return out
end 

weiß jemand vllt. woran das liegt?

kann geclosed werden habe die fehler gefunden und gefixt.
'oShet is offline  
Reply


Similar Threads Similar Threads
Pack index file version error!
02/24/2013 - Metin2 Private Server - 6 Replies
Hey Leute, sobald ich versuche meinen Client mit irgendeiner anderen Exe zu starten kommt dieser Fehler: 0910 20:00:48652 :: Pack index file version error! Pack/root Und das dann für jede Datei einmal. Hatte von euch schon jemand das Problem oder weiß jemand ne Lösung? MfG nyzze
Loading max item index... DB COM ERROR
07/30/2012 - Rappelz Private Server - 10 Replies
Hallo nochmal :D:D so meine letzte frage für heute, und zwar bin ich so gut wie fertig mit meinem Server doch bei dem CaptainHerlockServer kommt immer diese Fehlermeldung bei ,,Load max item,, Loading max item index... DB COM ERROR(Thread:0, HRESULT:80040E14, GuiD:0C733A63-2A1C-11CE-ADE5-00AA0044773D) : DB_OnSTartUp(Hard-coded in DB_OnStartUp::readMaxFarmIndex) : Ungültiger Objektname 'FARM'. Ich bin verzweifelt, ich weis das es etwas mit der DB zu tun hat, doch wie und wo kann ich das...
Error Quest Index HOW TO RESOLVE??
11/30/2011 - Metin2 Private Server - 2 Replies
hallo gerne wissen, wie man den Fehler zu beheben "index Quest" wenn Sie wissen, sagen Sie mir, dringend benötigte Quest Index? - YouTube hi like to know how to fix the error "index Quest" if you know, tell me, urgently needed Quest Index? - YouTube
HELP : Cannot Find Quest Index Error
07/29/2010 - Metin2 Private Server - 7 Replies
Hey Leute In Virtual PC kommt bei mir immer diese meldung MV: Rename Core .. . und Cannot find Quest Index HELP PLS



All times are GMT +2. The time now is 14:21.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.