-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
game not loading. Maybe localization error? #3
Comments
Hi! This is likely due to a recent update i made. You could try building
the image yourself starting with the commit before the current one if
you're in a hurry. I am travelling until tomorrow so I can't fix it yet.
I'll fix it by Monday. Thanks for opening the issue!
…On Sat, Nov 3, 2018, 12:40 PM Willi ***@***.*** wrote:
Heho,
I'm trying to get this running, but encounter some errors. Can I use any
localization of the game? I have the german game file. The main folder has
some additional localized iwd files. In the zone folder is a subfolder
"german". Inside are the ff files for the maps etc.
would be grateful, if you had some tips =)
docker-compose.yml:
services:
cod4:
image: qmcgaw/cod4
container_name: cod4
volumes:
- ./main:/cod4/main
- ./zone:/cod4/zone:ro
- ./mods:/cod4/mods
- ./usermaps:/cod4/usermaps:ro
environment:
- ARGS=+set dedicated 2+set sv_cheats 1+set sv_maxclients 64+set ui_maxclients 64+exec server.cfg+map_rotate
ports:
- 28960:28960/udp
network_mode: bridge
http:
image: httpd:alpine
container_name: cod4-http
volumes:
- ./mods:/usr/local/apache2/htdocs/mods:ro
- ./usermaps:/usr/local/apache2/htdocs/usermaps:ro
ports:
- 8000:80
network_mode: bridge
Error:
Arguments are: +set dedicated 2+set sv_cheats 1+set sv_maxclients 64+set ui_maxclients 64+exec server.cfg+map_rotate
./cod4x18_dedrun: ./libstdc++.so.6: no version information available (required by ./cod4x18_dedrun)
********************************************************
***** RUNNING SERVER AS A ROOT IS GENERALLY UNSAFE *****
********************************************************
2018-11-03T09:34:03.079677100Z
tty console mode disabled
CoD4 X 1.8 linux-i386 build 2055 May 2 2017
--- Crypto Initializing ---
Testing sha1 hash function - positive.
Testing sha256 hash function - positive.
Testing tiger hash function - positive.
--- Crypto Initialization Complete ---
IP: 127.0.0.1
IP: 172.17.0.3
Opening IP6 socket: [::]:28960 UDP
Opening IP6 socket: [::]:28960 TCP
Opening IP socket: 0.0.0.0:28960 UDP
Opening IP socket: 0.0.0.0:28960 TCP
2018-11-03T09:34:03.080590900Z
-----------------------------
CoD4X Auto Update
Current version: 1.8
Current subversion: 17.5
Current build: 2055
-----------------------------
2018-11-03T09:34:03.080605100Z
New subversion 17.5
Update not needed. All files are equal.
----- FS_Startup -----
Current language: english
Current fs_basepath: .
Current fs_homepath: /root/.callofduty4
Current search path:
/root/.callofduty4/main
/root/.callofduty4/main_shared
./main
./main_shared
./players
2018-11-03T09:34:03.564993000Z
File Handles:
----------------------
0 files in iwd files
couldn't exec default_mp.cfg
couldn't exec q3config_server.cfg
dedicated is write protected.
-------- Plugins initialization completed --------
QUERY LIMIT: Querylimiting is enabled
Couldn't open file ca/ca-bundle.crt
HTTP_SendReceiveData: mbedtls_ssl_handshake returned X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
[S_API] Initialization completed
--- Common Initialization Complete ---
--- Game binary initialization ---
^1Error: Failed to load the CoD4 Game. Can not startup the game
^1--- Game Binary Initialization Failed ---
^5Hitch warning: 798 msec frame time
execing server.cfg
map_rotate...
"sv_mapRotation" is: "gametype dm map mp_shipment gametype war map mp_crossfire"
2018-11-03T09:34:03.801566800Z
"sv_mapRotationCurrent" is: ""
2018-11-03T09:34:03.801609300Z
---- Network shutdown ----
Closing IPv4 UDP socket: 5
Closing IPv6 UDP socket: 3
Closing IPv4 TCP socket: 6
Closing IPv6 TCP socket: 4
--------------------------
2018-11-03T09:34:04.029624100Z
Sys_Error: Unable to load a level as the game has failed to load!
2018-11-03T09:34:04.029670600Z
applicationmanager.cpp (3087) : Assertion Failed: CApplicationManager::GetMountVolume: invalid index
applicationmanager.cpp (3087) : Assertion Failed: CApplicationManager::GetMountVolume: invalid index
applicationmanager.cpp (3238) : Assertion Failed: m_vecInstallBaseFolders.Count() > 0
FillInMachineIDInfo took a total of 0 milliseconds
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AO7gROarhWO6cy_luFRhujQ6X0AJsTK4ks5urWSTgaJpZM4YMuMo>
.
|
ok great =) Thx for fast reply |
Hi there ! Actually the latest version works so it's due to the german game files you have I believe. You might find the answer by reading or asking on the COD4X forums. If you're ok with English, let me know and I could help. Here is my log with the English files for information and comparison:
I will close the issue for now, feel free to re-open it if you find something new ! |
The problem was a whitespace in the path. I removed the whitespace and the iwd files get detected. |
Ok thanks for letting me know. I'll update the container quite soon, maybe try to fix this whitespace problem, although it is likely to be related to the cod4x binary. |
some additional info:
I tried it on a win10 host.
Using the "normal" cod4x server nativly worked fine with the whitespace.
Am Do., 15. Nov. 2018 um 11:40 Uhr schrieb Quentin McGaw <
notifications@github.com>:
… Ok thanks for letting me know. I'll update the container quite soon, maybe
try to fix this whitespace problem, although it is likely to be related to
the cod4x binary.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfRoCbxipxhqXcfQ3kxOZzDUoZgcjI-lks5uvUSLgaJpZM4YMuMo>
.
|
Where were the whitespaces? In the zone files? I have updated the container, it notably runs without root now so it's more secured. |
whitespace was in the host path. I stored the data in "D:\games\CoD Server". |
How do you mount the directories in Docker? |
I put it in the compose file (first post) |
ok maybe try with the full path name and quotes? volumes:
- "/games/CoD Server/main:/cod4/main"
- "/games/CoD Server/zone:/cod4/zone:ro"
- "/games/CoD Server/mods:/cod4/mods"
- "/games/CoD Server/usermaps:/cod4/usermaps:ro" |
Also a little note, I've updated the image massively it's now 6.57MB 😃 You might encounter problems if you use it with Steam or want it to be listed publicly as it's really just the binary for now. I'll eventually do one based on Alpine to have a few extra features if someone needs it. |
Heho,
I'm trying to get this running, but encounter some errors. Can I use any localization of the game? I have the german game file. The main folder has some additional localized iwd files. In the zone folder is a subfolder "german". Inside are the ff files for the maps etc.
would be grateful, if you had some tips =)
docker-compose.yml:
Error:
The text was updated successfully, but these errors were encountered: