News:

Come Chat with us live! Learn how HERE!

Main Menu

Admin commands disappear

Started by rotacak, July 20, 2007, 02:30:12 AM

rotacak

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.

n00b pl0x

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
will sort out my sig, or I will get banned.

HOW DO I SORTED SIG?

rotacak

I trying place [command] block everywhere, but everytime disappear after ban :-(

rotacak

Solved.
In sourcecode g_admin.h is:
#define MAX_ADMIN_COMMANDS 64
I set bigger value and problem is away.