The crashing we experience is not caused by anything that could be fixed with that script.
The vulnerability that is talked about was discovered recently, and we have already applied protection.
As far as the crashes go, they are from a number of possible reasons:
Server crashes
1. Script code errors
We have a log of all server restarts, and usually check the commands and other things type that could cause a crash. when we get a 'lead' we test it on our test server that has the same scripts running, and if cause is found immediately fix the script issue. Currently we do no find script issues.
2. Memory overload
Depending on the number of players, server restarts happen more or less frequently. This leads us to believe that restart is due to overload of server memory. Causes can be many, and we are trying to optimize scripts in order to reduce it.
Client crashes
They are much more frequent as server crashes, but just as annoying. Possible causes:
1. Car spawning/destroying
Without drasticly changing the car system to a version that would make a big impact on play we can not influence this issue.
2. Menu's
The number of menu's is limited, and use seems to cause some client and server side problems. We are planning a rewrite for 0.2.2
3. Skins
The ability to buy skins and change them in game could cause problems. This will be tested soon.
4. Desync of cars/skins
Ever noticed a car is in a different place for you as for another player ? Ever found people calling 'nice ass' when already changed to a male skin ? These are desync problems that also contribute to crashing
5. Object loading
Especially for teleporting admins or when entering/leaving buildings the objects appear slowly. When you are transported to another place, the objects around you have to be re-drawn in your client. This sometimes lags.
Crashing seems to be less when you are in a place where not many things have to be loaded and unloaded. Also the connection helps a lot, when your ping is higher chases occur more often.