multitheftauto / amx

MTA AMX compatibility layer.
zlib License
31 stars 8 forks source link

Function validation test #4

Open Disinterpreter opened 4 years ago

Disinterpreter commented 4 years ago

Pawn is the language with many static statements. So it has prototypes of the functions. I suggest to make a test software for a theoretical compatibility.

How you can do it:

  1. You should get a SAMP server.
  2. Check out a samp03asvr_R8_win32\pawno\include directory.
  3. Parse the functions from each a_* files.
  4. Compare with functions of this "wrapper".
  5. Output the functions which have a different name and argumens.
Disinterpreter commented 4 years ago

I made a manual analytics and attached the files. mta-amx.txt samp-amx.txt

This files contains the working functions from this repository and SAMP 0.3.7 R8 server.

Also I made a diff: https://www.diffchecker.com/YS4ieVpH

Disinterpreter commented 4 years ago

Someone in SAMP put the include into the SAMP 0.3.7 server from previous build 😕😕😕 SAMP-COMPABILITY.txt

A new file is contain about 430 functions! I attached a new diff again.

https://www.diffchecker.com/USYv307M