Jump to content

Streaming Setup Issues and Console Tool


MaydaX

Recommended Posts

FLOT's BC2 server is now streaming!

 

Just wanted to give a BIG thanks to all the folks working on helping us keep the servers free of smacktards and cheaters!

 

 

EDIT: In case it helps anyone else, I logged into our server using the Command Console and entered the PB commands manually, rather than using the scripts or webtool.

Edited by drunkenpilot
Link to comment
Share on other sites

Hmmm

 

I'm having problems streaming, never had issues in the past with CoD2, CoD4 but BFBC2 just isn't working.

 

I've tried the webtool and even though it reports back as done & ok, it still wont stream. Tried the direct console tool scripts & entered all the commands separately and still not streaming. The pb_sv_uconlist reported NO entries after all the commands, so knew it wasn't going to work.

 

I've also done manual placing of files via Clanforge (yes Multiplay customer) and still not working, yet I've used the same method with Clanforge as I have done with COD2 & CoD4.

 

So it must be a GSP Side problem, well hopefully :(

 

Cheers

Candyman

Link to comment
Share on other sites

I've tried the webtool and even though it reports back as done & ok, it still wont stream. Tried the direct console tool scripts & entered all the commands separately and still not streaming. The pb_sv_uconlist reported NO entries after all the commands, so knew it wasn't going to work.

 

Also be sure your using Webtool v1.26 or later since it checks to see if pb is enabled.

 

Try this:

http://www.pbbans.com/forums/streaming-setup-issues-and-console-tool-t112717.html/page__view__findpost__p__298214

 

 

There is a bug in the Events Console that cuts off multi-line data. So in the case of uconlist only the headers get returned. Because of this bug Webtool doesn't check the pb results. That will be added when the Events are fixed on the server side.

Link to comment
Share on other sites

Many Thanks for the advice.

 

I'll need to do some further testing as my server has just been patched to

 

Mar 03 2010 15:50:49 by Killing

All Bad Company 2 servers have just been patched with server R4. DICE is aware of a number of issues including crash problems which are effecting the current builds and are working hard to fix the problems, this update is the first step towards that

 

Now whenever I try and use Clanforge Live Control it reports back as pb_sv_uconlist = Unknown command, yet PB is running and enabled.

 

Will contact Multiplay.

 

Cheers

Link to comment
Share on other sites

Hi

 

Went through the process again and noticed that pbbanshub was already entered, so deleted the entry and tried as you suggested MaydaX and still doesn't stream.

 

Must be a GSP issue and as i said i'll try there later tonight.

 

Cheers

Link to comment
Share on other sites

Still working for me under R4 :D

 

EDIT: Well bar the fact PBSS still doesn't work :(

Edited by (FG) mastermc0
Link to comment
Share on other sites

Aaaaargh!!! Streaming constantly stops here. Start server, it streams, 5 mins later nothing. restart server it streams again. Driving me nuts.

 

Hypernia have now allowed text editing of the pbsv.cfg so could someone please check this is ok?

 

;Auto Generated by PunkBuster Server
; Some of the following settings may not apply,
; consult manuals at evenbalance.com for full documentation
; ------------------------------
; General Settings
; ------------------------------
pb_sv_MsgPrefix "PunkBuster Server"
pb_sv_MaxDlRate 4 //[KB/sec requested per file (default=4)]
pb_sv_MaxConDls 6 //[Concurrent downloads (default=1)]
pb_sv_MaxSendRate 8 // [speed at which PB Server sends pbcl and pbag updates in KBps (default=8)] 
pb_sv_CQC 1 //[0=No, 1=Yes (default=1)]
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_DupNameGrace 0 //[seconds]
pb_sv_ExtChar 0 //[0=No, 1=Yes (default=0)]
pb_sv_GuidRelax 0 //[1=UNKN, 2=WRONGIP, 4=DUP (add desired values)]
pb_sv_RconReload 0 //[0=No, 1=Yes (default=0)]
pb_sv_LogSync 0 //[0=No, 1=Yes (default=0)]
pb_sv_AutoUpdBan 1 //[0=No, 1=Yes (default=0)]


; ------------------------------
; Other Settings
; ------------------------------
pb_sv_Restrictions 2 //[Kick for Restrictions 0=No, 1=Yes (default=1) 2=key macro Restrictions]
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_ChangePeriod 600 // For pb_sv_ChangeMax
pb_sv_ChangeMax 5 // [Max name changes allowed in pb_sv_ChangePeriod] ex 5 changes in 600 seconds


; ------------------------------
; Kick Settings
; ------------------------------
pb_sv_KickLen 5 //[Minutes (default=2)]
pb_sv_ScoreKick 0 //[Min score (negative) ]
pb_sv_UpdateGrace 2400 //[seconds to wait before Update Failure kick]
pb_sv_NoGuidGrace 10 //[seconds to wait before No GUID kick]


; ------------------------------
; PBSS Settings
; ------------------------------
pb_sv_AutoSs 1 //[0=No, 1=Yes (default=0)]
pb_sv_SsFloor 1 //[Low screenshot filename serial #]
pb_sv_SsCeiling 2000 //[High screenshot filename serial #]
pb_sv_AutoSsFrom 500 //[Min # of seconds to wait before requesting next ss]
pb_sv_AutoSsTo 1200 //[Max # of seconds to wait before requesting next ss]
pb_sv_SsCmd "" //[Filename of system command to run after screenshots]
pb_sv_SsWidth 400 //[Requested pixel width of remote screenshots]
pb_sv_SsHeight 204 //[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_ssLogging 3 //[1=Reg. Log, 2=SS Log, 3=Both, 0=Neither]
pb_sv_ssTimeout 300 //[seconds]


; ------------------------------
; Web Tool Settings
; ------------------------------
pb_sv_HttpPort xxx //[Port #]
pb_sv_HttpAddr "203.217.24.21" //[External IP Address]
pb_sv_HttpRefresh 30 //[seconds]
pb_sv_HttpKey "xxx" //[Key]
pb_sv_HttpMaps "" //[Map list (separate by spaces)]
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 1 //[0=No, 1=Yes (default=0)]


; ------------------------------
; Alias Settings (Only for supported games)
; ------------------------------
pb_sv_AliasFn "pbalias.dat" //[Filename (default="pbalias.dat")]
pb_sv_AliasAutoLoad 0 //[0=No, 1=Yes (default=0)]
pb_sv_AliasMax 10 //[Max # of Aliases to track for each PB GUID]
pb_sv_AliasMaxEnforce 0 //[0=No, 1=Yes (default=0)]


; ------------------------------
; PB Tasks (pb_sv_task [start delay (seconds)] [repeat (seconds)] [command])
; ------------------------------
pb_sv_task 0 7200 pb_sv_ver // Keep-Alive for PBBans Hub
pb_sv_task 0 86400 pb_sv_update // Check for PB updates daily


; ------------------------------
; Badname List (pb_sv_badname [grace_period_secs] [disallowed text])
; ------------------------------
pb_sv_badnameempty
;pb_sv_badname 10 server // Sample


; ------------------------------
; IP Guard 
; ------------------------------
;pb_sv_ipguard 128.0.0.1 // Sample


; ------------------------------
; Cvar List
; ------------------------------
pb_sv_cvarempty


; ------------------------------
; Protected Tags
; ------------------------------
pb_sv_protecttag 1 PBSTAFF
pb_sv_protecttag 1 PBBans


; ------------------------------
; Load Ban List
; ------------------------------
pb_sv_banempty
pb_sv_banload


; ------------------------------
; Load IP Bans
; ------------------------------
;pb_sv_banmask "128.0.0.1" // Sample


; ------------------------------
; PB UCON Settings / Lists
; ------------------------------
pb_sv_uconignoreempty
pb_sv_usessionlimit 16
pb_sv_ucontimeout 300
pb_sv_uconempty
pb_sv_uconadd 1 208.122.49.138 pbbhub1 pbbanshub

; ------------------------------
; Exec Configs
; ------------------------------
pb_sv_load pbsvuser.cfg
pb_sv_load pbsvlog.cfg

 

Server Flags are AutoMD5Update, AutoEnforce and Announce new bans.

 

And yes, the console reports PB is ON.

Edited by Kinsman
Link to comment
Share on other sites

; ------------------------------
; PB UCON Settings / Lists
; ------------------------------
pb_sv_uconignoreempty
pb_sv_usessionlimit 16
pb_sv_ucontimeout 90
pb_sv_uconempty
pb_sv_uconadd 1 208.122.49.138 "pbbhub1" "pbbanshub"

 

Might be the fact that the timeout is higher and that you don't have the quotes.

 

Link to comment
Share on other sites

; ------------------------------
; PB UCON Settings / Lists
; ------------------------------
pb_sv_uconignoreempty
pb_sv_usessionlimit 16
pb_sv_ucontimeout 90
pb_sv_uconempty
pb_sv_uconadd 1 208.122.49.138 "pbbhub1" "pbbanshub"

 

Might be the fact that the timeout is higher and that you don't have the quotes.

 

 

Thanks, scripts created by maydax use sessionlimit 8 , and timeout 300 was there after using those scripts, changing now.

Edited by Kinsman
Link to comment
Share on other sites

I used the pbsv.cfg from the MCi

 

Strange they aren't the same. If that doesn't work the only other thing I can think of is that you don't have a pbucon.use file.

Link to comment
Share on other sites

settings are now these with no improvement.

 

pb_sv_uconignoreempty

pb_sv_usessionlimit 16

pb_sv_ucontimeout 90

pb_sv_uconempty

pb_sv_uconadd 1 208.122.49.138 "pbbhub1" "pbbanshub"

 

Start server it streams, then stops. restart server it streams again and then stops again. How would I check if the pbucon use file was created? Would it stream at all without one?

Edited by Kinsman
Link to comment
Share on other sites

settings are now these with no improvement.

 

pb_sv_uconignoreempty

pb_sv_usessionlimit 16

pb_sv_ucontimeout 90

pb_sv_uconempty

pb_sv_uconadd 1 208.122.49.138 "pbbhub1" "pbbanshub"

 

Start server it streams, then stops. restart server it streams again and then stops again. How would I check if the pbucon use file was created? Would it stream at all without one?

 

If you don't have access to any files to even look at what's there I would guess you would have no way of checking... and I'm pretty sure you need the pbucon.use file as this is what is used to connect with the PBBans hub as far as I know.

 

Have you tried setting it up using the webtool?

 

I know using that fixed issues I was having on a BF2142 server before.

Link to comment
Share on other sites

I can copy/paste to the pbsv.cfg via the hypernia control panel. Thats it for access. it been streaming for a few days, but stops all the time.

 

I pasted the pbsv.cfg from here this morning with no improvement.

 

http://www.pbbans.com/mci-view-bfbc2-pbsv-36.html

 

heres what BC2 Guardian says.

 

-> PunkBuster Server: pb_sv_SsNext = 414165 (0 to 999999)
-> PunkBuster Server: Game Version [520595]
-> PunkBuster Server: Running PB Scheduled Task (slot #1) pb_sv_ver
-> PunkBuster Server: Running PB Scheduled Task (slot #2) pb_sv_update
-> PunkBuster Server: PB UCON Session #1 Opened [208.122.49.138:43123] type=1 name="pbbhub1" key=4199E43D01EEBB552E1C23D4932ACE4B
-> PunkBuster Server: PB UCON "pbbhub1"@208.122.49.138:43123 [pb_sv_ver]
-> PunkBuster Server: New Connection (slot #1) 85.178.201.7:63440 [?] "hash1sh1n" (seq 5243997)
-> PunkBuster Server: Master Query Sent to (MASTER5.EVENBALANCE.COM) 66.36.231.175
-> PunkBuster Server: [From #1 7686(-) hash1sh1n] My dx C:\Windows\system32\d3d9.dll size=1826816 md5=7459301D21C2E21468823F73042D9F87
-> PunkBuster Server: Auto Screenshot 000001 Requested from 1 hash1sh1n
-> PunkBuster Server: Screenshot D:\xxx\xxx\GameServers\xxx\pb\svss\pb000001.png successfully received (MD5=DE23F59BFE96969E4FC97AA9769524FC) from 1 hash1sh1n [00053b4f56757cd99554a75d0f0b7686(-) 85.178.201.7:63440]
-> PunkBuster Server: Lost Connection (slot #1) 85.178.201.7:63440 00053b4f56757cd99554a75d0f0b7686(-) hash1sh1n

Edited by Kinsman
Link to comment
Share on other sites

I'm in the same boat with clanforge. I managed to get the server to stream with GGC by using "" on the commands so will try the same method but change the IP details around to PBBans details.

Link to comment
Share on other sites

[03.03.2010 20:47:48] Attempting to resolve master7.evenbalance.com
[03.03.2010 20:47:48] Resolved to [216.240.146.139]
[03.03.2010 20:47:48] PunkBuster Server for BC2 (v1.724 | A1382 C2.158) Enabled
[03.03.2010 20:47:48] Game Version [520595]
[03.03.2010 20:47:48] Running PB Scheduled Task (slot #1) pb_sv_ver
[03.03.2010 20:47:49] Running PB Scheduled Task (slot #2) pb_sv_update
[03.03.2010 20:48:18] PB UCON Session #1 Opened [208.122.49.138:41120] type=1 name="pbbhub1" key=xxx
[03.03.2010 20:48:19] PB UCON "pbbhub1"@208.122.49.138:41120 [pb_sv_ver]

 

Mine seems to display a different port for pbbhub1 this might be the issue. Although looking at your pbsv.cfg you uploaded and the fact you're running the one from the MCi the same as I am it may not be.

 

I know Maydax was saying some things seem to be interfering with the Streaming due to GSP settings.

Edited by (FG) mastermc0
Link to comment
Share on other sites

I keep getting connection refused with multiplay server using port 48888 and yes the server is up :X

 

It's possible its not on this port this is the default but some GSP's will change it.

 

As far as I know from my GSP it's your server join port +29321 but its best to check with your GSP to find out exactly what port it is.

Link to comment
Share on other sites

Use the Automated Hub Tool (this is the easiest method).

 

Or if you have access to edit your pbsv.cfg from your GSP

 

1. Go here http://www.pbbans.com/mci-overview-bf2-13.html

2. Click download both

3. Unzip

4. Open pbsv.cfg in Notepad

5. Open pbsv.cfg on your GSP control panel text editor.

6. Back this up incase anything goes wrong.

7. Select and copy all from pbsv.cfg in Notepad

8. Select all of the pbsv.cfg in the text editor and delete it.

9. Paste the copied text from the pbsv.cfg you downloaded into the GSP text editor.

10. Save the file

11. Restart the pb or the gameserver.

Edited by (FG) mastermc0
Link to comment
Share on other sites

Thanks! I managed to find multiplay rcon port, i used the web tool and in the end it said smth like "no errors during set up and it appears the server is streaming" so i guess thats done ? is there any way of checking it ? I'll apply for streaming admin asap, where can i find my GUID ? sorry for the noobness :lol:

Link to comment
Share on other sites

If thats what it says you should be good to go. And I don't think there is an easy way to retrieve your GUID in Bad Company 2 as there is no console in game. Only way I can find guids is from PB logs on my server.

Link to comment
Share on other sites

So i'll have to look for my own GUID in my server logs ? :mellow:

 

EDIT: Or even better follow what Maydax said and ignore me... learn something new every day :P

Edited by (FG) mastermc0
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.