Author Topic: how do i make the ulx motd open up with tabs?  (Read 17202 times)

0 Members and 4 Guests are viewing this topic.

Offline Marshy

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: how do i make the ulx motd open up with tabs?
« Reply #15 on: May 22, 2013, 05:35:58 PM »
yeh i did check it out but at first it went over my head but i have the hang of it now thanks anyway.

Regards,
leon.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: how do i make the ulx motd open up with tabs?
« Reply #16 on: May 22, 2013, 07:50:03 PM »
Oh. Yes.
What MrP said.
If you can't see it by looking, you might not be ready for doing a project such as this.
I've never done derma, it terrifies me, but I can quite easily tell it's the 3rd parameter in the derma property MrP references.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Jihad

  • Newbie
  • *
  • Posts: 3
  • Karma: -1
Re: how do i make the ulx motd open up with tabs?
« Reply #17 on: June 09, 2013, 12:41:43 PM »
Hi! How do I change the color of the frame and button?
Thanks
Jihad

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: how do i make the ulx motd open up with tabs?
« Reply #18 on: June 09, 2013, 01:53:38 PM »
Hi! How do I change the color of the frame and button?
Thanks
Jihad

When looking over the example code in this post, is it not obvious the code dealing with color?

http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexb9b1.html
Experiment within the code. there are several times it's used, both for the main panels, and the buttons.
« Last Edit: June 09, 2013, 01:55:22 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Jihad

  • Newbie
  • *
  • Posts: 3
  • Karma: -1
Re: how do i make the ulx motd open up with tabs?
« Reply #19 on: June 10, 2013, 01:35:49 AM »
When looking over the example code in this post, is it not obvious the code dealing with color?

http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexb9b1.html
Experiment within the code. there are several times it's used, both for the main panels, and the buttons.
That link is broken
Jihad

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: how do i make the ulx motd open up with tabs?
« Reply #20 on: June 10, 2013, 08:04:05 AM »
no it's not. Try again. sometimes the wiki backup on maurtis has issues.

Offline Jihad

  • Newbie
  • *
  • Posts: 3
  • Karma: -1
Re: how do i make the ulx motd open up with tabs?
« Reply #21 on: June 10, 2013, 09:02:11 AM »
no it's not. Try again. sometimes the wiki backup on maurtis has issues.

Ok, but I'm kinda a newbie to coding. I know some stuff, but not alot. Is this ok?
Code: [Select]
surface.SetDrawColor(0,0,205)
Thanks
Jihad

Offline freepox

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: how do i make the ulx motd open up with tabs?
« Reply #22 on: September 28, 2013, 03:45:31 PM »
Can we get a up-to-date version of this?  :P
Im trying to get a mutiple-tapped MOTD for my server, but the code does not seem to work.
Here's my error:

[ERROR] addons/ulx/lua/ulx/modules/cl/motdmenu.lua:58: attempt to call field 'fileWrite' (a nil value)
1. fn - addons/ulx/lua/ulx/modules/cl/motdmenu.lua:58
2. func - addons/ulib/lua/ulib/client/cl_util.lua:22
3. unknown - lua/includes/modules/net.lua:31

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: how do i make the ulx motd open up with tabs?
« Reply #23 on: September 28, 2013, 04:43:10 PM »
It would seem you're not using the latest version of ULib, freepox. :P
Experiencing God's grace one day at a time.

Offline freepox

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: how do i make the ulx motd open up with tabs?
« Reply #24 on: September 28, 2013, 04:49:15 PM »
It would seem you're not using the latest version of ULib, freepox. :P
Probably not. Its not my fault that the CP my host provide, doesnt have the latest versions then ^^ Is there a fix for this?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: how do i make the ulx motd open up with tabs?
« Reply #25 on: September 28, 2013, 05:35:10 PM »
The fix is using the latest version.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: how do i make the ulx motd open up with tabs?
« Reply #26 on: September 28, 2013, 07:00:34 PM »
If your host won't get it for you, determine how to upload yourself.
Most hosts allow sFTP, or file transfer using some CP.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline freepox

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: how do i make the ulx motd open up with tabs?
« Reply #27 on: September 29, 2013, 12:59:46 AM »
Yeah, i did that, and it works! Thanks!

Offline Eccid

  • Full Member
  • ***
  • Posts: 115
  • Karma: 11
  • Hey, come on... We just met...
    • Terror Abound! Steam Group
Re: how do i make the ulx motd open up with tabs?
« Reply #28 on: September 30, 2013, 08:21:31 AM »
For anyone else wanting to do this, I use this guide whenever I'm messing with derma. It covers most things and was really helpful, and allowed me to add more tabs to my motd, as well as work with derma for other scripts.