ULX

Author Topic: Cannot get ULX MOTD to work.  (Read 15767 times)

0 Members and 1 Guest are viewing this topic.

Offline jonasfallerdk

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Cannot get ULX MOTD to work.
« on: January 03, 2010, 09:39:45 AM »
I have been trying to get ULX MOTD to work for ages now so I decided to register on forums and see if I can get any help here.The problem is that the MOTD does not appear when you join the server.I have set ulx_showmotd to 1 in server.ini file in ulx/cfg folder.Also the ulx_motd text file in ulx folder.

Anyone have any idea why its not working,or provide some guidance how to get ULX MOTD to show up.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Cannot get ULX MOTD to work.
« Reply #1 on: January 03, 2010, 10:12:48 AM »
Is this a listen or dedicated server? If listen, I don't believe the motd will appear to the listen server host due to timing issues, but it still shows to everyone else. What version of ULX and ULib are you using?
Experiencing God's grace one day at a time.

Offline jonasfallerdk

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Cannot get ULX MOTD to work.
« Reply #2 on: January 04, 2010, 10:52:03 AM »
The server is a dedicated server and I am using latest SVN version of ULX.The thing is when I go !menu and then press MOTD it says that MOTD is disabled on this server or something like that.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Cannot get ULX MOTD to work.
« Reply #3 on: January 04, 2010, 04:05:52 PM »
Does the file garrysmod/cfg/server.ini exist? If so, does that instruct motd to be disabled? If you type 'ulx showmotd' in the server console, what does it say? Do you have any errors when the server is starting?
Experiencing God's grace one day at a time.

Offline Just a Human

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Cannot get ULX MOTD to work.
« Reply #4 on: January 30, 2010, 02:45:14 AM »
I've got very similar problem with my SVN ULX. The MOTD is just a Black window with grey frames and the Close Button. How do I make the MOTD show correctly? Or how can I make The MotD redirect to a web page?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Cannot get ULX MOTD to work.
« Reply #5 on: January 30, 2010, 07:38:30 AM »
I've got very similar problem with my SVN ULX. The MOTD is just a Black window with grey frames and the Close Button. How do I make the MOTD show correctly? Or how can I make The MotD redirect to a web page?

Do you have internet explorer installed on your computer? Are you running in wine?
Experiencing God's grace one day at a time.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Cannot get ULX MOTD to work.
« Reply #6 on: January 30, 2010, 10:19:07 AM »
You CAN make the MOTD point to a website.. in fact I found that this was easier to update the MOTD when it is on a website than to have it built into the game with a file (as it currently is)... however this requires modifying the client code for MOTD and isn't an easy switch.

*Idea... maybe for the SVN, Meg could add a check of sorts.. give people an options to use web MOTD in the config file and just run the appropriate client function based on an sv variable. *

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Cannot get ULX MOTD to work.
« Reply #7 on: January 30, 2010, 12:51:48 PM »
*Idea... maybe for the SVN, Meg could add a check of sorts.. give people an options to use web MOTD in the config file and just run the appropriate client function based on an sv variable. *
Already done. :D
Quote from: SVN ulx_readme.txt
   * [ADD] Ability to specify a URL in "ulx showMotd" to show a URL.
I'm not sure server.ini commands are running in SVN right now though. I know addGimp isn't, even though using addGimp works after ulx/Gmod map has completed loading

========================
appear when you join the server.
Dedicated server or Listen server? We've seen issues where the person hosting a Listen server can't see the motd.
If I remember correctly, this is more a Gmod issue than a ULX. Can other players joining see it?

I have set ulx_showmotd to 1 in server.ini file in ulx/cfg folder.Also the ulx_motd text file in ulx folder.
1) Shouldn't be editing addons/ulx/cfg .... save the edited file to /gmod/cfg/server.ini
2) I'm not sure server.ini commands are working in SVN right now. Forum posts here seem that though some of the commands in server.ini have been converted, only some are active when server.ini gets 'loaded.'
Try #1, you may be able to see it.
You may be able to verify the toggle from your server console after ULX is loaded.

Anyone have any idea why its not working,or provide some guidance how to get ULX MOTD to show up.
Source HTML is picky/tricky. Fancy HTML can break it. Much of it is due to security design, some of it for stabilty (so people don't complain to Valve when a TF2/CSS/whatever server hosts HTML crashes the game), some of it, in my opinion, due to bugginess (scroll bar bad texture checkerboards (not sure it still does that or not).

If you can place our default MOTD back and it work.. then something you're doing with your HTML, Source HTML interpreter doesn't like
« Last Edit: January 30, 2010, 01:05:17 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline TwinbladeTM

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: Cannot get ULX MOTD to work.
« Reply #8 on: February 12, 2010, 11:45:09 AM »
In regards to making the MOTD based off a web address, how do you set it up?  the Config file doesn't really explain it very well, I think.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Cannot get ULX MOTD to work.
« Reply #9 on: February 12, 2010, 03:26:07 PM »
If using SVN, ulx showMotd "http://yoursite.com/blah"
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline TwinbladeTM

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: Cannot get ULX MOTD to work.
« Reply #10 on: February 13, 2010, 01:35:30 AM »
it still doesn't seem to work for me :/  In the ULX/cfg/server.ini file I've changed it from ulx showmotd 1 to ulx showmotd "www.blahdeblah.com/blah.html"  it still does not want to show up for some reason.
« Last Edit: February 13, 2010, 02:04:59 AM by TwinbladeTM »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Cannot get ULX MOTD to work.
« Reply #11 on: February 13, 2010, 09:14:55 AM »
SVN is currently the only version set up to do that? Are you running SVN?
If running SVN, I'll have to do some testing... I know many of my server.ini commands give error at startup... the Lua/ULX engine may not be ready for ulx commands by time it gets run yet in SVN.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline TwinbladeTM

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: Cannot get ULX MOTD to work.
« Reply #12 on: February 13, 2010, 10:50:31 AM »
Yes, I'm running the SVN, I'll update it just to make sure something isn't broken on my end.  But looking at the motdmenu.lua, it mentions URL...but not being a coder, it looks like greek to me :/