Skripta koju koristim: Athlone
Detaljan opis problema: Znaci editujem mod i izbaci mi ovo u log tj debug
[12:02:25] Athlone OGC - www.athlone-samp.com
[12:02:25] v1.1.0 gamemode - Loading...
[12:02:25] v1.1.0 gamemode - Loaded.
[12:02:25] v1.1.0 gamemode by Dimi
[12:02:25] Number of vehicle models: 97
[12:03:07] [connection] 127.0.0.1:56910 requests connection cookie.
[12:03:08] [connection] incoming connection: 127.0.0.1:56910 id: 0
[12:03:08] [join] Keny has joined the server (0:127.0.0.1)
[12:03:28] [debug] Server crashed while executing ATHRP.amx
[12:03:28] [debug] AMX backtrace:
[12:03:28] [debug] #0 native floatsqroot () from samp-server.exe
[12:03:28] [debug] #1 0053dc98 in public FallingChecker (playerid=0) at C:\Users\Nemanja\Desktop\ATHLONE\Server\gamemodes\ATHRP.pwn:16047
[12:03:28] [debug] #2 0053ef74 in AntiCheat (playerid=0) at C:\Users\Nemanja\Desktop\ATHLONE\Server\gamemodes\ATHRP.pwn:16138
[12:03:28] [debug] #3 005d0648 in public GlobalTimer () at C:\Users\Nemanja\Desktop\ATHLONE\Server\gamemodes\ATHRP.pwn:24527
[12:03:30] [debug] Native backtrace:
[12:03:30] [debug] #0 00405db9 in ?? () from samp-server.exe
[12:03:30] [debug] #1 6ed562ca in ?? () from plugins\crashdetect.DLL
[12:03:30] [debug] #2 6ed58b28 in ?? () from plugins\crashdetect.DLL
[12:03:30] [debug] #3 6ed509c7 in ?? () from plugins\crashdetect.DLL
[12:03:30] [debug] #4 6ed5631a in ?? () from plugins\crashdetect.DLL
[12:03:30] [debug] #5 6c7b51b9 in ?? () from plugins\streamer.DLL
[12:03:30] [debug] #6 00482a68 in ?? () from samp-server.exe
[12:03:30] [debug] #7 004912ba in ?? () from samp-server.exe
Dio skripte:
16047
[pawn]
forward FallingChecker( playerid );
public FallingChecker( playerid ) {
new Float:Pos[ 4 ];
if( IsPlayerConnected( playerid ) ) {
GetPlayerPos( playerid, Pos[ 0 ], Pos[ 1 ], Pos[ 2 ] );
------> Pos[ 3 ] = floatsqroot( ( Pos[ 0 ]-antiCheatCS[ playerid ][ SpeedPos ][ 0 ] * Pos[ 0 ]-antiCheatCS[ playerid ][ SpeedPos ][ 0 ] ) + ( Pos[ 1 ]-antiCheatCS[ playerid ][ SpeedPos ][ 1 ] * Pos[ 1 ]-antiCheatCS[ playerid ][ SpeedPos ][ 1 ] ) );
if( Pos[ 3 ] < 10 && ( antiCheatCS[ playerid ][ SpeedPos ][ 2 ] - Pos[ 2 ] ) > 5 ) {
OnPlayerFalla( playerid );
}
antiCheatCS[ playerid ][ SpeedPos ][ 0 ] = Pos[ 0 ];
antiCheatCS[ playerid ][ SpeedPos ][ 1 ] = Pos[ 1 ];
antiCheatCS[ playerid ][ SpeedPos ][ 2 ] = Pos[ 2 ];
}
return 1;
}
[/pawn]
I ovde je bacalo al resio sam
[pawn]
// -- Anti Speed
if( antiCheatSS[ antiSpeedH ] == true ) {
if( IsPlayerInAnyVehicle( playerid ) && GetPlayerState( playerid ) == PLAYER_STATE_DRIVER ) {
if( GetPlayerSurfingVehicleID( playerid ) == INVALID_VEHICLE_ID && !IsVehicleLetelica( GetPlayerVehicleID( playerid ) ) && !antiSpeedVehicle( GetPlayerVehicleID( playerid ) ) ) {
new modelID = GetVehicleModel( GetPlayerVehicleID( playerid ) );
---> if( !antiCheatCS[ playerid ][ SpeedFall ] && modelID >= 400 && modelID <= 611 && VehicleSpeedAC[ modelID-400 ][ 1 ] != 0 && GetSpeed( playerid ) > ( VehicleSpeedAC[ modelID-400 ][ 1 ]+20 ) ) {
OnPlayerCheat( playerid, DETECT_SPEED_HACK, 0, 0 );
}
}
}
FallingChecker( playerid );
}
[/pawn]
[pawn]
16138
// -- Anti JetPack
------->>> if( antiCheatSS[ antiJetPackH ] == true ) {
if( PlayerInfo[ playerid ][ xAdmin ] < 1 ) {
if( GetPlayerSpecialAction( playerid ) == SPECIAL_ACTION_USEJETPACK )
OnPlayerCheat( playerid, DETECT_JETPACK_HACK, 0, 0 );
}
}
[/pawn]
24527
[pawn]
CellphoneCheck( i );
[/pawn]
Znaci cim udjem na srv on padne..
Neke slike/video za lakse dobivanje pomoci(neobavezno): //
Sta si editovao ?
Iskljucio zimski mod.. Izbrisao 2 labela i pickupa. I u mapama nes obrisao znaci nista bitno sto se skripte tice..
Ne znam, tebi izbacuje errore na ACu, mozda si nesto greskom izbrisao ili nesto editovao,a ne sjecas se... :/
Nisam sigurno znaci jedino isklj zimski i izbrisao labele nemoguce da je to to..
Ponovo DL mod ili ga extrackt ako ga vec imas na kompu i edituj ga, kad vec nisi mnogo uradio da se ne mucis bzvz... ;)