Ulysses Stuff > Ulysses Release Archives

[BROKEN] UMotd Revived - Motd and OTHER informational screens.

<< < (4/23) > >>

spbogie:
PNG's should be supported, although transparency in them will only work for clients running IE7.

Kingtendo:
Do you have to use images from a URL, or can you use them from a directory in the UMOTD addons folder. I.e. would background: url('bg.png') work or would it have to be background: url('URL').

JamminR:

--- Quote from: Kingtendo on April 27, 2008, 04:55:40 AM ---Do you have to use images from a URL, or can you use them from a directory in the UMOTD addons folder. I.e. would background: url('bg.png') work or would it have to be background: url('URL').

--- End quote ---
URL.
FYI - This is true of any Source game.

Marlamin:
Hmm. I somehow broke it. The only thing I changed is this part in the config:


--- Code: ---Umotd_command_files = {
                    ["motd"] = "motd.txt",
                    ["addons"] = "addons.txt",
                    ["helpme"] = "help.txt",
                    ["serverinfo"] = "info.txt",
    ["svn"] = "svn.txt",
                    ["Ulysses"] = "http://forums.ulyssesmod.net",
    ["stargate"] = "stargate.txt",
            ["apply"] = "http://stargateclan.prophpbb.com/topic10.html",
            ["cookies"] = "cookies.txt",
                      }

--- End code ---

And now, in-game the MOTD isn't showing up, and all the stuff doesn't work anymore except the console command umotd help.

...What did I do to break it?

JamminR:
Forgot commas ,
Place one after every line/quote.
Go ahead and place a comma after the ending line too before the bracket. It won't hurt anything, and will be there for next lines.

Oh, as for URLs... they aren't working anywhere near as well as I originally thought.
You may want to remove them for now.

[EDIT] - I edited your code sample to include them. Hope you don't mind, easier to copy/paste that way.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version