I keep getting asked to fix this issue and I haven’t until now because it really shouldn’t be the users job to fix a exploit in the physics engine. However, Garry has made it clear he has no intention of fixing the issues when it was brought up last time. The problem is solved by first making sure the prop is not going to move further then the engine can handle. The default is 500,000 units and that is plenty but close enough to prevent the crash. The script isn’t exactly complicated and the source is a pastebin below. It’s a good idea to run this both client and server because of the potential for a client crash from ghosted props.
This overwrites the SetPos functions for entities and phyobjects.
To test make a prop move really far. I used the precision tool after running “precision_offset 9999999999999999999999” in console. Use the move setting and it should cause some issues.
Also if you find any more server crash exploits, send me a pm or if you really want to make then public just make a reply.
Stay Up-To-Date: http://douglashuck.com/
Addon Direct DL: http://douglashuck.com/files/gmod_prevent_setpos_crash.zip
Current Version 1.4.0