CoD4x_Server icon indicating copy to clipboard operation
CoD4x_Server copied to clipboard

db_nobspweapon not working in latest build

Open k4r3l01 opened this issue 5 years ago • 2 comments

Hello no we added to our mod 126 weapons and we using dvar db_nobspweapon but on maps like mp_eerie etc server crash with Error: Exceeded limit of 128 'weapon' assets.

k4r3l01 avatar Apr 08 '19 10:04 k4r3l01

so i tried some debugs and now i know this function Load_WeaponDefAsset(struct WeaponDef **weapon) in db_load.cpp is called only on loading common_mp and mod fast file this function not hit on load map fast file :(

k4r3l01 avatar Apr 08 '19 11:04 k4r3l01

So its not problem of this function but map problem some mappers added to their map weapon via Radiant and these weapons are from sp and because that this not hit Load_WeaponDefAsset() function :( and cause exceeded limit :(

k4r3l01 avatar Apr 08 '19 12:04 k4r3l01