How to make extension?

Post Reply
sapibuntinx
VIP
Posts: 25
Joined: Fri Jan 20, 2017 1:58 pm
Has thanked: 8 times
Been thanked: 14 times

How to make extension?

Post by sapibuntinx » 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:
  • 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?

unkn0wnus3r
Posts: 75
Joined: Wed Jan 18, 2017 12:27 pm
Has thanked: 10 times
Been thanked: 13 times

Re: How to make extension?

Post by unkn0wnus3r » Tue Jul 18, 2017 10:40 pm

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.

User avatar
nucular
Site Admin
Posts: 260
Joined: Sat Jan 07, 2017 9:08 pm
Has thanked: 27 times
Been thanked: 388 times

Re: How to make extension?

Post by nucular » Tue Jul 18, 2017 11:40 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests