Author Topic: ULX doesnt keep keep user rank on restart  (Read 9742 times)

0 Members and 1 Guest are viewing this topic.

Offline achexi

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
ULX doesnt keep keep user rank on restart
« on: October 23, 2010, 01:21:39 PM »
Hi, I've been trying for a few hours to setup my ULX admin for players on the server. Whenever i restart the server (its dedicated) it will not add the user rankings.
example:
if i made "bob" superadmin via console. The users.txt in garrysmod\data\  will contain the details showing hes a superadmin. And on the server he will be a superadmin. But on restart it doesnt seem to load users.txt because Noone will be a superadmin..etc.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX doesnt keep keep user rank on restart
« Reply #1 on: October 23, 2010, 02:53:23 PM »
Is this SVN, latest revision both ULib and ULX?
Or the latest 'release' versions downloaded from ulyssesmod.net?
What ULib or ULX errors at startup of the server occur?
Though it sounds as though you're adding the user correctly, please follow every step in our "Having trouble with access?" FAQ.
If following every step in order hasn't helped by time you reach all of them, the information you provide as part of the steps will help us help you.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline achexi

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: ULX doesnt keep keep user rank on restart
« Reply #2 on: October 23, 2010, 04:03:32 PM »
heres a debug of the server, please be aware this is AFTER i entered the rcon command in the dedicated to change me to admin.
Code: [Select]
ULX version: 3.50
ULib version: 2.40
Gamemode: DarkRP 2.4.1
Map: rp_downtown_v2
Dedicated server: true

Currently connected players:
Nick                            steamid            uid        id lsh created
Achexi                          STEAM_0:0:20071888 3503685992 1  n   26
alex                            STEAM_0:1:26033149 1237871829 2  n   22
Rychuko                         STEAM_0:1:24238213 1074126126 3  n   54


ULib.ucl.users (#=4):
STEAM_0:0:20071888:
deny:
name = Achexi
allow:
group = superadmin
STEAM_0:1:26033149:
deny:
name = alex
allow:
group = superadmin
ÿþ:
allow:
deny:
STEAM_0:1:24238213:
deny:
allow:
name = Rychuko'
group = user


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 rslots
29 = ulx rslotsmode
30 = ulx rslotsvisible
31 = ulx send
32 = ulx showmotd
33 = ulx slap
34 = ulx slay
35 = ulx spawnecho
36 = ulx spectate
37 = ulx sslay
38 = ulx strip
39 = ulx teleport
40 = ulx tsay
41 = ulx unban
42 = ulx unblind
43 = ulx uncloak
44 = ulx unfreeze
45 = ulx ungag
46 = ulx ungimp
47 = ulx ungod
48 = ulx unignite
49 = ulx unigniteall
50 = ulx unjail
51 = ulx unmute
52 = ulx unragdoll
53 = ulx veto
54 = ulx vote
55 = ulx voteban
56 = ulx votebanminvotes
57 = ulx votebansuccessratio
58 = ulx votekick
59 = ulx votekickminvotes
60 = ulx votekicksuccessratio
61 = ulx votemap2
62 = ulx votemap2minvotes
63 = ulx votemap2successratio
64 = ulx votemapenabled
65 = ulx votemapmapmode
66 = ulx votemapmintime
67 = ulx votemapminvotes
68 = ulx votemapsuccessratio
69 = ulx votemapvetotime
70 = ulx votemapwaittime
71 = ulx welcomemessage
72 = ulx whip
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 (#=3):
3503685992:
deny:
name = Achexi
allow:
group = superadmin
1237871829:
deny:
name = alex
allow:
group = superadmin
1074126126:
deny:
allow:
name = Rychuko'
group = user


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


Active addons on this server:
Controllable Rollermine  by Ben Harris, version 1 (06/04/2009)
counter-strike           by Valve, version 1 (5th August 2006)
day-of-defeat            by Valve, version 1 (22nd August 2006)
DurgzMod                 by cheesylard, version 2.2 (14 February 2009)
EasyPrecision            by hunter, version 0.9a ((null))
fading_doors             by Lexi, version 1.1 (08/08/2010)
hl2_ep2                  by Valve, version 1 (29th October 2007)
portal                   by Valve, version 1 (29th October 2007)
RiotShield               by Donkie, Model by Arleitiss, version 1.1 (52)
RynO's CSS Weapons       by (null), version (null) ((null))
skinswitcher             by Mihara, version 0.1 (1st March 2008)
smartsnap                by Syranide, version 0.9.5 ()
Stacker STool            by -, version 2.2 (19th January 2007)
tf2                      by Valve, version 1 (29th October 2007)
ulib                     by Team Ulysses, version 2.4 (00/00/00)
ulx                      by Team Ulysses, version 3.50 SVN (00/00/00)
VehicleUpgrade           by Nova[X],Team Garry, version 2.5999 ()
WeightSTool              by Spoco, version 1.21 ((null))
zeno_clash               by ACE Team, version 1 (May 8th 2009)

There are no errors that come up. Just the fact that there is no user ranks, although the user.txt shows the ranks in there, its just not applied to server. Just before running this debug i deleted groups + misc.txt and restarted, added admin and restarted again to check but still had this problem. Im using SVN ulx + ulib. Tried the release. Same problem. And to make it clear. im not prone to failure. I used ULX on my last server without problems.

Edit by Megiddo: Changed quote to code tags
« Last Edit: October 23, 2010, 06:40:42 PM by Megiddo »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: ULX doesnt keep keep user rank on restart
« Reply #3 on: October 23, 2010, 05:20:35 PM »
I'm not exactly sure, but you seem to be pulling in a strange entry from your admins which may be causing a problem:
Code: [Select]
   ÿþ:
      allow:
      deny:

Are you using gmod's settings\users.txt file to add admins at all? Or just ULib's data\ULib\users.txt?
Since you only have 3 admins, maybe you could try deleting/moving/renaming both of those files (if they exist), restart your server, then readd your admins via "ulx adduser" and see if that helps?
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX doesnt keep keep user rank on restart
« Reply #4 on: October 23, 2010, 06:42:02 PM »
Run ulx debuginfo after you restart and show us the output.
Experiencing God's grace one day at a time.

Offline achexi

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: ULX doesnt keep keep user rank on restart
« Reply #5 on: October 24, 2010, 03:57:10 AM »
Yes sorry, i did try adding myself to gmods own user.txt because i heard ulx can also import that to it. Ill remove it and get you a debug.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX doesnt keep keep user rank on restart
« Reply #6 on: October 24, 2010, 07:51:04 AM »
Remember, we're trying to get a debug from you after you'd used adduser and after a server restart, when you state it's not working.
The last debug you gave us was after you'd used adduser, but before a restart, and it looks fine from what we can tell with exception of the part Stickly Man pointed out.

The default gmod/settings/users.txt is fine to use, and yes, ULX will follow it. Formatting is key with it though. A missing bracket or quotation mark can cause problems.
« Last Edit: October 24, 2010, 07:56:04 AM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline achexi

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: ULX doesnt keep keep user rank on restart
« Reply #7 on: October 25, 2010, 12:13:32 PM »
currently unable to obtain a debug. Just to update. it seems ALL servers running ULX with a darkrp mod have this issue so it needs to be addressed. Ive come across 4 servers so far all running SVN ulx and have this issue, so its not just me.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX doesnt keep keep user rank on restart
« Reply #8 on: October 25, 2010, 01:42:47 PM »
currently unable to obtain a debug. Just to update. it seems ALL servers running ULX with a darkrp mod have this issue so it needs to be addressed. Ive come across 4 servers so far all running SVN ulx and have this issue, so its not just me.

DarkRP modifies some core ULib and ULX code, so if there's a problem with it there's not a whole lot that I can do about it directly. I've been working with the latest DarkRP author to get the issue worked out, but I haven't had time to come to a full resolution with him yet. The DarkRP author has good intentions in modifying our code, we just need to find the core issue here...
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: ULX doesnt keep keep user rank on restart
« Reply #9 on: October 25, 2010, 01:59:04 PM »
And technically, that means it's DarkRP code is broken, not that ULX is broken.
We're used to Garry changing things in Gmod and having to work around it.
However, when another developer attempts to change ULib code functions, that means the issue is on the other developer.

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

Offline Fleamonji

  • Newbie
  • *
  • Posts: 45
  • Karma: 0
Re: ULX doesnt keep keep user rank on restart
« Reply #10 on: October 25, 2010, 03:11:00 PM »
DarkRP SVN has FAdmin, which has its own user group system.

That is the issue.