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
File write protected or in wrong path?
"Sounds" like a borked game.qvm. Use one that works.
ok but why would it work with the old admin.dat and not the new one?
"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.
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.
Edit the GUIDs out of your admin.dat before posting it, please.
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
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.
the part i dont understand is why !setlevel would work with my other admin.dat but not this one.
Could it be the
[level]
level = 9
name = ^
part?
The caret may be causing problems.
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.
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
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.
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.
sry, thats y i said "hope this helps"
sry