How to make extension?
Posted: Wed Feb 15, 2017 9:20 am
Is there any official tutorial on how to create our own extension? In the previous aion-script there was also no documentation on how to make our own extension.
From what I've got from disassembling cheating2 extension:
From what I've got from disassembling cheating2 extension:
- add reference to AionInterface.dll
- add reference to Reflex.Memory.dll
- in the root namespace, create a class named: AionExtension
- add OnLoad method in AionExtension class with this signature
Code: Select all
public Form OnLoad(string zCurrentDirectory, Dictionary<string, string> hSetting)
- add OnClose method in AionExtension class with this signature
Code: Select all
public void OnClose(Dictionary<string, string> hSetting)
- register our extension to handle event on Game.OnFrame and Game.OnPlayer
- set output target as DLL