Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

**This project is from 2005. It has NOT been maintained or properly developed for about 10 years now.** It has **several servere ⚠️ security issues** like SQL-injection problem that have not been fixed. Use at you own discretion. Know this especially when you are still running an instance of select(bf). We are happy to include fixes for these problems, if YOU would still like to contribute.

In 2022 PHP8-compatibility was [added](https://github.com/toadle/selectbf/pull/1) by [htn](https://github.com/htn1491) through of [HelloClan](https://www.helloclan.eu). They still run BF Vietnam servers and select(bf) based statistics.
So if YOU want to run this code on PHP 8. You can clone this repo and use the PHP-code provided here.

That time I had to set up a Battlefield server for a LAN-Party and I wanted to have some Stats for the players to see. Unfortunately I found nothing that came close to what I was searching for. So I decided to create a tool of my own. Having features that people are used to from watching CounterStrike-statistic pages. The Battlefield Logs at the time anyhow contained some more information, so that it is possible to even keeptrack of specific games and round infos. But see for yourself.

## For your consideration
Expand Down
1 change: 1 addition & 0 deletions bin/run-selectbf-gui.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
java -cp selectbf.jar;swt.jar;lib/commons-beanutils-1.7dev.jar;lib/commons-logging-1.0.4.jar;lib/commons-net-1.3.0.jar;lib/jakarta-oro-2.0.8.jar;lib/jdom.jar;lib/log4j-1.2.9.jar;lib/mysql-connector-java-3.1.7-bin.jar;lib/commons-collections-3.1.jar org.selectbf.gui.SelectBfGui
2 changes: 2 additions & 0 deletions bin/run-selectbf-silent.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@ECHO OFF
java -Xmx256m -Xms256m -cp .\selectbf.jar;..\lib\commons-net-1.3.0.jar;..\lib\jakarta-oro-2.0.8.jar;..\lib\jdom.jar;..\lib\commons-beanutils-1.7dev.jar;..\lib\commons-collections-3.1.jar;..\lib\commons-logging-1.0.4.jar;..\lib\log4j-1.2.9.jar;..\lib\swt.jar;..\lib\mysql-connector-java-5.0.5-bin.jar; org.selectbf.SelectBf >> selectbf.out
1 change: 1 addition & 0 deletions bin/run-selectbf.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
java -Xmx256m -Xms256m -cp .\selectbf.jar;..\lib\commons-net-1.3.0.jar;..\lib\jakarta-oro-2.0.8.jar;..\lib\jdom.jar;..\lib\commons-beanutils-1.7dev.jar;..\lib\commons-collections-3.1.jar;..\lib\commons-logging-1.0.4.jar;..\lib\log4j-1.2.9.jar;..\lib\swt.jar;..\lib\mysql-connector-java-5.0.5-bin.jar; org.selectbf.SelectBf
1 change: 1 addition & 0 deletions bin/selectbf-gui.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
java -cp selectbf.jar:swt.jar:lib/commons-beanutils-1.7dev.jar:lib/commons-logging-1.0.4.jar:lib/commons-net-1.3.0.jar:lib/jakarta-oro-2.0.8.jar:lib/jdom.jar:lib/log4j-1.2.9.jar:lib/mysql-connector-java-3.1.7-bin.jar:lib/commons-collections-3.1.jar org.selectbf.gui.SelectBfGui
Binary file added bin/selectbf.jar
Binary file not shown.
1 change: 1 addition & 0 deletions bin/selectbf.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
java -Xmx1000m -Xms1000m -cp ./selectbf.jar:../lib/commons-net-1.3.0.jar:../lib/jakarta-oro-2.0.8.jar:../lib/jdom.jar:../lib/commons-beanutils-1.7dev.jar:../lib/commons-collections-3.1.jar:../lib/commons-logging-1.0.4.jar:../lib/log4j-1.2.9.jar:../lib/swt.jar:../lib/mysql-connector-java-5.0.5-bin.jar: org.selectbf.SelectBf
2 changes: 2 additions & 0 deletions bin/selectbfsilent.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
java -Xmx1000m -Xms1000m -cp ./selectbf.jar:../lib/commons-net-1.3.0.jar:../lib/jakarta-oro-2.0.8.jar:../lib/jdom.jar:../lib/commons-beanutils-1.7dev.jar:../lib/commons-collections-3.1.jar:../lib/commons-logging-1.0.4.jar:../lib/log4j-1.2.9.jar:../lib/swt.jar:../lib/mysql-connector-java-5.0.5-bin.jar: org.selectbf.SelectBf >> Selectbf.out
59 changes: 30 additions & 29 deletions php/_setup.php

Large diffs are not rendered by default.

Loading