Server Rules in Chat

Use this forum if you have a relatively general question or comment about a game, Ventrilo, TeamSpeak, or Murmur/Mumble server with us. If you have a server-specific question that might not help out the community, please directly contact us through your control panel instead.
Post Reply
Tibbetts
New to forums
New to forums
Posts: 9
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon May 09, 2011 9:38 am

Server Rules in Chat

Post by Tibbetts »

Some don't appear to be working. I've added seven rules - one to each line so they wouldn't be to long, but 2-3 don't work. I've checked and they look like all the others. On our previous server with another company, they worked like a charm, but this one won't seem to post all of them in the chat.

Here are the rules as I have them in the PB/PBSVUSER.CFG file I added to the server:
pb_sv_task 10 800 admin.say "NO HACKING/CHEATING OF ANY KIND!" all
pb_sv_task 20 810 admin.say "If you are suspected, you will be kicked/banned!" all
pb_sv_task 30 820 admin.say "All WEAPONS/TANKS may be used!" all
pb_sv_task 40 830 admin.say "No calling anyone NOOB! it's annoying as fuck and you will be kicked!" all
pb_sv_task 50 840 admin.say "No RACIST/DEROGATORY comments. PERIOD. Or you will be kicked/banned!" all
pv_sv_task 60 850 admin.say "You may be kicked to make room for a [DSK] member!" all
pv_sv_task 70 860 admin.say "Please register at our site: DSK.SITE.NFOSERVERS.COM!" all
That's what I have, and it should work, but it won't. :(

Any ideas?

Regards,

-Tibbetts
User avatar
Edge100x
Founder
Founder
Posts: 13124
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Server Rules in Chat

Post by Edge100x »

There's nothing that we could do on our end to partially break PB's timed events, so you don't have to worry about this being host-specific :).

What shows when you enter "punkBuster.pb_sv_command PB_SV_TList" through rcon? Does it show all of the tasks that you have defined?

It looks like you set your "Y" values to different numbers, which is very unusual, and will result in your messages showing at wacky times. Are you sure that's what you meant to do? The format for pb_sv_task is:

PB_SV_Task X Y command

Where "X" is the time after the server starts to run the command, "Y" is how long to wait before repeating it, and "command" is what to do.

Have you also considered using our admin daemon to show the messages (as this appears to be a BC2 or MoH server)?
Tibbetts
New to forums
New to forums
Posts: 9
Joined: Mon May 09, 2011 9:38 am

Re: Server Rules in Chat

Post by Tibbetts »

Edge100x wrote:There's nothing that we could do on our end to partially break PB's timed events, so you don't have to worry about this being host-specific :).

What shows when you enter "punkBuster.pb_sv_command PB_SV_TList" through rcon? Does it show all of the tasks that you have defined?
Here is what is shows:

Code: Select all

PunkBuster Server: PB Scheduled Task List: [slot #] [first] [every] [command]
PunkBuster Server: 1 [5] [800] admin.say "NO HACKING/CHEATING OF ANY KIND!" all
PunkBuster Server: 2 [10] [805] admin.say "If you are suspected, you will be kicked/banned!" all
PunkBuster Server: 3 [15] [810] admin.say "All WEAPONS/TANKS may be used!" all
PunkBuster Server: 4 [20] [815] admin.say "No calling anyone NOOB! it's annoying as fuck and you will be kicked!" all
PunkBuster Server: 5 [25] [820] admin.say "No RACIST/DEROGATORY comments. PERIOD. Or you will be kicked/banned!" all
PunkBuster Server: End of PB Task List (5 Tasks)
It looks like you set your "Y" values to different numbers, which is very unusual, and will result in your messages showing at wacky times. Are you sure that's what you meant to do? The format for pb_sv_task is:

PB_SV_Task X Y command

Where "X" is the time after the server starts to run the command, "Y" is how long to wait before repeating it, and "command" is what to do.

Have you also considered using our admin daemon to show the messages (as this appears to be a BC2 or MoH server)?
I know that X is after the server starts and Y is repeat. I have it set so that is starts within 10 seconds and repeats after 800 seconds. It worked on the gameserver I had prior to this, but this one misses 3 of them. Kinda weird. lol..

And our server is a BC2 server. And I'm not really sure how to do the Admin Daemon thing. Never used one before. Didn't figure I needed to learn as the Task List for PB worked well last time. :(

-Tibbetts
User avatar
Edge100x
Founder
Founder
Posts: 13124
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Server Rules in Chat

Post by Edge100x »

Tibbetts wrote:Here is what is shows:
These have different values than the ones you gave. Are they being defined in a different file, such as in pbsv.cfg, maybe?
I know that X is after the server starts and Y is repeat. I have it set so that is starts within 10 seconds and repeats after 800 seconds.
You have them repeating after 810 seconds, 820 seconds, etc. You should change your "Y" values to 800 if you want them to repeat after 800.
It worked on the gameserver I had prior to this, but this one misses 3 of them. Kinda weird. lol..
Something is different about the way you have this one configured. We just need to find where that difference is.
And our server is a BC2 server. And I'm not really sure how to do the Admin Daemon thing. Never used one before. Didn't figure I needed to learn as the Task List for PB worked well last time. :(
It's just another option for you. You can find it on the "Easy setup" page.

-Tibbetts[/quote]
Tibbetts
New to forums
New to forums
Posts: 9
Joined: Mon May 09, 2011 9:38 am

Re: Server Rules in Chat

Post by Tibbetts »

Edge100x wrote:These have different values than the ones you gave. Are they being defined in a different file, such as in pbsv.cfg, maybe?
This is in my pb/pbsv.cfg file:

Code: Select all

;Auto Generated by PunkBuster Server
;   Some of the following settings may not apply,
;   consult manuals at evenbalance.com for full documentation
pb_sv_MsgPrefix "PunkBuster Server" //[PB Message Prefix (default=^3PunkBuster Client)]
pb_sv_MaxDlRate 4 //[KB/sec requested per file (default=4)]
pb_sv_MaxConDls 1 //[Concurrent downloads (default=1)]
pb_sv_KickLen 2 //[Minutes (default=2)]
pb_sv_CvarFreq 6 //[# of range checks per minute]
pb_sv_CvarLogging 1 //[1=Reg. Log, 2=Var Log, 3=Both, 0=Neither]
pb_sv_CvarWalk 1 //[0=disabled, 1-4=Walk through obtained Cvar lists]
pb_sv_CvarUserPulse 99 //[Frequency to auto-send CvarUser (minutes)]
pb_sv_CvarChangedPulse 99 //[Frequency to auto-send CvarChanged (minutes)]
pb_sv_CQC 1 //[0=No, 1=Yes (default=1)]
pb_sv_LogSync 0 //[0=No, 1=Yes (default=0)]
pb_sv_SsFloor 1 //[Low screenshot filename serial #]
pb_sv_SsCeiling 100 //[High screenshot filename serial #]
pb_sv_SsCmd "" //[Filename of system command to run after screenshots]
pb_sv_SsWidth 320 //[Requested pixel width of remote screenshots]
pb_sv_SsHeight 240 //[Requested pixel height of remote screenshots]
pb_sv_SsXpct 50 //[Percentage across screen for remote screenshots]
pb_sv_SsYpct 50 //[Percentage down screen for remote screenshots]
pb_sv_SsSrate 1 //[Sample Rate for remote screenshots]
pb_sv_SsDelay 0 //[Maximum delay client waits before capturing screenshot]
pb_sv_SsPath "" //[Path where remote screenshots are saved]
pb_sv_AutoSsFrom 60 //[Min # of seconds to wait before requesting next ss]
pb_sv_AutoSsTo 1200 //[Max # of seconds to wait before requesting next ss]
pb_sv_AutoSs 0 //[0=No, 1=Yes (default=0)]
pb_sv_ssLogging 0 //[1=Reg. Log, 2=SS Log, 3=Both, 0=Neither]
pb_sv_ssTimeout 0 //[Seconds]
pb_sv_Sleep 60 //[# of Milliseconds (default=60)]
pb_sv_PowerMin 10 //[Power Points]
pb_sv_PowerDef 1 //[Power Points]
pb_sv_PowerKickLen 5 //[Minutes (default=5)]
pb_sv_HttpPort 0 //[Port #]
pb_sv_HttpAddr "" //[External IP Address]
pb_sv_HttpRefresh 30 //[Seconds]
pb_sv_HttpKey "" //[Key]
pb_sv_HttpMaps "" //[Map list (separate by spaces)]
pb_sv_ScoreKick 0 //[Min score (negative)]
pb_sv_ChangePeriod 999 //[Seconds]
pb_sv_ChangeMax 1 //[Max name changes allowed]
pb_sv_DupNameGrace 0 //[Seconds]
pb_sv_AutoUpdBan 1 //[0=No, 1=Yes (default=0)]
pb_sv_ExtChar 1 //[0=No, 1=Yes (default=0)]
pb_sv_GuidRelax 2 //[1=UNKN, 2=WRONGIP, 4=DUP (add desired values)]
pb_sv_RconReload 0 //[0=No, 1=Yes (default=0)]
pb_sv_HttpMapsPath "" //[Path where maps are loaded from in WebTool]
pb_sv_HttpColText1 "FFFFFF" //[Text Color #1 in WebTool (default=FFFFFF)]
pb_sv_HttpColText2 "0000FF" //[Text Color #2 in WebTool (default=0000FF)]
pb_sv_HttpColBack1 "000000" //[Background Color #1 in WebTool (default=000000)]
pb_sv_HttpColBack2 "808080" //[Background Color #2 in WebTool (default=808080)]
pb_sv_HttpColLine1 "FF0000" //[Line Color #1 in WebTool (default=FF0000)]
pb_sv_HttpColLine2 "0000FF" //[Line Color #2 in WebTool (default=0000FF)]
pb_sv_HttpColMsg "FF0000" //[Message Color in WebTool (default=FF0000)]
pb_sv_HttpShowGuid 0 //[0=No, 1=Yes (default=0)]
pb_sv_Restrictions 1 //[0=No, 1=Yes (default=1)]
pb_sv_FileWhitelist "" //[Folder Filename Filename ... Filename]
pb_sv_EmptyName 0 //[0=No, 1=Yes (default=0)]
pb_sv_LogFloor 1 //[Low log filename serial #]
pb_sv_MinName 0 //[Min Characters in Player name (default=0)]
pb_sv_MaxName 0 //[Max Characters in Player name (default=0)]
pb_sv_LanMask "" //[IP Address Mask for LAN Players (default=)]
pb_sv_Lan 0 //[0=No, 1=Yes (default=0)]
pb_sv_UpdateGrace 600 //[Seconds to wait before Update Failure kick]
pb_sv_NoGuidGrace 1 //[Seconds to wait before No GUID kick]
pb_sv_AliasFn "" //[Filename (default="pbalias.dat")]
pb_sv_AliasAutoLoad 0 //[0=No, 1=Yes (default=0)]
pb_sv_AliasMax 0 //[Max # of Aliases to track for each PB GUID]
pb_sv_AliasMaxEnforce 0 //[0=No, 1=Yes (default=0)]
pb_sv_load pbsvlog.cfg //load remote logging settings (if pbsvlog.cfg exists)

;Badname List - pb_sv_badname [grace_period_secs] [disallowed text]

;Cvar Range List - pb_sv_cvar [cvar_name] [type] [value(s)]
pb_sv_cvarempty

;PB UCON Settings / Lists
pb_sv_usessionlimit 10
pb_sv_ucontimeout 300
pb_sv_uconmaxsendrate 16
pb_sv_uconempty
pb_sv_uconadd 1 "85.214.107.154" "ggc_85.214.107.154" "bc2"
pb_sv_uconadd 1 "85.214.107.155" "ggc_85.214.107.155" "bc2"
pb_sv_uconadd 1 "85.214.107.156" "ggc_85.214.107.156" "bc2"
pb_sv_uconadd 1 "208.122.49.138" "pbbhub1" "pbbanshub"
pb_sv_uconignoreempty
I don't see the rules anywhere in there. Are they supposed to be? I created a pb/pbsvuser.cfg file for that purpose, as that is what I had to do for the last server I had.
You have them repeating after 810 seconds, 820 seconds, etc. You should change your "Y" values to 800 if you want them to repeat after 800.
810 seconds after they first show up is fine. Doesn't matter so long as it is repeated some time after 800 seconds.
Something is different about the way you have this one configured. We just need to find where that difference is.
True. Hopefully the above I copied over from the server pbsv.cfg file will help you.
It's just another option for you. You can find it on the "Easy setup" page.
I'd prefer to use the pbsvuser.cfg file. It allows us to space the repeats longer than what is offered in the Daemon.

Regards,

-Tibbetts
User avatar
Edge100x
Founder
Founder
Posts: 13124
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Server Rules in Chat

Post by Edge100x »

Please submit a support request and I can look at your server directly.
Tibbetts
New to forums
New to forums
Posts: 9
Joined: Mon May 09, 2011 9:38 am

Re: Server Rules in Chat

Post by Tibbetts »

Done. :D


-Tibbetts
User avatar
Edge100x
Founder
Founder
Posts: 13124
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Server Rules in Chat

Post by Edge100x »

This is happening because of a typo; you wrote "pv_sv_task" instead of "pb_sv_task" for the last two lines.
pv_sv_task 60 850 admin.say "You may be kicked to make room for a [DSK] member!" all
pv_sv_task 70 860 admin.say "Please register at our site: DSK.SITE.NFOSERVERS.COM!" all
Tibbetts
New to forums
New to forums
Posts: 9
Joined: Mon May 09, 2011 9:38 am

Re: Server Rules in Chat

Post by Tibbetts »

LOL! Oops... Now I feel like an idiot. Thanks for catching that. :D

-Tibbetts
Post Reply