Tremulous Forum

Community => Servers => Topic started by: rotacak on July 20, 2007, 02:30:12 am

Title: Admin commands disappear
Post by: rotacak on July 20, 2007, 02:30:12 am
Hi,
I use few extra commands on server in file admin.dat ([command]). But now, when is someone banned, then all extra commands disappear from file admin.dat.
I was set something somewhere wrong?

Before few days was all ok, but I still doing some changes.
Title: Admin commands disappear
Post by: n00b pl0x on July 20, 2007, 06:06:23 am
sometimes when the server adds things to your admin.dat the order in which they are placed makes the things you added manually stop working

i.e. n00b pl0x is bant for deconing on your server, and your "give level 5 admins 9 evos/2000 creds" command breaks."

try changing where they are located in the admin.dat, like moving the ban down to the bottom or something...been a while since i had that problem
Title: Admin commands disappear
Post by: rotacak on July 20, 2007, 01:18:27 pm
I trying place [command] block everywhere, but everytime disappear after ban :-(
Title: Admin commands disappear
Post by: rotacak on July 22, 2007, 12:46:44 pm
Solved.
In sourcecode g_admin.h is:
Code: [Select]
#define MAX_ADMIN_COMMANDS 64
I set bigger value and problem is away.