Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Polishhotdog on August 08, 2010, 05:08:42 PM

Title: Problem with the ULX MOTD
Post by: Polishhotdog on August 08, 2010, 05:08:42 PM
Hello, i'm currently running a Gmod server with the gamemode Trouble in Terrorist Town, it is also running the ULX admin mod. I've been trying to get the MOTD working but it simply refuses to work. I've edited the ulx_motd file to have my MOTD in it but when on the server typing !motd wont make it show up. I also want it to show up as soon as someone joins the server. I've alos tried adding the motdfile command and set it to "motdfile ulx_motd"

Also, here is a link to the MOTD, i might've gotten the HTML wrong: http://pastebin.com/wJ3Y3xk1
Title: Re: Problem with the ULX MOTD
Post by: Stickly Man! on August 08, 2010, 05:16:22 PM
Hmm, worked fine for me-- Are you sure you stuck your ulx_motd.txt file in the garrysmod/ folder and NOT in garrysmod/addons/ulx/?
And are you sure you set ulx_showMotd (on the server) to 1?
Do you get any server/client console errors when you type !motd?
Title: Re: Problem with the ULX MOTD
Post by: Polishhotdog on August 08, 2010, 05:29:18 PM
I set showmotd to 1 and when i type !motd nothing happens. There are 2 MOTD files though..

Theres on in Garrysmod/ called ulx_motd.txt
and another in Garrysmod/addons/ULX/ called ulx_motd.txt
Title: Re: Problem with the ULX MOTD
Post by: JamminR on August 08, 2010, 06:44:59 PM
Uh, just reviewing your html quickly, yes, it's broken. Badly.

Now, as to whether or not that would affect it from showing during a non-Sandbox custom made gamemode, I'm not sure.
I've had no experience with Steam's new webkit (nor am I even sure Gmod is using yet, I think it is).

Should really check your server console for errors when players join or run "ulx motd" from client console or "!motd" from chat.
Check all three.

Title: Re: Problem with the ULX MOTD
Post by: Fuskare01 on August 09, 2010, 08:00:40 AM
Your HTML is really messy :P
Looked through it and here's a version that should work:
http://pastebin.com/srM69sWD (http://pastebin.com/srM69sWD)
Read the commented sections (<!-- -->) for suggestions.

Also, this page might help: http://www.w3schools.com/html/default.asp (http://www.w3schools.com/html/default.asp)
And learning CSS is very good for styling your pages: http://www.w3schools.com/css/default.asp (http://www.w3schools.com/css/default.asp)
(Note that external stylesheets doesn't seem to work with the motd.txt, try a <meta name="refresh" content="0;myRealPage.html" />)
Title: Re: Problem with the ULX MOTD
Post by: Polishhotdog on August 13, 2010, 10:01:38 PM
Your HTML is really messy :P
Looked through it and here's a version that should work:
http://pastebin.com/srM69sWD (http://pastebin.com/srM69sWD)
Read the commented sections (<!-- -->) for suggestions.

Also, this page might help: http://www.w3schools.com/html/default.asp (http://www.w3schools.com/html/default.asp)
And learning CSS is very good for styling your pages: http://www.w3schools.com/css/default.asp (http://www.w3schools.com/css/default.asp)
(Note that external stylesheets doesn't seem to work with the motd.txt, try a <meta name="refresh" content="0;myRealPage.html" />)

I tried your MOTD in the link and it still isnt working, i called it motd.txt and placed it in server/garrysmod/ and its still not working.

PS. I wasnt the one who made the HTML, one of my friends did.
Title: Re: Problem with the ULX MOTD
Post by: JamminR on August 14, 2010, 07:50:26 AM
For ulx to see it, name it ulx_motd.txt and place it in the gmod root.
Also, if you're running a listen server, I'm pretty sure the host doesn't see it when starting up the server/joining.
Title: Re: Problem with the ULX MOTD
Post by: Polishhotdog on August 14, 2010, 06:01:34 PM
I renamed the file to ulx_motd.txt and also placed ulx_ShotMotd "1" into the servers CFG but it's still not showing up. Is it something to do with the gamemode?
Title: Re: Problem with the ULX MOTD
Post by: JamminR on August 14, 2010, 08:18:16 PM
Possibly, easiest way to test is start a game in sandbox mode.
Other than that, I'm lost at this point.
Title: Re: Problem with the ULX MOTD
Post by: Polishhotdog on August 14, 2010, 10:20:18 PM
Well i spoke to a friend who also has a server running ULX and apparently he told me that the version of ULX that i had didn't support TTT Or something like that, so he changed it to the SVN version and guess what, It works now! :D

So the problem was an outdated version of ULX. Thanks for all of the help though.