ULX

Author Topic: Setting myself as admin simply won't work.  (Read 12046 times)

0 Members and 1 Guest are viewing this topic.

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Setting myself as admin simply won't work.
« on: October 04, 2008, 01:21:15 PM »
Please don't hurt me, I tried everything to set myself as admin. I can't access SCRDS because I'm using an unusual server, but I tried to RCON it and it says "group is set", but when I try to use !menu or things like that, it doesn't work. Could anyone please help me out?

Thanks.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Setting myself as admin simply won't work.
« Reply #1 on: October 04, 2008, 07:11:13 PM »
See http://forums.ulyssesmod.net/index.php/topic,383.0.html
We'll know when you've truly followed every step in that.
Trust me. :)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Re: Setting myself as admin simply won't work.
« Reply #2 on: October 09, 2008, 06:08:16 PM »
I read the readme. Nothing new. I've double checked my Steam ID; it's fine. I read the playergroups thing, again, nothing new.

When I join I get this:

Quote
[UCL] Access set.
Hey 'failcake' - You're in the 'superadmin' group on this server.
This server is running Spacetech's Pet Mod. Type /spm for available commands
Welcome to Failcake's Winter Survival Server! We're playing gm_construct.
|FP| Failcake: !menu
You do not have access to this command, |FP| Failcake.

I tried "ulx debug" in console, but again, "You do not have access to this command, |FP| Failcake."

How is the users.txt file in garrysmod/data/ULib supposed to look? Mine is this:

Quote
//ATTENTION! This is a default file. DO NOT EDIT THIS FILE!!!
//Instead, edit the version in <garrysmod root>/data/ULib/users.txt if it exists. If it doesn't, copy this file over to create it.
//IF YOU MAKE CHANGES TO THIS FILE THEY WILL BE ERASED!

There's nothing else in there. Do I need to bring the users.txt like the one in my garrysmod/settings directory text to the bottom of that? Like it says, if it doesn't exist, copy that file over there to create it, which I did. But I'm a bit confused.

This is probably important: There are no admins in the ULX yet, I'm just trying to add myself. For some reason I have ULX in singleplayer, and that works, but the one on my server doesn't. It's an online server, just incase that needs to be known.

Thanks.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Setting myself as admin simply won't work.
« Reply #3 on: October 09, 2008, 06:30:13 PM »
Is this a listen server?
Experiencing God's grace one day at a time.

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Re: Setting myself as admin simply won't work.
« Reply #4 on: October 09, 2008, 06:36:55 PM »
I'm sorry... but what's a listen server?

Edit: I'm paying bloodservers.com to host my server for me.
« Last Edit: October 09, 2008, 06:40:49 PM by iBurnPuppies »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Setting myself as admin simply won't work.
« Reply #5 on: October 09, 2008, 06:55:22 PM »
I tried "ulx debug" in console
It's "ulx debuginfo"
You must run this from your server console, not the game. You're web host should have one.
If not, use rcon. It will place a file in /data/<i forget where under there>

This server is running Spacetech's Pet Mod. Type /spm for available commands
If an older version of Pet mod, it may be grabbing chat commands. Have you tried them from game console? "ulx <command>"

There's nothing else in there. Do I need to bring the users.txt like the one in my garrysmod/settings directory text to the bottom of that?
NO. Don't copy gmod/settings/users.txt to gmod/data/ULib/users.txt
IF you do anything, copy gmod/addons/ULib/data/ULib/users.txt to /gmod/data/ULib/users.txt, but, even that shouldn't be necessary.
Once you've properly run adduser from game console, that file should get created automatically (and I believe even if not added any users.
As our file in addons states, never edit any of the addon folders/files. Those become virtual when Gmod is run.
If editing anything, make sure its gmod/<folder that would normally be under addons/modname>
Still, other than placing a motd.txt in gmod/ and an edited server.ini in gmod/cfg, we don't recommend editing any of our files.

I'm just trying to add myself. For some reason I have ULX in singleplayer, and that works
Do you have the pet mod, or any other script that monitors chat commands, in singleplayer?
We've seen many scripts that monitor chat commands break ours due to bad programming practice (usually inexperience)

Megiddo...
It's an online server,
I take that as being dedicated.

Listen = server run from a game "Create multiplayer" option.
Dedicated = run from an srcds.exe application, either through a host or from another pc.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Re: Setting myself as admin simply won't work.
« Reply #6 on: October 09, 2008, 07:19:22 PM »
I tried "ulx debuginfo" through rcon, but from what I could tell, I didn't see a file added in data. I'm not too sure where to look for that though. Even in console the commands didn't work. I actually already tried editing the users.txt in data, so I think that part is screwed. I currently have ASSMod installed on my server, but that doesn't use chat commands. I'm pretty sure there are no chat commands at the moment, except for Petmod. But again, the console commands didn't work.

I'm going to try reinstalling ULX and ULib to see if that does it, because I have messed with the files a bit, trying to fix them. From what I could gather, I need to delete the folders under Data and Addons, then just re-add them in Addons. Is this correct? I'm also going to delete petmod, just incase.

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Re: Setting myself as admin simply won't work.
« Reply #7 on: October 09, 2008, 08:00:14 PM »
Ah, here we go... debugdump.txt!

By the way, I didn't reinstall anything yet...

Quote
ULX version: 3.30
ULib version: 2.20
Gamemode: Sandbox
Map: gm_construct
Dedicated server: true

Currently connected players:
Nick                            steamid            id lsh created
|FP| Failcake                   STEAM_0:0:8169046  1  n   3175
ÄŠÅžâ„¢|DisasteR!               STEAM_0:1:18020999 3  n   3900
rctfanatic110                   STEAM_0:1:20160700 4  n   1280
mk12121                         STEAM_0:1:19528832 5  n   4161
msullivan                       STEAM_0:0:8660480  6  n   4127
»møω«Ąřćħőʼn|ĞôĐ.â‚ STEAM_0:1:16349209 7  n   4159


ULib.ucl.users (#=1):
   mk12121:
      deny:
      type   =   steamid
      groups:
         1   =   superadmin
      id   =   STEAM_0:1:19528832
      pass   =   
      allow:


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


ULib.ucl.authed (#=14):
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   superadmin
      id   =   
      account   =   |FP| Failcake
      acl:
         allow:
         deny:
      uniqueid   =   2077612073
   Player [4][rctfanatic110]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   rctfanatic110
      acl:
         allow:
         deny:
      uniqueid   =   1953764991
   Player [5][mk12121]:
      deny:
      type   =   steamid
      groups:
         1   =   superadmin
         2   =   user
      account   =   mk12121
      id   =   STEAM_0:1:19528832
      allow:
      uniqueid   =   3879029419
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   shadowolf_12
      acl:
         allow:
         deny:
      uniqueid   =   2413597891
   Player [NULL]:
      deny:
      type   =   steamid
      groups:
         1   =   superadmin
      account   =   mk12121
      id   =   STEAM_0:1:19528832
      allow:
      uniqueid   =   3879029419
   Player [7][»møω«Ąřćħőʼn|ĞôĐ.â‚]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   Â»møω«Ąřćħőʼn|ĞôĐ.â‚
      acl:
         allow:
         deny:
      uniqueid   =   872854568
   Player [6][msullivan]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   msullivan
      acl:
         allow:
         deny:
      uniqueid   =   4045799672
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   Â»møω«Ąřćħőʼn|ĞôĐ.â‚
      acl:
         allow:
         deny:
      uniqueid   =   872854568
   Player [1][|FP| Failcake]:
      type   =   guest
      groups:
         1   =   user
         2   =   superadmin
      id   =   
      account   =   |FP| Failcake
      acl:
         allow:
         deny:
      uniqueid   =   2077612073
   Player [3][ÄŠÅžâ„¢|DisasteR!]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   ÄŠÅžâ„¢|DisasteR!
      acl:
         allow:
         deny:
      uniqueid   =   660760248
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   King Bean
      acl:
         allow:
         deny:
      uniqueid   =   2445919654
   Player [NULL]:
      deny:
      type   =   steamid
      groups:
         1   =   superadmin
         2   =   user
      account   =   mk12121
      id   =   STEAM_0:1:19528832
      allow:
      uniqueid   =   3879029419
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   Â»møω«Ąřćħőʼn|ĞôĐ.â‚
      acl:
         allow:
         deny:
      uniqueid   =   872854568
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   msullivan
      acl:
         allow:
         deny:
      uniqueid   =   4045799672


Garrysmod default file (#=2):
   admin:
   superadmin:
      failcake   =   STEAM_0:0:8169046


Active addons on this server:
Adv Duplicator           by TAD2020, version 1.8359 (July 5th 2007)
assmod                   by Andy Vincent, version 2.2 (28th February 2008)
Buoyancy Tool            by RabidToaster, version 1.1 (4th May 2008)
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)
Extra_Npcs               by Creatmind, version 1 ()
gm_botmap_v2             by thingshappen & sleepy, version 2 (22/06/08)
hl2_ep2                  by Valve, version 1 (29th October 2007)
itemmod                  by morten8035 - mortennp - morten123, version 4 (24.4.2008)
keypad                   by Robbis_1 (aka Killer HAHA), version 1.2999 (7th February 2007)
Kuno's Cars              by kuno86/kuno_knast, version 1 (n/a)
military                 by illkid & 1/4 Life, version 1 (2nd December 2006)
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 ()
Paintball_sweps          by blackops7799, version 4 (April 18 2007)
phx2                     by PhoeniX-Storms, 1/4 Life, scragnog, Das Great, PelPix, version  (10th January 2008)
Player possessor         by (FPtje) Falco, version 1.5 (yesterday)
portal                   by Valve, version 1 (29th October 2007)
rp_npc_v2.6              by HuntsKikBut/TheDragon, version 2.5999 (Saturday, August 18, 2007)
Simple Prop Protection   by Spaceetech, version  ()
Spacetechs Pet Mod       by Spacetech, version  ()
Stacker STool            by -, version 2.2 (19th January 2007)
tf2                      by Valve, version 1 (29th October 2007)
ulib                     by Team Ulysses, version 2.2 (01/26/08)
ulx                      by Team Ulysses, version 3.2999 (01/26/08)
Voice Menu               by SuperU, version 1.5 (Yesterday)
WeightSTool              by Spoco, version 1.21 ((null))
wintersurvival           by Night-Eagle, version 289 ((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)
« Last Edit: October 09, 2008, 08:03:16 PM by iBurnPuppies »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Setting myself as admin simply won't work.
« Reply #8 on: October 09, 2008, 08:06:17 PM »
Your users file for ULib/ULX are really messed up.
shut down server.
Delete and re-install gmod/addons/ULib and ULX (You've said you've edited files..I'm not sure where all you have. So, just delete and re-install)
Delete gmod/data/ULib and gmod/data/ulx
Leave gmod/settings/users.txt as is for now
Restart server.
Rejoin server
This should fix  you as a superadmin. Though you'll have to add mk1212 back as an admin (or superadmin) as he's listed now.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Re: Setting myself as admin simply won't work.
« Reply #9 on: October 09, 2008, 08:18:38 PM »
YAY! Console commands are WORKING as I am set to superadmin on my server. However, the chat commands aren't working (I assume Petmod) but do you see anything in my debugdump that could cause that?

Edit: Nope, Petmod is gone and the chat commands are still broke. Console works though. But I'd really like chat commands.
« Last Edit: October 09, 2008, 08:25:15 PM by iBurnPuppies »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Setting myself as admin simply won't work.
« Reply #10 on: October 09, 2008, 08:42:13 PM »
I don't keep up much with the mod world.
Start either by finding out what mods you have that monitor for chat commands (besides ULX), or, remove all but ULX, test, then add each one back at a time.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Re: Setting myself as admin simply won't work.
« Reply #11 on: October 09, 2008, 08:46:36 PM »
Any idea on a quick way to find out which addons mess with chat commands?

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Re: Setting myself as admin simply won't work.
« Reply #12 on: October 09, 2008, 08:50:59 PM »
Nope, nevermind. Stupid Voice Menu. I got everything working.

Thanks man, you are simply a credit to ULX and all those guys. Thanks so much for all the help.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Setting myself as admin simply won't work.
« Reply #13 on: October 10, 2008, 03:05:54 PM »
Any idea on a quick way to find out which addons mess with chat commands?
Glad you found out the mod conflict.

If anyone else runs across chat conflict, try my second paragraph of this post - http://forums.ulyssesmod.net/index.php/topic,3686.msg12651.html#msg12651

Though for some reason that person's search never worked, it's how I look for various functions and commands when I need quick lookups in windows text code.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming