-
Notifications
You must be signed in to change notification settings - Fork 26
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
Segmentation Fault on v1.11.0 (linux server) using rehlds/metamod-r/agmodx #249
Comments
Offsets might have changed in 1.11.0. They should now match HL25. AG Mod X adds custom offsets. Try removing amxmodx/data/gamedata/common.games/custom from the server. |
Crash was caused by a modified/corrupted weapon vtable. Try removing everything related to Ham Sandwich module from AG Mod X for testing |
I'm not sure to understand, AG Mod X comes with my fork of BugfixedHL for the server side (maybe I should point that somewhere) for several reasons:
So maybe reporting this issue here doesn't make sense, unless you're switching to the one from tmp64 which I don't recommend. I mean, only because something can fail unexpectly, they're not so different, there are some things missing like the fix to respawn with High FPS (the implementation is different and it's missing a CVar to manage how fast you can spawn, normally I set this to 0.95 for players with 125fps). Still, I have seen servers with AG Mod X working with tmp64 fork. Now, tmp64 has been updated to support new HL25, that's unfortunate for AG Mod X, because this change gameplay behaviour, unless there's a way to opt-out. Other things to point out:
|
Since What do you think, guys? |
@Safety1st I have no issue testing builds or files on my servers. but I really dont want to be taking time from you and or @tmp64 to make a third party plugin work, I was interested in having both things working together mainly due to the new features, such as fog which could be cool to try on some competitive matches. To resume what just been said, I would be glad to test and help into making both things work together as long as I dont take too much time from any of you. |
That's not a problem since I also run AGMX server. And interested in finding info for gamedata files.
There are a lot limitations for AMXX plugins as compared with dlls. So I believe we have a very case when it is right to add support for 3rd party plugin. I assume it only requires a few changes in BHL. |
I'm reviewing the changes I made in my fork and what BHL from tmp64 requires to support AG Mod X is:
I didn't take into account changes made by HL25 anniversary (that's requires a more extensive review to keep the behaviour the same for HL/AG pro players) or the GCC older version compability. Offtopic: about limitation on AMXX plugins as compared with dlls, this can be fixed if we made an API inside BugfixedHL similar to what ReGameDLL does, allowing us to hook functions which would require Orpheu otherwise (Not supported in ReHLDS), not a good thing to look for signatures. This could improve a lot the modding for plugins that changes gameplay a lot (like Zombie mods, use of Weapon Mod, etc.) and make everyone benefit of BHL bugfixes and features. Anyway, some of the changes I made benefits 3rd party plugins too. |
I'm having a related issue that is caused by the changes introduced in BHL-Server version 1.11.0, which also affected the issue described in this discussion. When I hook the Observations
Steps to Reproduce
Suspected CauseThe issue seems to be related to changes introduced in BHL-Server version 1.11.0, which altered the layout of virtual function tables (vtable) in the When attempting to hook a specific event (e.g., Since the Ham Sandwich module relies on a predefined list of hooks (e.g., Environment DetailsThe issue was tested on a fresh installation with the following configuration:
Errors Encountered During SetupThese errors seem to be directly related with BHL-Server (
|
On a linux server (ubuntu 24.04) running on rehlds, metamod-r and agmodx, server crashes as soon as a player spawns and moves and/or shoots.
this issue doesn't happens with the same rehlds, metamod-r but without agmodx.
also this issue doesn't happens on the previous bugfixedhl build.
core.tar.gz
The text was updated successfully, but these errors were encountered: