setdvar function no longer working for sv_maxclients being changed mid game???
-
when the game passes a certain round i had a function call
setdvar("sv_maxclients",getplayers().size);which did work till a recent update
what changed to now make this function call a 0x00000005 access violation? -
when the game passes a certain round i had a function call
setdvar("sv_maxclients",getplayers().size);which did work till a recent update
what changed to now make this function call a 0x00000005 access violation?MrMrE sorry it was a 0xc000005 violation which is undefined variable which I had been using. My bad and sorry but this does all still work fine
-
Hello, I do not recommend changing sv_maxclients mid-game. Why do you need this?
-
He wants to disallow new players to join mid-game (and then leave again because they struggle) which increases the difficulty and round length a lot for the players already playing. Thats rather common practice on ZM servers. IMHO a better approach is to set a password instead of changing the player count.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login