Author Topic: Making Admin Commands  (Read 6210 times)

twilight

  • Posts: 107
  • Turrets: +0/-0
Making Admin Commands
« on: April 10, 2007, 03:43:13 am »
So I'm trying to make admin commands...I made the .cfg files and added the command blocks to the admin.dat file but the file keeps overwriting itself. Any help?
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

[NubS] Rabbitt

  • Posts: 56
  • Turrets: +0/-0
Making Admin Commands
« Reply #1 on: April 10, 2007, 04:15:25 am »
I actually just read your other thread and had been wondering about this so i went ahead and did the same thing but i once i enter my server and !help i see the commands but when i try to use them i get unknown cmd.
Im not understanding whats wrong.

twilight

  • Posts: 107
  • Turrets: +0/-0
Making Admin Commands
« Reply #2 on: April 10, 2007, 04:19:44 am »
well I can use the commands listed in help fine...but I can't make my own because the admin.dat file keeps overwriting itself and erases the command blocks
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

[NubS] Rabbitt

  • Posts: 56
  • Turrets: +0/-0
Making Admin Commands
« Reply #3 on: April 10, 2007, 04:38:18 am »
Wonder why you cant make your own are you changing the name of each file so it doesnt over write.

twilight

  • Posts: 107
  • Turrets: +0/-0
Making Admin Commands
« Reply #4 on: April 10, 2007, 04:42:24 am »
am I changing the name of each file? Which do you mean? I have a seperate .cfg file for each command
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

twilight

  • Posts: 107
  • Turrets: +0/-0
Making Admin Commands
« Reply #5 on: April 10, 2007, 05:06:06 am »
ok it seems to only overwrite when I ban someone or something...but the commadns still aren't working....idk what to do
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

[NubS] Rabbitt

  • Posts: 56
  • Turrets: +0/-0
Making Admin Commands
« Reply #6 on: April 10, 2007, 05:08:27 am »
I wish i had an answer for you.
Im still trying to figure out why my commands arent working at all.

twilight

  • Posts: 107
  • Turrets: +0/-0
Making Admin Commands
« Reply #7 on: April 10, 2007, 05:10:40 am »
I've followed the instructions in this forum:

http://tremulous.net/phpBB2/viewtopic.php?t=3786

I just can't add any commands beside the basic ones seen when executed !help

your commands aren't working? try executing them like:

/rcon [password] ![command]
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

twilight

  • Posts: 107
  • Turrets: +0/-0
Making Admin Commands
« Reply #8 on: April 10, 2007, 05:44:34 am »
are custom commands entered differently?
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

Angelwinged Devil

  • Posts: 65
  • Turrets: +0/-0
Making Admin Commands
« Reply #9 on: April 10, 2007, 07:38:02 am »
I tried making admin commands too, after saving admin.dat, waiting till map changes and !readconfig just deletes the command from the file or makes !readconfig unable to work.
y hobby is to pwn
personal slaves: Taiyo, xinef

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Making Admin Commands
« Reply #10 on: April 10, 2007, 04:50:20 pm »
Make them appear after the levels, but before the admins. If you make it anywhere else, when the file is updated, it will be overwritten.

∧OMG ENTROPY∧

twilight

  • Posts: 107
  • Turrets: +0/-0
Making Admin Commands
« Reply #11 on: April 10, 2007, 05:42:05 pm »
ok well they're not being overwritten anymore but the commands still aren't working...I have the command blocks in the admin.dat and all the .cfg files in the same directory...but nothing is working. If the command is h3, for example, I still enter the command as !h3, right?
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

Angelwinged Devil

  • Posts: 65
  • Turrets: +0/-0
Making Admin Commands
« Reply #12 on: April 11, 2007, 09:47:54 am »
doh, thanks paradox, I was told to put it at the end of the file >_>, should have followed my own instincts instead.
y hobby is to pwn
personal slaves: Taiyo, xinef