Author Topic: [BROKEN] UMotd Revived - Motd and OTHER informational screens.  (Read 59211 times)

0 Members and 5 Guests are viewing this topic.

Offline WildWill

  • Global Moderator
  • Full Member
  • ****
  • Posts: 100
  • Karma: 15
    • Beast_Building_Server
Re: UMotd Revived - Motd and OTHER informational screens.
« Reply #60 on: September 11, 2008, 07:14:20 AM »
Jam I've tried that link there before and just now again and there doesn't seem to be much there other then uclip. Maybe I'm doing something wrong here..

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: UMotd Revived - Motd and OTHER informational screens.
« Reply #61 on: September 11, 2008, 04:54:39 PM »
Oops sorry. I accidentally copied the wrong svn dump over for Umotd. I'll put this next on my todo list.
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: UMotd Revived - Motd and OTHER informational screens.
« Reply #62 on: September 11, 2008, 08:43:08 PM »
Oops sorry. I accidentally copied the wrong svn dump over for Umotd. I'll put this next on my todo list.
EEk. Thanks Meg.
Sorry Will.
* JamminR really should think about updating to the ULib player spawn check at the least.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Zenox

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • VB forums
Re: UMotd Revived - Motd and OTHER informational screens.
« Reply #63 on: September 13, 2008, 02:30:32 PM »
Great!!! This is the first thing to download tomorow !!! Ty guys.

-Zenox
It's nice to be important, but more important to be nice... -Zenox

Offline WildWill

  • Global Moderator
  • Full Member
  • ****
  • Posts: 100
  • Karma: 15
    • Beast_Building_Server
Re: UMotd Revived - Motd and OTHER informational screens.
« Reply #64 on: September 13, 2008, 10:31:20 PM »
Did you see something that I missed there Zenox?  They may or may not have that there by then, right now Meg is very busy doing some other things.  Just hang in there and it will come.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: UMotd Revived - Motd and OTHER informational screens.
« Reply #65 on: September 14, 2008, 07:39:21 PM »
Sorry 'bout the delay folks, should be all fixed up now. You may have to delete your local copy and re-checkout.
Experiencing God's grace one day at a time.

Offline angrykid

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: UMotd Revived - Motd and OTHER informational screens.
« Reply #66 on: September 18, 2008, 07:38:36 PM »
It seems that CSS does not work in-game. D:

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: UMotd Revived - Motd and OTHER informational screens.
« Reply #67 on: September 18, 2008, 07:45:35 PM »
CSS works for me, show me your code, and I'll check it out for you.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UMotd Revived - Motd and OTHER informational screens.
« Reply #68 on: September 18, 2008, 07:59:06 PM »
It seems that CSS does not work in-game. D:
Not sure external CSS links work. Think you have to put it inline like I did for my stats template.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline angrykid

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: UMotd Revived - Motd and OTHER informational screens.
« Reply #69 on: September 18, 2008, 10:11:44 PM »
Not sure external CSS links work. Think you have to put it inline like I did for my stats template.

Feh...

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: UMotd Revived - Motd and OTHER informational screens.
« Reply #70 on: September 19, 2008, 04:57:22 AM »
I've used inline, and I've placed it in the head tags and it still works.

Code: [Select]
<style type="text/css">
     div.main {
     width:800px;
     background-color: #CCCCCC;
     border: 2px solid #000000;
}
</style>
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Reiko

  • Guest
Re: UMotd Revived - Motd and OTHER informational screens.
« Reply #71 on: September 29, 2008, 08:43:49 AM »
Would it be possible to add an option to each UMOTD entry in the config to keep the page loaded after the window has been closed? Such as steam MOTD behaviour.

I use this to my advantage by streaming media into an embedded media player, however with Umotd when you close the window, the page unloads and the stream stops. D= I don't know if it's Garry's doing, or even Steams doing with the Orangebox engine, but I have tried using SourceMod to bring up an old style MOTD box to see if that still works but it just sits there like a lemon.

Would it be possible to add that feature, and if not; any ideas for how I could acieve this again?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UMotd Revived - Motd and OTHER informational screens.
« Reply #72 on: September 29, 2008, 07:01:29 PM »
Reiko,
 There is no way to do this in configuration.
I have far off "to do" plans of adding a radio function, but it will require several lines of code change.
Well, yes, maybe only one, but, I want the frame to close if not a radio (save memory), or hide if a radio page.

If you (or anyone else for that matter) knows GLua (The Gmod functions of Lua) and want to tinker, look into Umotd_client.lua.
The button is now set to :Close()
I'm pretty sure that would need to change to :SetVisible( false )
Problem is, I've looked around the GMod Lua Wiki. Panel has a SetVisible. The DFrame I'm using doesn't show one in the Wiki.

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: UMotd Revived - Motd and OTHER informational screens.
« Reply #73 on: September 29, 2008, 07:04:37 PM »
I'm pretty sure that would need to change to :SetVisible( false )
Problem is, I've looked around the GMod Lua Wiki. Panel has a SetVisible. The DFrame I'm using doesn't show one in the Wiki.

It inherits from EditablePanel which should have that function. :)
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: UMotd Revived - Motd and OTHER informational screens.
« Reply #74 on: September 29, 2008, 07:14:51 PM »
Yeah, I'd seen code examples using it too, just not blatantly in the DFrame library listing.
I think I remember even seeing it the oooold URadio.
Thanks.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming