11-06-2011, 04:54 PM
List of client crashes along with their cause and solution. To be updated. Will be published here and on SA:MP forums when a significantly sized list is compiled.
Rare
0x00000000 - SA-MP is not initializing. Solution:: Re-install the game, ensure singleplayer works. If you have any mods installed, remove them.
0x006E3D17 - Skin related. Often occurs when changing the skin of a player who is in a vehicle, or is just entering or exiting one. Solution: Ensure the player is on foot before changing their skin.
0x0058370A - Vehicle related. Occured when the script attempted to put the player in a vehicle. The vehicle the player is being teleported into is not yet available and/or rendered in the world. Solution: Wait a few milliseconds before teleporting a player into a vehicle that is newly created. Another solution would potentially be to use SetCameraBehindPlayer prior to teleporting them to the vehicle.
0x0040F64C - Issue with Windows 7. Solution: Update to SA:MP 0.3d. If it still occurs, rename your GTASA directory.
0x0059F8B4 - Occurs when client fails to load SA-MP objects. Solution: Click
0x00746929 OR 0x0081214A - Badly configured client side setting. Solution: Click
Frequent
0x007F0BF7 -> Related to vehicle upgrades. Often caused when the server attempts to put an invalid upgrade on a vehicle (EG nos or spoilers on a motorbike). Other causes could be bad client side vehicle mods.
0x00544BC8 - Object related. Too many objects are showing for the player. Solution: Use a streamer to fix this and lower the maximum amount of visible objects for players at a time.
0x00415D47 - Object related. Occurs when the client has a lot of objects on show. It's somehow related to collisions but extremely hard to trace and fix. Solution: It occurs randomly depending on the object. Remove groups of objects and use the process of elimination to establish which objects are causing it and remove them from your script.
Ingame warning codes
Warning(s007) Exception: 0x0000005 at 0x534134 - This is an issue in Windows 7 / Vista. Solution: Run SA-MP as administrator
Warning(s007): Exception 0xC0000005 at 0x5E5815 - Difficult to trace. The method this address points to does a whole load of things. It processes animation blending based on the surface the ped is standing on and then deals with audio, and is called right after a function which *gives* you weapons... Perhaps what happened here is that some script-invoked event occurred right at the moment that you were entering a vehicle (e.g. receiving a weapon, teleporting or something similar).
Warning(opcode 0x107): Exception 0xC0000005 at 0x544BC8 - See 0x00544BC8
Warning(opcode 0x107): Exception 0xC0000005 at 0x536DF4 - See 0x00544BC8
Rare
0x00000000 - SA-MP is not initializing. Solution:: Re-install the game, ensure singleplayer works. If you have any mods installed, remove them.
0x006E3D17 - Skin related. Often occurs when changing the skin of a player who is in a vehicle, or is just entering or exiting one. Solution: Ensure the player is on foot before changing their skin.
0x0058370A - Vehicle related. Occured when the script attempted to put the player in a vehicle. The vehicle the player is being teleported into is not yet available and/or rendered in the world. Solution: Wait a few milliseconds before teleporting a player into a vehicle that is newly created. Another solution would potentially be to use SetCameraBehindPlayer prior to teleporting them to the vehicle.
0x0040F64C - Issue with Windows 7. Solution: Update to SA:MP 0.3d. If it still occurs, rename your GTASA directory.
0x0059F8B4 - Occurs when client fails to load SA-MP objects. Solution: Click
0x00746929 OR 0x0081214A - Badly configured client side setting. Solution: Click
Frequent
0x007F0BF7 -> Related to vehicle upgrades. Often caused when the server attempts to put an invalid upgrade on a vehicle (EG nos or spoilers on a motorbike). Other causes could be bad client side vehicle mods.
0x00544BC8 - Object related. Too many objects are showing for the player. Solution: Use a streamer to fix this and lower the maximum amount of visible objects for players at a time.
0x00415D47 - Object related. Occurs when the client has a lot of objects on show. It's somehow related to collisions but extremely hard to trace and fix. Solution: It occurs randomly depending on the object. Remove groups of objects and use the process of elimination to establish which objects are causing it and remove them from your script.
Ingame warning codes
Warning(s007) Exception: 0x0000005 at 0x534134 - This is an issue in Windows 7 / Vista. Solution: Run SA-MP as administrator
Warning(s007): Exception 0xC0000005 at 0x5E5815 - Difficult to trace. The method this address points to does a whole load of things. It processes animation blending based on the surface the ped is standing on and then deals with audio, and is called right after a function which *gives* you weapons... Perhaps what happened here is that some script-invoked event occurred right at the moment that you were entering a vehicle (e.g. receiving a weapon, teleporting or something similar).
Warning(opcode 0x107): Exception 0xC0000005 at 0x544BC8 - See 0x00544BC8
Warning(opcode 0x107): Exception 0xC0000005 at 0x536DF4 - See 0x00544BC8

![[Image: signature.png]](http://sa-mp.nl/ext/3/4/signature.png)
rocessControl (0x5E8CD0) right after a call to RpAnimBlendClumpGetFirstAssociation, which requests RpAnimBlendAssociation->sAnimID. Given that RpAnimBlendClumpGetFirstAssociation returns a pointer and sAnimID is requested on the [tt]eax[/tt] object (return value), and RpAnimBlendClumpGetFirstAssociation may return NULL if RpAnimBlendClumpIsInitialized equals false, Rockstar failed to add a NULL-check here and assumed that a proper value would be returned.