Author Topic: ULX not saving  (Read 8920 times)

0 Members and 1 Guest are viewing this topic.

Offline Exotic

  • Newbie
  • *
  • Posts: 6
  • Karma: -1
ULX not saving
« on: July 30, 2013, 04:42:19 AM »
Hey guys i'm new to this and when I go onto my DarkRP server and edit some settings in ulx such as un-enable god mode and stuff like that. When i'm done I restart the server and all the settings are back to default. That's it thanks for reading please let me know what you think and if you have an answer i'm willing to try it.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ULX not saving
« Reply #1 on: July 30, 2013, 04:43:40 AM »
Do you have the release or the SVN version of ULX? The release has some issues due to Garry messing up something in his file writing system. The latest version of ULX (The SVN version) has a fix for this.

Offline Exotic

  • Newbie
  • *
  • Posts: 6
  • Karma: -1
Re: ULX not saving
« Reply #2 on: July 30, 2013, 04:47:49 AM »
I think I have the normal ULX that installs without SVN, but I can try SVN, if you tell me what to do.      (It also says that the settings don't save if the server restarts at the bottom left, when i'm editing it.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ULX not saving
« Reply #3 on: July 30, 2013, 04:56:50 AM »
There are only about a thousand threads.. some of which are stickies on how to get the SVN version. Take a look around.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX not saving
« Reply #4 on: July 30, 2013, 08:41:52 PM »
The GMod settings are NOT saved by ULX. Only ULX settings are saved by ULX.
Experiencing God's grace one day at a time.

Offline Exotic

  • Newbie
  • *
  • Posts: 6
  • Karma: -1
Re: ULX not saving
« Reply #5 on: July 31, 2013, 12:43:38 AM »
I edit the settings that are in ulx.

Offline Exotic

  • Newbie
  • *
  • Posts: 6
  • Karma: -1
Re: ULX not saving
« Reply #6 on: July 31, 2013, 02:47:13 AM »
BUMP, sorry guys the SVN version did not work, it is still not saving.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ULX not saving
« Reply #7 on: July 31, 2013, 08:01:37 AM »
Like Megiddo said. GMod settings (which includes godmode) do not save in the ULX settings. Only things such as display MOTD and welcome message (ULX settings) save.

If you want to set GMod settings, you will need to add the convars to your server.cfg file.

Here are the convars for godmode and player damage..

sbox_godmode 0
sbox_playershurtplayers 1

Adding those 2 lines to your server.cfg would make serverwide godmode off and allow players to kill each other.

Offline Exotic

  • Newbie
  • *
  • Posts: 6
  • Karma: -1
Re: ULX not saving
« Reply #8 on: August 01, 2013, 03:47:16 AM »
what about the max settings for turrets and signs ?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX not saving
« Reply #9 on: August 01, 2013, 04:55:10 AM »
Those are still gmod settings, not ULX settings.
Experiencing God's grace one day at a time.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ULX not saving
« Reply #10 on: August 01, 2013, 05:38:13 AM »
Anything that starts with:

gm_
sbox_
g_

is a garry's mod setting and will need to be added using the server.cfg method.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX not saving
« Reply #11 on: August 01, 2013, 10:14:41 PM »
ULX has no capability to edit server.cfg, so, we don't try, or try to override it with our own settings.
We simply allow a quick edit while server is running.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Exotic

  • Newbie
  • *
  • Posts: 6
  • Karma: -1
Re: ULX not saving
« Reply #12 on: August 01, 2013, 11:01:03 PM »
what if the server you turn the server on then go. then the god mode is still on.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ULX not saving
« Reply #13 on: August 01, 2013, 11:22:47 PM »
Have you not been reading our replies?

You need to edit your server.cfg file. This file is in: garrysmod/config

You will need to add the settings to that file for having global godmode off and other standard things you wish to set at the time the server starts.

If you use ULX (XGUI) to edit any of these settings, they WILL NOT save and will be reset to the default when the server restarts.

Offline vdiddify

  • Newbie
  • *
  • Posts: 1
  • Karma: -1
Re: ULX not saving
« Reply #14 on: April 04, 2017, 06:23:21 PM »
I've been having this problem too, but I added the convars to my server.cfg along with sbox_noclip 0 and it worked like a charm! But, I still can't save the limits, such as emitters, vehicles, etc., so I was wondering if anyone knew what the commands for the server.cfg were to save the limits?