ULX

Author Topic: MOTD borked.  (Read 3978 times)

0 Members and 1 Guest are viewing this topic.

Offline superkyol

  • Newbie
  • *
  • Posts: 32
  • Karma: 2
MOTD borked.
« on: February 17, 2010, 02:07:58 AM »
Just updated to ULib Revision 102 and ULX revision 84.

For some reason the custom URL I put in "server.cfg" isn't coming up in the MOTD. It's showing the generic text file instead. It's always worked before.. or maybe I'm having a total brainfart. Any suggestions?

Thanks guys!

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: MOTD borked.
« Reply #1 on: February 17, 2010, 07:47:04 AM »
It's working fine for me, what did you set the value to, exactly?
Experiencing God's grace one day at a time.

Offline superkyol

  • Newbie
  • *
  • Posts: 32
  • Karma: 2
Re: MOTD borked.
« Reply #2 on: February 17, 2010, 07:51:24 AM »
Code: [Select]
ulx showMotd kyol.ca/tsc/rules.htm
That's what it's always been, but in this new revision it refuses to work for some reason.. hmm. I've had to just manually add the page's HTML contents into the motd.txt and that seems to work fine.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: MOTD borked.
« Reply #3 on: February 17, 2010, 08:18:24 AM »
Odd, that URL works fine for me. I updated the server.ini in a recent revision, perhaps it reset your config?
Experiencing God's grace one day at a time.

Offline superkyol

  • Newbie
  • *
  • Posts: 32
  • Karma: 2
Re: MOTD borked.
« Reply #4 on: February 17, 2010, 09:32:15 AM »
AUGH! Still broken. I'm noticing that the server is not making any changes at all from server.cfg.. For example when I check "ulx rslots" in the server it says it's set to 2, but I set it to 3 in the server.cfg, so it appears to be ignoring the file altogether. Yikes!

I have another question as well. :D

With this new revision, the server.cfg no longer contains the advert messages.. how can I disable the default ones and make my own now?

Thanks again. :)
« Last Edit: February 17, 2010, 09:42:56 AM by superkyol »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: MOTD borked.
« Reply #5 on: February 17, 2010, 09:46:07 AM »
The configs are being migrated to data/ulx/*
Experiencing God's grace one day at a time.

Offline superkyol

  • Newbie
  • *
  • Posts: 32
  • Karma: 2
Re: MOTD borked.
« Reply #6 on: February 17, 2010, 09:55:21 AM »
Well that would explain it.. lmao.

Thank you so much! :D

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: MOTD borked.
« Reply #7 on: February 17, 2010, 03:35:18 PM »
Also, server.cfg is different than server.ini
We use .ini to load settings
Gmod/Source server uses .cfg
Most cfg files load before the lua engine even starts.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline superkyol

  • Newbie
  • *
  • Posts: 32
  • Karma: 2
Re: MOTD borked.
« Reply #8 on: February 17, 2010, 05:14:37 PM »
Sorry, I meant the server.ini file in the ulx folder.  :X

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: MOTD borked.
« Reply #9 on: February 17, 2010, 07:20:22 PM »
No problem. Just making sure you knew.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline superkyol

  • Newbie
  • *
  • Posts: 32
  • Karma: 2
Re: MOTD borked.
« Reply #10 on: February 17, 2010, 09:02:53 PM »
Regardless, the changes don't appear to be sticking, so I've had to just manually set "ulx showMotd" in my server.cfg (not ulx's server.ini) and then my address and that seems to work.