Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: aaronm1004 on September 29, 2009, 01:30:20 AM
-
Hello, I have recently started a dedicated server that I run on my home computer.
I started the server and joined it and in the server prompt I typed in
ulx adduser Aaron superadmin
After I hit enter it says
ULib/server/ucl.lua:246: attempt to index local 'users' (a nil value)
I disconnect from the server rejoin and I try the various admin abilities and it simply says I do not have permission to do that.
I'm sure I've added myself as admin correctly, because my
C:\srcds\orangebox\garrysmod\data\ULib\users.txt says:
}
"Aaron"
{
"deny"
{
}
"type" "steamid"
"groups"
{
"superadmin"
"admin"
"respected"
"user"
}
"id" "STEAM_0:0:17531275"
"allow"
{
}
"pass" ""
}
My C:\srcds\orangebox\garrysmod\data\ULib\groups.txt says:
}
"superadmin"
{
"deny"
{
}
"allow"
{
"ulx hiddenecho"
"ulx rcon"
"ulx luarun"
"ulx cexec"
"ulx ent"
"ulx adduser"
"ulx adduserid"
"ulx removeuser"
"ulx userallow"
"ulx userdeny"
"ulx addgroup"
"ulx removegroup"
"ulx groupallow"
"ulx groupdeny"
"overcomeimmunity"
}
"inherit_from"
{
"admin"
}
}
"admin"
{
"deny"
{
}
"allow"
{
"ulib_passtime"
"ulib_passtimeout"
"ulx spawnecho"
"ulx tsay"
"ulx csay"
"ulx gimp"
"ulx mute"
"ulx ungimp"
"ulx unmute"
"ulx gag"
"ulx ungag"
"ulx chattime"
"ulx welcomemessage"
"ulx slap"
"ulx whip"
"ulx slay"
"ulx sslay"
"ulx ignite"
"ulx unignite"
"ulx playsound"
"ulx freeze"
"ulx unfreeze"
"ulx god"
"ulx ungod"
"ulx noclip"
"ulx hp"
"ulx armor"
"ulx cloak"
"ulx uncloak"
"ulx blind"
"ulx unblind"
"ulx jail"
"ulx unjail"
"ulx ghost"
"ulx unghost"
"ulx ragdoll"
"ulx unragdoll"
"ulx maul"
"ulx strip"
"ulx adminmenu"
"ulx clientmenu"
"ulx mapsmenu"
"ulx showmotd"
"ulx banmenu"
"ulx exec"
"ulx rslotsmode"
"ulx rslots"
"ulx rslotsvisible"
"ulx reservedslots"
"ulx bring"
"ulx goto"
"ulx send"
"ulx teleport"
"ulx tooldeny"
"ulx toolallow"
"ulx tooldenyuser"
"ulx toolallowuser"
"ulx tooldenyoverride"
"ulx map"
"ulx kick"
"ulx ban"
"ulx banid"
"ulx unban"
"ulx spectate"
"ulx physgunplayer"
"ulx vote"
"ulx votemap2"
"ulx votekick"
"ulx voteban"
"ulx veto"
}
"inherit_from"
{
"respected"
}
}
"respected"
{
"deny"
{
}
"allow"
{
"ulx votekick"
"ulx goto"
"ulx noclip"
}
"inherit_from"
{
}
I am using ULib version 2.30
and using ULX version 3.40
??? Can anyone please help me fix this ???
-
Is that your full groups.txt?
If so, delete it and your misc_registered.txt and restart the server.
-
You'll want to delete your users.txt as well. All look as if they were badly modified by hand.
-
Correct me if i'm wrong, ULX Team, but this:
ULib/server/ucl.lua:246: attempt to index local 'users' (a nil value)
means that the UCL process can't find the "users" group in groups.txt?
I'm doing my best to learn how ULX operates. I'm having some of these problems myself, most of them having to do with SWEPS or other entities.
Also, Aaron, if you want to hand modify your users.txt and groups.txt, get in touch with me. I have done so and my ULX works flawlessly [thanks to JamminR for seeing my idiot mistake (missing "ulx" in users group)].
Just a nice helping hand.
-
I have the same problem. I run a srcds, which works perfect. When I made myself admin, it said I don't even have permission to use the !menu command. I need some help.
ULX version: 3.40
ULib version: 2.30
Gamemode: Sandbox
Map: gm_flatgrass
Dedicated server: true
Currently connected players:
Nick steamid id lsh created
ULib.ucl.users (#=0):
ULib.ucl.groups (#=0):
ULib.ucl.authed (#=0):
Garrysmod default file (#=2):
admin:
ninjaofpancakes = STEAM_0:0:25202755
superadmin:
Active addons on this server:
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)
DoorSTool by High6, version v1.6b (December 19th 2006)
hl2_ep2 by Valve, version 1 (29th October 2007)
Phoenix-Storm 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)
propcannons by Duncan Stead, version 1.1 (18th December 2006)
PropProtection by Chaussetteā¢, version 1.46 (10 mai 2007)
raveball by _Kilburn, version 0.8999 (12 December 2007)
Shoop da Whoop by Sylph, version 1 ()
Spartan Kick by Lune66, version 1 (September 29 2008)
Stacker STool by -, version 2.2 (19th January 2007)
tf2 by Valve, version 1 (29th October 2007)
Uclip by Megiddo (Team Ulysses), version 1.12 (12/04/07)
ulib by Team Ulysses, version 2.2999 (00/00/00)
ulx by Team Ulysses, version 3.4 (00/00/00)
Unbreakable by Chaussetteā¢, version 1.1 (28th January 2007)
wire by Wire Team, version SVN ((null))
wire model pack 1 by Wire Team, version SVN ((null))
-
OneUnluckySrcdsOwner,
1) Move yourself from admin to superadmin in gmodroot/settings/users.txt
As a server owner, default access of superadmin is best.
2) Did you edit /addons/ULib/data/ULib/groups.txt? and users.txt
Yes? Delete your addons/ULib folder, re-install. (Don't ever edit /addons/ULib/data/ULib/groups.txt (or any file there in that folder) )
No? Something is wrong. No files exist, or can be read, from gmod/data/ULib/*
Does the 'user' running Srcds/Gmod have permissions to write to/read from <gmod root>/data/ULib/?
The ULib.ucl.groups and ULib.ucl.users portion of your debug file are empty. Even when things are totally broken, the groups area shouldn't be empty.
Check\correct those few items.
Check for console errors at server startup regarding ULib/ULX. Report them if corrections didn't work.
Also, make sure you're connected to your server (or the player having access problem is connected) the next time you run a debug.
-
Correct me if i'm wrong, ULX Team, but this: ULib/server/ucl.lua:246: attempt to index local 'users' (a nil value)
means that the UCL process can't find the "users" group in groups.txt?
I'm doing my best to learn how ULX operates. I'm having some of these problems myself, most of them having to do with SWEPS or other entities.
Also, Aaron, if you want to hand modify your users.txt and groups.txt, get in touch with me. I have done so and my ULX works flawlessly [thanks to JamminR for seeing my idiot mistake (missing "ulx" in users group)].
Just a nice helping hand.
I'm not sure why I didn't see this earlier, but no, it means that for some reason the users file is returning nil, not that it can't find the group 'users'.