View Full Version : PB Server messages
BoSBrian
12-11-2007, 10:44 AM
Anyone know a trick to keep the pb server messages from getting bunched up?
Post some examples if you would please! :)
The_Humungus
12-11-2007, 11:15 AM
I learned this just recently: Here are some of my messages.
pb_sv_task 10 1090 say "^1Welcome to the Northwest Murder Farm"
pb_sv_task 70 1090 say "^1The Murder Farm is an Independent Server with no clan affiliation"
pb_sv_task 130 1090 say "^1Please add the Murder Farm to your favorites"
The X number (1st number) is the number of seconds between messages. The Y number (2nd number) is the number of seconds to wait before repeating the message. This number should be at least 30 seconds higher than the X number of the last line of message. So, if you have 10 lines of messages, and each message is being displayed every 60 seconds, and the last message has an X number of 1030 (like mine) then the Y number for EVERY line of message should be at least 30 to 60 seconds more than the X number of the last line.
Hope this makes sense.
jumpjet
12-11-2007, 11:20 AM
I have this, but it doesn't work too well, they are meant display every minute:-
pb_sv_task 20 600 "say Message 1"
pb_sv_task 80 660 "say Message 2"
pb_sv_task 140 720 "say Message 3"
pb_sv_task 200 780 "say Message 4"
pb_sv_task 260 940 "say Message 5"
pb_sv_task 320 1000 "say Message 6"
pb_sv_task 380 1060 "say Message 7"
pb_sv_task 440 1120 "say Message 8"
pb_sv_task 500 1180 "say Message 9"
The timing isn't very good.
They are like buses ......... no bus for ages, then 2 come at once :rolleyes:
I hope I am telling it to display message 1 to 9, then wait 100 seconds (500 to 600) and restart the cyle
The_Humungus
12-11-2007, 11:25 AM
I have this, but it doesn't work too well, they are meant display every minute:-
pb_sv_task 20 600 "say Message 1"
pb_sv_task 80 660 "say Message 2"
pb_sv_task 140 720 "say Message 3"
pb_sv_task 200 780 "say Message 4"
pb_sv_task 260 940 "say Message 5"
pb_sv_task 320 1000 "say Message 6"
pb_sv_task 380 1060 "say Message 7"
pb_sv_task 440 1120 "say Message 8"
pb_sv_task 500 1180 "say Message 9"
The timing isn't very good.
They are like buses ......... no bus for ages, then 2 come at once :rolleyes:
If you keep your Y number (2nd number 600,660 etcc) the same for all lines and at least 60 seconds higher than the X number (1st number) you have in the last line, then you will get a constant messaged displayed every 60 seconds. But the Y number should be the same for all lines. Only the X value increase in seconds by the display delay interval (in your settings its 60 seconds)
Bleek
12-11-2007, 01:57 PM
Whereabouts in the config file should these go?
Mine don't show up on the server, even though I copied "The_Humungus" line for line. :confused:
OldDog
12-11-2007, 02:21 PM
I created a file called pbmessages.cfg, and placed it in the pb folder. It looks like this:
pb_sv_taskempty
// Task setup for PunkBuster
// ===== ^0 = black
// ===== ^1 = red
// ===== ^2 = green
// ===== ^3 = yellow
// ===== ^4 = dark blue
// ===== ^5 = light blue (cyan)
// ===== ^6 = magenta
// ===== ^7 = white
// ===== ^8 = light gray
// ===== ^9 = dark gray
pb_sv_task 20 1100 "say ^3Welcome to ^2OldDog's ^1CoD4 ^3Server"
pb_sv_task 80 1100 "say ^3Please keep the language ^1CLEAN^3"
pb_sv_task 140 1100 "say ^3Respect all players"
pb_sv_task 200 1100 "say ^1Don't Cheat!! You Will Be Caught, then Banned!"
pb_sv_task 260 1100 "say ^3Please...^1WATCH YOUR LANGUAGE AND CONDUCT!"then, in pbsv.cfg, I added a line to the end as follows:
;Server Messages
pb_sv_load pbsvmsgs.cfgI actually have modularized all my extraneous tasks, like:
;Badname List - pb_sv_badname [grace_period_secs] [disallowed text]
pb_sv_load pbbadnames.cfgthen, I created a badnames list called pbbadnames.cfg
or, you can just add the:
pb_sv_taskempty
// Task setup for PunkBuster
// ===== ^0 = black
// ===== ^1 = red
// ===== ^2 = green
// ===== ^3 = yellow
// ===== ^4 = dark blue
// ===== ^5 = light blue (cyan)
// ===== ^6 = magenta
// ===== ^7 = white
// ===== ^8 = light gray
// ===== ^9 = dark gray
pb_sv_task 20 1100 "say ^3Welcome to ^2OldDog's ^1CoD4 ^3Server"
pb_sv_task 80 1100 "say ^3Please keep the language ^1CLEAN^3"
pb_sv_task 140 1100 "say ^3Respect all players"
pb_sv_task 200 1100 "say ^1Don't Cheat!! You Will Be Caught, then Banned!"
pb_sv_task 260 1100 "say ^3Please...^1WATCH YOUR LANGUAGE AND CONDUCT!"directly in pbsv.cfg. Regardless of where you put it, pbsv.cfg must execute something. You then, of course, have to do a "pb_sv_restart" or restart your server.
MoToR
12-11-2007, 02:47 PM
http://www.made2kill.com/motor/cod4messages.jpg
The_Humungus
12-11-2007, 03:37 PM
Whereabouts in the config file should these go?
Mine don't show up on the server, even though I copied "The_Humungus" line for line. :confused:
I have mine in my pbsv.cfg file in the pb folder. I created the pbsv.cfg file in notepad. PB will find it on its own.
jumpjet
12-12-2007, 07:38 AM
Thanks to all for this thread, and especially to Humungus as he finally 'made the penny drop' for me. I fully understand it now.......... that Y number!!
Cheers
ASH71
12-12-2007, 06:58 PM
Hi, I followed the instrutions but have my messages doubled
the pbsvmessages.cfg
pb_sv_task 30 300 "say ^0Welcome to the Golden Triad Server"
pb_sv_task 45 300 "say ^0www.GoldenTriad.org"
pb_sv_task 60 300 "say ^0We are Recruiting"
Any Ideas?
Thanks
RaDioAcTivE
12-12-2007, 07:52 PM
You're sending the messages every 15 seconds. Considering the length that the message stays up on the players screen they're probably coming out on top of each other. Try extending the length to a longer time.
ASH71
12-13-2007, 06:42 AM
It is not that the lines are coming out together but the same line doubled when first written i.e.
Welcome to the Golden Triad Server
Welcome to the Golden Triad Server
not
Welcome to the Golden Triad Server
www.GoldenTriad.org
I will try changing the times some when i get back from work.
OldDog
12-13-2007, 07:21 AM
Did you have this command first?
pb_sv_taskempty
ASH71
12-13-2007, 03:32 PM
should that be in the message file? I will give it a try too
=====
It worked THANK YOU!!!
Desert Eagle
12-13-2007, 03:51 PM
I have found spacing the messages 60 seconds apart leads to no double messages, and not more than one message at a time. Here is my svrmsgs.cfg if it helps:
pb_sv_taskempty
pb_sv_task 10 380 "say Welcome To The |OP4| COD4 Server"
pb_sv_task 70 380 "say Recruitment Info: www.opfor.us"
pb_sv_task 130 380 "say Please Respect All Players"
pb_sv_task 200 380 "say Thanks For Playing On The |OP4| Server"
pb_sv_task 260 380 "say ^2Teamspeak IP: 64.237.62.226:8827 ^3Pass: puzzle"
pb_sv_task 320 380 "say ^1Consider A Kick A Warning, A Ban For Life"
Great thread, thanks to all who have posted
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.