There is a known issue with Dedicated Servers where the banlist gets wiped from time to time. We have not found any corresponding event to this behavior, it seems to be random. The banlist.con file becomes an empty file and must be manually restored. We use this solution on the VETERANS-GAMING COOP Server, and I figured I'd make it public here to help other servers maintain the health of their banlists.
Temporary Solution:
I've written a batch file to monitor the banlist. It compares it with an example of a broken banlist, and if it's the same, it restores the banlist from a backup folder, otherwise it creates a new backup of the banlist. The batch script loops every minute, and writes a time-stamp note to a log file if the banlist is broken and has been restored.
To use this, unzip/extract the contents to the root PR folder on your server. You can run PR_Banlist_Monitor.bat from a webpanel or as a service, or manually run (double-click) the PR_Banlist_Monitor.bat and just minimize the cmd window while it runs in the background -- to manually stop the monitor from a webpanel or as a service, run the Stop_PR_Banlist_Monitor.bat
On first run, it will create the backup of your banlist.con in the BanlistMonitor\MasterBackup folder. The log.txt file here will appear empty until the banlist breaks and is restored.
CPU resource usage should be next to nothing even on older servers.
Download Here: https://www.dropbox.com/s/a6y3nni0322sd ... r.zip?dl=0
File list:
BanlistMonitor\BrokenExample\banlist.con
BanlistMonitor\MasterBackup\log.txt
PR_Banlist_Monitor.bat
Stop_PR_Banlist_Monitor.bat
PR_Banlist_Monitor.bat code: https://pastebin.com/08sJ7mc4
Stop_PR_Banlist_Monitor.bat code: https://pastebin.com/b248wnHY
**to be clear, the .bat files and BanlistMonitor Folder must reside in the root folder of PR on the server. Any questions, feel free to ask.
Dedicated Server - Banlist gets Wiped (Known Issue) - Temporary Solution
If you find a bug within PR:BF2 (including PRSP), please report it here.
-
SemlerPDX
- Posts: 530
- Joined: 2011-01-16 21:49
- Contact:
Jump to
- Announcements
- ↳ Announcements & Highlights
- ↳ Development Blogs
- ↳ Changelogs
- ↳ Events
- PR:BF2 Mod Forums
- ↳ PR:BF2 General Discussion
- ↳ PR:BF2 Suggestions
- ↳ PR:BF2 Feedback
- ↳ Maps
- ↳ Vehicles
- ↳ Infantry
- ↳ Coop & Singleplayer
- ↳ PR:BF2 Bugs
- ↳ PR:BF2 Tales from the Front
- ↳ Tactics & Strategies
- ↳ Map Strategies
- ↳ Infantry Tactics
- ↳ Squad Leader Tactics
- ↳ Commander Tactics
- ↳ Armor Tactics
- ↳ Aircraft Tactics
- ↳ PR:BF2 Clans
- ↳ Clan Wars
- ↳ Clan Recruitment
- ↳ PR:BF2 Community Factions
- ↳ Mapping
- ↳ Objects
- ↳ Coding
- ↳ Modelling&Animations
- ↳ Texturing
- ↳ Chilean Forces 1978
- ↳ Indonesian Forces
- ↳ Faction Archives
- ↳ African Resistance Fighters
- ↳ Australian Forces
- ↳ Dutch Forces
- ↳ Finnish Defense Forces
- ↳ New Zealand Def. Force
- ↳ Norwegian Forces
- ↳ Polish Forces
- ↳ Czech Forces
- ↳ Brazilian/FARC Forces
- ↳ PR:WWII General Discussion
- ↳ PR:WWII Suggestions
- ↳ PR:Falklands General Discussion
- ↳ PR:F Suggestions
- ↳ PR:Vietnam General Discussion
- ↳ PR:V Suggestions
- ↳ PR:BF2 Community Modding
- ↳ Modding Tutorials
- ↳ Community Maps
- ↳ Community Tasks
- PR Server Forums
- ↳ PR:BF2 Server Feedback
- Project Reality Support
- ↳ PR:BF2 Support
- ↳ General Technical Support
- ↳ Hardware
- ↳ Software
- ↳ OverClocking & Networking
- ↳ PR Dev Blogs
- ↳ Official PR Tournament News
- ↳ Tournament Website
- ↳ PR Dev Journal Archives
- ↳ 2009
- ↳ 2008
- ↳ 2007
