Author Topic: !menu doesnt work for me but works for other admins  (Read 4246 times)

0 Members and 1 Guest are viewing this topic.

Offline sweetone

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 2
!menu doesnt work for me but works for other admins
« on: December 29, 2010, 04:29:20 PM »
Hi! Using ulx and ulib. Im trying to open !menu but it don't let me. I get error like this "[@ulib\shared\sh_ucl.lua:51] [ULIB] Unauthed player
"
It allows other admins to open that menu.. strange, don't you think?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: !menu doesnt work for me but works for other admins
« Reply #1 on: December 29, 2010, 08:12:23 PM »
Sweetone, not so strange.
Going to the front page of our forum and typing in "Unauthed player" in the search box brings up many discussions.
99% of them were resolved (1% never responded after we prompted), and usually were due to a mixed ULib/ULX versions (SVN of one or not the other, not using absolute latest SVN from our site (not Xenon or another download site, or dual installs on client), incompatible addons (DarkRP, older Wiremod, Assmod on local machine)
If I were you, since this is a client (you) issue only, I'd uninstall Gmod on my local PC, make sure my local addons folder was wiped, remove all addons if not, then reinstall Gmod and rejoin the server.
If that didn't work, with all the problems you've been reporting over the past few days, I'd shut down my server... do a fresh server install after removing all Garrysmod folder files, then get latest SVN from our SVN (again, nowhere else, ulyssesmod.net/ULib/trunk and ulx/trunk only).
No other addons. ULib/ULX only. Not even Xgui or our other projects.
Don't use any backed up files.
Start server. Join. Use your rcon to adduser yourself as superadmin.
Leave server.
Restart server.
Rejoin. See if it sees you as superadmin. Check !menu.
If that doesn't work, give us eact error messages.
THEN, and only then, add one addon back at a time, even ours, restart server, test.
Once you've found the culprit, give us the name of the conflicting addon.
Follow the instructions from our FAQ "Having trouble with access" only AFTER you've done all the above.
http://forums.ulyssesmod.net/index.php/topic,383.0.html
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline sweetone

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 2
Re: !menu doesnt work for me but works for other admins
« Reply #2 on: December 30, 2010, 04:41:22 AM »
Okay. I followed the instructions. I downloaded Ulib and ULX again and moved other addons aways. Problem still remaining. Also edited users.txt file.
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"
{
//"MPC SweetOne" "STEAM_0:1:8429001"
}
 
"admin"
{
//"MPC SweetOne" "STEAM_0:1:8429001"
}
 
}
Code: [Select]
ULX version: <SVN> revision 146
ULib version: 2.40
Gamemode: Sandbox
Map: gm_flatgrass_underground_v2
Dedicated server: true

Currently connected players:
Nick                            steamid            uid        id lsh created
MPC SweetOne                    STEAM_0:1:8429001  1190805898 1  n   50


ULib.ucl.users (#=1):
STEAM_0:1:8429001:
deny:
allow:
name = MPC SweetOne
group = superadmin


ULib.ucl.groups (#=4):
operator:
can_target = !%admin
allow:
1 = ulx seeasay
inherit_from = user
superadmin:
allow:
1 = ulx addgroup
2 = ulx adduser
3 = ulx adduserid
4 = ulx cexec
5 = ulx ent
6 = ulx exec
7 = ulx groupallow
8 = ulx groupdeny
9 = ulx hiddenecho
10 = ulx logchat
11 = ulx logdir
12 = ulx logecho
13 = ulx logevents
14 = ulx logfile
15 = ulx logspawns
16 = ulx logspawnsecho
17 = ulx luarun
18 = ulx maul
19 = ulx rcon
20 = ulx removegroup
21 = ulx removeuser
22 = ulx removeuserid
23 = ulx renamegroup
24 = ulx setgroupcantarget
25 = ulx userallow
26 = ulx userallowid
27 = ulx userdeny
28 = ulx userdenyid
29 = ulx voteecho
inherit_from = admin
admin:
can_target = !%superadmin
allow:
1 = ulx adminmenu
2 = ulx armor
3 = ulx ban
4 = ulx banid
5 = ulx banmenu
6 = ulx blind
7 = ulx bring
8 = ulx chattime
9 = ulx cloak
10 = ulx csay
11 = ulx freeze
12 = ulx gag
13 = ulx gimp
14 = ulx god
15 = ulx goto
16 = ulx hp
17 = ulx ignite
18 = ulx jail
19 = ulx kick
20 = ulx map
21 = ulx mapsmenu
22 = ulx mute
23 = ulx noclip
24 = ulx physgunplayer
25 = ulx playsound
26 = ulx ragdoll
27 = ulx reservedslots
28 = ulx resetspawn
29 = ulx rslots
30 = ulx rslotsmode
31 = ulx rslotsvisible
32 = ulx send
33 = ulx setspawn
34 = ulx showmotd
35 = ulx slap
36 = ulx slay
37 = ulx spawnecho
38 = ulx spectate
39 = ulx sslay
40 = ulx strip
41 = ulx teleport
42 = ulx tsay
43 = ulx unban
44 = ulx unblind
45 = ulx uncloak
46 = ulx unfreeze
47 = ulx ungag
48 = ulx ungimp
49 = ulx ungod
50 = ulx unignite
51 = ulx unigniteall
52 = ulx unjail
53 = ulx unmute
54 = ulx unragdoll
55 = ulx veto
56 = ulx vote
57 = ulx voteban
58 = ulx votebanminvotes
59 = ulx votebansuccessratio
60 = ulx votekick
61 = ulx votekickminvotes
62 = ulx votekicksuccessratio
63 = ulx votemap2
64 = ulx votemap2minvotes
65 = ulx votemap2successratio
66 = ulx votemapenabled
67 = ulx votemapmapmode
68 = ulx votemapmintime
69 = ulx votemapminvotes
70 = ulx votemapsuccessratio
71 = ulx votemapvetotime
72 = ulx votemapwaittime
73 = ulx welcomemessage
74 = ulx whip
75 = urestrict allowspawn
76 = urestrict denyspawn
77 = urestrict npcs
78 = urestrict props
79 = urestrict ragdolls
80 = urestrict sents
81 = urestrict vehicles
inherit_from = operator
user:
allow:
1 = ulx asay
2 = ulx clientmenu
3 = ulx help
4 = ulx menu
5 = ulx motd
6 = ulx psay
7 = ulx thetime
8 = ulx usermanagementhelp
9 = ulx votemap
10 = ulx who


ULib.ucl.authed (#=1):
1190805898:
deny:
allow:
name = MPC SweetOne
group = superadmin


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


Active addons on this server:
ULib                     by Team Ulysses, version 2.4 (00/00/00)
ULX                      by Team Ulysses, version 3.50 SVN (00/00/00)


Offline sweetone

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 2
Re: !menu doesnt work for me but works for other admins
« Reply #3 on: December 30, 2010, 04:53:02 AM »
lol wtf i deleted cache and deleted assmod not from my server addons folder, from my own steamgames gmod addons. now works. thanks =>

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: !menu doesnt work for me but works for other admins
« Reply #4 on: December 30, 2010, 05:18:22 AM »
Glad it's working for you. Seems ASSMod has been a culprit for that error a few times, not always, but a few as I mentioned in the previous post. I've no idea myself if it's even updated anymore. Suppose I could go to Facepunch and look, but, well, meh.

I guess I really should make time to write a FAQ and gather up known causes that we've seen here for that error.

On to the future: Was there anything in Assmod that you liked that ULX doesn't have?

EDIT - Also, your settings/users.txt is formatted bit incorrectly. Per http://wiki.garrysmod.com/?title=Player_Groups, you don't put "//" in front of your name. I'd also not add myself to both superadmin and admin, superadmin should do. We write ULX to import that file, but some other scripts may still read it only.

« Last Edit: December 30, 2010, 05:24:45 AM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: !menu doesnt work for me but works for other admins
« Reply #5 on: December 30, 2010, 09:31:18 AM »
One thing that I've always wanted ULX to have is a "ulx issuperadmin" or "ulx isadmin".  Just to determine whether a player can be considered a (Super)Admin or not.  I seen this in another Admin mod (Evolve or Exsto) and thought it was a great idea.

Offline sweetone

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 2
Re: !menu doesnt work for me but works for other admins
« Reply #6 on: December 30, 2010, 11:28:50 AM »
Somehow it added "//" automatically there. :-) ulx is having about everything that I need. ASSmod made possibly to restrict entities how is it this in ulx? I've restricted stools and weapons but haven't found entities yet.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: !menu doesnt work for me but works for other admins
« Reply #7 on: December 30, 2010, 05:25:56 PM »
One thing that I've always wanted ULX to have is a "ulx issuperadmin" or "ulx isadmin".  Just to determine whether a player can be considered a (Super)Admin or not.  I seen this in another Admin mod (Evolve or Exsto) and thought it was a great idea.

Do you mean a command to do that? (if so, have you seen ulx who?)

Otherwise, I'm assuming you mean an access tag, but isn't that made redundant by the user being in the admin or superadmin group?
Experiencing God's grace one day at a time.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: !menu doesnt work for me but works for other admins
« Reply #8 on: December 30, 2010, 07:34:51 PM »
For example:  I have an Owner group.  In order for my group to be considered SuperAdmin, it has to inherit from the group superadmin.  By "ulx issuperadmin", I mean it will consider anyone with access to that command a SuperAdmin.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: !menu doesnt work for me but works for other admins
« Reply #9 on: December 30, 2010, 08:20:51 PM »
What's wrong with inheriting from superadmin?
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: !menu doesnt work for me but works for other admins
« Reply #10 on: December 30, 2010, 10:11:11 PM »
Aaron, I have to admit, i'm a bit confused about your meaning to.
You want someone to be a superadmin, but not?

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming