Author Topic: Admin commands disappear  (Read 2844 times)

rotacak

  • Posts: 761
  • Turrets: +39/-64
Admin commands disappear
« 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.

n00b pl0x

  • Posts: 2412
  • Turrets: +55/-168
Admin commands disappear
« Reply #1 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
will sort out my sig, or I will get banned.

HOW DO I SORTED SIG?

rotacak

  • Posts: 761
  • Turrets: +39/-64
Admin commands disappear
« Reply #2 on: July 20, 2007, 01:18:27 pm »
I trying place [command] block everywhere, but everytime disappear after ban :-(

rotacak

  • Posts: 761
  • Turrets: +39/-64
Admin commands disappear
« Reply #3 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.