SAMP Client Crashes
#1

Hi, when i connect to my server, everything is O.K. but when I drive a car for a few minutes then my chatbox start to spam warnings:



After few minutes or seconds, SAMP Client Crashes and i get this:

Code:
SA-MP 0.3e
Exception At Address: 0x0073485D

Registers:
EAX: 0x0A943FAC	EBX: 0x0022FCDC	ECX: 0x00000000	EDX: 0x00000078
ESI: 0x0A943F60	EDI: 0x08899910	EBP: 0x00734850	ESP: 0x0022FCB0
EFLAGS: 0x00210207

Stack:
+0000: 0x00749B93   0x0A943FAC   0x0022FCDC   0x0000279C
+0010: 0x00B33AAC   0xFFFFFFFF   0x00B33AAC   0x0073489D
+0020: 0x08899908   0x00734850   0x0022FCDC   0x00000000
+0030: 0x004C4E80   0x08899908   0x000001FB   0x004089DD
+0040: 0x008E4A06   0x00000000   0x00002ECC   0x00000000
+0050: 0x0040C16B   0x000001FB   0x00000257   0x008E4A64
+0060: 0x01A501FB   0x020E0191   0x022701B6   0x01F0022A
+0070: 0x01CA01AC   0x024901DD   0x01A60243   0xFFFFFFFF
+0080: 0xFFFFFFFF   0xFFFFFFFF   0xFFFFFFFF   0x0000FFFF
+0090: 0x0040E22E   0x00000000   0xA4A396AE   0x0022FDCC
+00A0: 0xA4A396AE   0x00000001   0x00000080   0x015670CF
+00B0: 0x00000000   0x0040E800   0x40143EA0   0x00000000
+00C0: 0x0022FDCC   0x00561A8E   0x44BC96A6   0xC43DF60A
+00D0: 0x42A56A60   0x0053BF10   0x0000001A   0xA406A70A
+00E0: 0x00000000   0x02298091   0x022E0B23   0xA406A70A
+00F0: 0x02317986   0x0000001A   0xA406A70A   0x00000000
+0100: 0x0AC6FE70   0x0022FDA4   0x0022F8D4   0x0022FFB0
+0110: 0x0232BCD4   0x023509F8   0x00000001   0x7E42DEB2
+0120: 0x0053E986   0x00000001   0x008241AF   0x004D9486
+0130: 0x0053ECC2   0x00000001   0x00619B71   0x0000001A
+0140: 0x00000001   0x00000001   0x0000000A   0x00748DA0
+0150: 0x0000001A   0x00000001   0x7C80B741   0x00000000
+0160: 0x0022FFC0   0x7FFDE000   0x01250000   0x4F23B534
+0170: 0x002527F0   0x00000008   0x00000100   0x00000008
+0180: 0x000001FE   0x44000000   0x43C00000   0x00000000
+0190: 0x00000000   0x00000400   0x00000300   0x00000000
+01A0: 0x00000001   0x0003064E   0x00000200   0x00000000
+01B0: 0x01800200   0x005876E9   0x00000200   0x00000180
+01C0: 0x0000002C   0x00000000   0x7FFDE000   0x0022FFB0
+01D0: 0x00825EA4   0x00887E20   0xFFFFFFFF   0x0022FE70
+01E0: 0x00835342   0x00000065   0x0022FFC0   0x008246F1
+01F0: 0x00400000   0x00000000   0x015823C6   0x0000000A
+0200: 0x00000094   0x00000005   0x00000001   0x00000A28
+0210: 0x00000002   0x76726553   0x20656369   0x6B636150
+0220: 0x8A003320   0x8A51B0C0   0x8937C2F8   0x8A71DA00
+0230: 0x8A71DA00   0x00000103   0xAA033BF4   0xF61CDB9A
+0240: 0x0000001F   0xF7717540   0x804E5A34   0xFFFFFFFF
+0250: 0x00000246   0x804E584D   0xAA033C28   0x893F56F8
+0260: 0xF7717120   0x893F5894   0x804EAC08   0x893F5768
+0270: 0x893F56F8   0x804EAC3E   0x893F5864   0x893F56F8

SCM Op: 0x77E, lDbg: 0

Game Version: US 1.0

State Information: Ped Context: 0
I have no modes installed and I have reinstalled GTA:SA yesterday...

In my script, I have "Car Speed Hack" on click for Head Admins... My friends use that "Car Speed Hack" and their SAMP never crash...

"Speed Hack Code" in OnPlayerKeyStateChange:

Code:
if(IsKeyJustDown(KEY_FIRE, newkeys, oldkeys))
	{
 		if(!IsPlayerInAnyVehicle(playerid)) return 1;
 		if(PlayerInfo[playerid][pAdmin] >= 6)
   		{
	        if(IsPlayerInAnyVehicle(playerid))
   			{
	        	if(pFly[playerid] == 1)
    			{

					new Float:x, Float:y, Float:z, carid, Float:posangle, Float:vehX, Float:vehY, Float:vehZ;
					carid = GetPlayerVehicleID(playerid);

					GetVehicleZAngle(carid, posangle);
					GetVehicleVelocity(carid, x, y, z);
					GetPlayerPos(playerid, vehX, vehY, vehZ);

					SetVehicleZAngle(carid, posangle);
					SetVehiclePos(carid, vehX, vehY, vehZ);

					z = 0.2 * floatcos(z,degrees) + z;
					x = 0.2 * floatcos(posangle + 90.0, degrees) + x;
					y = 0.2 * floatsin(posangle + 90.0, degrees) + y;
					RepairVehicle(carid);
					SetVehicleHealth(carid, 1000.0);
					SetVehicleVelocity(carid, x, y, z);
				}else{

			    	new Float:posx, Float:posy, Float:posz, Float:posangle, vehID;
					vehID = GetPlayerVehicleID(playerid);
					GetVehicleVelocity(vehID, posx, posy, posz);
		 			GetVehicleZAngle(vehID, posangle);
					posx = 0.2 * floatcos(posangle + 90.0, degrees) + posx;
					posy = 0.2 * floatsin(posangle + 90.0, degrees) + posy;
					SetVehicleVelocity(vehID, posx, posy, posz);
					RepairVehicle(vehID);
					SetVehicleHealth(vehID, 1000.0);
				}
			}
		}
	}
When I drive a Car, i click Fire Button very fast and maby, that is the reason but as I said, it's all OK on other computers...

Please help!!!
Reply


Messages In This Thread
SAMP Client Crashes - by leongrdic - 11.07.2012, 07:29
Re: SAMP Client Crashes - by andrewgrob - 11.07.2012, 08:39
Re: SAMP Client Crashes - by leongrdic - 11.07.2012, 09:01
Re: SAMP Client Crashes - by andrewgrob - 11.07.2012, 09:02
Re: SAMP Client Crashes - by CrossUSAAF - 11.07.2012, 11:44
Re: SAMP Client Crashes - by TRe. - 11.07.2012, 12:36
Re: SAMP Client Crashes - by leongrdic - 11.07.2012, 14:09
Re: SAMP Client Crashes - by andrewgrob - 11.07.2012, 15:08
Re: SAMP Client Crashes - by CrossUSAAF - 11.07.2012, 15:46
Re: SAMP Client Crashes - by leongrdic - 11.07.2012, 15:47

Forum Jump:


Users browsing this thread: 1 Guest(s)