Tremulous Forum

General => Troubleshooting => Topic started by: GLAMEOW on June 08, 2010, 11:03:36 pm

Title: admin.dat troubles [Solved (for now)]
Post by: GLAMEOW on June 08, 2010, 11:03:36 pm
i made myself admin lvl 5 on my server, but i can't even use !admintest

Code: [Select]
[level]
level   = 0
name    = ^2Wild ^1Pokemon
flags   = help specme time

[level]
level   = 1
name    = ^5Namesave Only
flags   = admintest help specme time

[level]
level   = 2
name    = ^6Lieks Mudkipz
flags   = listplayers admintest help specme time spec999 warn denybuild

[level]
level   = 3
name    = ^2Wants some poke-sex
flags   = listplayers admintest help specme time putteam spec999 kick

[level]
level   = 4
name    = ^3Trusted poke-ball holder
flags   = listplayers admintest help specme time putteam spec999 kick ban

[level]
level   = 5
name    = ^1Has caught all pokemon
flags   = ALLFLAGS -INCOGNITO -IMMUTABLE -DBUILDER -BANIMMUNITY

[admin]
name    = ^6GLAMEOW
guid    = 3C11B97ABBAC9613D431C5991E471844
level   = 5
flags   =

I've tried to add the commands but it always seems to reset itself :(
Title: Re: admin.dat troubles
Post by: UniqPhoeniX on June 09, 2010, 12:51:56 am
Remove the GUID... Also if you are trying it in 1.2, then admin commands no longer have ! at start.
Title: Re: admin.dat troubles
Post by: GLAMEOW on June 09, 2010, 01:59:09 am
still, no luck :(

Code: [Select]
GLAMEOW entered the game
-> !cp
[S] GLAMEOW: !cp
!cp: permission denied
-> !admintest
[S] GLAMEOW: !admintest
!admintest: permission denied.
-> /rcon *** !setlevel glam 5
broadcast: print "!setlevel: GLAMEOW was given level 5 admin rights by console\n"
Admin Command: console (console): setlevel glam 5

!setlevel: GLAMEOW was given level 5 admin rights by console
-> !admintest
[S] GLAMEOW: !admintest
!admintest: permission denied
-> /condump admin
Title: Re: admin.dat troubles
Post by: UniqPhoeniX on June 09, 2010, 02:50:03 am
I meant remove your GUID from the first post..... Is your admin.dat in <fs_homepath>/<fs_game>/ ? I'm not sure, but maybe remove the [admin] block entirely and reset the level through console? Or just copy the flags from lvl 5 to it.
Title: Re: admin.dat troubles
Post by: Kiwi on June 09, 2010, 03:54:16 pm
In your server.cfg, are you defining admin.dat to be the place your store your admin data?
Code: [Select]
set g_admin "admin.dat" //admin and ban definition file
Title: Re: admin.dat troubles
Post by: GLAMEOW on June 09, 2010, 08:39:36 pm
checked the path and it's pointing to the right file... but anything i add to admin.dat seems to get deleted

iv'e tried manually adding the flags, but still nothing
Title: Re: admin.dat troubles
Post by: Kiwi on June 09, 2010, 11:30:36 pm
When you use /listplayers from the console, does it display you as an admin?  For the current map (the one you were setleveled on) and the map after that?
Title: Re: admin.dat troubles
Post by: GLAMEOW on June 09, 2010, 11:37:41 pm
odd, when i use the old-style flags it works flawlessly..

i am using the tremded from tremfusion... thought the flags had to be spelled out :/

oh, and it did show me as admin when i used !listplayers


now i just need to find what letter mean what... a tutorial maybe? lol
Title: Re: admin.dat troubles [Solved (for now)]
Post by: DraZiLoX on June 14, 2010, 06:43:56 pm
What QVM are you using?
Title: Re: admin.dat troubles [Solved (for now)]
Post by: GLAMEOW on June 14, 2010, 08:57:05 pm
Pbot ambush 3.0 mod
Title: Re: admin.dat troubles [Solved (for now)]
Post by: DraZiLoX on June 15, 2010, 02:48:17 pm
Well, as its based on lakitus qvm (i think), you can use http://projects.mercenariesguild.net/attachments/download/28/changelog.txt (http://projects.mercenariesguild.net/attachments/download/28/changelog.txt)