-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
Weapons.cpp Assert #1007
Comments
This assert is related to grenades itself. Have you edited your grenades weapons behaviour? Maybe something is altering main behaviour |
Thank you for your reply |
There is no danger at all, no need to ban anyone. Try to provide the sources of those plugins so we can try to catch the issue. It is a latest commit that improves nade pickup behaviour and that assert message is harmless |
I understand now. The main issue is that it can cause the server to crash abnormally.I will upload the relevant source code when I have time |
This happen to me too while playing dodge ball mod when using current git of regamedll. This issue wont happen on older regamedll. So i decide to look for weapons.cpp file and put a comment on https://github.com/s1lentq/ReGameDLL_CS/blob/dc16b12d7976f03d20b81f9a2491ee7dddbb9b8e/regamedll/dlls/weapons.cpp#L1960 like this //Assert(iAmmoPickup != 0); so your server wont freeze & crash anymore. |
Got the source of that plugin? |
I can only provide you a partial code since it was a private mod for my team. |
Coded assert seen above is related to weaponbox grenade touching, your provided code doesn't help too much. You are allowing grenade dropping. Check CWeaponBox::Touch to understand the basic workflow of how this assert can appear. See how are you managing weaponboxes grenades in your addon since you're not providing source code. That commit was a fix for another past issue |
Older version? What's that version? |
Assert:weapons.cpp{1960}:Assertion Failed:iAmmoPickup!=0
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.14.0.840-dev
Build date: 04:03:25 Aug 16 2024 (3779)
Build from: rehlds/ReHLDS@01c1154
ReGameDLL version: 5.28.0.737-dev
The text was updated successfully, but these errors were encountered: