Server Causes clients to freeze
#1

Hello everyone, I have searched all over the place for an answer to this question with no luck, so here it is.

Starting a few days ago, whenever anybody attempts to join my SA:MP server, right away they freeze, and they have to force crash their game or restart their computer to close the game. I have tried running the game on different operating systems, and the server off of multiple computers. I am guessing that it has to do with the script in some way, but the script compiles 100% without any problems. Any suggestions to help fix the issue, or has anyone had this issue before? We are trying to get this issue resolved as we plan on starting officially this Friday.


Thanks for any help!
Reply
#2

Try debugging your OnPlayerConnect callback by commenting out different sections of code and see if this comes to any avail; if not you could try digging deeper, have a look and see if you are creating any objects within the players view distance before they crash and if you aren't I suggest posting your code here for me and the community to prune through for you.
Reply
#3

Thanks Bitrate. I will look around and try some of that, but considering the script is over 150 thousand lines, it might take a little while (no it is not godfather. ) But now that I think about it, could it be an issue with our in game map editor? We have quite a few objects mapped so could that be the issue? (By quite a few over 200+)
Reply
#4

Nevermind! I just removed a lot of the mapping that we didn't need and what do you know! No more freezing!
Reply
#5

You did spawn to many objects on one place i gues
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)