[Metamod] VTable HookKilled()
This is working just fine under Windows. But in Linux, when the entity gets killed by a HE grenade it result to a Segmentation fault. Always.
Any idea why this just happens with HEs? Have tried without even AMXX to make sure no plugins conflict with it. Code:
|
Re: [Metamod] VTable HookKilled()
Code looks good. It reminds this issue someone has under windows though : https://github.com/ValveSoftware/halflife/issues/1646
Don't you have a backtrace? |
Re: [Metamod] VTable HookKilled()
Had to remove the .so file since it didn't overwrite a old version I used to block every DamageType except DMG_HEGRENADE bit in TakeDamage().
Now it crashes whatever weapon I'm using when the entity should die. It's the same line in HookKilled() causing it. Still works fine under Windows. Too much to copy & paste in here so I attach a zipped file with the files. |
Re: [Metamod] VTable HookKilled()
You're setting base to 0x94 and diff to 2, does it mean you're running an old HLDS version before the Steam update in 2013?
|
Re: [Metamod] VTable HookKilled()
Quote:
|
All times are GMT -4. The time now is 06:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.