tmp64 / BugfixedHL-Rebased

Bugfixed and improved Half-Life
GNU General Public License v3.0
110 stars 23 forks source link

Segmentation Fault on v1.11.0 (linux server) using rehlds/metamod-r/agmodx #249

Open headshoter opened 19 hours ago

headshoter commented 19 hours ago

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

tmp64 commented 19 hours ago

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.

tmp64 commented 18 hours ago

Crash was caused by a modified/corrupted weapon vtable. Try removing everything related to Ham Sandwich module from AG Mod X for testing

headshoter commented 18 hours ago

@rtxA

rtxa commented 8 hours ago

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: