INI_WriteInt causes "Invalid instruction" run time error
#7

Ofcourse if you think it's needed
pawn Код:
GetServerElementName(E_SERVER_DATA: element)
{
    new str[32];
    switch(element)
    {
        case OnlineRecord:          str = "OnlineRecord";
        case LastJobXpWipeTimestamp:str = "LastJobXpWipeTimestamp";
    }
    return str;
}
It simply returns a key string for the appropriate element


Also, I'm not sure how this can happen but I get a different run time error when I launch it on Linux:
pawn Код:
[01:25:45] [debug] AMX backtrace:
[01:25:45] [debug] #0 00000031 in INI_AddToBuffer (INI:file=53, name[]=@00000000 "", data[]=@0141d7f4 "0000001418513145") at <unknown file>:0
[01:25:45] [debug] #1 000a53d0 in ?? (... <13 arguments>) at F:\AAAA\server\pawno\include\YSI\internal\..\y_ini.inc:1076
[01:25:45] [debug] #2 00000031 in public TimedTasks () at <unknown file>:0
This should be more useful.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)