Skip to content

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

Closed

Description

@a1batross

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?

Activity

  1. theAsmodai commented on Apr 1, 2017

    @theAsmodai
    Collaborator

    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.

  2. a1batross commented on Apr 1, 2017

    @a1batross
    Author

    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. %)

  3. Arkshine commented on Apr 2, 2017

    @Arkshine

    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.,

  4. locked and limited conversation to collaborators on Nov 21, 2024
  5. converted this issue into a discussion #337 on Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions