Author Topic: MOTD  (Read 3974 times)

0 Members and 1 Guest are viewing this topic.

Offline kaos2100

  • Newbie
  • *
  • Posts: 13
  • Karma: 2
MOTD
« on: October 03, 2012, 09:50:00 PM »
How would I make it so if I type !motd it would show up the steam in-game browser to go to a specific link?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: MOTD
« Reply #1 on: October 04, 2012, 05:45:33 PM »
ULX doesn't bring up a full steam browser, BUT, to bring up a URL, copy your server gmod/addons/ulx/data/config.txt to your gmod/data/ulx folder.
Then open it using a text editor, and change the motdfile setting from ulx_motd.txt to <the url you want to load>

Gmod's/ULX MOTD code may be broken at the moment, AND, it doesn't do well with dynamic code within the page (expandable div tags, etc)
Source ingame limitation I think, probably for security reasons.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline kaos2100

  • Newbie
  • *
  • Posts: 13
  • Karma: 2
Re: MOTD
« Reply #2 on: October 05, 2012, 01:01:02 AM »
I've tried redirecting it to a link, but it wouldn't work :(. Guess I have to wait for a fix from Garry?

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: MOTD
« Reply #3 on: October 05, 2012, 03:14:34 AM »
It is broken across the board. File or Website, it doesn't matter. We'll just have to wait for a fix, unless someone comes up with a workaround like last time.