Invalid surfing offsets - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (
https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Invalid surfing offsets (
/showthread.php?tid=611060)
Invalid surfing offsets -
stabker - 02.07.2016
Cheaters can send invalid "surfing offsets", causing invisibility and "Loading..." bug for players in spectator mode.
Currently it can be fixed
only by using memory-hacking plugins. Would be great if you add fix by default or function like GetPlayerSurfingOffsets.
Sorry for my bad English.
Re: Invalid surfing offsets -
povargek - 24.10.2016
Up, this need fix
Re: Invalid surfing offsets -
Sew_Sumi - 24.10.2016
https://sampwiki.blast.hk/wiki/GetPlayerSurfingObjectID
https://sampwiki.blast.hk/wiki/GetPlayerSurfingVehicleID
Is this not scriptable?
In accompanying the Object sizes, and the vehicles sizes, you'd be able to check how far they are actually from the object/vehicle, and then remove them from the game, so they don't cause it.
I'd guess this is much the same as the bullet issue where they were sending bullet vectors that were so far out, they were stupidly insane.
Re: Invalid surfing offsets -
povargek - 24.10.2016
Quote:
Originally Posted by Sew_Sumi
|
No, hacker send a nearest vehicle id to "GetPlayerSurfingVehicleID", in surf offsets float "NaN", SA-MP not scriptable get a "surf offsets".
GetPlayerPos - return a NORMAL pos (example, on car roof)
Re: Invalid surfing offsets -
Spmn - 24.10.2016
IIRC, YSF rejects invalid surf data, but I might be wrong.
Re: Invalid surfing offsets -
Romz - 05.12.2017
Indeed, this problem needs to be corrected.