Help - Search - Members - Calendar
Full Version: PsB for BF2 Ranked server How-To.
The Planet Forums > System Administration > Game Hosting
LMS-greenight
1. Sign up at http://www.punksbusted.com for MBL contributer status and a Clan ID number.

2. Setting up the server for streaming.
"Part One"
Note: If you already have a pbsv.cfg file in the servers pb folder, just add the following code to it.
[list]Open up notepad,
Type in-
CODE
pb_sv_load pbsvlog.cfg // Loads PsB Repository settings
Go to File and click "Save As"
Under filename type
CODE
pbsv.cfg

Under Save as type - Change to All Files, then click save.
[list]

"Part Two"
[list]After that go to File and click New.
In the new file, type in-
CODE
pb_sv_logaddr rep.punksbusted.com // Repository IP Address

pb_sv_logport 24415 // Repository Port

pb_sv_loguser ClanID // Enter your PsB ClanID (e.g. 0123)
Replace the part that says clan ID with the one you have gotten form PsB
Go to File and click "Save As"
Under filename type in
CODE
pbsvlog.cfg
Under "Save as type" - change to All Files, then click save
[list]
3.With the above changes made in steps 1 and 2, reboot your server or issue a pb_sv_restart command in rcon.

I hope this helps some of you out who are trying to set up streaming through cortex with ranked servers. This is just basic Streaming settings server side.
klaude
Very cool!

*Stickied*
Picchioni
Just remember though you will have to update your bans and NOT_FOUND checks manually via cortex.

Easiest way to do that is create a new folder on your home system called pb. Run Auto-MBL and when creating a server in the program point it to the pb folder you create and run your NOT_FOUND check and Full Ban List check. Then upload the pbsvbans.dat and pbsvuser.cfg file via the file browser in cortex
grimgrinch
Does the MBL or Auto-MBL work with the latest patch for BF2 via Cortex? Links to instructions? Thanks!
klaude
These are punkbuster commands, so they should be independent of any game version.
Minister
QUOTE ("Picchioni")
Just remember though you will have to update your bans and NOT_FOUND checks manually via cortex.  
Upload the pbsvbans.dat and pbsvuser.cfg file via the file browser in cortex



Do you have to do a server restart/pb_sv_restart after this as well (uploading subsequent pbban.dat and pbsvuser.cfg) or just after the initial uploading of the pbsv.cfg and pbsvlog.cfg?

i.e. does it load these on PB startup or when a player joins the server?
klaude
These changes load on PB restart, which only restarts if you restart your game server or issue the pb_sv_restart command. I'd use pb_sv_restart since it won't interrupt gameplay.
Minister
Thanks, I think that covers everything apart from me manually upadting these files 3 times a day because of all the cheaters out there.
Drag0nKn1ght
Cant you just use the FTP, and have your auto-mbl ftp the updates through /instances/whatever/pb/psb

so you dont have to do it manually?
Minister
Far as I know cortex doesn't support FTP
Altec
Sure it does,

http://dev.insomnia365.com/wiki/index.php/..._the_FTP_Server
Drag0nKn1ght
I set mine up to auto-mbl through the FTP, but with auto-mbl messed up these last few days its hard to tell if it worked ok
Granite
Never thought of trying it via ftp. Good idea. I'll have to try it once the PsB server are back to normal. Hopefully it's soon, I have screen shots to submit icon_twisted.gif .

If you get it to work, let us know.
Drag0nKn1ght
I am pretty sure it was working, before the auto-mbl servers went down

snip from log, got all the TWL instances updated, but autombl servers crashed before i got to the ranked.

6/28/2006 8:51:10 PM] Processing kb twl 8v8

[6/28/2006 8:51:11 PM] Full ban list received

[6/28/2006 8:51:13 PM] Retrieved 2272 bans from kb twl 8v8

[6/28/2006 8:51:23 PM] kb twl 8v8 ban list processed

[6/28/2006 8:51:23 PM] 60 bans added

[6/28/2006 8:51:26 PM] Ban list uploaded to kb twl 8v8

[6/28/2006 8:51:26 PM] Skipping restart of kb twl 8v8 PB

[6/28/2006 8:51:26 PM]

I recently took over Lead admin duties for our clan.
klaude
Your log snipper looks good. Remember that you'll need to run pb_sv_restart yourself to apply the new bans. AFAIK Auto-MBL can't do that for you.
Picchioni
If you're using the PB Config that PunksBusted gives you or CAL's PB Configuration that I wrote, there is a built in restart so to speak that will reload all of your bans and MD5 Tool Checks on a hourly basis
Drag0nKn1ght
hows that work?
Picchioni
Sorry I just noticed you had posted,
I wrote an extra file that gets loaded when the server starts that will load bans and MD5 toolchecks, then every hour it will reload the ban file again.

CODE
// CAL Official PB Config File

// Reload Bans

// CAL :: http://www.caleague.com

// Last Modified :: June 8, 2006



pb_sv_banempty // Dumps Current Ban List

pb_sv_banload // Loads personal bans

pb_sv_banload pb/psb/pbbans.dat // Loads bans from the Master Ban List


Copy that code into a notepad file and name it reloadbans.cfg and upload it to the pb folder in your server.

Then insert the following into your pbsv.cfg file:
CODE
// Reloads the ban list hourly

pb_sv_task 10 3600 pb_sv_load reloadbans.cfg


The pb_sv_task is the kicker, it's telling punkbuster to load the file 10 seconds after the pb server starts (it's done 10 secs after to prevent conflicts) and then to reload again every 3600 seconds (1hr)

Then the banempty command will drop all of your old bans then the banload commands will load your updated ban lists

Just make sure you change the paths to where your pbbans.dat file is
klaude
Thats pretty cool, Picchioni. Would 'pb_sv_task 0 86400 pb_sv_restart' restart PB once a day then?
Picchioni
Yes it would kevin. Although keep in mind that if you stop the box or restart PB manually yourself that count will start from scratch so if you were going to do that you might want to consider every 6 or 12 hrs.
(21600 or 43200)

I've also herd that PB will issue rcon commands that way for you too, but I personally haven't tested it.

I used this command to also rig punkbuster to rotate screenshot placements during the game as well.

CODE
// Loads Screenshot Configurations

pb_sv_task 0 1200 pb_sv_load cal/screenshot.cfg


CODE
// CAL Official PB Config File

// Screenshot Settings

// CAL :: http://www.caleague.com

// Last Modified :: June 8, 2006



// Take screenshot from up right corner so minimap will be in shot.

pb_sv_task 300 -1 pb_sv_SsXpct 90

pb_sv_task 300 -1 pb_sv_SsYpct 10



// Take screenshot from random location

pb_sv_task 600 -1 pb_sv_SsXpct -1

pb_sv_task 600 -1 pb_sv_SsYpct -1



// Take screenshot from middle of the screen (This is default)

pb_sv_task 900 -1 pb_sv_SsXpct 50

pb_sv_task 900 -1 pb_sv_SsYpct 50


Every 5 minutes the placement of PB screenshots is changed (Minimap, center of the screen, and a random location)
SnaKe |WiH|
Would the instructions in the first post for implementing this be any different for a BF2 unranked server.
Picchioni
no, although if your server is setup to be unranked you can remote desktop into your server and run the auto-mbl program from the server and set it up update your checks at a time of your choosing. Then it's one less thing you have to worry about
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.