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, 951 hits)
Mirror:
http://necris.net/download/serveradverts.rar v 1.70 =)
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.


Hey Bob any updates on your mutator? I would love to get this up on my server. Like you said its not throwing any errors but is just not displaying any text.
=)
Thank you for your interest in this. I have been working on my mod a lot over the last three weeks so I haven’t been able to direct any attention to correcting the issue here.
I have been working on networking, directly, however and i expect to have a solution as soon as school settles down. I have 2 weeks till my impossible final and will be freed of this pressure from school as soon as that is done.
Great news for you all, I have completed updating this mutator. It is working again, give me a minute or two to update the download. =)
Hey is it my screen size or something because the advertisements are showing right over the server messages for kills and such?
Is there a way to make it print low or higher on the screen?
=) Yes there is.
If you read the configuration file you will see that there are a number of variables for each entry, one of them being fPosy which is short for float Position Y. You can treat it as a percentage of the screen (0.00 to 1.00 being 100%) and it will move it accordingly.
Hi. I’m testing this mut on my server. I want to show a few advertisements only one time, without rotation. How can I do that?
Another thing: The download (v. 1.7.1) hasn’t a readme file, only the ini and u file, without explanation about how to configure the mutator.
Bugs I’ve seen:
- If you set iFontSize on the end of the line, it doesn’t work. For example:
Advertisement=(sMessage=”TEXT”, fPosy = 0.15, iLifetime = 15.0, iFontSize = 4) -> Will show with default fontsize.
- It seems like only accepts config parameters in order. In different order some parameters will not work.
- If you set iLifetime the log will show this error:
Error: Error,ImportText (Advertisement): Missing closing parenthesis: Advertisement=(sMessage=”TEXT”, iFontSize = 4, fPosy = 0.15, iLifetime = 18.0, cDrawColor = (B=255,G=200,R=200,A=255))
If I remove the iLifetime parameter, the log shows any error.
- If you set only one advertisement, it will be shown only one time, but if you set two or more advertisements it will be rotating.
Suggestions:
- On ini file, place one zone to rotating messages, and another zone to one-show messages.
- Same as fPosy, create fPosx to configure the X position. For example I want to place a text on the left of the screen. Now I’m using a fPosy=1.52, but I think a fPosx will be nice.
Thanks and good job
Thanks for the comment.
I have looked into a couple of the bugs you have reported and id like to say that at least one of them is not a bug.
I used the prefix convention i for all Integer inputs, f for Float, s for String and c for Color. If you put an integer value into the lifetime it wont error out.
Ill look into the others though.
BTW, there isn’t an X parameter to be played with and i dont think that there are many uses for one time messages, my code is open source and you can freely modify it as you see fit.
@Bob
Hi Bob
Well, my intention is to show some wellcome messages like “Wellcome to my server” and “FAIR PLAY!” for example, and I want to show it only one time on every map, without rotation, and by now I can’t do that. I don’t know how to edit the source, but I will try.
Anyway thanks
The link “Code on SVN” is broken
Yes, ill have my new SVN working with the code shortly If you need access please shoot me an email and ill put a rush on it.
Sorry about that =\