Tremulous Forum

Community => Servers => Topic started by: cactusfrog on November 29, 2008, 10:58:52 PM

Title: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: cactusfrog on November 29, 2008, 10:58:52 PM
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
Title: Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: Bissig on November 29, 2008, 11:02:50 PM
File write protected or in wrong path?
Title: Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: Undeference on November 29, 2008, 11:51:00 PM
"Sounds" like a borked game.qvm. Use one that works.
Title: Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: cactusfrog on November 30, 2008, 12:28:56 AM
ok but why would it work with the old admin.dat and not the new one?
Title: Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: UniqPhoeniX 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.
Title: Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: Undeference on November 30, 2008, 02:55:27 AM
Quote from: cactusfrog on November 30, 2008, 12:28:56 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.
Title: Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: benmachine on December 01, 2008, 03:54:04 PM
Edit the GUIDs out of your admin.dat before posting it, please.
Title: Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: cactusfrog 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
Title: Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: Undeference 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 (http://tjw.org/tremulous/game.qvm) (especially the linked one)? If it works there, it's a problem with the game.qvm you are using.
Title: Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: cactusfrog 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.
Title: Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: Paradox on December 06, 2008, 02:26:58 AM
Could it be the
[level]
level  = 9
name = ^

part?

The caret may be causing problems.
Title: Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: Undeference on December 07, 2008, 07:11:37 AM
Quote from: cactusfrog 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.
Did you try with a different game.qvm? Did it work?
Quote from: Paradox on December 06, 2008, 02:26:58 AM
The caret may be causing problems.
That is not a problem in any game.qvm I know of.
Title: Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: Wyvrn 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
Title: Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: cactusfrog 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.
Title: Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: Undeference on December 28, 2008, 01:38:30 AM
Quote from: Dreamz 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].
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.)
Quote from: cactusfrog on December 27, 2008, 10:03:20 PM
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.
Title: Re: ERROR !setlevel: level is not defined (after creating new admin.dat)
Post by: Wyvrn on December 28, 2008, 02:02:20 AM
sry, thats y i said "hope this helps"
sry