Author Topic: [Solved] Admin.dat won't accept atlerations / won't set levels  (Read 4655 times)

Deadbeat Engineer

  • Posts: 105
  • Turrets: +9/-0
So, I'm trying to make a clan server that'll be open to everyone on GPP 1.2... It's using Ubuntu 8.04 and the Aardvark QVM from MercenariesGuild. I even updated the admin.dat using the conversion thing that was listed on this forum. The server runs fine and everything, but whether I set it within the Admin.dat file, set it through the console itself, or through rcon, it won't let me get any admin privileges. When I obtained the QVM, I took it straight from the zip file, which should be fully patched. The Admin.dat file only has the levels in it, and it generates no error message through the console.

Any ideas on what should be done?
« Last Edit: June 02, 2010, 11:30:54 pm by Deadbeat Engineer »
I herd u liek maras?

This most definitely. I cannot begin to express how This this is.

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Admin.dat won't accept atlerations / won't set levels
« Reply #1 on: June 02, 2010, 02:57:37 am »
Can you run admin commands through rcon?  and can you post part of your admin.dat, with the guids taken out of course.

Deadbeat Engineer

  • Posts: 105
  • Turrets: +9/-0
Re: Admin.dat won't accept atlerations / won't set levels
« Reply #2 on: June 02, 2010, 03:25:43 am »
I can run things through rcon. When I try setting admin rights I just use
Code: [Select]
/rcon {password} setlevel "name" 5
or the console version of that in the console...

 and here's the Admin.dat w/o an admin entry b/c it won't work regardless:

Code: [Select]
[level]
level   = 0
flags   = listplayers admintest adminhelp time
name    = ^4Unknown Player

[level]
level   = 1
flags   = listplayers admintest adminhelp time
name    = ^5Server Regular

[level]
level   = 2
flags   = listplayers admintest adminhelp time putteam spec999 mute
name    = ^6Team Manager

[level]
level   = 3
flags   = listplayers IMMUNITY admintest adminhelp time putteam spec999 kick mute
name    = ^2Junior Admin

[level]
level   = 4
flags   = listplayers IMMUNITY admintest adminhelp time putteam spec999 kick mute allready showbans ban namelog rename
name    = ^3Senior Admin

[level]
level   = 5
flags   = ALLFLAGS -INCOGNITO -IMMUTABLE
name    = ^1Server Operator
I herd u liek maras?

This most definitely. I cannot begin to express how This this is.

F50

  • Posts: 740
  • Turrets: +16/-26
Re: Admin.dat won't accept atlerations / won't set levels
« Reply #3 on: June 02, 2010, 03:47:53 am »
How are you veryifying that you have/don't have admin privleges, and what is the fail message? Might it have anything to do with the incognito flag (or does -INCOGNITO remove the incognito flag)? What do /listadmins and /adminhelp show after you've setleveled yourself?
« Last Edit: June 02, 2010, 03:50:15 am by F50 »
"Any sufficiently advanced stupidity is indistinguishable from malice." -- Grey's Law


SlackerLinux

  • Spam Killer
  • *
  • Posts: 555
  • Turrets: +41/-62
Re: Admin.dat won't accept atlerations / won't set levels
« Reply #4 on: June 02, 2010, 06:37:42 am »
my guess is you might not have write permission on the admin.dat
i dont see anything wrong with the file you posted

do you have access to the console output(or maybe some logs might show it too dont know) because errors relating to admin.dat use G_Printf and i think they dont get printed to ingame console(and possibly no log files either) another thing to check is what g_admin is set to if its empty it wont save admins
Slackware64 13.1
SlackersQVM/

Deadbeat Engineer

  • Posts: 105
  • Turrets: +9/-0
Re: Admin.dat won't accept atlerations / won't set levels
« Reply #5 on: June 02, 2010, 11:58:23 am »
I'm really not sure, I'll try changing write permissions later...

When I set admin levels it says "so-and-so was given level 5 admin rights by console" or something like that, but then when I go to try /adminhelp or /admintest it says permission denied. It's probably a write permissions error. Thanks.
I herd u liek maras?

This most definitely. I cannot begin to express how This this is.

Rezyn

  • Posts: 25
  • Turrets: +6/-0
Re: Admin.dat won't accept atlerations / won't set levels
« Reply #6 on: June 02, 2010, 12:36:00 pm »
/flag is available when using the Aardvark QVM. You can use it to verify the permissions of a player after setleveling them with 'flag playername' on the console. Listing the output of flag here might help determine if there is rogue admin flag present on the player.

Even if admin.dat can not be written, the setleveled player should be able to use the admin commands until the map is changed.

SlackerLinux

  • Spam Killer
  • *
  • Posts: 555
  • Turrets: +41/-62
Re: Admin.dat won't accept atlerations / won't set levels
« Reply #7 on: June 02, 2010, 02:17:24 pm »
weird indeed if it was a file write permission error you should be able to use admin commands till next map(since admin info is kept in memory not read off file every time admin things are used)

so its normal aardvark qvm right nothing added? i had some issues before with modifying the new 1.2 code it needs all commands to be in alphabetical order maybe there's a command before admintest and adminhelp that's higher in the alphabet(doubtful but caused me a lil bit of a headache)

try /flag like rezyn said might help us find out whats wrong
« Last Edit: June 02, 2010, 02:19:56 pm by SlackerLinux »
Slackware64 13.1
SlackersQVM/

Deadbeat Engineer

  • Posts: 105
  • Turrets: +9/-0
Re: Admin.dat won't accept atlerations / won't set levels
« Reply #8 on: June 02, 2010, 11:30:19 pm »
I'm really not sure what I did, but I fixed it. I think it was b/c the admin.dat I set up/was editing was in the /usr/local/games/tremulous/gpp directory and not my user directory. I also took all the game alteration .pk3's that I've downloaded from the main US server and put them in there too, and I think I had the qvm in the program folder as well.

Thanks for all your help guys!  ;D
I herd u liek maras?

This most definitely. I cannot begin to express how This this is.