mirror of
https://github.com/rehlds/reapi.git
synced 2025-01-13 23:28:07 +03:00
s1lent
8b26f29d54
Fix SetHookChainArg crash due to incorrect pointer to argument (hookctx_t gets the original function as the base address of the arguments, some compilers do UB and so for this reason hookctx_t has been reworked and now uses tuple).
Update reapi.inc - added ATYPE_BOOL and ATYPE_EVARS types Compiler: added option flag -static-libstdc++
Reapi
AMX Mod X module, using API regamedll & rehlds
Build instructions
There are several software requirements for building ReAPI:
- Java Development Kit (JDK) 7+ (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
- For Windows: Visual Studio 2015 and later
- For Linux: Intel C++ Compiler 15 and later
Checking requirements
JDK version
Windows
> %JAVA_HOME%\bin\javac -version javac 1.8.0_25
Linux
$ javac -version javac 1.7.0_65
Visual Studio
Help -> About
ICC
$ icc --version icc (ICC) 15.0.1 20141023
Building
On Windows:
gradlew clean buildRelease
On Linux (ICC):
./gradlew clean buildRelease
On Linux (GCC):
./gradlew clean -PuseGcc buildRelease
Compiled binaries will be placed in the build/binaries/ directory
How can I help the project?
Just install it on your game server and report problems you faced.
Merge requests are also welcome :shipit:
Languages
C++
54.8%
C
26.5%
pawn
17.5%
Shell
0.5%
Batchfile
0.4%
Other
0.3%