s1lentq / ReGameDLL_CS

:hammer: Reverse-engineered gamedll (CS 1.6 / CZero)
GNU General Public License v3.0
575 stars 197 forks source link

Server auto crashing #723

Open HowToRuski opened 2 years ago

HowToRuski commented 2 years ago

Tried to install reGameDLL on reHLDS. Server just crashes without any logs, but only dump file.

Tried going back to normal game dll, works just like a charm, but with it installed, nope.

dump file: https://anonfiles.com/D0S6xdE2x0/hlds_3.11.0.0-dev-_crash_20220129_132112_1_mdmp

Madghostek commented 2 years ago

I am having simmilar issues, but I have amxx installed, when I disable it in metamod .ini then it works,not sure yet why amxx doesn't work

WaLkZa commented 2 years ago

because of cstrike module if you are using amxx 1.8.2

Madghostek commented 2 years ago

I checked with debugger and it in fact does crash in cstrike_amxx.dll, it goes like metamod->mp.dll-> (hook jmp)->cstrike_amxx.dll. I think it's a ClientCommand hook (hard to tell because i dont have debug symbols), according to amxx source it checks if ReGameDLL is present and does different things then, i don't know whose issue is it (maybe its me with bad setup), it crashes early after going inside cstrike_amxx.dll because some pointer is corrupted

HowToRuski commented 2 years ago

I checked with debugger and it in fact does crash in cstrike_amxx.dll, it goes like metamod->mp.dll-> (hook jmp)->cstrike_amxx.dll. I think it's a ClientCommand hook (hard to tell because i dont have debug symbols), according to amxx source it checks if ReGameDLL is present and does different things then, i don't know whose issue is it (maybe its me with bad setup), it crashes early after going inside cstrike_amxx.dll because some pointer is corrupted

Update to amxx 1.9 works then

WPMGPRoSToTeMa commented 2 years ago

I hope there should be a compatibility section in README that will mention amxmodx version requirements.

Madghostek commented 2 years ago

I checked with debugger and it in fact does crash in cstrike_amxx.dll, it goes like metamod->mp.dll-> (hook jmp)->cstrike_amxx.dll. I think it's a ClientCommand hook (hard to tell because i dont have debug symbols), according to amxx source it checks if ReGameDLL is present and does different things then, i don't know whose issue is it (maybe its me with bad setup), it crashes early after going inside cstrike_amxx.dll because some pointer is corrupted

Update to amxx 1.9 works then

thanks, works now!