Author Topic: What's wrong with my MOTD?  (Read 1657 times)

0 Members and 1 Guest are viewing this topic.

Offline agorman00

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
What's wrong with my MOTD?
« on: July 29, 2014, 12:29:22 PM »
So, I've tried making a link to my rules in the forums as my MOTD, but for some reason, the MOTD just disappeared completely.

Here's my code:

ulx.motdmenu_exists = true

local isUrl
local url

<!DOCTYPE html>
<html>
<head>
<title>DobisPR</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Refresh" content="0;url=http://freerealestateserver.weebly.com/forums.html#/20140620/rules-62014-4026831/">
</head> 
</html>

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: What's wrong with my MOTD?
« Reply #1 on: July 29, 2014, 12:34:45 PM »
Why haven't you just set the URL for the MOTD in the ULX menu? (Settings tab)

Look at this image, but instead click the box for "Get MOTD from URL instead of motd.txt" and put your URL in there. (Thank you MrPresident for the image)
« Last Edit: July 29, 2014, 12:37:51 PM by Decicus »
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline agorman00

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: What's wrong with my MOTD?
« Reply #2 on: July 29, 2014, 01:17:28 PM »
I get this error whenever I do !motd

[Fergie|5|STEAM_0:0:44587991] Lua Error:

[ERROR] lua/includes/modules/net.lua:30: Received bad RPC, invalid function (ulx.showMotdMenu)!
1. func - [C]:-1
2. unknown - lua/includes/modules/net.lua:30

« Last Edit: July 29, 2014, 01:22:21 PM by agorman00 »