Opcodes | Definitions for private servers

Full list of opcodes / definitions for patch v92.4 and v100.2

This is a data-type repo, not a working script itself

Feel free to contibute with your data! -> open pull request

How to update any script manual

  • Open index.js (edit it via any text editor VS code studio pref)
  • Search for definitions: (example)

dispatch.hook(‘C_PLAYER_LOCATION’, 6, (event) => …..

  • Check out DEFINITIONS PATCH v100.2
  • Check if the value after definition inside the code equeals the one that is working for x game patch
  • If it is not change the value (in this case it will equals “5”

dispatch.hook(‘C_PLAYER_LOCATION’, 5, (event) => …..

  • Example no.2
  • What if there is something more then a number?

dispatch.hook(‘S_PLAYER_STAT_UPDATE’, dispatch.majorPatchVersion >= 109 ? 16 : 15, (event) => ….

  • Delete “dispatch.majorPatchVersion >= 109 ? 16 : 15”
  • Type pure number (in this case = 14 for patch 100.2)

dispatch.hook(‘S_PLAYER_STAT_UPDATE’, 14, (event) => ….

  • Save the file -> disable autoupdate so your edits won’t change

GitHub

View Github