forked from ReviveNetwork/ASP
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add bf2 server and traefik in
docker-compose.yml
for full stack in dev
- Loading branch information
1 parent
a8d111b
commit 889768a
Showing
7 changed files
with
356 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
echo ***************************************************************************************** | ||
echo AIDefault.ai **************************************************************************** | ||
echo ***************************************************************************************** | ||
|
||
aiSettings.setNSides 2 | ||
aiSettings.setAutoSpawnBots 1 | ||
|
||
rem Let's go with 63 bots! Hope your system holds up | ||
aiSettings.overrideMenuSettings 1 | ||
aiSettings.setMaxNBots 63 | ||
aiSettings.maxBotsIncludeHumans 0 | ||
aiSettings.setBotSkill 1.0 | ||
|
||
run BotNames.ai | ||
|
||
aiSettings.setInformationGridDimension 32 | ||
|
||
|
||
run AIPathFinding.ai | ||
|
||
rem EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
; mods/bf2 coop | ||
maplist.append dalian_plant gpm_coop 16 | ||
maplist.append daqing_oilfields gpm_coop 16 | ||
maplist.append dragon_valley gpm_coop 16 | ||
maplist.append fushe_pass gpm_coop 16 | ||
maplist.append greatwall gpm_coop 16 | ||
maplist.append gulf_of_oman gpm_coop 16 | ||
maplist.append midnight_sun gpm_coop 16 | ||
maplist.append operation_clean_sweep gpm_coop 16 | ||
maplist.append operationharvest gpm_coop 16 | ||
maplist.append operationroadrage gpm_coop 16 | ||
maplist.append operationsmokescreen gpm_coop 16 | ||
maplist.append road_to_jalalabad gpm_coop 16 | ||
maplist.append sharqi_peninsula gpm_coop 16 | ||
maplist.append songhua_stalemate gpm_coop 16 | ||
maplist.append taraba_quarry gpm_coop 16 | ||
maplist.append zatar_wetlands gpm_coop 16 | ||
|
||
; mods/xpack coop | ||
maplist.append ghost_town gpm_coop 16 | ||
maplist.append mass_destruction gpm_coop 16 | ||
maplist.append night_flight gpm_coop 16 | ||
maplist.append surge gpm_coop 16 | ||
maplist.append warlord gpm_coop 16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
; mods/bf2 conquest | ||
maplist.append dalian_plant gpm_cq 16 | ||
maplist.append dalian_plant gpm_cq 32 | ||
maplist.append dalian_plant gpm_cq 64 | ||
maplist.append daqing_oilfields gpm_cq 16 | ||
maplist.append daqing_oilfields gpm_cq 32 | ||
maplist.append daqing_oilfields gpm_cq 64 | ||
maplist.append dragon_valley gpm_cq 128 | ||
maplist.append dragon_valley gpm_cq 16 | ||
maplist.append dragon_valley gpm_cq 32 | ||
maplist.append dragon_valley gpm_cq 64 | ||
maplist.append fushe_pass gpm_cq 16 | ||
maplist.append fushe_pass gpm_cq 32 | ||
maplist.append fushe_pass gpm_cq 64 | ||
maplist.append greatwall gpm_cq 16 | ||
maplist.append greatwall gpm_cq 32 | ||
maplist.append gulf_of_oman gpm_cq 16 | ||
maplist.append gulf_of_oman gpm_cq 32 | ||
maplist.append gulf_of_oman gpm_cq 64 | ||
maplist.append highway_tampa gpm_cq 128 | ||
maplist.append highway_tampa gpm_cq 16 | ||
maplist.append highway_tampa gpm_cq 32 | ||
maplist.append highway_tampa gpm_cq 64 | ||
maplist.append highway_tampa gpm_cq 8 | ||
maplist.append mashtuur_city gpm_cq 16 | ||
maplist.append mashtuur_city gpm_cq 32 | ||
maplist.append mashtuur_city gpm_cq 64 | ||
maplist.append midnight_sun gpm_cq 16 | ||
maplist.append midnight_sun gpm_cq 32 | ||
maplist.append midnight_sun gpm_cq 64 | ||
maplist.append operation_blue_pearl gpm_cq 16 | ||
maplist.append operation_blue_pearl gpm_cq 32 | ||
maplist.append operation_blue_pearl gpm_cq 64 | ||
maplist.append operation_clean_sweep gpm_cq 16 | ||
maplist.append operation_clean_sweep gpm_cq 32 | ||
maplist.append operation_clean_sweep gpm_cq 64 | ||
maplist.append operationharvest gpm_cq 16 | ||
maplist.append operationharvest gpm_cq 32 | ||
maplist.append operationharvest gpm_cq 64 | ||
maplist.append operationroadrage gpm_cq 16 | ||
maplist.append operationroadrage gpm_cq 32 | ||
maplist.append operationroadrage gpm_cq 64 | ||
maplist.append operationsmokescreen gpm_cq 16 | ||
maplist.append operationsmokescreen gpm_cq 32 | ||
maplist.append road_to_jalalabad gpm_cq 16 | ||
maplist.append road_to_jalalabad gpm_cq 32 | ||
maplist.append road_to_jalalabad gpm_cq 64 | ||
maplist.append sharqi_peninsula gpm_cq 16 | ||
maplist.append sharqi_peninsula gpm_cq 32 | ||
maplist.append sharqi_peninsula gpm_cq 64 | ||
maplist.append songhua_stalemate gpm_cq 16 | ||
maplist.append songhua_stalemate gpm_cq 32 | ||
maplist.append songhua_stalemate gpm_cq 64 | ||
maplist.append taraba_quarry gpm_cq 16 | ||
maplist.append taraba_quarry gpm_cq 32 | ||
maplist.append wake_island_2007 gpm_cq 64 | ||
maplist.append zatar_wetlands gpm_cq 16 | ||
maplist.append zatar_wetlands gpm_cq 32 | ||
maplist.append zatar_wetlands gpm_cq 64 | ||
|
||
; mods/xpack cq | ||
maplist.append ghost_town gpm_cq 16 | ||
maplist.append ghost_town gpm_cq 32 | ||
maplist.append ghost_town gpm_cq 64 | ||
maplist.append iron_gator gpm_cq 16 | ||
maplist.append iron_gator gpm_cq 32 | ||
maplist.append iron_gator gpm_cq 64 | ||
maplist.append leviathan gpm_cq 16 | ||
maplist.append leviathan gpm_cq 32 | ||
maplist.append leviathan gpm_cq 64 | ||
maplist.append mass_destruction gpm_cq 16 | ||
maplist.append mass_destruction gpm_cq 32 | ||
maplist.append mass_destruction gpm_cq 64 | ||
maplist.append night_flight gpm_cq 16 | ||
maplist.append night_flight gpm_cq 32 | ||
maplist.append night_flight gpm_cq 64 | ||
maplist.append surge gpm_cq 16 | ||
maplist.append surge gpm_cq 32 | ||
maplist.append surge gpm_cq 64 | ||
maplist.append warlord gpm_cq 16 | ||
maplist.append warlord gpm_cq 32 | ||
maplist.append warlord gpm_cq 64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
sv.serverName "Default Server Name" | ||
sv.password "" | ||
sv.internet 1 | ||
sv.serverIP "" | ||
sv.serverPort 16567 | ||
sv.welcomeMessage "" | ||
sv.punkBuster 1 | ||
sv.allowFreeCam 1 | ||
sv.allowExternalViews 1 | ||
sv.allowNoseCam 1 | ||
sv.hitIndicator 1 | ||
sv.maxPlayers 64 | ||
sv.numPlayersNeededToStart 0 | ||
sv.notEnoughPlayersRestartDelay 15 | ||
sv.startDelay 15 | ||
sv.endDelay 15 | ||
sv.spawnTime 15 | ||
sv.manDownTime 15 | ||
sv.endOfRoundDelay 15 | ||
sv.ticketRatio 100 | ||
sv.roundsPerMap 3 | ||
sv.timeLimit 0 | ||
sv.scoreLimit 0 | ||
sv.soldierFriendlyFire 100 | ||
sv.vehicleFriendlyFire 100 | ||
sv.soldierSplashFriendlyFire 100 | ||
sv.vehicleSplashFriendlyFire 100 | ||
sv.tkPunishEnabled 1 | ||
sv.tkNumPunishToKick 3 | ||
sv.tkPunishByDefault 0 | ||
sv.votingEnabled 1 | ||
sv.voteTime 15 | ||
sv.minPlayersForVoting 1 | ||
sv.teamVoteOnly 1 | ||
sv.gameSpyPort 29900 | ||
sv.allowNATNegotiation 0 | ||
sv.interfaceIP "" | ||
sv.autoRecord 0 | ||
sv.demoIndexURL http:// | ||
sv.demoDownloadURL http:// | ||
sv.autoDemoHook "adminutils/demo/rotate_demo.py" | ||
sv.demoQuality 1 | ||
sv.adminScript "default" | ||
sv.timeBeforeRestartMap 30 | ||
sv.autoBalanceTeam 0 | ||
sv.teamRatioPercent 100 | ||
sv.coopBotRatio 100 | ||
sv.coopBotCount 16 | ||
sv.coopBotDifficulty 50 | ||
sv.voipEnabled 1 | ||
sv.voipQuality 3 | ||
sv.voipServerRemote 0 | ||
sv.voipServerRemoteIP "" | ||
sv.voipServerPort 55125 | ||
sv.voipBFClientPort 55123 | ||
sv.voipBFServerPort 55124 | ||
sv.voipSharedPassword "" | ||
sv.useGlobalRank 1 | ||
sv.useGlobalUnlocks 1 | ||
sv.noVehicles 0 | ||
sv.sponsorText "" | ||
sv.sponsorLogoURL "https://example.com/bf2logo.png" | ||
sv.communityLogoURL "https://example.com/bf2logo.png" | ||
sv.radioSpamInterval 6 | ||
sv.radioMaxSpamFlagCount 6 | ||
sv.radioBlockedDurationTime 30 | ||
sv.numReservedSlots 0 | ||
sv.friendlyFireWithMines 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# ------------------------------------------------------------------------------ | ||
# BF2Statistics 3.0.0 - Config File | ||
# ------------------------------------------------------------------------------ | ||
# Conventions: | ||
# 0 -> Disable | ||
# 1 -> Enable | ||
# ------------------------------------------------------------------------------ | ||
|
||
# ------------------------------------------------------------------------------ | ||
# Debug Logging | ||
# ------------------------------------------------------------------------------ | ||
debug_enable = 1 | ||
debug_log_path = 'python/bf2/logs' # Relative from BF2 base folder | ||
debug_fraglog_enable = 0 # Detailed 'Fragalyzer' Logs (requires existing folder "mods/<ModName>/logs/") | ||
|
||
# ------------------------------------------------------------------------------ | ||
# Statistics Enabling | ||
# ------------------------------------------------------------------------------ | ||
# 0 = disable statistics, 1 = enable statistics (requires an ASP stats server) | ||
# By disabling the stats, this server will be "non-ranked" | ||
# | ||
# An AuthID and AuthToken are required to post stats data to the ASP backend. | ||
# Contact your local Stats Admin to recieve an AuthID and AuthToken. Both of | ||
# which are NOT to be shared with anyone! | ||
# ------------------------------------------------------------------------------ | ||
stats_enable = 1 | ||
stats_auth_id = 112950 # Required to post stats data at the end of round. | ||
stats_auth_token = 'GGB6Vj70Nmf98nm7' # Required to post stats data at the end of round. | ||
|
||
# ------------------------------------------------------------------------------ | ||
# ASP Stats Backend Web Server | ||
# ------------------------------------------------------------------------------ | ||
http_backend_addr = 'asp' # Reach ASP over the `bf2-network` docker network. If your ASP is on another host, use its hostname or domain name here. | ||
http_backend_port = 80 | ||
http_backend_asp = '/ASP/bf2statistics.php' | ||
|
||
# ------------------------------------------------------------------------------ | ||
# Snapshot Logging | ||
# ------------------------------------------------------------------------------ | ||
# Enables server to make snapshot backups. | ||
# 0 = log only on error sending to backend | ||
# 1 = all snapshots | ||
# ------------------------------------------------------------------------------ | ||
snapshot_logging = 1 | ||
snapshot_log_path_sent = 'python/bf2/logs/snapshots/sent' # Relative from the BF2 base folder | ||
snapshot_log_path_unsent = 'python/bf2/logs/snapshots/unsent' # Relative from the BF2 base folder | ||
|
||
# ------------------------------------------------------------------------------ | ||
# Medals Processing | ||
# ------------------------------------------------------------------------------ | ||
# Suffix for your custom medals file(s). | ||
# Example: A profile named "custom" = medal_data_custom.py | ||
# ------------------------------------------------------------------------------ | ||
medals_custom_data = 'custom' | ||
# A list of mods that xpack (special forces) medals can be earned while playing | ||
# Example: ['mods/xpack', 'mods/bf2', 'mods/ModName'] (all entries must be lower case!!) | ||
medals_xpack_mods = ['mods/bf2sfsp','mods/xpack'] | ||
|
||
# ------------------------------------------------------------------------------ | ||
# Player Manager | ||
# ------------------------------------------------------------------------------ | ||
# Local IP address for AI Bots | ||
# ------------------------------------------------------------------------------ | ||
pm_ai_player_addr = '127.0.0.1' # Not recommended to change | ||
|
||
|
||
# ------------------------------------------------------------------------------ | ||
# END CONFIGURATION | ||
# ------------------------------------------------------------------------------ |
Oops, something went wrong.