ULX

Author Topic: Garrysmod rcon command quit not working ingame! please help  (Read 5458 times)

0 Members and 1 Guest are viewing this topic.

Offline PugzTheGamer

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Garrysmod rcon command quit not working ingame! please help
« on: September 27, 2015, 09:20:34 PM »
Hey Guys

I have a dedicated Garrysmod server and I really need your help. I need to know how to restart my Garrysmod server ingame. I can do exit in the server console and i quits and restarts fine and i have an auto restart file just in case the server crashes or stops.

I've tried doing "ulx rcon exit" and "rcon exit" and it says: game.consolecommand blocked! (exit)
 and i don't know what to do because i want to restart my server when i'm away from the server so i can update any addons i have on my server.

thanks hope you guys reply.
 

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Garrysmod rcon command quit not working ingame! please help
« Reply #1 on: September 28, 2015, 12:06:24 AM »
Certain commands are blocked from being run by proxy (using lua).

exit is one of those.

If you want an easier way to have access to your server console, take a look at a program called HLSW. If you set it up properly (and you have your server's RCON password), it'll give you access to your server's RCON from any computer you have HLSW running on.

I use it for my servers and I couldn't live without it.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Garrysmod rcon command quit not working ingame! please help
« Reply #2 on: September 28, 2015, 12:08:02 AM »
Or, if you want to do it from in game. Try this.

1. Open your console
2. Type 'rcon_address xx.xx.xx.xx'
3. Type 'rcon_password yourrconpasswordhere'
4. Type rcon quit

Offline PugzTheGamer

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Garrysmod rcon command quit not working ingame! please help
« Reply #3 on: September 28, 2015, 07:21:17 PM »
Or, if you want to do it from in game. Try this.

1. Open your console
2. Type 'rcon_address xx.xx.xx.xx'
3. Type 'rcon_password yourrconpasswordhere'
4. Type rcon quit


Thanks man!!

it worked! I typed in rcon_password xxxxxxx
and than I typed rcon exit and it worked!


ill look at that HLSW thing aswell thanks dude

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Garrysmod rcon command quit not working ingame! please help
« Reply #4 on: September 28, 2015, 08:04:58 PM »
I actually thought we did some magic that would allow some of the blocked commands using ulx rcon.
It's been so long though, I'm likely wrong.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline PugzTheGamer

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Garrysmod rcon command quit not working ingame! please help
« Reply #5 on: September 29, 2015, 01:43:21 PM »
Ok I looked at HLSW tool and I have some questions:

How do I set it up?
What can I do with it?
Can I access my game server files with HLSW?
Is it free?


Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Garrysmod rcon command quit not working ingame! please help
« Reply #6 on: September 29, 2015, 07:13:59 PM »
1. Download and install it. Then put in your server IP:Port in the program once you launch it. It'll show you (right away) the status of the server you put in. The players connected, latency to the server, etc. All public information from querying the server. You can then put your RCON password into the RCON tab, and then click the 'Get Log (Internet)' button to start streaming your server's console log to HLSW. This lets you see pretty much anything you'd normally see on your game console right in HLSW in the Console tab. You can also run console commands. It also let's you view and send chat messages to the server. You NEED to input the RCON password for console/chat features to work.

2. ^ Answered this is question #1. It's essentially a remote console program. Very VERY useful for server owners. Especially if you run more than 1 server as you can have as many servers in your server list with HLSW as you want and toggle through them.

3. No. You'll still need FTP or Remote Desktop to do this.

4. Yes it's 100% free. You don't need an account to use it either. When it asks you to log in when you launch the program, just click offline. The login thing is just a buddy list/friends thing they tried implementing which isn't supported anymore anyway.


If you have any other questions, feel free to ask. I've been using HLSW for years. I love it!

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Garrysmod rcon command quit not working ingame! please help
« Reply #7 on: September 29, 2015, 07:29:01 PM »
I made a short video tutorial on setting up HLSW. It's pretty simple and straight forward.

HLSW Configuration
« Last Edit: September 29, 2015, 07:31:16 PM by MrPresident »