MjcMOTD - Very Basic

MjcMOTD

A very simple/basic MOTD with 2 buttons. Its very simple and easy to use. If there are any errors please post a comment with the lua error and i be glade to help.

**
Ingame screenshot**

Installation

Drag & Drop MjcMOTD folder into “garrysmod/addons/”

Download

https://garrysmods.org/download/13787/button.png

Versions
1.0
Initial Release
1.1
Added Simple Confiig
Added HTML Support
1.1A
Fixed client config lua error
**2.0
**Massive Update Whole UI Change and much more
2.1
Added more stuff to config
Hover buttons added for close and main buttons
Removed Buttons stable from cl_mjcmotd_config.lua to
cl_mjcmotd_buttontable.lua
Removed cl_mjcotdbuttontable.lua
2.2
Fix error
[ERROR] lua/includes/modules/draw.lua:198: attempt to index local ‘color’ (a nil value)

  1. RoundedBox - lua/includes/modules/draw.lua:198
  2. unknown - addons/mjcmotd2-master/lua/autorun/client/cl_mjcmotd.lua:100

**Trello - ToDo list
**https://trello.com/b/WLf0zShx/mjcaddons

That’s really nice!

Take this off of garrysmod.org now and put it up on scriptfodder.com That is an award winning motd. Though I have 3DMotd, still that is pretty nice. Sell that on scriptfodder dude. Its worth it

Why should i make money off stuff i make. I’m not like that

I like you.

Version 1.1

Added Simple Confiig
Added HTML Support

The style is really f*cking nice.
Nice work.

It’s really good that you don’t want to sell it even after someone told you that you should.

[editline]13th April 2015[/editline]

Also forgot to say it’s pretty nice.

I’m not that type of person who really cares about money with scripts. It either i give the script to public for free or keep it to myself for my servers and stuff and also thanks

Any other features you would like to see on the MOTD

I also working on a HUD

**Trello - ToDo list
**https://trello.com/b/WLf0zShx/mjcaddons

Version 1.1A

Fixed Client config lua error


[ERROR] addons/mjcmotd/lua/autorun/client/mjcmotd_config.lua:4: '<name>' expected near 'true'
  1. unknown - addons/mjcmotd/lua/autorun/client/mjcmotd_config.lua:0

https://github.com/mjctechguy/MjcMOTD/commit/e4dd0bb4edccbc92faf7b43b98c927621e34ff09

@mjctechguy Sorry, this might not be the correct place to post this but I couldn’t PM you… but what program is that with the code in it? The program you use to code… If you don’t mind could you tell me what it is or the theme for the program its for? Thanks!

Otherwise it’s a great MOTD! Good job on it!

Subline Text 3 : https://www.sublimetext.com/3
Color Scheme: https://packagecontrol.io/packages/Behave%20Color%20Scheme
Theme : https://packagecontrol.io/packages/Theme%20-%20Midnight

Any also thanks :slight_smile:

Version 2.0 - Massive UPATE
Infinity Buttons
Change the colours and stuff

Oh hey, that design looks really nice! I’m going to be a tad arrogant and assume you looked at my MOTD since the overall format is quite similar and you use the exact same error text for if a button isn’t giving a function :v:

Couple of tips though, you’re creating AddMjcMOTDButton in cl_mjcmotdbuttontable.lua and then again at the top of the config file, but both are using a different table for some reason. Maybe expand the config overall as well, allow users to enter their own colours and stuff

V2.1
Added more stuff to config
Hover buttons added for close and main buttons
Removed Buttons stable from cl_mjcmotd_config.lua to
cl_mjcmotd_buttontable.lua
Removed cl_mjcotdbuttontable.lua

[editline]28th April 2015[/editline]

Also yes i did look at multiple MOTDs including yours

I get this error:



[ERROR] lua/includes/modules/draw.lua:198: attempt to index local 'color' (a nil value)
  1. RoundedBox - lua/includes/modules/draw.lua:198
   2. unknown - addons/mjcmotd2-master/lua/autorun/client/cl_mjcmotd.lua:100


Any idea why?

Could you provide your cl_mjcmotd.lua and cl_mjcmotd_config.lua use paste bin or something, or if you want we could use join.me if so pm your meeting id

I’m not very confident in these viewer applications… so I’ll provide the sources:

**cl_mjcmotd.lua:
**

cl_mjcmotd_config.lua

I forgot to update the repo so it never got added sorry about that. I added on the file long time ago i thought i updated it

[editline]11th May 2015[/editline]

Repo updated https://github.com/mjctechguy/MjcMOTD2/blob/master/lua/autorun/client/cl_mjcmotd_config.lua

Just copy and paste the whole file into the old config unless you want to just copyied what i forgot to update

Version V2.2
Fixed an error
[ERROR] lua/includes/modules/draw.lua:198: attempt to index local ‘color’ (a nil value)

  1. RoundedBox - lua/includes/modules/draw.lua:198
  2. unknown - addons/mjcmotd2-master/lua/autorun/client/cl_mjcmotd.lua:100

Ah, okay! Thank you for the quick support! :slight_smile: