This Guide can be used to attach DLL to your client protection security.
This is a Guide for attaching an extender to your "L2Server.exe & L2NPC.EXE" using NTCore's Explorer Suit:
1.-First, download and install NTCore's Explorer Suit. [
Вы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками
Вход или
Регистрация
]
Once you have done that, the tool from Explorer Suit we are going to use is the CFF Explorer, which is located usually in
2.-C:\Program Files\NTCore\Explorer Suite\CFF Explorer.exe or Start -> Programs -> Explorer Suit -> CFF Explorer.
3.-Now go to File -> Open, and locate your L2Server.exe & L2NPC.EXE
4.-Now click on "Import Adder" on the left side of the window, and then click the "Add" button.
5.-Now you need to locate your extender and click open.
6.-Now click on the function you wish to import, in my case "IlExt.dll & NpcExt.dll", and click the button "Import By Name" and then click the large button "Rebuild Import Table".
7.-Now you click "Rebuilder" on the left side, then check the box named "Bind Import Table" and then click "Rebuild".
8.-Now you can go to File->Save and save your "L2Server.exe & L2NPC.EXE" and your extender is now attached.
FAQ.1.-"IlExt.dll & NpcExt.dll" is just an example of the DLL to be imported, it can be named anything you want and the exported function can also be named anything you want.
FAQ.2.-Importing by ordinal imports the function using its address on the export table within the DLL, if you then make changes and compile that DLL and the address changes then you will need to import it to the "L2Server.exe & L2NPC.EXE" again otherwise it may not load it correctly, whereas if you import by name, it doesn't matter if the address changes as long as the exported function name is the same.
FAQ.3.-And how Remove a "IlExt.dll & NpcExt.dll" in "L2Server.exe & L2NPC.EXE" or change for other?
1.-Go into 'Import Directory' & Find the dll you want to remove.
2.-Right click on it and click delete.
3.-Follow Step 7 of this guide to rebuild the import table & Save.
FAQ.4.-If you got an error saying that it cannot find any exported functions, that means you haven't exported your function in your extender correctly, or if the extender is not one you have created, then the creator is most likely using a LoadLibrary method to import that extender, and the above method will not work for attaching it.