debug error!
#1

Hello guys i tried to open my samp-server.exe everything was working and load, and when i write the ip (127.0.0.1) the server was giving the ping but the host name said (retrieving info 127.0.0.1:777...)
when i tried with another gm (the same script) i got some debug errors
Код:
[23:01:19] [debug] Run time error 4: "Array index out of bounds"
[23:01:19] [debug]   Accessing element at index 65535 past array upper bound 29
[23:01:19] [debug] Backtrace (most recent call first):
[23:01:19] [debug] #0  0011fe84 in ?? () from freeroam.amx
[23:01:19] [debug] #1  001a03fc in ?? () from freeroam.amx
[23:01:19] [debug] #2  0019efec in ?? () from freeroam.amx
[23:01:19] [debug] #3  00069534 in public zcmd_OnGameModeInit () from freeroam.amx
[23:01:19] [debug] #4  native CallLocalFunction () from samp-server.exe
[23:01:19] [debug] #5  0000d290 in public SSCANF_OnGameModeInit () from freeroam.amx
[23:01:19] [debug] #6  native CallLocalFunction () from samp-server.exe
[23:01:19] [debug] #7  000058e4 in public OnGameModeInit () from freeroam.amx
and these too..

Код:
[23:01:19] [debug] Run time error 7: "Stack underflow"
[23:01:19] [debug]   Stack index (STK) is 0x61D554, stack top (STP) is 0x61D550
[23:01:19] [debug] Backtrace (most recent call first):
[23:01:19] [debug] #0  00000008 in public CheckGameMode () from freeroam.amx
[23:01:19] [debug] Run time error 7: "Stack underflow"
[23:01:19] [debug]   Stack index (STK) is 0x61D554, stack top (STP) is 0x61D550
[23:01:19] [debug] Backtrace (most recent call first):
[23:01:19] [debug] #0  00000008 in public ClassSelectionUpdate () from freeroam.amx
[23:01:20] [debug] Run time error 7: "Stack underflow"
can anyone help me please i will +1 rep
Reply
#2

that will take forever it's too long
Reply
#3

PHP код:
public OnGameModeInit()
{
    new 
t=GetTickCount();
    
SetTimer("CheckGameMode",10,false);
    
AntiDeAMX();
    if(
MAX_PLAYERS!=GetMaxPlayers())
    {
        print(
"[Scripterror] MAX_PLAYERS stimmt nicht mit der in der server.cfg definierten");
        print(
"[Scripterror] Anzahl an maximalen Spielern ueberein!");
        print(
"[Scripterror] Serverstart wird abgebrochen!");
        
SendRconCommand("exit");
        return 
0;
    }
    
    new 
string[512],string_en[512];
    
#if defined HOSTER
        
format(MainHostNamesizeof MainHostName,"%s | %s",MainHostName,HOSTER);
        
SendRconCommand("mapname "#HOSTER);
    #endif
    
format(string,sizeof(string),"hostname %s",MainHostName);
    
SendRconCommand(string);//Hostname
    
    #if defined WEBSITE
        
SendRconCommand("weburl "#WEBSITE);
    #endif
    
SetGameModeText("DM+Gangs+Minigames+Stunt [GERMAN]");
    
SendRconCommand("loadfs yom_buttons");
    
    
MapAndreas_Init(MAP_ANDREAS_MODE_MINIMAL);
    
    if (!
DOF_FileExists(COOKIES_PRICE_FILE))
    {
        
DOF_CreateFile(COOKIES_PRICE_FILE);
        for (new 
0MAX_COOKIES_PRICESi++)
            
DOF_SetInt(COOKIES_PRICE_FILECookiePrices[i][cprName], CookiePrices[i][cprPrice]);
    } 
Reply
#4

same problem ,doesn't work
Reply
#5


this what i get exactly when i try to log in
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)