reapi icon indicating copy to clipboard operation
reapi copied to clipboard

[Question] Can ReAPI potentially replace cstrike and hamsandwich modules?

Open a1batross opened this issue 8 years ago • 3 comments

Hello there. I'm hacking into AMXModX code to make an ARM architecture support. In it's source code I found many scary hacks, like runtime function replacing, code in x86 opcodes(especially in hamsandwitch module) and so on.

It was actual back in these days, when ReGameDLL_CS and even CS16ND not existed, where original cs.so/mp.dll was the only implementation of Counter-Strike server library.

These hacks are platform-specific and obviously does not work on ARM. So I am asking, can this module, at least theoretically, provide methods from cstrike and hamsandwich modules with an extended API of ReGameDLL_CS?

a1batross avatar Apr 01 '17 14:04 a1batross

It's will be quite slow without JIT compiler support. I tried to explain to amxmodx maintainer that the core module shouldn't contain any hacks, but I did not succeed. Yes, reapi can replace other hacking modules, but it will need a small modification to support arm32 calling convention.

theAsmodai avatar Apr 01 '17 19:04 theAsmodai

Thanks for replying!

I don't have JIT today. Simple AMXModX modules are working(I dunno how fast, but at least working). I'm working on it. Slowly, but working. %)

a1batross avatar Apr 01 '17 20:04 a1batross

I tried to explain to amxmodx maintainer that the core module shouldn't contain any hacks, but I did not succeed.

I don't remember you saying me that, but sometimes it can't be helped. AMXX is very old. If you think you can improve the current code without breaking compatibility, feel free to do it. Any contribution is always welcomed.,

Arkshine avatar Apr 02 '17 09:04 Arkshine