ULX

Author Topic: Cannot disable Motd  (Read 2868 times)

0 Members and 1 Guest are viewing this topic.

Offline TheMr

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Cannot disable Motd
« on: March 21, 2013, 10:05:10 AM »
Hello there I'm having trouble disabling the motd feature on my server. I have deleted the ulx_motd.txt and disabled the part in config file that says

 "ulx showMotd 0; Set to 0 to disable showing motd on connect. Shows the file the cvar motdfile says to. Set to a URL to show a URL.
motdfile ulx_motd.txt ; The motd to show"

anyone got any ideas?
Thanks :)

Offline nathan736

  • Full Member
  • ***
  • Posts: 143
  • Karma: 4
Re: Cannot disable Motd
« Reply #1 on: March 21, 2013, 10:10:59 AM »
are you sure ulx showmotd is 0 when the server is runing ?
a person asked me how to code lua and i said this " its like building a rocket up side down then  realizing you did it all wrong."

Offline TheMr

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Cannot disable Motd
« Reply #2 on: March 21, 2013, 10:11:43 AM »
Well it's disabled on that config file, unless I need to disable it somewhere else?

Offline nathan736

  • Full Member
  • ***
  • Posts: 143
  • Karma: 4
Re: Cannot disable Motd
« Reply #3 on: March 21, 2013, 10:12:35 AM »
you never know  ;) the server might be reseting it to 1 for some reason can you check ? or are you not at a computer that can ?
a person asked me how to code lua and i said this " its like building a rocket up side down then  realizing you did it all wrong."

Offline TheMr

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Cannot disable Motd
« Reply #4 on: March 21, 2013, 10:13:55 AM »
I got it hosted on a dedi

Offline nathan736

  • Full Member
  • ***
  • Posts: 143
  • Karma: 4
Re: Cannot disable Motd
« Reply #5 on: March 21, 2013, 10:15:02 AM »
yeah thats fine but could you run in console  ulx showmotd and see what it gives back for output
a person asked me how to code lua and i said this " its like building a rocket up side down then  realizing you did it all wrong."

Offline TheMr

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Cannot disable Motd
« Reply #6 on: March 21, 2013, 10:17:54 AM »
Getting this

] ulx showmotd
]
"ulx showmotd" = "1"
 <0/1/(url)> - Shows the motd to clients on startup. Can specify URL here.
  CVAR generated by ULX

Offline nathan736

  • Full Member
  • ***
  • Posts: 143
  • Karma: 4
Re: Cannot disable Motd
« Reply #7 on: March 21, 2013, 10:21:38 AM »
well its 1 then so you did not turn it off umm did you actualy set ulx showmotd to 0 the non commented one  without ; or -- in frount of it
edit: added out D:
« Last Edit: March 21, 2013, 10:23:39 AM by nathan736 »
a person asked me how to code lua and i said this " its like building a rocket up side down then  realizing you did it all wrong."

Offline TheMr

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Cannot disable Motd
« Reply #8 on: March 21, 2013, 10:25:44 AM »
This is what I have changed it to in the config.txt

ulx showMotd 0; Set to 0 to disable showing motd on connect. Shows the file the cvar motdfile says to. Set to a URL to show a URL.
motdfile ulx_motd.txt ; The motd to show

its set to 0

Offline nathan736

  • Full Member
  • ***
  • Posts: 143
  • Karma: 4
#calling ullysses team >:D
« Reply #9 on: March 21, 2013, 10:43:50 AM »
erm cant help you anymore no idea on what is wrong probably something being reset  in the ulx gui
a person asked me how to code lua and i said this " its like building a rocket up side down then  realizing you did it all wrong."

Offline TheMr

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Cannot disable Motd
« Reply #10 on: March 21, 2013, 10:46:37 AM »
Ok well thanks anyway  ;D

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Cannot disable Motd
« Reply #11 on: March 21, 2013, 01:44:09 PM »
Something's setting it to 1. Check to make sure you don't have another line with "ulx showMotd 1" lower in the config or in other configs in garrysmod/cfg.
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: Cannot disable Motd
« Reply #12 on: March 21, 2013, 02:42:01 PM »
Which cfg did you edit?
If you edited the one in /addons/ulx/data/ulx/config.txt, you didn't follow the directions at the top of that file.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming