Server Advertisement UT3 Mutator

The following is a Server Advertisement mutator for UT3. As an administrator you are provided the means of displaying up to 5 messages to the users of your server. Each message is able to be sent individually or with a global interval value. The minimum interval allowed is 10 seconds, although i would highly suggest you choose to keep your intervals above 45seconds for social graces.

Quick Note:

The string to include this mutator has changed. It is now ?mutator=ServerAdverts.ServerAdverts

Feature List:

  • Server Configurable Client Notification
  • Up to twenty-five (25) Messages
  • Configurable Color, Location, Display time

Default Values:

fPosy = 0.25
iLifetime = 5.0
iFontSize = 1
cDrawColor = (B=255,G=200,R=200,A=255)

New Config Entry Format:

Advertisement=(sMessage="Welcome to a Gneu Sponsered Server!", fPosy = 0.50)
Advertisement=(sMessage="Come to www.gneu.org for more info!")
Advertisement=(sMessage="For Assistance contact Bob@gneu.org", cDrawColor=(B=255,G=0,R=0,A=255))

It is set up so you dont have to set all variables. They default to the values above, allowing you to focus on the other values. All four of the values can be changed, feel free to be as irritating or beautiful as you wish =)

  UT3 Server Advertisement Mutator (6.6 KiB, 1,043 hits)

Mirror:
http://necris.net/download/serveradverts.rar v 1.70 =)

Code on SVN

Update Change Log:

  • 1.7.1
    • Simply had to rebuild after 2.0 patch.
  • 1.7.0
    • Thanks to Charles for his suggestion. Its been implemented x10.
    • Now messages are able to be individually configured to allow for individual message level control.
  • 1.6.1
    • Updated Timer to display for 10 seconds instead of 4.
  • 1.6.0
    • Server Networked now
    • Tested over the network to confirm it now works.
    • Tested over single player levels for those curious to how it works/looks before you connect to the server.
  • 1.5
    • Removed Beeping
    • Moved over to center of window
    • Changed font color
    • Message duration is 10 seconds
  • 1.1
    • Rotating messages.
    • Configurable ini file includes ability to display up to 25 Messages
  • 1.0
    • Initial release of this mutator based off of my work done on the other mutators. Appears to be working, Tested over network.
20 Comments

20 Comments

  1. Hi, I just wanna thank you for this great Mutator!!

  2. Hi there, we have just stsrted branching out in UT3, now that we have a server running, I was wondering does this mutator also work with the latest Titan pack (2.1) ? We have our own dedicated server, we have to connect remotely to it.

    Any help would be really appreciated. :)

    Cheers

  3. I can think of no reason why this mutator wouldn’t work on any version of UT3, but if you have an issue to report i can surely loop that into what is going on here.

  4. Thanks for suck a fast reply! :)

    When i get to know how to connect via vnc abit more, i can tell u abit more about the structure of it.
    I tried it locally, the server adverts, on default values, and didnt get any text on the screen. I copied the files into my doc’s, and i DID get the option tho, of choosing wich mutator. But alas, nothing came on screen the first the few min.. Hmm.. Maybe i was a bit impatient :p

    fPosy = 0.50)

    the 0.50 does that stand for the time? (00:50 seconds?)

    Im sure i was in hanging gardens for like 4 minutes and still nothing.

    We also had trouble with the game twice now. (Im not the one who did the action so i dont really know all what happened) But anyway i know the last time, we tried this RumplesRaceway with the tornado in it. And when the window of the server came up, it would just disappear again. From that point on the whole game was screwed. So now we had to reinstall the whole game, just by adding one custom map. Our admin even tried reverting back to the state it was before.. but again.. no response. And a reinstall was needed. We have no idea why this is happening, according to him, he is doing all the right actions, and the map itself shouldnt be a problem on this version, with all the good feedback.

    Ahh this getting kinda long :P Maybe i should give him your email adres, if that is possible?He knows alot more about the server itself than I do.
    We also could hook u up with a Teamspeak account to make things easier.

  5. I will look into this when i get home, but i think your problem is going to be a setup issue, although please dont be offended if i find that i am incorrect.

  6. Hello, Im a bit off topic…

    I run a Red Orchestra Darkest hour server..
    which uses UT2004 engine ..
    There are very few mutators out there for this right now.
    can this be ported over to that?
    Our mutators also use the .u .ul extentions.
    I just do not know which folders may be needed here
    they seem so different… we put ours into system folder.
    does the .u file look for folder elsewhere etc?

    Sorry if to off topic.. would understand.

  7. I have no idea about ut3 mutators working on ut2k4, but i would wager it doesnt work.

    I am doing some cleanup scripting for my mod, ill let you know how this mutator is working on the 2.1 patch in just a minute.

  8. I will have to update this one way or another, there arent any errors tossed out or anything just doesn’t display on screen.

    Ill be playing with it tonight after my class and see if i can find some positive results.

  9. Epsilon :
    fPosy = 0.50)
    the 0.50 does that stand for the time? (00:50 seconds?)

    This is the Position in the Y direction and it is a float.

  10. It is definitely the case that the serveradverts mutator is broken. The replication blocks aren’t being executed in the slightest. I am reaching out to the UTMods mailing list for more information.

    Sorry about this folks.

Leave a Reply

Spam Protection by WP-SpamFree

Using Gravatars in the comments - get your own and be recognized!

XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>