Closed crryp closed 3 years ago
If you are using the latest v1.9 version (build yesterday), you need to add the zones mount write permission, it can't be read-only anymore
I did that :) but still it doenst work.
My run command was:
docker run -d --name=cod4 -p 28960:28960/tcp -p 28960:28960/udp -p 8000:8000/tcp \
-v F:\Cod4Server\main:/home/user/cod4/main \
-v F:\Cod4Server\zone:/home/user/cod4/zone \
-v F:\Cod4Server\mods:/home/user/cod4/mods \
-v F:\Cod4Server\usermaps:/home/user/cod4/usermaps:ro \
qmcgaw/cod4:latest \
+set dedicated 2 +set sv_cheats "0" +set sv_maxclients "16" +set fs_game mods/pml220 +set sv_punkbuster "1" +set rcon_password "geefmercon" +set g_gametype "sd" +exec server.cfg +map mp_crash
Logs:
=========================================
============ COD4x container ============
=============== A mix of ================
============= COD4X and Go ==============
=========================================
=== Made with ❤️ by github.com/qdm12 ====
=========================================
Running version ? built on ? (commit ?)
🔧 Need help? https://github.com/qdm12/private-internet-access-docker/issues/new
💻 Email? quentin.mcgaw@gmail.com
☕ Slack? Join from the Slack button on Github
💸 Help me? https://github.com/sponsors/qdm12
2020-12-14T17:05:21.417Z INFO COD4x arguments: +set fs_homepath /home/user/cod4 +set dedicated 2 +set sv_cheats 0 +set sv_maxclients 16 +set fs_game mods/pml220 +set sv_punkbuster 1 +set rcon_password geefmercon +set g_gametype sd +exec server.cfg +map mp_crash
2020-12-14T17:05:21.418Z INFO HTTP static files server enabled
2020-12-14T17:05:21.418Z INFO listening on 0.0.0.0:8000
2020-12-14T17:05:21.418Z INFO tty console mode disabled
2020-12-14T17:05:21.418Z INFO CoD4 X - linux-i386-custom build 0 Dec 14 2020
2020-12-14T17:05:21.418Z INFO --- Crypto Initializing ---
2020-12-14T17:05:21.418Z INFO Testing sha1 hash function - positive.
2020-12-14T17:05:21.418Z INFO Testing sha256 hash function - positive.
2020-12-14T17:05:21.418Z INFO Testing tiger hash function - positive.
2020-12-14T17:05:21.418Z INFO --- Crypto Initialization Complete ---
2020-12-14T17:05:21.418Z INFO IP: 127.0.0.1
2020-12-14T17:05:21.418Z INFO IP: 172.17.0.3
2020-12-14T17:05:21.418Z INFO Opening IP6 socket: [::]:28960 UDP
2020-12-14T17:05:21.418Z INFO Opening IP6 socket: [::]:28960 TCP
2020-12-14T17:05:21.418Z INFO Opening IP socket: 0.0.0.0:28960 UDP
2020-12-14T17:05:21.418Z INFO Opening IP socket: 0.0.0.0:28960 TCP
2020-12-14T17:05:21.418Z INFO
2020-12-14T17:05:21.418Z INFO -----------------------------
2020-12-14T17:05:21.418Z INFO CoD4X Auto Update
2020-12-14T17:05:21.418Z INFO Current version: 1.8
2020-12-14T17:05:21.418Z INFO Current subversion: 19
2020-12-14T17:05:21.418Z INFO Current build: 0
2020-12-14T17:05:21.418Z INFO -----------------------------
2020-12-14T17:05:21.418Z INFO
2020-12-14T17:05:21.418Z INFO Unable to resolve hostname cod4update.cod4x.me:80
2020-12-14T17:05:21.438Z INFO ----- FS_Startup -----
2020-12-14T17:05:21.438Z INFO fs_homepath is write protected.
2020-12-14T17:05:21.438Z INFO fs_game is write protected.
2020-12-14T17:05:21.467Z INFO Current language: english
2020-12-14T17:05:21.467Z INFO Current fs_basepath: .
2020-12-14T17:05:21.467Z INFO Current fs_homepath: /home/user/cod4
2020-12-14T17:05:21.467Z INFO Current search path:
2020-12-14T17:05:21.467Z INFO /home/user/cod4/mods/pml220
2020-12-14T17:05:21.467Z INFO ./mods/pml220
2020-12-14T17:05:21.467Z INFO /home/user/cod4/main
2020-12-14T17:05:21.467Z INFO /home/user/cod4/main_shared
2020-12-14T17:05:21.467Z INFO ./main
2020-12-14T17:05:21.467Z INFO ./main_shared
2020-12-14T17:05:21.467Z INFO ./players
2020-12-14T17:05:21.467Z INFO
2020-12-14T17:05:21.467Z INFO File Handles:
2020-12-14T17:05:21.467Z INFO ----------------------
2020-12-14T17:05:21.467Z INFO 0 files in iwd files
2020-12-14T17:05:21.467Z INFO Valid IWD checksums:
2020-12-14T17:05:21.468Z INFO couldn't exec default_mp.cfg
2020-12-14T17:05:21.468Z INFO fs_homepath is write protected.
2020-12-14T17:05:21.468Z INFO dedicated is write protected.
2020-12-14T17:05:21.468Z INFO fs_game is write protected.
2020-12-14T17:05:21.468Z INFO -------- Plugins initialization completed --------
2020-12-14T17:05:21.469Z INFO QUERY LIMIT: Querylimiting is enabled
2020-12-14T17:05:21.477Z INFO Couldn't open file ca/ca-bundle.crt
2020-12-14T17:05:21.477Z INFO Unable to resolve hostname raw.githubusercontent.com:443
2020-12-14T17:05:21.497Z INFO ^1Error: Sys_LoadLibrary error: steam_api.so: cannot open shared object file: No such file or directory
2020-12-14T17:05:21.497Z INFO ^1Error: steam_api.so not found or it was not possible to load. Error is: no error occurred while loading shared library. Steam is not going to work.
2020-12-14T17:05:21.497Z INFO begin $init
2020-12-14T17:05:21.498Z INFO end $init 1 ms
2020-12-14T17:05:21.500Z INFO Adding fastfile 'code_post_gfx_mp' to queue
2020-12-14T17:05:21.500Z INFO Adding fastfile 'localized_code_post_gfx_mp' to queue
2020-12-14T17:05:21.500Z INFO Adding fastfile 'common_mp' to queue
2020-12-14T17:05:21.500Z INFO Adding fastfile 'mod' to queue
2020-12-14T17:05:21.500Z INFO --- Common Initialization Complete ---
2020-12-14T17:05:21.500Z INFO ^5Hitch warning: 500 msec frame time
2020-12-14T17:05:21.503Z INFO execing server.cfg
2020-12-14T17:05:21.507Z INFO Loading fastfile 'code_post_gfx_mp'
2020-12-14T17:05:21.512Z INFO used 0.47 MB memory in DB alloc
2020-12-14T17:05:21.513Z INFO Waited 5 msec for asset 'maps/mp/gametypes/_gametypes.txt' of type 'rawfile'.
2020-12-14T17:05:21.514Z INFO Loaded fastfile 'code_post_gfx_mp' in 8ms (0ms waiting)
2020-12-14T17:05:21.521Z INFO Loading fastfile 'localized_code_post_gfx_mp'
2020-12-14T17:05:21.521Z INFO used 0.69 MB memory in DB alloc
2020-12-14T17:05:21.529Z INFO Loaded fastfile 'localized_code_post_gfx_mp' in 11ms (0ms waiting)
2020-12-14T17:05:21.537Z INFO Loading fastfile 'common_mp'
2020-12-14T17:05:21.537Z INFO used 39.00 MB memory in DB alloc
2020-12-14T17:05:21.755Z INFO Loaded fastfile 'common_mp' in 222ms (0ms waiting)
2020-12-14T17:05:21.758Z INFO Loading fastfile 'mod'
2020-12-14T17:05:21.758Z INFO used 1.91 MB memory in DB alloc
2020-12-14T17:05:21.765Z INFO Loaded fastfile 'mod' in 9ms (0ms waiting)
2020-12-14T17:05:21.765Z INFO ------ Server Initialization ------
2020-12-14T17:05:21.765Z INFO Server: mp_crash
2020-12-14T17:05:21.765Z INFO SV_SpawnServer checksum feed: 0x7462d7eb
2020-12-14T17:05:21.765Z INFO ----- FS_Startup -----
2020-12-14T17:05:21.765Z INFO fs_homepath is write protected.
2020-12-14T17:05:21.765Z INFO fs_game is write protected.
2020-12-14T17:05:21.802Z INFO Current language: english
2020-12-14T17:05:21.802Z INFO Current fs_basepath: .
2020-12-14T17:05:21.802Z INFO Current fs_homepath: /home/user/cod4
2020-12-14T17:05:21.802Z INFO Current search path:
2020-12-14T17:05:21.802Z INFO /home/user/cod4/mods/pml220
2020-12-14T17:05:21.802Z INFO ./mods/pml220
2020-12-14T17:05:21.802Z INFO /home/user/cod4/usermaps/mp_crash
2020-12-14T17:05:21.802Z INFO ./usermaps/mp_crash
2020-12-14T17:05:21.802Z INFO /home/user/cod4/main
2020-12-14T17:05:21.802Z INFO /home/user/cod4/main_shared
2020-12-14T17:05:21.802Z INFO ./main
2020-12-14T17:05:21.802Z INFO ./main_shared
2020-12-14T17:05:21.802Z INFO ./players
2020-12-14T17:05:21.802Z INFO
2020-12-14T17:05:21.802Z INFO File Handles:
2020-12-14T17:05:21.802Z INFO handle 1: qconsole.log
2020-12-14T17:05:21.802Z INFO ----------------------
2020-12-14T17:05:21.802Z INFO 0 files in iwd files
2020-12-14T17:05:21.802Z INFO Adding fastfile 'mp_crash' to queue
2020-12-14T17:05:21.810Z INFO Loading fastfile 'mp_crash'
2020-12-14T17:05:21.810Z INFO used 39.03 MB memory in DB alloc
2020-12-14T17:05:22.040Z INFO Waited 238 msec for asset 'maps/mp/mp_crash.d3dbsp' of type 'col_map_mp'.
2020-12-14T17:05:22.040Z INFO ------- Game Initialization -------
2020-12-14T17:05:22.040Z INFO gamename: Call of Duty 4
2020-12-14T17:05:22.040Z INFO gamedate: Feb 12 2009
2020-12-14T17:05:22.044Z INFO ^3Warning: WARNING: Could not load weapon file 'weapons/mp/defaultweapon_mp'
2020-12-14T17:05:22.048Z INFO ^3Warning: WARNING: Could not load weapon file 'weapons/mp/defaultweapon_mp'
2020-12-14T17:05:22.048Z INFO ********************
2020-12-14T17:05:22.048Z INFO ERROR: BG_LoadWeaponDef: Could not find default weapon
2020-12-14T17:05:22.048Z INFO ********************
2020-12-14T17:05:22.048Z INFO ----- Server Shutdown -----
2020-12-14T17:05:22.048Z INFO
2020-12-14T17:05:22.048Z INFO With the reason: Server crashed: BG_LoadWeaponDef: Could not find default weapon
2020-12-14T17:05:22.247Z INFO Loaded fastfile 'mp_crash' in 440ms (0ms waiting)
2020-12-14T17:05:22.247Z INFO ^1Error: Waited 199 msec for missing asset "Server crashed: BG_LoadWeaponDef: Could not find default weapon".
2020-12-14T17:05:22.247Z INFO Resolving cod4master.activision.com
2020-12-14T17:05:22.247Z INFO Couldn't resolve cod4master.activision.com
2020-12-14T17:05:22.247Z INFO ==== ShutdownGame (1) ====
2020-12-14T17:05:22.292Z INFO ---------------------------
2020-12-14T17:05:22.292Z INFO ^5Hitch warning: 791 msec frame time
Try another map or mod? I'm at work at the moment, I'll investigate further tonight. Also feel free to use the docker tag :v17.8
(i think otherwise go check the Github releases) to revert back to how it was.
Note to my future self: fix the build date / version in the logs.
Mabye good to know I'm using Docker Desktop 3.0.0 (50684).
Looks like it does something but i cant find or connect to the server. Without mod and mp_strike
=========================================
============ COD4x container ============
=============== A mix of ================
============= COD4X and Go ==============
=========================================
=== Made with ❤️ by github.com/qdm12 ====
=========================================
Running version ? built on ? (commit ?)
🔧 Need help? https://github.com/qdm12/private-internet-access-docker/issues/new
💻 Email? quentin.mcgaw@gmail.com
☕ Slack? Join from the Slack button on Github
💸 Help me? https://github.com/sponsors/qdm12
2020-12-14T19:11:00.332Z INFO COD4x arguments: +set fs_homepath /home/user/cod4 +set dedicated 2 +set sv_cheats 0 +set sv_maxclients 16 +set sv_punkbuster 1 +set rcon_password geefmercon +set g_gametype sd +exec server.cfg +map mp_strike
2020-12-14T19:11:00.332Z INFO HTTP static files server enabled
2020-12-14T19:11:00.332Z INFO listening on 0.0.0.0:8000
2020-12-14T19:11:00.333Z INFO tty console mode disabled
2020-12-14T19:11:00.333Z INFO CoD4 X - linux-i386-custom build 0 Dec 14 2020
2020-12-14T19:11:00.333Z INFO --- Crypto Initializing ---
2020-12-14T19:11:00.333Z INFO Testing sha1 hash function - positive.
2020-12-14T19:11:00.333Z INFO Testing sha256 hash function - positive.
2020-12-14T19:11:00.333Z INFO Testing tiger hash function - positive.
2020-12-14T19:11:00.333Z INFO --- Crypto Initialization Complete ---
2020-12-14T19:11:00.333Z INFO IP: 127.0.0.1
2020-12-14T19:11:00.333Z INFO IP: 172.17.0.3
2020-12-14T19:11:00.333Z INFO Opening IP6 socket: [::]:28960 UDP
2020-12-14T19:11:00.333Z INFO Opening IP6 socket: [::]:28960 TCP
2020-12-14T19:11:00.333Z INFO Opening IP socket: 0.0.0.0:28960 UDP
2020-12-14T19:11:00.333Z INFO Opening IP socket: 0.0.0.0:28960 TCP
2020-12-14T19:11:00.333Z INFO
2020-12-14T19:11:00.333Z INFO -----------------------------
2020-12-14T19:11:00.333Z INFO CoD4X Auto Update
2020-12-14T19:11:00.333Z INFO Current version: 1.8
2020-12-14T19:11:00.333Z INFO Current subversion: 19
2020-12-14T19:11:00.333Z INFO Current build: 0
2020-12-14T19:11:00.333Z INFO -----------------------------
2020-12-14T19:11:00.333Z INFO
2020-12-14T19:11:00.333Z INFO Unable to resolve hostname cod4update.cod4x.me:80
2020-12-14T19:11:00.353Z INFO ----- FS_Startup -----
2020-12-14T19:11:00.353Z INFO fs_homepath is write protected.
2020-12-14T19:11:00.379Z INFO Current language: english
2020-12-14T19:11:00.379Z INFO Current fs_basepath: .
2020-12-14T19:11:00.379Z INFO Current fs_homepath: /home/user/cod4
2020-12-14T19:11:00.379Z INFO Current search path:
2020-12-14T19:11:00.379Z INFO /home/user/cod4/main
2020-12-14T19:11:00.379Z INFO /home/user/cod4/main_shared
2020-12-14T19:11:00.379Z INFO ./main
2020-12-14T19:11:00.379Z INFO ./main_shared
2020-12-14T19:11:00.379Z INFO ./players
2020-12-14T19:11:00.379Z INFO
2020-12-14T19:11:00.379Z INFO File Handles:
2020-12-14T19:11:00.379Z INFO ----------------------
2020-12-14T19:11:00.379Z INFO 0 files in iwd files
2020-12-14T19:11:00.379Z INFO Valid IWD checksums:
2020-12-14T19:11:00.381Z INFO couldn't exec default_mp.cfg
2020-12-14T19:11:00.381Z INFO fs_homepath is write protected.
2020-12-14T19:11:00.381Z INFO dedicated is write protected.
2020-12-14T19:11:00.381Z INFO -------- Plugins initialization completed --------
2020-12-14T19:11:00.381Z INFO QUERY LIMIT: Querylimiting is enabled
2020-12-14T19:11:00.383Z INFO Couldn't open file ca/ca-bundle.crt
2020-12-14T19:11:00.383Z INFO Unable to resolve hostname raw.githubusercontent.com:443
2020-12-14T19:11:00.403Z INFO ^1Error: Sys_LoadLibrary error: steam_api.so: cannot open shared object file: No such file or directory
2020-12-14T19:11:00.403Z INFO ^1Error: steam_api.so not found or it was not possible to load. Error is: no error occurred while loading shared library. Steam is not going to work.
2020-12-14T19:11:00.403Z INFO begin $init
2020-12-14T19:11:00.404Z INFO end $init 1 ms
2020-12-14T19:11:00.404Z INFO Adding fastfile 'code_post_gfx_mp' to queue
2020-12-14T19:11:00.404Z INFO Adding fastfile 'localized_code_post_gfx_mp' to queue
2020-12-14T19:11:00.404Z INFO Adding fastfile 'common_mp' to queue
2020-12-14T19:11:00.404Z INFO Adding fastfile 'cod4x_patchv2' to queue
2020-12-14T19:11:00.405Z INFO --- Common Initialization Complete ---
2020-12-14T19:11:00.406Z INFO execing server.cfg
2020-12-14T19:11:00.410Z INFO Loading fastfile 'code_post_gfx_mp'
2020-12-14T19:11:00.415Z INFO used 0.47 MB memory in DB alloc
2020-12-14T19:11:00.416Z INFO Waited 4 msec for asset 'maps/mp/gametypes/_gametypes.txt' of type 'rawfile'.
2020-12-14T19:11:00.417Z INFO Loaded fastfile 'code_post_gfx_mp' in 9ms (0ms waiting)
2020-12-14T19:11:00.424Z INFO Loading fastfile 'localized_code_post_gfx_mp'
2020-12-14T19:11:00.424Z INFO used 0.69 MB memory in DB alloc
2020-12-14T19:11:00.433Z INFO Loaded fastfile 'localized_code_post_gfx_mp' in 11ms (0ms waiting)
2020-12-14T19:11:00.439Z INFO Loading fastfile 'common_mp'
2020-12-14T19:11:00.439Z INFO used 39.00 MB memory in DB alloc
2020-12-14T19:11:00.646Z INFO Loaded fastfile 'common_mp' in 210ms (0ms waiting)
2020-12-14T19:11:00.651Z INFO Loading fastfile 'cod4x_patchv2'
2020-12-14T19:11:00.651Z INFO used 3.08 MB memory in DB alloc
2020-12-14T19:11:00.661Z INFO Loaded fastfile 'cod4x_patchv2' in 13ms (0ms waiting)
2020-12-14T19:11:00.662Z INFO ------ Server Initialization ------
2020-12-14T19:11:00.662Z INFO Server: mp_strike
2020-12-14T19:11:00.662Z INFO SV_SpawnServer checksum feed: 0xbbc06b21
2020-12-14T19:11:00.662Z INFO ----- FS_Startup -----
2020-12-14T19:11:00.662Z INFO fs_homepath is write protected.
2020-12-14T19:11:00.683Z INFO Current language: english
2020-12-14T19:11:00.683Z INFO Current fs_basepath: .
2020-12-14T19:11:00.683Z INFO Current fs_homepath: /home/user/cod4
2020-12-14T19:11:00.683Z INFO Current search path:
2020-12-14T19:11:00.683Z INFO /home/user/cod4/main
2020-12-14T19:11:00.683Z INFO /home/user/cod4/main_shared
2020-12-14T19:11:00.683Z INFO ./main
2020-12-14T19:11:00.683Z INFO ./main_shared
2020-12-14T19:11:00.683Z INFO ./players
2020-12-14T19:11:00.683Z INFO
2020-12-14T19:11:00.683Z INFO File Handles:
2020-12-14T19:11:00.683Z INFO handle 1: qconsole.log
2020-12-14T19:11:00.683Z INFO ----------------------
2020-12-14T19:11:00.683Z INFO 0 files in iwd files
2020-12-14T19:11:00.683Z INFO Adding fastfile 'mp_strike' to queue
2020-12-14T19:11:00.689Z INFO Loading fastfile 'mp_strike'
2020-12-14T19:11:00.689Z INFO used 47.02 MB memory in DB alloc
2020-12-14T19:11:00.958Z INFO Waited 274 msec for asset 'maps/mp/mp_strike.d3dbsp' of type 'col_map_mp'.
2020-12-14T19:11:00.958Z INFO ------- Game Initialization -------
2020-12-14T19:11:00.958Z INFO gamename: Call of Duty 4
2020-12-14T19:11:00.958Z INFO gamedate: Feb 12 2009
2020-12-14T19:11:00.958Z INFO fs_ignoreLocalized is cheat protected.
2020-12-14T19:11:00.958Z INFO fs_ignoreLocalized is cheat protected.
2020-12-14T19:11:01.138Z INFO Loaded fastfile 'mp_strike' in 452ms (0ms waiting)
2020-12-14T19:11:01.138Z INFO ^1Error: Waited 175 msec for missing asset "codescripts/delete.gsx".
2020-12-14T19:11:01.376Z INFO -----------------------------------
2020-12-14T19:11:01.391Z INFO By using this software you agree to the usage conditions you can find at https://github.com/callofduty4x/CoD4x_Server#usage-conditions-for-server-hosters
2020-12-14T19:11:01.391Z INFO -----------------------------------
2020-12-14T19:11:01.391Z INFO ^4Calculate referenced files checksums...
2020-12-14T19:11:01.393Z INFO ^4CRC32 for zone/english/code_post_gfx_mp.ff is b144581c Len 89196
2020-12-14T19:11:01.405Z INFO ^4CRC32 for zone/english/common_mp.ff is 4ef7a074 Len 13517381
2020-12-14T19:11:01.407Z INFO ^4CRC32 for zone/cod4x_patchv2.ff is 2ffeadfe Len 550323
2020-12-14T19:11:01.433Z INFO ^4CRC32 for zone/english/mp_strike.ff is 6edcdb2d Len 35859527
2020-12-14T19:11:01.433Z INFO Resolving cod4master.activision.com
2020-12-14T19:11:01.433Z INFO Couldn't resolve cod4master.activision.com
2020-12-14T19:11:01.436Z INFO ^5Hitch warning: 1031 msec frame time
That's probably because of the Resolving
errors (for some reason, I'm investigating). You can use the Docker image qmcgaw/cod4:steam
and the resolution should work, so you should be able to have your server listed.
And 19.0 broke my mod too somehow, I'll investigate further when I have time. You have also a bunch of choices for the Docker tag you can use if that restores your setup: see here.
I tried :stream it looks like it runs but i cant join the server or find it somehow.
Hey there, I'll close the issue due to inactivity.
If you still have the problem, try the latest image (pull it) since I reworked quite a lot of it today, maybe it fixed it too.
You might also want to try the latest image which works with the server master list and is more stable than before (although 100MB fatter).
My server crashes on startup with this log
Followed ur github instructions 1 by 1!
With the reason:
Do you mabye now why? um not using any mods or something.
Also it sets this warning: