Author Topic: admin.dat troubles [Solved (for now)]  (Read 3466 times)

GLAMEOW

  • Posts: 117
  • Turrets: +1/-12
admin.dat troubles [Solved (for now)]
« 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 :(
« Last Edit: June 09, 2010, 11:38:15 pm by GLAMEOW »

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: admin.dat troubles
« Reply #1 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.

GLAMEOW

  • Posts: 117
  • Turrets: +1/-12
Re: admin.dat troubles
« Reply #2 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

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: admin.dat troubles
« Reply #3 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.

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: admin.dat troubles
« Reply #4 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

GLAMEOW

  • Posts: 117
  • Turrets: +1/-12
Re: admin.dat troubles
« Reply #5 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

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: admin.dat troubles
« Reply #6 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?

GLAMEOW

  • Posts: 117
  • Turrets: +1/-12
Re: admin.dat troubles
« Reply #7 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

DraZiLoX

  • Posts: 844
  • Turrets: +24/-24
Re: admin.dat troubles [Solved (for now)]
« Reply #8 on: June 14, 2010, 06:43:56 pm »
What QVM are you using?

GLAMEOW

  • Posts: 117
  • Turrets: +1/-12
Re: admin.dat troubles [Solved (for now)]
« Reply #9 on: June 14, 2010, 08:57:05 pm »
Pbot ambush 3.0 mod

DraZiLoX

  • Posts: 844
  • Turrets: +24/-24
Re: admin.dat troubles [Solved (for now)]
« Reply #10 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