Tremulous Forum

Community => Servers => Topic started by: BugHuman on August 28, 2008, 07:33:55 pm

Title: Admin.dat limitations
Post by: BugHuman on August 28, 2008, 07:33:55 pm
Tremulous only allows you to have 63 custom commands and 32 levels. How can i get more?
Title: Re: Admin.dat limitations
Post by: Bomb on August 28, 2008, 07:34:33 pm
Well, you could try compiling a QVM that allows more.
Title: Re: Admin.dat limitations
Post by: BugHuman on August 28, 2008, 07:40:03 pm
Its cant be the qvm cause this happens with all of them
Title: Re: Admin.dat limitations
Post by: Bomb on August 28, 2008, 07:46:33 pm
That's because none of the QVMs have it changed.
Title: Re: Admin.dat limitations
Post by: Paradox on August 28, 2008, 07:49:18 pm
Wrong.

P-G-Qvm should let you do this, i believe google added this a while ago when we got more than 64 normal commands. He might have removed it though. Look through the repository.
Title: Re: Admin.dat limitations
Post by: Bomb on August 28, 2008, 08:01:15 pm
Blah, forgot about P-G-QVM. Thanks for the reminder.

BugHuman, I think this is what you're looking for:

Code: (g_admin.h) [Select]
#define MAX_ADMIN_COMMANDS 64
Title: Re: Admin.dat limitations
Post by: BugHuman on August 28, 2008, 08:03:04 pm
hmmm Paradox I just read everything about that QVM but I see nothing related to this topic
Title: Re: Admin.dat limitations
Post by: David on August 28, 2008, 11:05:57 pm
Just change it and recompile it for you QVM of choice.
Its not a feature worth listing, and IMO PG shouldn't release with it changed, the default is already overly generous.
Title: Re: Admin.dat limitations
Post by: Bissig on August 28, 2008, 11:09:09 pm
<sarcasm>Sure.. Doubling it might eat all your RAM.</sarcasm>
Title: Re: Admin.dat limitations
Post by: David on August 28, 2008, 11:17:59 pm
Sure, lets just double everything!  Ram is cheap after all...

Just because something is (wrongly) assumed to be in abundance doesn't mean it should be wasted.
Its not needed under normal use, so it makes perfect sense to not waste it.
Title: Re: Admin.dat limitations
Post by: Bissig on August 28, 2008, 11:21:58 pm
It is CVARS ffs, not texture size or anything REALLY eating RAM. You're just bashing Paradox - as usual.
Title: Re: Admin.dat limitations
Post by: Paradox on August 29, 2008, 01:18:23 am
Bissig, i dont really care about their bashing me. After a while, it stops sounding like thunder and starts sounding like mice shitting in sand. You get to ignore it later.
Title: Re: Admin.dat limitations
Post by: cactusfrog on August 29, 2008, 01:27:12 am
Nero's qvm has 84 commands and it runs fine on my sever
Title: Re: Admin.dat limitations
Post by: Archangel on August 29, 2008, 01:32:32 am
Nero's qvm has 84 commands and it runs fine on my sever
Doesn't Nero's QVM randomly ban everybody?
Title: Re: Admin.dat limitations
Post by: David on August 29, 2008, 01:58:22 am
It is CVARS ffs, not texture size or anything REALLY eating RAM. You're just bashing Paradox - as usual.

I'm not "just bashing paradox", he said himself that it was google that changed it.

And what's it got to do with cvars?
Title: Re: Admin.dat limitations
Post by: cactusfrog on August 29, 2008, 04:45:26 am
Nero's qvm has 84 commands and it runs fine on my sever
Doesn't Nero's QVM randomly ban everybody?
sometimes...... but usually it works .
Title: Re: Admin.dat limitations
Post by: Archangel on August 29, 2008, 04:53:08 am
And why would you need more than 64 commands?  :-\
Title: Re: Admin.dat limitations
Post by: Amanieu on August 29, 2008, 12:44:42 pm
A QVM can define as many internal commands as it wants, but the number of commands defined in admin.dat is limited to 64 (or 128 on p-g-qvm).
Title: Re: Admin.dat limitations
Post by: BugHuman on August 31, 2008, 04:58:24 pm
Paradox how many levels does that QVM allow?