CoD4x_Server
CoD4x_Server copied to clipboard
db_nobspweapon not working in latest build
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.
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 :(
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 :(