pixel77 Posted February 17, 2024 Posted February 17, 2024 Hi! I am having a strange problem with my server. Sometimes when players connect to the server and the server files are loading, the MTA:SA client crashes/freezes. But the crash/freeze is completely random, not crashing all the time, that's why I can't stop resources one by one and test. The crash is not person specific, it happens to a lot of players, but not always. Sometimes they need to connect to another server/map editor first, then back to my server to prevent the crash/freeze, because sometimes MTA freezes a lot of times in a row. How can I find out what is causing the crash? There is no error message about anything when the MTA crashes, only the MTA window does not respond.
xMKHx Posted February 17, 2024 Posted February 17, 2024 Check if the problem in the host or your resources 1
pixel77 Posted February 18, 2024 Author Posted February 18, 2024 Because it happens to more players, the problem comes from a resource on the host.
Moderators IIYAMA Posted February 18, 2024 Moderators Posted February 18, 2024 1 hour ago, pixel77 said: Because it happens to more players, the problem comes from a resource on the host. You could start with disabling all models, number 1 in causing cashes.
pixel77 Posted February 20, 2024 Author Posted February 20, 2024 On 18/02/2024 at 12:20, IIYAMA said: You could start with disabling all models, number 1 in causing cashes. But as I said, it does not always crash, so it is hard to test by disabling them one by one, and there is nothing error message/crash report. Any other methods?
Moderators IIYAMA Posted February 20, 2024 Moderators Posted February 20, 2024 5 hours ago, pixel77 said: Any other methods? A hard function skip maybe, just to figure out if it is actually the models. addDebugHook( "preFunction", function ( ) return "skip" end, {"engineLoadCOL", "engineReplaceCOL", "engineLoadTXD", "engineImportTXD", "engineLoadDFF", "engineReplaceModel"}) (if possible run the hook on a resource with higher download priority) If that is the issue, then rewrite the resources so that the models are loaded slower. For example load a model every X frame(s).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now