ULX

Author Topic: Admin stuff not working...  (Read 3408 times)

0 Members and 1 Guest are viewing this topic.

Offline jigglywiggly

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Admin stuff not working...
« on: August 01, 2009, 02:39:06 AM »
So I install ULX on my server, and on myself. I went onto the server and typed adduser jigglywiggly superadmin 999 and it said accepted. It then wrong things into data>ULib >users.txt
Code: [Select]
"JigglyWiggly@3dslice.net"
{
"deny"
{
}
"type" "steamid"
"groups"
{
"superadmin"
}
"id" "STEAM_0:1:2429392"
"pass" ""
"allow"
{
}
}

I then restarted the server, tried to do !adminmenu or !noclip and get access denied... What's up?

Also in the settings>users.txt this loads fine, when I join the server it says I am a superadmin but ulx doesn't like it.
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"
{
"JigglyWiggly" "STEAM_0:1:2429392"
}

"admin"
{
//"garry" "STEAM_0:1:7099"
}

}

Also here is the debuginfo
Code: [Select]
ULX version: 3.40
ULib version: 2.30
Gamemode: Sandbox
Map: oc_gm_hugeflatmap_v4
Dedicated server: true

Currently connected players:
Nick                            steamid            id lsh created


ULib.ucl.users (#=1):
JigglyWiggly@3dslice.net:
deny:
type = steamid
groups:
1 = superadmin
id = STEAM_0:1:2429392
pass =
allow:


ULib.ucl.groups (#=5):
superadmin:
deny:
allow:
inherit_from:
admin:
deny:
allow:
1 = ulx spawnecho
2 = ulx tsay
3 = ulx csay
4 = ulx gimp
5 = ulx mute
6 = ulx ungimp
7 = ulx unmute
8 = ulx gag
9 = ulx ungag
10 = ulx chattime
11 = ulx welcomemessage
12 = ulx slap
13 = ulx whip
14 = ulx slay
15 = ulx sslay
16 = ulx ignite
17 = ulx unignite
18 = ulx playsound
19 = ulx freeze
20 = ulx unfreeze
21 = ulx god
22 = ulx ungod
23 = ulx noclip
24 = ulx hp
25 = ulx armor
26 = ulx cloak
27 = ulx uncloak
28 = ulx blind
29 = ulx unblind
30 = ulx jail
31 = ulx unjail
32 = ulx ghost
33 = ulx unghost
34 = ulx ragdoll
35 = ulx unragdoll
36 = ulx maul
37 = ulx strip
38 = ulx adminmenu
39 = ulx clientmenu
40 = ulx mapsmenu
41 = ulx showmotd
42 = ulx banmenu
43 = ulx exec
44 = ulx rslotsmode
45 = ulx rslots
46 = ulx rslotsvisible
47 = ulx reservedslots
48 = ulx bring
49 = ulx goto
50 = ulx send
51 = ulx teleport
52 = ulx tooldeny
53 = ulx toolallow
54 = ulx tooldenyuser
55 = ulx toolallowuser
56 = ulx tooldenyoverride
57 = ulx map
58 = ulx kick
59 = ulx ban
60 = ulx banid
61 = ulx unban
62 = ulx spectate
63 = ulx physgunplayer
64 = ulx vote
65 = ulx votemap2
66 = ulx votekick
67 = ulx voteban
68 = ulx veto
69 = ulib_passtime
70 = ulib_passtimeout
inherit_from:
user:
deny:
allow:
1 = _pw
2 = ulx
3 = ulx help
4 = ulx psay
5 = ulx asay
6 = ulx thetime
7 = ulx menu
8 = ulx_valueupdate
9 = ulx_cvar
10 = ulx_getgamemodes
11 = ulx motd
12 = ulx_getbans
13 = ulx usermanagementhelp
14 = ulx who
15 = ulx votemap
inherit_from:
operator:
deny:
allow:
1 = ulx seeasay
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:


ULib.ucl.authed (#=1):
Player [NULL]:
deny:
type = steamid
groups:
1 = superadmin
account = JigglyWiggly@3dslice.net
id = STEAM_0:1:2429392
allow:
uniqueid = 3370741362


Garrysmod default file (#=2):
admin:
superadmin:
jigglywiggly = STEAM_0:1:2429392


Active addons on this server:
adv dupe                 by TAD2020, version 1.8359 (July 5th 2007)
Chainsaw_GunV2           by Lune66 -- penvag < for the model, version 2008.1 (75/41/09)
combinesniper_ep2        by Jaanus, Teta_Bonita, Armageddon, version 1.1 (4th January 2008)
counter-strike           by Valve, version 1 (5th August 2006)
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)
Flyable Ships            by (null), version 4 ((null))
Half-Life_Renaissance    by Silverlan, version 1.2 (22nd November 2008)
HaloSweps                by Blackops7799, version 1.2999 ((null))
Helicopter               by (null), version 1.2 ((null))
hl2_ep2                  by Valve, version 1 (29th October 2007)
kermite                  by Kermite(SWEPS), version 2 (2009)
Mescool's Swep Pack      by Mescool, version 1 (7/11/2009)
Nuke Pack 4              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 ()
phx3                     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)
Stalker playermodels     by The Pyro, version 1 (n/a)
Tactical Weapons Pack All-In-One by -[SB]- Spy, version 1.6 (Today.)
taserv1.8-FINAL          by fub4r, version 1.8 FINAL ((null))
tf2                      by Valve, version 1 (29th October 2007)
twitch_weaponry_v2       by Devenger, version 2 ((null))
ulib                     by Team Ulysses, version 2.2999 (00/00/00)
Ultimate Vehicle Pack    by NPerez, Kobilica, Solid_Granite, Phoenix Storm, GiGaBiTe, kuno86, LSK, DarkNovaClan, Jake V, version 1 (Monday, October 27th, 2008)
ulx                      by Team Ulysses, version 3.4 (00/00/00)
Youtube Player           by I am McLovin, version 1 ()
zeno_clash               by ACE Team, version 1 (May 8th 2009)
« Last Edit: August 01, 2009, 03:02:02 AM by jigglywiggly »

Offline bennie900

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 5
Re: Admin stuff not working...
« Reply #1 on: August 01, 2009, 03:19:22 AM »
Did you type "ulx adduser jigglywiggly superadmin 1" (1 for immunity, not sure where you are getting 999 from) into the server RCON (In the server's Gamepanel)? (If you did it in the Garrys Mod console it will not work the first time)

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Admin stuff not working...
« Reply #2 on: August 01, 2009, 08:53:29 AM »
From your debuginfo file, it seems as though your data/ULib/groups.txt has been edited or corrupted in some way.
Did you edit it?
Code: [Select]
ULib.ucl.groups (#=5):
   superadmin:
      deny:
      allow:
      inherit_from:

There should be several allow items there.
It should also be inheriting admin.

Shut down the server. Delete /data/ULib/groups.txt and misc_registered.txt
Restart your server - see if superadmin gets created properly.
If not, that may mean you or someone edited the actual addons folder groups.txt file, which should never be touched.
If the addons folder files have been edited, reinstall ULX.
Other than the groups.txt being messed up, it seems as though it should be working.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline jigglywiggly

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Admin stuff not working...
« Reply #3 on: August 01, 2009, 03:08:02 PM »
From your debuginfo file, it seems as though your data/ULib/groups.txt has been edited or corrupted in some way.
Did you edit it?
Code: [Select]
ULib.ucl.groups (#=5):
   superadmin:
      deny:
      allow:
      inherit_from:

There should be several allow items there.
It should also be inheriting admin.

Shut down the server. Delete /data/ULib/groups.txt and misc_registered.txt
Restart your server - see if superadmin gets created properly.
If not, that may mean you or someone edited the actual addons folder groups.txt file, which should never be touched.
If the addons folder files have been edited, reinstall ULX.
Other than the groups.txt being messed up, it seems as though it should be working.
Deleting those 2 files worked, thanks a bunch  :D
EDIT wait: commands like adminmenu are not working... I will edit this post in a few minutes to include more info.

EDIT: It's because of http server, disabling http autodl works, but I placed both ulx and ulib folders into the addons folder on the http server, and placed the whole data folder from the server to http server.
EXIT: Fixed now yay :D
« Last Edit: August 01, 2009, 06:30:27 PM by jigglywiggly »

Offline bennie900

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 5
Re: Admin stuff not working...
« Reply #4 on: August 01, 2009, 04:54:23 PM »
None of those are required... I have the same set up with Ulx etc.. on the server not the HTTP redirect.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Admin stuff not working...
« Reply #5 on: August 01, 2009, 07:29:51 PM »
None of those are required... I have the same set up with Ulx etc.. on the server not the HTTP redirect.
Bennie, Yes, some of the ULib and ULX files are required downloads. Not all, like he placed, but some.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline bennie900

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 5
Re: Admin stuff not working...
« Reply #6 on: August 02, 2009, 03:15:02 AM »
Oh, weird how mine works then without it  ???