PDA

View Full Version : Usergroups And Access


Kapeket
09-11-2007, 06:14 PM
The usergroups.dat sets up the admin features and group assignments.

Two questions from a Quake server newb:

- How to do this properly?
- Is autoadmin a feature and how is that setup?

Everything else is very simple and organized.

Thanks for the help. :)

RotzKotz_ere
09-12-2007, 12:55 AM
Take a look inside the file, should get clear.
Uncommend and change the password for admin.
Ingame go to admin press the admin login button and enter your password (after you restarted your server) and you'll be admin.
That's all.

Kapeket
09-12-2007, 03:16 AM
Actually, I got that much.

I was curious to see if an autoadmin feature exists for this server.

Thanks though.

digibob
09-12-2007, 12:04 PM
First, locate the guidstates.dat file in the server's directory, if one doesn't exist, just create a blank text file with that name.

Inside this file you may find entries of the following format:

entry {
SETTING DATA
SETTING DATA
...
}

To match a client, provide one of the following settings:


"ip", with data being a string representing the ip of the client, e.g. "127.0.0.1"
"pbid", with data being the punkbuster guid of the client
"guid", with data being the game guid, e.g. "12345678.87654321"


To set up an auto-auth add:

"auth_group", with data as the name of the group to auth as, e.g. "admin"


Below is an example entry:

entry {
"ip" "192.168.1.1"
"auth_group" "trusted"
}

Babylon
09-12-2007, 12:12 PM
nice one.... thought it was pain logging in each time..

thanks

KIAJackal
09-12-2007, 12:43 PM
Is there a way of doing reserved slots ? or away of making sure that if the server is full a clan member can get on the server ?

Thanks in advance :)

Babylon
09-12-2007, 01:49 PM
Is there a way of doing reserved slots ? or away of making sure that if the server is full a clan member can get on the server ?

Thanks in advance :)


Might mention it to Morix ..he may be able to add a function in his admin tool

RotzKotz_ere
09-12-2007, 02:54 PM
set si_privateClients "4"
set g_privatePassword "secretpassword"

RotzKotz_ere
09-12-2007, 04:12 PM
the guidstates.dat requires a server reboot as well, right?

And you have to make an "entry" for each user?
Or can you add more than one pbid into one entry (as you want more ppl to be in that linked group)

How do I display guids?
pbid with pb_sv_plist, that's what I know

digibob
09-12-2007, 04:35 PM
Any changes to the file should be picked up by the server without restarting it.

You may only have one method of matching per entry.

Game guids are not available in the demo, since there are no accounts. I don't know how you get pb guids, sorry.

RotzKotz_ere
09-12-2007, 05:04 PM
ok, thanks
no guids obviosly, sorry. My brain didn't tell me :/

As I wrote I know how to get pbguids

But my server doesn't seem to automatically detect it (didnt restart the server yet. Maybe because I created that file (doesn't know yet that there's one))
Thx for reply

RotzKotz_ere
09-13-2007, 04:17 PM
It didn't work even after a restart.
I used the pbid and doesn't work.
Also guests are no longer added to Default group...

Anyone succeeded?
Or tried it?

]UBC[ McNite
09-13-2007, 08:26 PM
Not working with the guids atm, but just crashed my server twice using the group Trusted, once when I tried to enter the pw for admin after I had already entered the group trusted. No idea what s wrong yet.

Wasn't able to restart the server while the group Trusted was enabled in the usergroups.dat.
Removed the groups pw and commands, and was able to restart the server again... hmmm.

BMXer
09-13-2007, 09:01 PM
pb_myguid will get you your punkbuster GUID in the console

Only problem is, every time I restart the game and connect to my server I get a new PB GUID. :( I assume this is all due to the fact that this is a demo?

jonass
09-14-2007, 06:42 AM
pb_myguid will get you your punkbuster GUID in the console

Only problem is, every time I restart the game and connect to my server I get a new PB GUID. :( I assume this is all due to the fact that this is a demo?

Same result here :( Really hope to that this is due to this beeing the demo. In past games with PB we have used it extensively to lock names, protect tags and keep unwanted players out and our hopes are to do the same in ET:QW.

sauna
09-14-2007, 07:47 AM
Couldn't get this to work at all, just logs on to the 'Default' user group when I've stated 'admin' and my ip.

digibob
09-14-2007, 03:43 PM
Finally got around to taking a look at the auto-login stuff, and it's rather broken, as some people have found. I've fixed it up now, but I can't say when that will get out to you. For now, I'd recommend not using it.

Kapeket
09-14-2007, 03:48 PM
Thanks for the followup bob.

PBGUID would be the preference for us. How about everyone else? =)

BMXer
09-14-2007, 06:32 PM
yea.. i think PBGUID would be the best bet...

Dilireus
09-14-2007, 08:47 PM
Finally got around to taking a look at the auto-login stuff, and it's rather broken, as some people have found. I've fixed it up now, but I can't say when that will get out to you. For now, I'd recommend not using it.

Thanks. I was starting to think I wasn't holding my tongue right, or something.

ASD
09-28-2007, 06:03 PM
Finally got around to taking a look at the auto-login stuff, and it's rather broken, as some people have found. I've fixed it up now, but I can't say when that will get out to you. For now, I'd recommend not using it.
news?
the thingi with the password is not the best one ...

RotzKotz_ere
09-28-2007, 06:25 PM
Doesn't work with pbguid for me...
/e: Oh wait, it changed from demo...
I'll check

How do you get your guid? (not pb)
other than the log, rcon would be good

/e:
ok, another edit
the one in the log is the same as pbguid... (pb_sv_plist)

ScOp3
09-28-2007, 07:49 PM
Doesn't work with pbguid for me...
/e: Oh wait, it changed from demo...
I'll check

How do you get your guid? (not pb)
other than the log, rcon would be good

/e:
ok, another edit
the one in the log is the same as pbguid... (pb_sv_plist)

Not working for me with guid or pbguid. Do you need a restart or not? Can you parse those files via rcon command?

To get the guid you have to grep the log for 'sending connect' and then your ip haven't found a better way yet.

RotzKotz_ere
09-28-2007, 11:07 PM
Yes, you have to completely restart your server for changes to take effect (someone from SD said that in this thread)

spawnyuk
09-29-2007, 01:06 AM
Today we got our ranked server up and running and I'm wondering also how to set up the auto admin. I can log in via the ingame menu without a problem but I'm assuming there's an auto admin feature.

I have my GUID from PB but not sure where the entry needs to go.

Our server is hosted via Rackage.com and we don't currently have access to the box via FTP (apparently this is part of the ranked rules agreement) so cannot create a new file as suggested by digibob.

Has anyone got any assistance with how I can enter the admin ID's?

Areas I have access too are :

/userpath/base/server.cfg
/userpath/base/usergroups.dat
/userpath/pb/pbsv.cfg
/userpath/pb/pbsvlog.cfg
/userpath/pb/pbsvspam.cfg
/userpath/pb/pbsvuser.cfg

RotzKotz_ere
09-29-2007, 01:20 AM
ask your provider for rights to
/base/guidstates.dat

apparently this feature does not yet seem to work.
So you can also wait till it does (will be posted in this thread) and then ask your provider.

spawnyuk
09-29-2007, 01:23 AM
Excellent, many thanks for a swift response

ma1965ma
09-29-2007, 08:03 AM
Finally got around to taking a look at the auto-login stuff, and it's rather broken, as some people have found. I've fixed it up now, but I can't say when that will get out to you. For now, I'd recommend not using it.
This bug in final version and/or in patch 1.1 is resolved? becose i tested but don't work fine.

ma1965ma
09-29-2007, 08:29 AM
Sorry for double post.
This is my steps:

1. Created /base/guidstates.dat
2. Entered my PBGUID (or GAME ID... )
3. In usergroups.dat i have insert pass for Admin group

now when i execute client and enter in the server i ear one RING (like when you in limbo put admin password in admin tab), but when i go in admin tab alla are like no admin password are insert, now if i click on admin pass button ed i put my pass, i ear ring and all menu are enable...

Zeus
10-03-2007, 05:28 AM
PBGuid is not the same as GameGUID correct? Which is better to use and the best and easiest way to get them? I understand this feature still seems to be somewhat broken at the moment, but for future reference vs constantly having to enter passwords. :(

ScOp3
10-04-2007, 12:15 PM
Anybody a clue if the pbuid or guid authentication is working now after R3 linux server has been released?

an3k
10-04-2007, 01:21 PM
PBGuid is not the same as GameGUID correct? Which is better to use and the best and easiest way to get them? I understand this feature still seems to be somewhat broken at the moment, but for future reference vs constantly having to enter passwords. :(Correct. PGUID is only available if punkbuster is enabled/available. GUID is always available if you have clients with CDKeys.

Anybody a clue if the pbuid or guid authentication is working now after R3 linux server has been released?not working yet

digibob
10-04-2007, 07:36 PM
This bug in final version and/or in patch 1.1 is resolved? becose i tested but don't work fine.

The first retail patch was made some time ago, and was for some really simple fixes. This fix will not go out until the next patch.

Scinto
10-05-2007, 06:28 PM
The first retail patch was made some time ago, and was for some really simple fixes. This fix will not go out until the next patch.

hope its soon, entering a password everytime ingame its getting a bit of a pain,

BattleFieldRelics
10-20-2007, 07:41 AM
The first retail patch was made some time ago, and was for some really simple fixes. This fix will not go out until the next patch.


Will reserved slot support be in the next patch too?

i.e when the server is full, the highest pinger is kicked to make way for a clan member......

M8DNanite
10-22-2007, 07:46 AM
hope its soon, entering a password everytime ingame its getting a bit of a pain,

You can bind the admin login to ALT-x for example:
bind "x" "admin login MYPASSWORD" "ALT"

Reiver
10-25-2007, 11:53 AM
Any info on added reserved slots for ranked servers?

[TiG]TheFairy
10-25-2007, 02:47 PM
Yes this will be in teh next patch afaik.

Reiver
10-26-2007, 08:47 AM
Shiny .

SlippytheWeasel
10-26-2007, 09:35 AM
Any info on added reserved slots for ranked servers?

http://community.enemyterritory.com/?q=node/188
"For those of you with your own Ranked Server, you can now add four private slots reserved by password, so that you can join it even if it's full."

BattleFieldRelics
10-26-2007, 11:07 AM
http://community.enemyterritory.com/?q=node/188
"For those of you with your own Ranked Server, you can now add four private slots reserved by password, so that you can join it even if it's full."


Its a start but it would of been nice to have 24 private slots available.

hugin
10-29-2007, 04:03 AM
What i did

In my main script:
bind "KP_DOWNARROW" "exec adminlogin.cfg" "" "default"

adminlogin.cfg in base folder:
admin login <password>

Works like a charm :D

PS: Reason i execute my adminlogin.cfg is the fact I don't have to remove the password from my main script if someone want to see it.

Nail
10-29-2007, 04:37 AM
Its a start but it would of been nice to have 24 private slots available.

it is, just run unranked server and PW protect

Ryan
02-01-2008, 06:35 PM
Is the auto admin feature enabled now?
And how do I have to use it for the usergroup.dat?

RotzKotz_ere
02-01-2008, 09:02 PM
printUserGuid
works
be sure to restart the server after you did set a group for a guid

I did create custom groups and added me/my guid to such a group and it works.

Dirka_Dirka
02-02-2008, 04:30 PM
be sure to restart the server after you did set a group for a guid
dont need to restart the server, altho a map change might be required.

-dR-REVOS
02-02-2008, 10:33 PM
I've found if you submit a support ticket with the changes you want, they'll do such for you (at least, with our host - with ours we can not even change admin PW w/out asking...)

hugin
05-18-2008, 09:43 PM
Hi folks, I got problems with this as well (didn't before...)
When I add 32 digits PBguid like this for my team it ends up giving everyone on the server Admin status, here is the guidstates.dat:
FYI: If I remove the guidstates.dat every thing works as usual.
I could try with Game Guid (haven't done that yet, but I do find PB Guid to be more suited for the job.
entry {
"pbid" "32GUID1"
"auth_group" "Admin"
}

entry {
"pbid" "32GUID2"
"auth_group" "Admin"
}

entry {
"pbid" "32GUID3"
"auth_group" "Admin"
}

entry {
"pbid" "32GUID4"
"auth_group" "Admin"
}

And my usergroups.dat:

group Default {
// This controls which votes a player within this group may issue
//voteLevel 1
}

group Trusted {
// This controls which votes a player within this group may issue
//voteLevel 2
}

group Admin {
password PASSremoved

// This sets which groups people in this group may move other people into
control {
Admin
Trusted
Default
}

// these control the actions that can be carried out by this group
adminKick
adminBan
adminSetTeam
adminChangeCampaign
adminChangeMap
adminGlobalMute
adminGlobalVOIPMute
adminPlayerMute
adminPlayerVOIPMute
adminWarn
adminRestartMap
adminRestartCampaign
adminStartMatch
adminExecConfig
adminShuffleTeams
adminAddBot
adminDisableProficiency
adminSetTimeLimit
adminSetTeamDamage
adminSetTeamBalance
adminAdjustBots

// these control what other groups may not do to users in this group
noBan
noKick
noMute
noWarn

// This controls which votes a player within this group may issue
// voteLevel 5
}

// This controls any configs which you may allow players to exec
// they must be placed in the game's base/ folder
configs {
"^1CB ^74^2on^74 ^7[^1NO ^7Flyers/3rd Eye^7]" "cb4on4.cfg"
"^1CB ^76^2on^46 ^7[^1NO ^7Flyers/3rd Eye^7]" "cb6on6.cfg"
"^1QWL ^74^2on^44 ^7[^1NO ^7Flyers/3rd Eye^7]" "QWL4on4.cfg"
"^1QW^3Cup ^O6on6 ^7[^1NO ^7Flyers/3rd Eye^7]" "qwcup.cfg"
"^BSet ^7Time ^320 ^7Minutes" "resettime20.cfg"
"^1Fast ^7Volcano" "fastvolcano.cfg"
"^1Fast ^7Salvage" "fastsalvage.cfg"
"^BStock ^7Volcano" "stockvolcano.cfg"
"^BStock ^7Salvage" "stocksalvage.cfg"
"^1Disable ^7Flyers/3rd Eye" "disable_flyer3rdeye.cfg"
"^2Enable ^7Flyers/3rd Eye" "enable_flyer3rdeye.cfg"
"^BStock ^7Server Config" "server.cfg"
"^BAnnounce ^8HeX^7ago^3n ^7Contact Info" "hexinfo.cfg"
"^BAnnounce ^1CB^5PB ^7Cvar settings Info" "CBPBcvar.cfg"
"^5Match ^7[^OVanilla^7]" "match.cfg"
"^5Public ^7[^OVanilla^7]" "public.cfg"
}

// typing "listvotes" in the game console will list all existing votes and their vote level
/*
votes {
//"maprestart" "2"
//"campaignreset" "2"
"balancedteams" "2" // vote to enable/disable teamForceBalance
"campaignreset" "2" // vote to restart the campaign
"kickplayer" "1" // vote to kick a player
"maprestart" "1" // vote to restart the map
"muteplayer" "1" // vote to mute a player
"noxp" "2" // vote to enable/disable upgrades
"servermode" "1" // vote a cfg to be executed (specified in usergroups.dat in 'configs')
"setcampaign" "2" // vote to change campaign in Campaign Mode or to change the RulesSet to Campaign
"setobjectivemap" "2" // vote to change map in Objective Mode or to change the RulesSet to Objective
"setstopwatchmap" "1" // vote to change map in StopWatch Mode or to change the RulesSet to StopWatch
"shufflerandom" "1" // vote to rebalance teams randomly
"shufflexp" "1" // vote to rebalance teams by XP
"swapteams" "1" // vote to swap teams
"teamdamage" "2" // vote to enable/disable teamdamage
"timelimit" "2" /

digibob
05-18-2008, 09:52 PM
PB GUIDs do not, and will not ever work, sorry, PB doesn't provide the GUID early enough in the process for it to work iirc.

hugin
05-18-2008, 10:04 PM
PB GUIDs do not, and will not ever work, sorry, PB doesn't provide the GUID early enough in the process for it to work iirc.

Aha, thats why, but can you explain why all who comes to the server is set as Admins when 32 digits pb guids are assigned? If PB software cant be fast enough the script and game code itself should not compute this at all and set everyone as Admins?

Btw seems to work well with GameGuid instead. So its sorted.
Thx for your reply anyways.

Dirka_Dirka
05-19-2008, 12:37 AM
but can you explain why all who comes to the server is set as Admins
that part should be considered a bug and would be nice if it were fixed.

hugin
05-19-2008, 12:49 AM
that part should be considered a bug and would be nice if it were fixed.

Exactly what I thought it might be, glad someone else also is experiencing this :)