ULX

Author Topic: User issues  (Read 4005 times)

0 Members and 2 Guests are viewing this topic.

Offline gmodguy12

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
User issues
« on: April 25, 2009, 07:13:14 PM »
I am using ULib Rev26 and ULX Rev27 on my GMod server.  I cannot use any ulx syntaxes without getting the error "
You do not have access to this command."  I used rcon to check what usergroup I am in, and it says superadmin. Even then, I don't have access to any menu. Can you help?  I have already tried the "defines.lua" fix, but that didn't help my problem.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
User issues
« Reply #1 on: April 25, 2009, 07:52:31 PM »
Use ulx debuginfo at SERVER console and put the dump in here
Experiencing God's grace one day at a time.

Offline gmodguy12

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
User issues
« Reply #2 on: April 25, 2009, 08:01:58 PM »


Code: [Select]
ULX version: <SVN> unknown revision
ULib version: 2.30
Gamemode: Sandbox
Map: nwo_cas_selant3
Dedicated server: true

Currently connected players:
Nick                            steamid            id lsh created
[NWO] Gmonkeyv9                 STEAM_0:1:11376744 1  n   27
PARTY ON NWO 12:00 AM EST       STEAM_0:0:1401572  2  n   2194


ULib.ucl.users (#=0):


ULib.ucl.groups (#=2):
admin:
deny:
allow:
inherit_from:
superadmin:
deny:
allow:
inherit_from:


ULib.ucl.authed (#=3):
Player [1][[NWO] Gmonkeyv9]:
type = guest
groups:
1 = user
2 = superadmin
id =
account = [NWO] Gmonkeyv9
acl:
allow:
deny:
uniqueid = 4181342197
Player [NULL]:
type = guest
groups:
1 = user
2 = admin
id =
account = PARTY ON NWO 12:00 AM EST
acl:
allow:
deny:
uniqueid = 2698546552
Player [2][PARTY ON NWO 12:00 AM EST]:
type = guest
groups:
1 = user
2 = admin
id =
account = PARTY ON NWO 12:00 AM EST
acl:
allow:
deny:
uniqueid = 2698546552


Garrysmod default file (#=2):
admin:
[nwo|lt|re] gmonkeyv9 = STEAM_0:1:11376744
[nwo|r] cinnamon stick = STEAM_0:0:13161006
[nwo|lt|p] illegal d = STEAM_0:0:1401572
[nwo|s] tarkwyn = STEAM_0:1:929600
[nwo|lt|re] quackinacan = STEAM_0:0:9752989
[nwo|lt|de] zakuc03 = STEAM_0:0:19123232
superadmin:
[nwo|lt|re] gmonkeyv9 = STEAM_0:1:11376744


Active addons on this server:
Adv Duplicator           by TAD2020, version 1.8359 (July 5th 2007)
AI_RPG                   by Silverlan, version 1 (10th April 2009)
Blitzkrieg               by Lerlth (2598matt), version 3 (n/a)
Buoyancy Tool            by RabidToaster, version 1.1 (4th May 2008)
C4                       by Lalsdude, version 0.6 (Beta)
Catmull-Rom Cameras      by Olivier 'LuaPineapple' Hamel, version 0.5.3 ()
ClimbSWEP                by Meoowe, version 1.1 ((null))
Combine Mortar           by RabidToaster, version 1 (29th March 2007)
CombineMortar            by TOM99(Winme), version 1.1 ()
Conna's Tools Pack       by Conna, version 1.3999 ((null))
counter-strike           by Valve, version 1 (5th August 2006)
csc_desert               by , version 1 ((null))
CSS Realistic Weapons 4.0 by WORSHIPPER, version 4 (13th February 2008)
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)
DoorSTool                by High6, version v1.6b (December 19th 2006)
DurgzMod                 by cheesylard // Edited by Snow Wolf, version 2.1 (inofficialy) (24 January 2009)
earthquake               by Team Half-Life, version 1 (30 September 2008)
Extra_Npcs               by Creatmind, version 1 ()
flamethrower             by Team Half-Life, version 1.1 (30th August 2008)
Flyable Ships            by (null), version 4 ((null))
Garry's Bombs 3          by Failure , version 3 (Yeh)
Garry's Bombs Icons      by Sportler, version 1 (Friday 02.01.2009)
GCOMBAT08                by Q42, version 1.1 (TOFRIGGINDAY)
gm_bigcity               by Bigwig, version 2 (December 2008)
gm_tropicalwaters        by Bostry , version one (August 2th 2008 )
grapplehook              by Hxrmn, HOLOGRAPHICpizza, version 3.2999 (3/25/08)
HealthRegeneration       by BlackNecro - base, Mahalis - some fixes, Lune66 - edited, version 1 ()
HL2weaponitem            by morten8035 - mortennp - morten123, version 4 (7.1.2008)
hl2_ep2                  by Valve, version 1 (29th October 2007)
keypad                   by Robbis_1 (aka Killer HAHA), version 1.3999 (25th February 2008)
ladderstool              by BennyG, Killusion, version 1.2 (8/13/08)
Laser STOOL 2            by MadJawa, version 2 (August 1st 2008)
MelonBerserk             by TechedRonan / Dumbass, version 0.1 ()
MeteorShower             by Meoowe, version 1 ((null))
military                 by illkid & 1/4 Life, version 1 (2nd December 2006)
ModelManipulator         by LuaPineapple, version 1 (June 13 2007)
Mortar Combat SENTs      by Feihc, version 2 ()
mounted_turret           by Teta_Bonita, version 1 (April 15th 2008)
Note STool               by Robotboy655, version 3/4 Final (07 September 2008)
Nuke4_fix                by Nuke and TNT by Teta_Bonita, Atomic Bomb by Doomsday, Model Changes by Sgt.Napalm, RayFanMan (RayFan9876) and Hamster, Entities list and Spawn Icons by Sgt.Napalm and RayFanMan (RayFan9876), Nuke_effect_air, nuke_var_inits and nuke_blastwave changes by RayFanMan (RayFan9876), version 4 ()
NWO Playermodels         by Foxhound, Sergeant of the New World Order, version 1 (27th May 2008)
Parachute                by thegrb93, version 1 (1st March 2008)
phx3                     by PhoeniX-Storms, 1/4 Life, hunter, joebloom, scragnog, x-quake, Xeon133, PelPix, version SVN (20th May 2008)
Player Weld              by Overv, version 1.1 (4h January 2009)
portal                   by Valve, version 1 (29th October 2007)
RagMod                   by DS, version 2 v2 ()
ShippyV2                 by Studentloon, version 1 (5th Oct 2008)
smartsnap                by Syranide, version 0.9.5 ()
smart_welding            by Duncan Stead, version 2.0999 (7th August 2007)
spawn beacon             by Croxmeister, version 0 ()
Stacker STool            by -, version 2.2 (19th January 2007)
tf2                      by Valve, version 1 (29th October 2007)
ULIB                     by Team Ulysses, version 2.2999 (00/00/00)
ULX                      by Team Ulysses, version 3.4 (00/00/00)
UTime                    by Megiddo (Team Ulysses), version 1.2999 (05/16/08)
VehicleUpgrade           by Nova[X],Team Garry, version 2.5999 ()
WeightSTool              by Spoco, version 1.21 ((null))
wire                     by Wire Team, version 0.9.6 (25st March 2007)
wire model pack 1        by Team Wire, version 0.3 (25st March 2007)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
User issues
« Reply #3 on: April 25, 2009, 08:21:08 PM »
Where's the problem? You have all your users in the default file and you told ULib not to load from there...
Experiencing God's grace one day at a time.

Offline gmodguy12

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
User issues
« Reply #4 on: April 25, 2009, 08:44:46 PM »
I made that "defines.lua" line to false in the last revision, thinking it would help me, which it didn't.  Then I tried a fresh install of this revision. I checked the file that is on the server, and ULib should be loading from the default file now.  Just to reiterate, it says I am superadmin when I get in the server, and I can use all of the admin SWEPs/SENTs/etc, but I just don't have the "access" to use any ULX syntaxes.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
User issues
« Reply #5 on: April 25, 2009, 08:53:42 PM »
Looks like you still have that line set in defines.
Experiencing God's grace one day at a time.

Offline gmodguy12

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: User issues
« Reply #6 on: April 26, 2009, 04:20:52 PM »
I do not understand why that is. I am in my server's FTP right now, and the line in defines looks like "ULib.UCL_LOAD_DEFAULT = true".  And yes, I am in addons/ulib/lua/ULib/shared.

I already tried deleting my server's cache, which didn't work.  I could try a server reinstall...but that would be a last resort.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: User issues
« Reply #7 on: April 26, 2009, 08:32:57 PM »
Perhaps your groups file got corrupted... try deleting data/ulib/groups.txt and data/ulib/misc_registered.txt (from the garrysmod root, not addons)
Experiencing God's grace one day at a time.

Offline gmodguy12

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: User issues
« Reply #8 on: April 27, 2009, 06:21:17 PM »
That helped somewhat. I can now use two menu syntaxes, "!menu" and "!motd".  The rest of the menu syntaxes I don't have access to, but I am still superadmin according to "ulx who".   When I try "!menu" I get the following error: "ULib/shared/sh_ucl.lua:44: attempt to index field '?' (a nil value)".

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: User issues
« Reply #9 on: April 27, 2009, 07:18:31 PM »
Try using console commands.
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: User issues
« Reply #10 on: April 27, 2009, 07:43:21 PM »
Gmodguy, temporarily, remove GCombat, restart server... let me know if that does anything.
If it helps, I'm seeing a pattern emerge, at least with the version of GCombat you have.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline gmodguy12

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: User issues
« Reply #11 on: April 27, 2009, 08:29:04 PM »
Try using console commands.

I can use these:
Code: [Select]
Category: Menus
o menu  - Shows you the main menu. (say:!menu)
o motd  - Shows you the message of the day. (say:!motd)

Category: Utilities
o who - Shows all connected players ids and access.

Category: Chat
o asay <text> - Sends a message to currently connected admins. (say:@)
o psay <user> <text> - Sends a private message to the user. (say:!p)
o thetime  - Shows you the server time. (say:!thetime)

Category: Rcon
o cexec <user(s)> <command> - Runs a command on the user's console. (say:!cexec)
o ent <classname> <flag>:<value> .. - spawn an ent, separate flag and value with ':'.
o luarun <command> - Feeds the server a lua command.
o rcon <command> - Send the specified command to the server console. (say:!rcon)

Category: Voting
o votemap [<map name or id>] - Vote for a map. No args lists available maps. (say:!votemap)

Category: User Management
o addgroup <group> [<inherit>] - Create a new group with optional inheritance.
o adduser <user> <group> [<immunity>] - Add a user to specified group with optional immunity.
o adduserid <name> <group> <SteamID> [<immunity>] - Add a user by SteamID to specified group with optional immunity.
o groupallow <group> <access> [<revoke>] - Allow group access to string access.
o groupdeny <group> <access> [<revoke>] - Deny a group access to string access.
o removegroup <group> - Remove a group. USE WITH CAUTION.
o removeuser <user> - Permanently removes a user's access.
o userallow <user> <command> [<revoke>] - Specifically allows the user access to command.
o userdeny <user> <command> [<revoke>] - Specifically denies the user access to command.
o usermanagementhelp  - See the user management help.


Gmodguy, temporarily, remove GCombat, restart server... let me know if that does anything.
If it helps, I'm seeing a pattern emerge, at least with the version of GCombat you have.


Does not help.



After restarting my server a few times after deleting "groups" and "misc_registered", they have been re-created and once again I have no access at all.