Page 1 of 1

How to make extension?

Posted: Wed Feb 15, 2017 9:20 am
by sapibuntinx
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:
  • 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
is this the correct way to implement our own extension?

Re: How to make extension?

Posted: Tue Jul 18, 2017 10:40 pm
by unkn0wnus3r
I am also looking for a guide, has some one information about this now?
Would like to create a overlay for HP and MP + Char name so i can see if my bot died or is just resting.

Re: How to make extension?

Posted: Tue Jul 18, 2017 11:40 pm
by nucular
Well i did not write an Extension from scratch, but it should work that way.
If you encounter problems just let me know, maybe i can help you.