Author Topic: ERROR !setlevel: level is not defined (after creating new admin.dat)  (Read 7349 times)

cactusfrog

  • Posts: 390
  • Turrets: +678/-176
    • tremulous fun server offical site
i made a new admin.dat quit my server and replaced my old admin.dat with the new one. i then set up my server and found that i couldn't setlevel myself. i deleted all traces of me from the admin.dat because there were over 10 cactusfrogs with level 7. Now for some reason i cant !setlevel my self with the rcon or with the server console. its really  bothering me and i was wondering if anyone new the solution

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
« Reply #1 on: November 29, 2008, 11:02:50 pm »
File write protected or in wrong path?

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
« Reply #2 on: November 29, 2008, 11:51:00 pm »
"Sounds" like a borked game.qvm. Use one that works.
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

cactusfrog

  • Posts: 390
  • Turrets: +678/-176
    • tremulous fun server offical site
Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
« Reply #3 on: November 30, 2008, 12:28:56 am »
ok but why would it work with the old admin.dat and not the new one?

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
« Reply #4 on: November 30, 2008, 01:03:24 am »
"level is not defined"? I dunno for sure but aren't admin levels defined in admin.dat? Maybe you removed the part that defines what level 7 should be.

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
« Reply #5 on: November 30, 2008, 02:55:27 am »
[If I am using a broken game.qvm then] why would it work with the old admin.dat and not the new one?
I probably just misread the original post and should have gone with the obvious request for to post your admin.dat. To answer your question, there are more reasons than I care to enumerate.
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
« Reply #6 on: December 01, 2008, 03:54:04 pm »
Edit the GUIDs out of your admin.dat before posting it, please.
benmachine

cactusfrog

  • Posts: 390
  • Turrets: +678/-176
    • tremulous fun server offical site
Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
« Reply #7 on: December 04, 2008, 01:21:35 am »
here finally:

[level]
level   = 0
name    = ^7Player
flags   = 3CHRahi

[level]
level   = 1
name    = ^2Moderator
flags   = 3CHRahi4BD

[level]
level   = 2
name    = ^4Advanced Moderator
flags   = 3CHRahi?P

[level]
level   = 3
name    = ^5Operator
flags   = 3CHRahi?P1$Uampwx

[level]
level   = 4
name    = ^3Advanced Operator
flags   = 3CHRahi?P1$UampwxKngnrvyqWFk

[level]
level   = 5
name    = ^2Arbitrator
flags   = 3CHRahi?P1$UampwxKngnrvyq57Mbe)MjWFk

[level]
level   = 6
name    = ^1Server Veteran
flags   = 3CHRahi?P1$UampwxKngnrvyq57Mbe)M2VcjWFkJoZS

[level]
level   = 7
name    = ^3Server ^1Owner
flags   = 3CHRahi?P1$UampwxKngnrvyq57Mbe)M2Vc7LsSjWFkJoLZSTUzq

[level]
level   = 8
name    = ^3Server ^1Owner
flags   = 3CHRahi?P1$UampwxKngnrvyq57Mbe)M2Vc7LsS6G0ZSTUzq

[level]
level   = 9
name    = ^
flags   = 3CHRahi?P1$UampwxKngnrvyq57Mbe)M2VcZ7LsS6G0(ZSTUzqu

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
« Reply #8 on: December 04, 2008, 02:53:23 am »
Aside from a distinct lack of [code]...[/code] and coming close to the flag limit for some of those levels, that looks syntactically valid.
Have you tried using the same admin.dat with a different game.qvm (especially the linked one)? If it works there, it's a problem with the game.qvm you are using.
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

cactusfrog

  • Posts: 390
  • Turrets: +678/-176
    • tremulous fun server offical site
Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
« Reply #9 on: December 05, 2008, 06:41:13 am »
the part i dont understand is why !setlevel would work with my other admin.dat but not this one.

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
« Reply #10 on: December 06, 2008, 02:26:58 am »
Could it be the
Code: [Select]
[level]
level  = 9
name = ^
part?

The caret may be causing problems.

∧OMG ENTROPY∧

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
« Reply #11 on: December 07, 2008, 07:11:37 am »
the part i dont understand is why !setlevel would work with my other admin.dat but not this one.
Did you try with a different game.qvm? Did it work?
The caret may be causing problems.
That is not a problem in any game.qvm I know of.
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

Wyvrn

  • Posts: 45
  • Turrets: +2/-1
Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
« Reply #12 on: December 27, 2008, 08:10:18 pm »
ok, well i had this problem, but it is just that u used the "[admin]" instead of "[level]", make sure u use [level].

well hope this helps
Above all else, guard your affections. For they influence everything else in your life.
Formerly, Dreamz.
http://www.dreamcrafterz.com/
http://forum.dreamcrafterz.com/

cactusfrog

  • Posts: 390
  • Turrets: +678/-176
    • tremulous fun server offical site
Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
« Reply #13 on: December 27, 2008, 10:03:20 pm »
ok i think i fixed the problem i forgot to add a level with the flag * so it messed up everything now it is fixed.

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
« Reply #14 on: December 28, 2008, 01:38:30 am »
ok, well i had this problem, but it is just that u used the "[admin]" instead of "[level]", make sure u use [level].
That may have been your problem, but not the OP's. (If you put keys in the wrong section, you will get error messages to help you figure out what's wrong.)
i forgot to add a level with the flag * so it messed up everything now it is fixed.
That is not required in any game.qvm I know of.
« Last Edit: December 28, 2008, 01:41:04 am by Undeference »
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

Wyvrn

  • Posts: 45
  • Turrets: +2/-1
Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
« Reply #15 on: December 28, 2008, 02:02:20 am »
sry, thats y i said "hope this helps"
sry
Above all else, guard your affections. For they influence everything else in your life.
Formerly, Dreamz.
http://www.dreamcrafterz.com/
http://forum.dreamcrafterz.com/