Author Topic: Removing the ULX MOTD?  (Read 22115 times)

0 Members and 3 Guests are viewing this topic.

Offline xXBryanXx

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Removing the ULX MOTD?
« on: January 16, 2014, 04:31:37 PM »
I have a custom MOTD that I am trying to replace the default ULX MOTD with and I want to use the same command (!motd). When I disable the ULX motd, it disables the entire !motd command. I tried going into the ulx files and changing the ULX command to !umotd, but that didn't work. If anyone knows how to do this, please tell me. Thanks.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Removing the ULX MOTD?
« Reply #1 on: January 16, 2014, 05:02:48 PM »
Put the motd you want under garrysmod_root/ulx_motd.txt.
Experiencing God's grace one day at a time.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Removing the ULX MOTD?
« Reply #2 on: January 16, 2014, 05:18:01 PM »
You mean a full on custom motd, or just one you wrote?
Out of the Garry's Mod business.

Offline xXBryanXx

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Removing the ULX MOTD?
« Reply #3 on: January 16, 2014, 05:49:44 PM »
You mean a full on custom motd, or just one you wrote?

It is a full on custom MOTD with derma panels etc.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Removing the ULX MOTD?
« Reply #4 on: January 16, 2014, 08:14:27 PM »
Ah sorry, I misunderstood. You should be able to remove lua/ulx/modules/cl/motdmenu.lua to disable the ULX MOTD.
Experiencing God's grace one day at a time.

Offline xXBryanXx

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Removing the ULX MOTD?
« Reply #5 on: January 17, 2014, 12:59:45 PM »
I removed motdmenu.lua and it removes the ULX motd, but it seems like it's still interfering with my custom motd because nothing shows up now when I type !motd.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Removing the ULX MOTD?
« Reply #6 on: January 17, 2014, 05:46:00 PM »
How did you register "!motd"?
Experiencing God's grace one day at a time.

Offline xXBryanXx

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Removing the ULX MOTD?
« Reply #7 on: January 18, 2014, 11:34:12 AM »
How did you register "!motd"?

What do you mean by that?

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Removing the ULX MOTD?
« Reply #8 on: January 18, 2014, 11:45:05 AM »
What do you mean by that?

You need to add the command "!motd".
Out of the Garry's Mod business.

Offline xXBryanXx

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Removing the ULX MOTD?
« Reply #9 on: January 18, 2014, 12:31:27 PM »
You need to add the command "!motd".

To my custom MOTD? The command is already added to that.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Removing the ULX MOTD?
« Reply #10 on: January 18, 2014, 03:17:28 PM »
To my custom MOTD? The command is already added to that.

How? Share the code.
Experiencing God's grace one day at a time.

Offline xXBryanXx

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Removing the ULX MOTD?
« Reply #11 on: January 18, 2014, 06:12:38 PM »
How? Share the code.

I purchased the MOTD from someone else. I have the code, but changing the command is in a config file which then links to another file which puts it into effect. I can show you the code for the config file, if that would be of any use.

It seems to me, that ulx still is trying to use the ULX motd, and doesn't let anything else use the !motd command.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Removing the ULX MOTD?
« Reply #12 on: January 18, 2014, 10:15:07 PM »
I purchased the MOTD from someone else. I have the code, but changing the command is in a config file which then links to another file which puts it into effect. I can show you the code for the config file, if that would be of any use.

It seems to me, that ulx still is trying to use the ULX motd, and doesn't let anything else use the !motd command.

No. It sounds like you're simply not registering it as a command.
Experiencing God's grace one day at a time.

Offline xXBryanXx

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Removing the ULX MOTD?
« Reply #13 on: January 19, 2014, 08:53:14 AM »
No. It sounds like you're simply not registering it as a command.

I change the command to something else such as !motdu and it works. !motd does not work.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Removing the ULX MOTD?
« Reply #14 on: January 20, 2014, 07:25:53 AM »
The command is registered in ulx/modules/sh/menus.lua, but it's only registered if the motdmenu.lua exists.
Experiencing God's grace one day at a time.