AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie:Reloaded (https://forums.alliedmods.net/forumdisplay.php?f=132)
-   -   Zombie:Reloaded Class Limit (https://forums.alliedmods.net/showthread.php?t=161674)

rodrigo286 07-09-2011 20:48

Zombie:Reloaded Class Limit
 
We put some humanities classes on our server, for different groups but it seems now that the ZR limit support, you can increase this limit?

http://www.czsbrasil.com.br/forum/up...58518-U196.png

Regards.

rhelgeby 07-10-2011 07:29

Re: Zombie:Reloaded Class Limit
 
Isn't 48 classes enough? But it shouldn't error like that, so it looks like there's a bug.

The limit is set in ZR_CLASS_MAX in zr/playerclasses/playerclasses.inc if you're able to compile ZR yourself.

Snapshot 664 should fix the bug and increase the limit to 64 classes: http://helgeby.no-ip.org/zrdev/relea...-r546-r664.zip

rodrigo286 07-10-2011 10:50

Re: Zombie:Reloaded Class Limit
 
Thanks Richard, Works perfectly !

I put a limit of 128 in .inc and compiling the zombie_reloaded.sp.

#EDIT
I have a suggestion, you could put 128 or even 256 as the default in all releases so servers with many skins would have no problem.

Regards.

Greyscale 07-10-2011 15:37

Re: Zombie:Reloaded Class Limit
 
Or dynamic arrays that allow unlimited.

rodrigo286 07-10-2011 21:00

Re: Zombie:Reloaded Class Limit
 
How would these dynamic arrays?

This error has something to do with many classes?

PHP Code:

Disconnecterror reliable snapshot overflow 

Regards.

Obs:

My edit in 644 build

PHP Code:

#define ZR_CLASS_MAX 96
#define MODELS_MAX 64 


rhelgeby 07-10-2011 21:26

Re: Zombie:Reloaded Class Limit
 
Models and classes doesn't use dynamic arrays. All you need to do is to adjust those defined limits.

Those who need more than 64 classes would need to modify the limit and recompile. 32 classes per team should be more than enough for most servers. And I think that even more than 10 classes per team is just confusing players. Most of the classes will never be used if you have too many.

One exception is a lot of restricted classes (VIP, admin, etc.). If you have a lot of those you'll reach the limit faster.

rodrigo286 07-10-2011 21:49

Re: Zombie:Reloaded Class Limit
 
I am getting the error:
PHP Code:

Disconnecterror reliable snapshot overflow 

It has something to do with classes?

Regards.

rhelgeby 07-10-2011 22:02

Re: Zombie:Reloaded Class Limit
 
No, this seems to be related to the map: http://forums.steampowered.com/forum...d.php?t=674237


All times are GMT -4. The time now is 01:44.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.