Raised This Month: $51 Target: $400
 12% 

Zombie:Reloaded Class Limit


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 07-09-2011 , 20:48   Zombie:Reloaded Class Limit
Reply With Quote #1

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?



Regards.
rodrigo286 is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 07-10-2011 , 07:29   Re: Zombie:Reloaded Class Limit
Reply With Quote #2

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
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)

Last edited by rhelgeby; 07-10-2011 at 07:43.
rhelgeby is offline
Send a message via MSN to rhelgeby
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 07-10-2011 , 10:50   Re: Zombie:Reloaded Class Limit
Reply With Quote #3

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.

Last edited by rodrigo286; 07-10-2011 at 11:31.
rodrigo286 is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 07-10-2011 , 15:37   Re: Zombie:Reloaded Class Limit
Reply With Quote #4

Or dynamic arrays that allow unlimited.
__________________
Greyscale is offline
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 07-10-2011 , 21:00   Re: Zombie:Reloaded Class Limit
Reply With Quote #5

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 
rodrigo286 is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 07-10-2011 , 21:26   Re: Zombie:Reloaded Class Limit
Reply With Quote #6

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.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 07-10-2011 , 21:49   Re: Zombie:Reloaded Class Limit
Reply With Quote #7

I am getting the error:
PHP Code:
Disconnecterror reliable snapshot overflow 
It has something to do with classes?

Regards.
rodrigo286 is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 07-10-2011 , 22:02   Re: Zombie:Reloaded Class Limit
Reply With Quote #8

No, this seems to be related to the map: http://forums.steampowered.com/forum...d.php?t=674237
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:40.


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