ULX

Author Topic: Need help with making myself superadmin  (Read 15376 times)

0 Members and 11 Guests are viewing this topic.

Offline Connor

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: Need help with making myself superadmin
« Reply #15 on: December 23, 2009, 11:45:01 AM »
Your server provider should offer a web based console, or you can use rcon.

Is it called the RCON Client?

Offline strvare

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Need help with making myself superadmin
« Reply #16 on: December 23, 2009, 01:41:27 PM »
What you pasted is from settings/users.txt, if you put that into data/ulib/users.txt, you did it incorrectly. The best method is to simply remove the data/ulib folder and to type "ulx adduser your_name superadmin" in the server console while you're connected to the server.

okey i have the normal srcds thin and im hosing from my laptop and when i type ulx adduser (myname) superadmin it ust say
Invalid group! why help me !

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Need help with making myself superadmin
« Reply #17 on: December 23, 2009, 02:34:23 PM »
http://wiki.garrysmod.com/?title=Admin
It explains server/client console, and 'rcon' for how to get to server console.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Need help with making myself superadmin
« Reply #18 on: December 23, 2009, 02:37:17 PM »
Connor, I've deleted your bumps. Didn't realize you'd done it or I would have banned you before answering.
We're not an instant message forum provider. We're busy enough with real life work/school, during the holidays like now/Christmas, add family functions on to that.
Don't poke again unless it's been several weeks.

Additionally, See our FAQs section. It answers many of your questions about how to add yourself in multiple ways.
http://forums.ulyssesmod.net/index.php/board,30.0.html
If you don't understand difference between 'server' and 'client' console, you may not be ready to host a server.
Though an admin mod makes things quicker to perform, you should always know and understand how to kick/ban a player without having to use an admin mod... Lua will break, and sometimes, Lua will be exploited. If you know base commands through rcon or server console, you stand a greater chance of regaining control.
« Last Edit: December 23, 2009, 02:43:09 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Connor

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: Need help with making myself superadmin
« Reply #19 on: December 23, 2009, 02:50:54 PM »
Connor, I've deleted your bumps. Didn't realize you'd done it or I would have banned you before answering.
We're not an instant message forum provider. We're busy enough with real life work/school, during the holidays like now/Christmas, add family functions on to that.
Don't poke again unless it's been several weeks.

Additionally, See our FAQs section. It answers many of your questions about how to add yourself in multiple ways.
http://forums.ulyssesmod.net/index.php/board,30.0.html
If you don't understand difference between 'server' and 'client' console, you may not be ready to host a server.
Though an admin mod makes things quicker to perform, you should always know and understand how to kick/ban a player without having to use an admin mod... Lua will break, and sometimes, Lua will be exploited. If you know base commands through rcon or server console, you stand a greater chance of regaining control.

Sorry I didn't realize that wasn't allowed or bannable. Thanks for your help.

Offline Connor

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: Need help with making myself superadmin
« Reply #20 on: December 23, 2009, 03:22:06 PM »
Connor, I've deleted your bumps. Didn't realize you'd done it or I would have banned you before answering.
We're not an instant message forum provider. We're busy enough with real life work/school, during the holidays like now/Christmas, add family functions on to that.
Don't poke again unless it's been several weeks.

Additionally, See our FAQs section. It answers many of your questions about how to add yourself in multiple ways.
http://forums.ulyssesmod.net/index.php/board,30.0.html
If you don't understand difference between 'server' and 'client' console, you may not be ready to host a server.
Though an admin mod makes things quicker to perform, you should always know and understand how to kick/ban a player without having to use an admin mod... Lua will break, and sometimes, Lua will be exploited. If you know base commands through rcon or server console, you stand a greater chance of regaining control.

Hey I got myself added as a superadmin now. When I join the server it says that I am a member of the 'superadmin' group. BUT I don't have any ulx powers and when I try them it says that I don't have access to this command. Please help.

Offline LiveTrash

  • Newbie
  • *
  • Posts: 18
  • Karma: -2
Re: Need help with making myself superadmin
« Reply #21 on: December 23, 2009, 04:40:02 PM »
HLSW is a great program to access RCON. Here are some basic steps for setting it up to run with your server:

1) Open your server configuration file in "cfg/server.cfg" and add in the following line:    rcon_password "PASSWORD"  //[Replace PASSWORD with desired RCON access password]
2) Save the file and allow it to re-upload to the server and restart the server for changes to take effect
3) Download HLSW from here
4) Install & open the program
5) At the top of the window, you will see IP/Port. Enter your server's IP.
6) In a small window below that, you will see your server's name when you correctly enter the IP of your server.
7) Click your server's name so it is highlighted and above that, click the tab that says "Administration" and then at the bottom of the window "Rcon Config"
8 ) In the text box that says "Rcon Password", enter the password that you put into your server.cfg file and click Test. A green OK should appear letting you know the password is correct.
9) Click the "Console" tab at the bottom of the window and enter the ULX command you are using to make yourself superadmin, or any other ULX command you wish.
10) That's it, you're done. HLSW can be also used for Chat by clicking the "Chat" tab.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Need help with making myself superadmin
« Reply #22 on: December 23, 2009, 05:16:24 PM »
says that I am a member of the 'superadmin' group. BUT I don't have any ulx powers
Ok, you've properly added yourself to the Gmod default users.txt in /settings/users.txt
That message is by Gmod, not ULX.
Normally, ULib will read that file and match access for it.
However, it sounds like you just started putting files anywhere in hopes to fix your issue previously and might have gotten something broken.
Try this.
Shut your server down.
Leave gmod/settings/users.txt as is (because Gmod sees you as super)
Delete gmod/data/ULib
Restart server.
Rejoin server.
Do a ulx who from game console, see if ULX sees you as a superadmin.
If not, follow the FAQ we have for "having trouble with access"
If it does list you as superadmin, and you try a command and it doesn't work, which one are you trying, and from where?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Connor

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: Need help with making myself superadmin
« Reply #23 on: December 23, 2009, 06:15:17 PM »
Hey I got myself added as a superadmin now. When I join the server it says that I am a member of the 'superadmin' group. BUT I don't have any ulx powers and when I try them it says that I don't have access to this command. Please help.

I have followed all of the steps in the "Having trouble with access?" FAQ for this. I have Ulib installed correctly, I have done everything. When I join my server it says that I am a member of the superadmin group. When I use the command !menu within the first 5 seconds I have been on server, it takes me to it. Everything is there, client menu, bans menu, maps menu, admin menu,  but nothing works. For example: I go into the 'clients' menu, but it does not let me do anything with it. If I try to God myself it says "You do not have access to this commad ^2-=Conn-Marley=-". After about 5 seconds that I have been on, I try to acces the !menu again, and all that is there is 'client' and 'motd'.  Here is what my users.txt says:

"Users"
{
   "superadmin"
   {
      "^2-=Conn-Marley=-"         "STEAM_0:1:27600232"
   }

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

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Need help with making myself superadmin
« Reply #24 on: December 23, 2009, 10:07:40 PM »
You didn't follow the step regarding debuginfo.
You must be connected, the command must be run using rcon or from server console (web control panel)
Please follow it. Once complete, since you're using a web host, you may not see the reply after the command is run.
Look in your server's gmod/data/ULX folder for the file it creates.
Use the attach function within "additional options" link when you reply.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Connor

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: Need help with making myself superadmin
« Reply #25 on: December 24, 2009, 10:55:38 AM »
You didn't follow the step regarding debuginfo.
You must be connected, the command must be run using rcon or from server console (web control panel)
Please follow it. Once complete, since you're using a web host, you may not see the reply after the command is run.
Look in your server's gmod/data/ULX folder for the file it creates.
Use the attach function within "additional options" link when you reply.

When I type debuginfo in the rcon console it says "Unknown command "debuginfo"

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Need help with making myself superadmin
« Reply #26 on: December 24, 2009, 11:19:46 AM »
When I type debuginfo in the rcon console it says "Unknown command "debuginfo"

Use the command "ulx debuginfo"
Experiencing God's grace one day at a time.

Offline Connor

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: Need help with making myself superadmin
« Reply #27 on: December 24, 2009, 11:45:22 AM »
Use the command "ulx debuginfo"

Alright I did it and it gave me this: "Debug information written to garrysmod/data/ulx/debugdump.txt on server."
I looked in C:/Programfiles(x86)/Steam/Steamapps/(myname)/garrymod/data/ And there is no ULX folder inside of data. Did install ULX wrong? I installed and extracted it into garrysmod/garrysmod/addons. Sorry for the trouble guys I know the file structure and everything else I'm just having a hard time with this.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Need help with making myself superadmin
« Reply #28 on: December 24, 2009, 11:59:50 AM »
It saved the file on the server, not your client.
Experiencing God's grace one day at a time.

Offline Connor

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: Need help with making myself superadmin
« Reply #29 on: December 24, 2009, 12:14:28 PM »
It saved the file on the server, not your client.

Okay I got it. I attached it.