Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: jonasfallerdk on January 03, 2010, 09:39:45 AM

Title: Cannot get ULX MOTD to work.
Post by: jonasfallerdk 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.
Title: Re: Cannot get ULX MOTD to work.
Post by: Megiddo 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?
Title: Re: Cannot get ULX MOTD to work.
Post by: jonasfallerdk 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.
Title: Re: Cannot get ULX MOTD to work.
Post by: Megiddo 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?
Title: Re: Cannot get ULX MOTD to work.
Post by: Just a Human 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?
Title: Re: Cannot get ULX MOTD to work.
Post by: Megiddo 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?
Title: Re: Cannot get ULX MOTD to work.
Post by: MrPresident 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. *
Title: Re: Cannot get ULX MOTD to work.
Post by: JamminR 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
Title: Re: Cannot get ULX MOTD to work.
Post by: TwinbladeTM 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.
Title: Re: Cannot get ULX MOTD to work.
Post by: JamminR on February 12, 2010, 03:26:07 PM
If using SVN, ulx showMotd "http://yoursite.com/blah"
Title: Re: Cannot get ULX MOTD to work.
Post by: TwinbladeTM 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.
Title: Re: Cannot get ULX MOTD to work.
Post by: JamminR 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.
Title: Re: Cannot get ULX MOTD to work.
Post by: TwinbladeTM 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 :/