Author Topic: Having trouble with access  (Read 2781 times)

0 Members and 1 Guest are viewing this topic.

Offline Pantho

  • Newbie
  • *
  • Posts: 39
  • Karma: 2
Having trouble with access
« on: July 26, 2008, 09:30:45 PM »
root>/settings/users.txt

Code: [Select]
"Users"
{
//
// This is your users file
//
// You can use this file to add people as admins on your server
// Add them to the relevant section
//
// If you're a Lua coder you can add your own sections and use them
// in your script by doing pl:IsUserGroup( "admin" ) etc
//

"superadmin"
{
//"Pantho" "STEAM_0:0:12921574"
}

"admin"
{
//"Pantho" "STEAM_0:0:12921574"
}

}


# userid name uniqueid connected ping loss state
#  2 "ByB | Pantho" STEAM_0:0:12921574 05:04 69 0 active

debug print
Code: [Select]
ULX version: 3.31
ULib version: 2.21
Gamemode: Sandbox
Map: gm_flatgrass
Dedicated server: true

Currently connected players:
Nick                            steamid            id lsh created


ULib.ucl.users (#=1):
pantho:
deny:
type = steamid
groups:
1 = admin
id = steam_0:0:12921574
pass =
allow:


ULib.ucl.groups (#=5):
superadmin:
deny:
allow:
1 = ulx hiddenecho
2 = ulx rcon
3 = ulx luarun
4 = ulx cexec
5 = ulx ent
6 = ulx adduser
7 = ulx adduserid
8 = ulx removeuser
9 = ulx userallow
10 = ulx userdeny
11 = ulx addgroup
12 = ulx removegroup
13 = ulx groupallow
14 = ulx groupdeny
15 = overcomeimmunity
inherit_from:
1 = admin
admin:
deny:
allow:
1 = ulib_passtime
2 = ulib_passtimeout
3 = ulx spawnecho
4 = ulx tsay
5 = ulx csay
6 = ulx gimp
7 = ulx mute
8 = ulx ungimp
9 = ulx unmute
10 = ulx gag
11 = ulx ungag
12 = ulx chattime
13 = ulx welcomemessage
14 = ulx slap
15 = ulx whip
16 = ulx slay
17 = ulx sslay
18 = ulx ignite
19 = ulx unignite
20 = ulx playsound
21 = ulx freeze
22 = ulx unfreeze
23 = ulx god
24 = ulx ungod
25 = ulx noclip
26 = ulx hp
27 = ulx armor
28 = ulx cloak
29 = ulx uncloak
30 = ulx blind
31 = ulx unblind
32 = ulx jail
33 = ulx unjail
34 = ulx ghost
35 = ulx unghost
36 = ulx ragdoll
37 = ulx unragdoll
38 = ulx maul
39 = ulx strip
40 = ulx adminmenu
41 = ulx clientmenu
42 = ulx mapsmenu
43 = ulx showmotd
44 = ulx banmenu
45 = ulx exec
46 = ulx rslotsmode
47 = ulx rslots
48 = ulx rslotsvisible
49 = ulx reservedslots
50 = ulx bring
51 = ulx goto
52 = ulx send
53 = ulx teleport
54 = ulx tooldeny
55 = ulx toolallow
56 = ulx tooldenyuser
57 = ulx toolallowuser
58 = ulx tooldenyoverride
59 = ulx map
60 = ulx kick
61 = ulx ban
62 = ulx banid
63 = ulx unban
64 = ulx spectate
65 = ulx physgunplayer
66 = ulx vote
67 = ulx votemap2
68 = ulx votekick
69 = ulx voteban
70 = ulx veto
inherit_from:
1 = operator
user:
deny:
allow:
1 = ulx
2 = ulx help
3 = ulx psay
4 = ulx asay
5 = ulx thetime
6 = ulx menu
7 = ulx_valueupdate
8 = ulx_cvar
9 = ulx_getgamemodes
10 = ulx motd
11 = ulx_getbans
12 = ulx usermanagementhelp
13 = ulx who
14 = ulx votemap
inherit_from:
none:
deny:
allow:
1 = ulx logecho
2 = ulx logfile
3 = ulx logevents
4 = ulx logchat
5 = ulx logspawns
6 = ulx logspawnsecho
7 = ulx logdir
8 = ulx addgimpsay
9 = ulx addadvert
10 = ulx addcsayadvert
11 = ulx addforceddownload
12 = ulx debuginfo
13 = ulx voteecho
14 = ulx votemap2successratio
15 = ulx votemap2minvotes
16 = ulx votekicksuccessratio
17 = ulx votekickminvotes
18 = ulx votebansuccessratio
19 = ulx votebanminvotes
20 = ulx votemapenabled
21 = ulx votemapmintime
22 = ulx votemapwaittime
23 = ulx votemapsuccessratio
24 = ulx votemapminvotes
25 = ulx votemapvetotime
26 = ulx votemapmapmode
27 = ulx votemapaddmap
inherit_from:
operator:
deny:
allow:
1 = ulx seeasay
inherit_from:


ULib.ucl.authed (#=1):
Player [NULL]:
type = guest
groups:
1 = user
2 = user
id =
account = ByB | Pantho
acl:
allow:
deny:
uniqueid = 3717870812


Garrysmod default file (#=2):
admin:
superadmin:


Active addons on this server:
Adv Duplicator           by TAD2020, version 1.8359 (July 5th 2007)
catdaemon_stargate       by Catdaemon, version  ()
counter-strike           by Valve, version 1 (5th August 2006)
day-of-defeat            by Valve, version 1 (22nd August 2006)
default_sent_pack        by TEAM GARRY, version 1 (3rd December 2006)
derma                    by , version 0.1 (17th July 2007)
gmdm_resources           by Garry Newman, version 1 (21th August, 2007)
hl2_ep2                  by Valve, version 1 (29th October 2007)
Life Support 2           by LS/RD/SB Team, version 1.0.1 (Today)
OL_Stacker               by OverloadUT, version 2.2 (19th January 2007)
phoenix-storms           by PhoeniX-Storms, 1/4 Life, hunter, joebloom, scragnog, x-quake, Xeon133, PelPix, version SVN (20th May 2008)
portal                   by Valve, version 1 (29th October 2007)
shuttle                  by Catdaemon, version 4a ()
Spawn point              by Kenny, version 1 ((null))
stargate                 by aVoN, version 1.8999 (12th February, 2008)
stargate_resources       by aVoN, version 1 (12th February, 2008)
tf2                      by Valve, version 1 (29th October 2007)
TNT                      by Teta_Bonita, version 1 (16th September 2007)
ulib                     by Team Ulysses, version 2.21 (06/08/08)
ulx                      by Team Ulysses, version 3.3099 (06/08/08)
wire                     by Wire Team, version 0.9.6 (25st March 2007)
wire model pack 1        by Team Wire, version 0.3 (25st March 2007)

garrysmod\data\ULib\users.txt

Code: [Select]
"pantho"
{
"deny"
{
}
"type" "steamid"
"groups"
{
"admin"
}
"id" "steam_0:0:12921574"
"pass" ""
"allow"
{
}
}

groups.txt is untouched, still has the admin group

:) Well, i think thats all the info you asked for, and all i can provide.

!menu just has motd

and !god is denied, also utilities - admin - cleanup everything doesnt work, no admin access.


-Side note

While reading this i noticed

shuttle                  by Catdaemon, version 4a ()
Spawn point              by Kenny, version 1 ((null))

Are loaded, but they dont actually spawn, work or appear in entities. Anyways not a ulx problem

Offline Pantho

  • Newbie
  • *
  • Posts: 39
  • Karma: 2
Re: Having trouble with access
« Reply #1 on: July 26, 2008, 09:32:36 PM »
Ok :)

rcon ulx adduser pantho admin 1

Fixed the problem lol..

I know, 10 seconds after i posted the problem, its 5:30am. I'm ill and tired, ill forgive myself thanx...

Although to not waist a thread, how do i make user types appear on score board. So it labels admins etc.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Having trouble with access
« Reply #2 on: July 26, 2008, 10:25:19 PM »
Use a custom scoreboard like sui_scoreboard.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Having trouble with access
« Reply #3 on: July 27, 2008, 09:19:28 AM »
Garry really should change his users.txt to point out // = comment.
I've seen millions of people (well, not really, at least in the hundreds though) try to add themselves to users.txt with thier name commented out.
It's not obvious to non-coders that he commented his name and steamid out of the example file to keep from getting admin on thier server.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Pantho

  • Newbie
  • *
  • Posts: 39
  • Karma: 2
Re: Having trouble with access
« Reply #4 on: July 29, 2008, 11:27:00 PM »
Ok coulda sworn i replied to this *_*

I know all about commenting lines, and cannot believe i made that mistaked.

Had been ill and not slept for 30hours  ???

I'm a coder (Javascript/c#/c++) myself (At times ;), depending what lame project university set that month)