Skip to content
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

[Bug]: Running CoD4x Server with Mods on Unraid: Could not find default weapon #4357

Closed
lordimac opened this issue Oct 28, 2023 · 2 comments
Closed
Labels

Comments

@lordimac
Copy link

User story

Running Cod4x Server with Mods on Unraid

Game

CoD4

Linux distro

Other

Command

command: start

Further information

When runnign the docker container with LGSM Cod4 with Mod on Unraid, I get the following error log.
Same container version, with same config and same Mod is running fine on another distri then unraid.
Tested another mods as well, everytime the same error. Without mod its running fine.

Relevant log output

� �CoD4 X - linux-i386 build 1154 May  1 2022�[0m
]� �--- Crypto Initializing ---�[0m
]� �Testing sha1 hash function - positive.�[0m
]� �Testing sha256 hash function - positive.�[0m
]� �Testing tiger hash function - positive.�[0m
]� �--- Crypto Initialization Complete ---�[0m
]� �IP: 127.0.0.1�[0m
]� �IP: 192.168.120.23�[0m
]� �Opening IP6 socket: [::]:28960 UDP�[0m
]� �Opening IP6 socket: [::]:28960 TCP�[0m
]� �Opening IP socket: 0.0.0.0:28960 UDP�[0m
]� �Opening IP socket: 0.0.0.0:28960 TCP�[0m
]� ��[0m
-----------------------------�[0m
]� � CoD4X Auto Update�[0m
]� � Current version: 1.8�[0m
]� � Current subversion: 21.2�[0m
]� � Current build: 1154�[0m
]� �-----------------------------�[0m
�[0m
]� �New subversion 21.2�[0m
]� �Update not needed. All files are equal.�[0m
]� �----- FS_Startup -----�[0m
]� �fs_basepath is write protected.�[0m
]� �fs_homepath is write protected.�[0m
]� �fs_game is write protected.�[0m
]� �Current language: english�[0m
]� �Current fs_basepath: /data/serverfiles�[0m
]� �Current fs_homepath: /data/serverfiles�[0m
]� �Current search path:�[0m
]� �/data/serverfiles/Mods/pml220�[0m
]� �/data/serverfiles/main�[0m
]� �/data/serverfiles/main_shared�[0m
]� �/data/serverfiles/players�[0m
]� ��[0m
File Handles:�[0m
]� �----------------------�[0m
]� �0 files in iwd files�[0m
]� �couldn't exec default_mp.cfg�[0m
]� �fs_basepath is write protected.�[0m
]� �fs_homepath is write protected.�[0m
]� �dedicated is write protected.�[0m
]� �net_ip will be changed upon restarting.�[0m
]� �net_port will be changed upon restarting.�[0m
]� �fs_game is write protected.�[0m
]� �-------- Plugins initialization completed --------�[0m
]� �QUERY LIMIT: Querylimiting is enabled�[0m
]� �Master0: cod4master.cod4x.ovh�[0m
]� �Resolving cod4master.cod4x.ovh �[0m
]� �cod4master.cod4x.ovh resolved to 188.165.57.239:20810�[0m
]� �cod4master.cod4x.ovh resolved to [2001:41d0:a:37ad::17]:20810�[0m
]� �Master1: cod4master.ax-servers.hu�[0m
]� �Resolving cod4master.ax-servers.hu �[0m
]� �cod4master.ax-servers.hu resolved to 84.21.7.14:20810�[0m
]� �cod4master.ax-servers.hu resolved to [2a02:730:1220::187]:20810�[0m
]CAppInfoCacheReadFromDiskThread took 1 milliseconds to initialize
CApplicationManagerPopulateThread took 1 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
� �[S_API] Initialization completed�[0m
]� �begin $init�[0m
]� �end $init 1 ms�[0m
]� �Adding fastfile 'code_post_gfx_mp' to queue�[0m
]� �Adding fastfile 'localized_code_post_gfx_mp' to queue�[0m
]� �Adding fastfile 'common_mp' to queue�[0m
]� �Adding fastfile 'mod' to queue�[0m
]� �--- Common Initialization Complete ---�[0m
]� �Hunk available: 10, Hunk total: 10�[0m
]� ��[1;36mHitch warning: 1754 msec frame time�[0m
]� �execing server.cfg�[0m
]� �sv_maxclients is write protected.�[0m
]� �Loading fastfile 'code_post_gfx_mp'�[0m
]� �used 0.47 MB memory in DB alloc�[0m
]� �Loaded fastfile 'code_post_gfx_mp' in 4ms (0ms waiting)�[0m
]� �Loading fastfile 'localized_code_post_gfx_mp'�[0m
]� �used 0.69 MB memory in DB alloc�[0m
]� �Loaded fastfile 'localized_code_post_gfx_mp' in 12ms (0ms waiting)�[0m
]� �Loading fastfile 'common_mp'�[0m
]� �used 39.00 MB memory in DB alloc�[0m
]� �Loaded fastfile 'common_mp' in 206ms (0ms waiting)�[0m
]� �Loading fastfile 'mod'�[0m
]� �used 1.91 MB memory in DB alloc�[0m
]� �Loaded fastfile 'mod' in 10ms (0ms waiting)�[0m
]� �------ Server Initialization ------�[0m
]� �Server: mp_crossfire�[0m
]� �SV_SpawnServer checksum feed: 0x11d89988�[0m
]� �----- FS_Startup -----�[0m
]� �fs_basepath is write protected.�[0m
]� �fs_homepath is write protected.�[0m
]� �fs_game is write protected.�[0m
]� �Current language: english�[0m
]� �Current fs_basepath: /data/serverfiles�[0m
]� �Current fs_homepath: /data/serverfiles�[0m
]� �Current search path:�[0m
]� �/data/serverfiles/Mods/pml220�[0m
]� �/data/serverfiles/usermaps/mp_crossfire�[0m
]� �/data/serverfiles/main�[0m
]� �/data/serverfiles/main_shared�[0m
]� �/data/serverfiles/players�[0m
]� ��[0m
File Handles:�[0m
]� �----------------------�[0m
]� �0 files in iwd files�[0m
]� �Adding fastfile 'mp_crossfire' to queue�[0m
]� �Loading fastfile 'mp_crossfire'�[0m
]� �used 42.96 MB memory in DB alloc�[0m
]� �Waited 250 msec for asset 'maps/mp/mp_crossfire.d3dbsp' of type 'col_map_mp'.�[0m
]� �------- Game Initialization -------�[0m
]� �gamename: Call of Duty 4�[0m
]� �gamedate: Feb 12 2009�[0m
]� ��[1;33mWarning: WARNING: Could not load weapon file 'weapons/mp/defaultweapon_mp'�[0m
]� ��[1;33mWarning: WARNING: Could not load weapon file 'weapons/mp/defaultweapon_mp'�[0m
]� �********************�[0m
ERROR: �BG_LoadWeaponDef: Could not find default weapon�[0m
********************�[0m
]� �----- Server Shutdown -----�[0m
]� ��[0m
With the reason: Server crashed: �BG_LoadWeaponDef: Could not find default weapon�[0m
]� �Loaded fastfile 'mp_crossfire' in 413ms (0ms waiting)�[0m
]� ��[1;31mError: Waited 162 msec for missing asset "Server crashed: �BG_LoadWeaponDef: Could not find default weapon".�[0m
]� �Resolving cod4master.activision.com �[0m
]� �Sending master heartbeat from 0.0.0.0:28960 to 84.21.7.14:20810�[0m
]� �Sending master heartbeat from 0.0.0.0:28960 to 188.165.57.239:20810�[0m
]� �cod4master.activision.com resolved to 185.34.107.159:20810�[0m
]� �==== ShutdownGame (1) ====�[0m
]� �---------------------------�[0m
]� ��[1;36mHitch warning: 715 msec frame time�[0m
]� �Invalid or empty response from masterserver�[0m
]� �Sending master heartbeat from [::]:28960 to [2001:41d0:a:37ad::17]:20810�[0m
]� �Invalid or empty response from masterserver�[0m
]� �Sending master heartbeat from [::]:28960 to [2a02:730:1220::187]:20810�[0m
]

Steps to reproduce

No response

@dgibbs64
Copy link
Member

dgibbs64 commented Dec 4, 2023

I would suggest its an issue with the mod rather than linuxgsm specifically. Might be worth contacting the mod developer

@dgibbs64 dgibbs64 closed this as completed Dec 4, 2023
@github-project-automation github-project-automation bot moved this from 🆕 New Issues to ✅ Done in LinuxGSM Backlog Dec 4, 2023
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants