pixel77 Posted February 17 Share Posted February 17 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. Link to comment
xMKHx Posted February 17 Share Posted February 17 Check if the problem in the host or your resources 1 Link to comment
pixel77 Posted February 18 Author Share Posted February 18 Because it happens to more players, the problem comes from a resource on the host. Link to comment
Moderators IIYAMA Posted February 18 Moderators Share Posted February 18 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. Link to comment
pixel77 Posted February 20 Author Share Posted February 20 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? Link to comment
Moderators IIYAMA Posted February 20 Moderators Share Posted February 20 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). Link to comment
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