Bugs

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:56, 15 July 2017
IstuntmanI (Talk | contribs)
(... at all)
← Previous diff
Revision as of 16:12, 15 July 2017
IstuntmanI (Talk | contribs)
(boats can be pretty bugged too)
Next diff →
Line 128: Line 128:
* Melee fighting won't damage anyone if you are too far from land. * Melee fighting won't damage anyone if you are too far from land.
* Cheaters sending invalid surfing offsets may be invisible to other players or cause the 'Loading...' screen bug. * Cheaters sending invalid surfing offsets may be invisible to other players or cause the 'Loading...' screen bug.
 +* Hitting the water too fast with a boat can cause the 'Loading...' screen bug.
* If you jump from a moving object (while surfing on it) on another object you will be taken with the previous object you surfed. * If you jump from a moving object (while surfing on it) on another object you will be taken with the previous object you surfed.
* You can paste text in a dialog input box to get over the characters [http://wiki.sa-mp.com/wiki/Limits limit]. (game crashes if there are way too many characters) * You can paste text in a dialog input box to get over the characters [http://wiki.sa-mp.com/wiki/Limits limit]. (game crashes if there are way too many characters)

Revision as of 16:12, 15 July 2017

Tip

Image:Light_bulb_icon.png

You can use the Fixes Include to fix most of the bugs.


Contents

Scripting Bugs

(Forum Topic)

Players

- Doesn't work in OnPlayerSpawn or OnPlayerStateChange with PLAYER_STATE_SPAWNED.
- Removing jetpacks from players by setting their special action to 0 causes the sound to stay until death.
- If a checkpoint is already set it will use the size of that checkpoint instead of the new one
- If the checkpoint is set on a custom object or a non-solid surface it will show floating above the surface.
- Breaks sitting on bikes.
- Players around you may get crashed if you are in a vehicle, or if you are entering/leaving a vehicle.
- Passing an invalid animation library in ApplyAnimation causes a client crash for streamed in players.
- First time a library is used, it does nothing.
- Use ClearAnimation while you are in a vehicle cause the player exit from it.
- Doesn't do anything when the animation ends if we pass 1 for the freeze parameter in ApplyAnimation.

Vehicles

- Doesn't work for CARMODTYPE_STEREO.
- Both front bull bars and front bumper components are saved in the CARMODTYPE_FRONT_BUMPER slot. If a vehicle has both of them installed, this function will only return the one which was installed last.
- Both rear bull bars and rear bumper components are saved in the CARMODTYPE_REAR_BUMPER slot. If a vehicle has both of them installed, this function will only return the one which was installed last.
- Both left side skirt and right side skirt are saved in the CARMODTYPE_SIDESKIRT slot. If a vehicle has both of them installed, this function will only return the one which was installed last.

Others

  • strcmp: Returns 0 if anyone of the string is empty.
  • valstr: Crashes on large numbers.
  • strins: Ignores the "maxlength" parameter causing possible crashes.
  • random: Doesn't work with negative numbers.
  • sleep: Leaks bytes from the stack.
  • Menu functions: Crashes when passed an invalid menu ID.
  • File functions: Crashes on an invalid handle.

Callbacks

- Isn't called if the shooter is in vehicle.
- Isn't called if you are looking behind with the aim enabled (shooting in air).
- Players around shooter may get crashed if invalid data is sent.
- Crashes the server when hacks enter an invalid vehicle.
- Isn't called for trains.
  • OnPlayerExitVehicle: Isn't called for trains.
  • OnDialogResponse: A player's dialog doesn't hide when the gamemode restarts, causing the server to print "Warning: PlayerDialogResponse PlayerId: 0 dialog ID doesn't match last sent dialog ID".
  • OnPlayerDeath: Clients get stuck when they die with an animation applied.
  • OnVehicleMod: Crashes other players when invalid mods are applied.
  • OnPlayerSpawn: San Andreas deducts $100 from players.
  • OnPlayerRequestClass: Random blunts and bottles sometimes appear in class selection.
  • OnPlayerEditObject: Coordinates of the last EDIT_RESPONSE_UPDATE call may get out of sync, so coordinates from EDIT_RESPONSE_FINAL may be different.

Client Bugs

(Forum Topic)

  • When having hydraulics and pressing HORN key to jump up, others hear your car horn, but you don't.
  • When your previous passenger enters a car, leaves your car by disconnecting or being set to another position by the server, and you are in the area where they enter the car, the car you are driving (the one where you had the passenger) suddenly stops.
  • If you die in a vehicle, you can keep driving it by pressing shift until you respawn. You are the only one seeing it move, for others it is on one place. Once you respawn, it sometimes is where you drove it, sometimes it's where you last died.
  • Controls keep changing. For example, when you're frozen, you can use other keys to control the menu (ShowMenuForPlayer) and when unfrozen you have to use other keys. The same is with front view in-car, you have to use different keys.
  • When dying in a vehicle, other players see you appear on top of your car, but you see yourself in the car with the "Dead" animation.
  • When a train goes by, you will get the shaking screen. Sometimes, when you're very far from the tracks, the shaking still occurs.
  • When getting out of a train entered by PutPlayerInVehicle, the camera does not reset properly.
  • If you use a Sniper Rifle, then enter a hydra or hunter, and go to the "front view", you get "Sniper Rifle aim".
  • If someone has a locked car and you want to enter their passenger seat, all you have to do is press G near their car when they start moving. You will be placed on the passenger seat. Note; only works when the vehicle starts to move and moves faster than you can approach the vehicle.
  • Sometimes the sounds of your car/helicopter mess up and you only hear one sound type. For example, the car engine sounds between gear changes are different, but when this occurs there is only one sound and it's the highest gear.This only occurs around lots of players, doesn't matter if they're in a vehicle or not. Usually also when someone from the lot of players enters a vehicle. This always applies to other players you see, their car only has one sound (highest gear).
  • With the Stuntplane, if you respawn it or repair it with RepairVehicle, the tailwheel only appears then.
  • Moving objects that stop for some time desync for people who have just joined. Once they move again they sync to server set pos.
  • Attached objects still appear in front of Sniper Rifle scope.
  • When a player has a parachute, they can damage cars that are unoccupied.
  • Kicking a player, who is lagging or desynced, off a bike, will freeze your character. You can't move anything except your mouse.
  • Pressing G near a moving vehicle teleports the player directly to the passenger seat after some delay. (also called G-bug)
  • Stealing a vehicle from the co-driver passenger seat and pressing SPACE while sliding in sometimes kills the driver (also called ninja-jack bug).
  • If one player enables goggles (Night Vision/Thermal) special effect everyone will see the effect on screen.
  • When you have the health smaller than 5 and you fall from a bike or it is stolen from you your new health will be automatically increased to 5.
  • Reconnecting to a server when connection was lost sometimes shows the banned message.
  • Other players see you shooting yourself when zooming and shooting with the Sniper Rifle.
  • Melee fighting won't damage anyone if you are too far from land.
  • Cheaters sending invalid surfing offsets may be invisible to other players or cause the 'Loading...' screen bug.
  • Hitting the water too fast with a boat can cause the 'Loading...' screen bug.
  • If you jump from a moving object (while surfing on it) on another object you will be taken with the previous object you surfed.
  • You can paste text in a dialog input box to get over the characters limit. (game crashes if there are way too many characters)
Personal tools