[Pomoc] Athlone mod

Započeo Tosic ツ
17. Apr. 2016. Zaključano
1,142
pregleda
6
postova
expressoboy123
5
Godfather
17. Apr. 2016.
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] 127.0.0.1:56910 requests connection cookie.
[12:03:08] incoming connection: 127.0.0.1:56910 id: 0
[12:03:08] Keny has joined the server (0:127.0.0.1)
[12:03:28] Server crashed while executing ATHRP.amx
[12:03:28] AMX backtrace:
[12:03:28] #0 native floatsqroot () from samp-server.exe
[12:03:28] #1 0053dc98 in public FallingChecker (playerid=0) at C:\Users\Nemanja\Desktop\ATHLONE\Server\gamemodes\ATHRP.pwn:16047
[12:03:28] #2 0053ef74 in AntiCheat (playerid=0) at C:\Users\Nemanja\Desktop\ATHLONE\Server\gamemodes\ATHRP.pwn:16138
[12:03:28] #3 005d0648 in public GlobalTimer () at C:\Users\Nemanja\Desktop\ATHLONE\Server\gamemodes\ATHRP.pwn:24527
[12:03:30] Native backtrace:
[12:03:30] #0 00405db9 in ?? () from samp-server.exe
[12:03:30] #1 6ed562ca in ?? () from plugins\crashdetect.DLL
[12:03:30] #2 6ed58b28 in ?? () from plugins\crashdetect.DLL
[12:03:30] #3 6ed509c7 in ?? () from plugins\crashdetect.DLL
[12:03:30] #4 6ed5631a in ?? () from plugins\crashdetect.DLL
[12:03:30] #5 6c7b51b9 in ?? () from plugins\streamer.DLL
[12:03:30] #6 00482a68 in ?? () from samp-server.exe
[12:03:30] #7 004912ba in ?? () from samp-server.exe


Dio skripte:
16047

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;
}


I ovde je bacalo al resio sam

// -- 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 );
}


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 );
}
}

24527

CellphoneCheck( i );


Znaci cim udjem na srv on padne..
Neke slike/video za lakse dobivanje pomoci(neobavezno): //
Muma Rascall
6
Forum Don
17. Apr. 2016.
Sta si editovao ?
expressoboy123
5
Godfather
17. Apr. 2016.
Iskljucio zimski mod.. Izbrisao 2 labela i pickupa. I u mapama nes obrisao znaci nista bitno sto se skripte tice..
Muma Rascall
6
Forum Don
17. Apr. 2016.
Ne znam, tebi izbacuje errore na ACu, mozda si nesto greskom izbrisao ili nesto editovao,a ne sjecas se... :/
expressoboy123
5
Godfather
17. Apr. 2016.
Nisam sigurno znaci jedino isklj zimski i izbrisao labele nemoguce da je to to..
Muma Rascall
6
Forum Don
18. Apr. 2016.
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... 😉

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha