Actions

BF2 LeaderBoard Link Creator: Difference between revisions

From Mike Beane's Blog

mNo edit summary
mNo edit summary
Line 27: Line 27:
- Included are a few example CSV files.  
- Included are a few example CSV files.  
</pre>
</pre>
[http://www.rabbibob.com/index.php/BF2_Leaderboards Example]
[[Category:BF2]]
[[Category:BF2]]
[[Category:Programming]]
[[Category:Programming]]
[[Category:Weblog-2007-02]]
[[Category:Weblog-2007-02]]

Revision as of 09:34, 10 October 2009

I was a little bored and I wanted a way to track a couple of different groups via bf2.com, so I wrote the following perl script. You can create separate CSV files in the input directory and enter the names & PIDS of the people you want to track. The script reads in the CSV files and creates an output.html file which includes a link for each individual CSV file you have, containing up to 50 of the PIDS listed per link. Click on the link(s) and it will open a window to BF2.com's LeaderBoard.

BF2 LeaderBoard Creator

Description:

---------------------
BF2LeaderBoard Ver .2 by Rabbi Bob - [email protected] / www.rabbibob.com
---------------------

Test Release
- Added input directory
- Maintain different groups with different CSV files
- Edit input/.csv with your csv editor (Excel, OpenOffice, etc)
- Do not change the order of the columns
- Run BF2LeaderBoard.exe
- Open output.html and follow the link

- When creating a new CSV, the first two lines must be used:

Name,PID,Notes,Group
---,---,---,---


- When in doubt, just copy one of the included examples and alter as needed
- Included are a few example CSV files. 

Example