-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server crashes with dummies and sv_max_clients 8 #1735
Comments
|
Dummy IDs count down from MAX_CLIENTS, so that's not surprising. |
Should dummies be fixed to countdown from |
to |
No, count nthem down from max_clients would change their id. |
Only calling in a couple of dummies with 7 free player slots created a dummy of ID 12. I mean, even without changing But it's not very important, after all, |
The issue is that dummies don't work if teeworlds/src/game/server/gamecontext.cpp Line 1472 in d86165b
Afaik, MaxClients() is a constant fixed to the initial sv_max_clients since it returns the number of possible network clients.
Making dummies IA ? :p |
Yeah, could change it to MaxClients() then. |
Not sure if that's normal. When I set dummies, even after changing sv_max_clients to a higher value in rcon, I get this segfault:
where the dummy ID is 12 and the
MaxClients()
returns 8.The text was updated successfully, but these errors were encountered: