20.03.2012, 12:25
Hi all 
So i repaired more debugs what gaves me crashdetect, but i don't know how to fix these debugs:
And the line are:
WTF?! I don't know what is wrong with this
PS. - Here are the lines upper that 210
I think is problem with that code with dini, but i don't know the reason. The person(s) what help's me i will offer rep++, thanks.

So i repaired more debugs what gaves me crashdetect, but i don't know how to fix these debugs:
Код:
[11:45:13] [debug] Run time error 5: "Invalid memory access" [11:45:13] [debug] Backtrace (most recent call first): [11:45:13] [debug] #0 public FC_OnPlayerConnect(playerid=2)+0x33fc at D:\RAS\RAS 0.3e\gamemodes\RAS.pwn:210 [11:45:13] [debug] #1 public Streamer_OnPlayerConnect(playerid=2)+0x3e60 at D:\RAS\RAS 0.3e\gamemodes\RAS.pwn:210 [11:45:13] [debug] #2 public SSCANF_OnPlayerConnect(playerid=2)+0x6098 at D:\RAS\RAS 0.3e\gamemodes\RAS.pwn:210 [11:45:13] [debug] #3 public Itter_OnPlayerConnect(playerid=2)+0xd430 at D:\RAS\RAS 0.3e\gamemodes\RAS.pwn:210 [11:45:13] [debug] #4 public @receivepacket(playerid=2)+0x113e8 at D:\RAS\RAS 0.3e\gamemodes\RAS.pwn:210
Код:
line 210: new DBResult:R2, Query[ 712 ];
PS. - Here are the lines upper that 210
Код:
... if ( strlen( dini_Get( "ladmin/config/aka.txt", GetPlayerIPEx( playerid ) ) ) == 0 ) dini_Set( "ladmin/config/aka.txt", GetPlayerIPEx( playerid ), PlayerName( playerid ) ); else { if ( strfind( dini_Get( "ladmin/config/aka.txt", GetPlayerIPEx( playerid ) ), PlayerName( playerid ), true ) == -1 ) { format( string, sizeof( string ),"%s,%s", dini_Get( "ladmin/config/aka.txt", GetPlayerIPEx( playerid ) ), PlayerName( playerid ) ); dini_Set( "ladmin/config/aka.txt", GetPlayerIPEx( playerid ), string ); } } //-------------------------------- Login Player --------------------------// Line 210: new DBResult:R2, Query[ 712 ]; format( Query, sizeof( Query ), "SELECT `Key`,`IP` FROM `Accounts` WHERE `Name` = '%s'", PlayerName( playerid ) ); ...