PDA

View Full Version : Server Messages (Banners)?


melb
08-16-2007, 04:34 PM
Was curious if out-of-the-box QW will have the ability for server messages (banners)? I don't remember if this was in stock ET, or if it was only after ETAdmin, ETPub, ETPro, and Jaymod all added support for this.

Ex:

b_banners 4
b_bannerlocation 1
b_bannertime 60
set b_banner1 "^1<3 ^8QDub!"
set b_banner2 "^1<3 ^8QDub!!"
set b_banner3 "^1<3 ^8QDub!!!"
set b_banner4 "^1<3 ^8QDub!!!"

Thx,
:D

GreasedScotsman
08-16-2007, 07:57 PM
I take it this is different from the MOTD lines they have?

If I recall, you're talking about the messages that were put up center-screen whenever someone connected/a map was restarted?

They seem easy enough to add if they're not in the vanilla game.

Awol
08-16-2007, 08:05 PM
Yeah banners where messages that display during the game at a set interval. People used them to display rules or a website etc. I believe they were added in W:ET by ETPro and ETPub

Rudedog
08-16-2007, 08:50 PM
This has been a part of punkbuster for a while.

As long as you run PB on your sever you can broadcast messages intermittently during gameplay to all clients.

Here is an example I pulled from a post at my site

set sv_punkbuster "1"
pb_sv_enable
wait
pb_sv_taskempty 1

pb_sv_task 30 240 "say ^1Check out our forums at www.tntblowout.com for server and Clan info."
pb_sv_task 60 240 "say ^1RECRUITING - apply today at www.tntblowout.com"
pb_sv_task 90 240 "say ^1No Cheating, swearing or abusive behaviour to other players."
pb_sv_task 120 240 "say ^1Clans Check out our rifles only tournaments on the forums"
pb_sv_task 150 240 "say ^1looking for a no BS clan 18 and up fill ou the application"
pb_sv_task 180 240 "say ^1Teamspeak Information 82.165.232.196:8767 Pass handycam"
pb_sv_task 210 240 "say ^1Have Fun Play Fair and visit our site www.tntblowout.com."

reyalp
08-16-2007, 08:57 PM
banner support appears to be built in already:
type htmlcvars in the console and then search for g_banner

melb
08-16-2007, 09:36 PM
@rudedog:
I had forgotten all about that. I used that in ET a long time ago. I may have to give it a try.

@reyalp:
Thanks for the information. I will see if those are supported, or if they are placeholders for future enhancements.

:D

BerenAndLuthien
08-16-2007, 09:50 PM
RRx all the way :)

.:TR:. Webs961
08-20-2007, 10:56 PM
banner support appears to be built in already:
type htmlcvars in the console and then search for g_banner

Be very careful with that particular set of cvars. I tested them during beta 1, and it appeared that the timing functions had no impact on when the messages would be displayed; they would simply repeat in a list over and over. So long as the delay is set above 0, they would flood the chat with banner spam.

Not fun. We wound up crashing the server once doing this.

|WCK|MurderFace
09-14-2007, 06:22 AM
i had the same result this evening with the demo. the cvar is supposedly an integer.. but at what multiplier or how does it work?

RotzKotz_ere
09-14-2007, 11:28 PM
Seconds?
Miliseconds?
Just try it...

|WCK|MurderFace
09-15-2007, 04:51 AM
i tried evrry multiple from the ET configs i've setup - and none prevented the messages f rom scrolling once every half second.

a setting of 900000 had no effect

]UBC[ McNite
09-15-2007, 03:51 PM
There was a known bug with the timing (loopdelay i think) in the beta2. Although they said it would be fixed in the demo.

I m using the pb banners, they work well.

]UBC[ McNite
09-15-2007, 04:17 PM
Just tried out the banners that come with QW, but it seems the loopdelay bug is still present.

g_banner_1 "'^1'message1"
g_banner_2 "'^1'message2"
g_banner_3 "'^1'message3"
g_banner_delay "10" // delay between banner messages
g_banner_loopdelay "20" // bugged in fileplanet beta 2

This results in the banners going crazy. So I ll stick to the pb banners, and try these in the release again.

Ashen-Shugar
09-18-2007, 02:34 PM
which folder do you add these banners? I have 2 different pb folders in my demo folder

]UBC[ McNite
09-19-2007, 06:11 PM
Its inside my server.cfg.

Ashen-Shugar
09-19-2007, 07:07 PM
I have 2 of those as well, lol

Is your config in the base folder or the main one?

c:qw-demo/base
c:qw-demo

]UBC[ McNite
09-19-2007, 07:12 PM
Hmmmm remove 1 and restart the server and see whether its still working? :p

I don't have a server.cfg in the /etqw folder though. How did yours get there?

Ashen-Shugar
09-19-2007, 07:23 PM
I dunno :( one of our server admins got the whole thing up and running. I have access now and I'm learning on my own how to make changes.

He downloaded the file off of Hypneria so I don't know if thats how it came or if he goofed on the install.

I'll take some screenies of my firedameon and different folders tonight and make a new thread.

I can confirm Rudedogs commands are correct though as I added them through console and it worked. When I tried to write to the pb config file using the admin tool, my server wouldn't boot back up, lol

Sphinx175
09-21-2007, 01:28 AM
Trying to use the various color tags (^1, ^2, etc..) don't seem to work for me when using the PB banner messages. All I get in the main chat area is:

"High Command: ^ 1 [message]..."

]WF[Cryptwalker
09-21-2007, 03:10 AM
If you have a back up file and that and delete the old one, and see what happens

lokalen
09-21-2007, 12:20 PM
This has been a part of punkbuster for a while.

As long as you run PB on your sever you can broadcast messages intermittently during gameplay to all clients.

Here is an example I pulled from a post at my site

set sv_punkbuster "1"
pb_sv_enable
wait
pb_sv_taskempty 1

pb_sv_task 30 240 "say ^1Check out our forums at www.tntblowout.com for server and Clan info."
....


Do I really need the "wait" command, what does it do?

I want to put this in my pb.cfg, do i just pb_sv_writeCfg from the server and then add the taskempty and tast commands there and in my server.cfg just enable punkbuster? Good, yes?

Sphinx175
09-21-2007, 12:29 PM
WF[Cryptwalker;140874']If you have a back up file and that and delete the old one, and see what happens

Was this directed to my post about the no colors in the text? I have no backup file.

lokalen
09-22-2007, 10:28 AM
Figured out how to use colors now in PunkBuster's task. Use the following syntax:

pb_sv_task 30 240 "say '^1Lokalen ^wis by far the most ^aawesomest server.'"

Singel-quotes, or whatever it's called needs to wrap the text the say-command is to run.

My only problem now is I can't figure out how to display a singel-quote...Like "It's" dosen't show, becomes "It s". Annoying...

ASD
09-22-2007, 01:06 PM
for me it works with only the colorcodes in the single quotes for example
'^1'bla '^2'blub
the only effeckt what makes this not look so good ia a extra "blank" that you get..
simply test it