Jump to content

Guide Attaching an Extender


Recommended Posts

This is a guide for attaching an extender to your L2Server.exe using NTCore's Explorer Suit.

 

First, download and install NTCore's Explorer Suit. You can download it from NTCore's website here.

 

Once you have done that, the tool from Explorer Suit we are going to use is the CFF Explorer, which is located usually in C:\Program Files\NTCore\Explorer Suite\CFF Explorer.exe or Start -> Programs -> Explorer Suit -> CFF Explorer.

 

Now go to File -> Open, and locate your L2Server.exe

 

Now you need to click on "Import Adder" on the left side of the window, and then click the "Add" button, as shown below.

addj.jpg

 

Now you need to locate your extender and click open.

Once you have done that it should look like the screenshot below.

imported.jpg

 

Now you click on the function you wish to import, in my case "DllMain", and click the button "Import By Name" and then click the large button "Rebuild Import Table".

This next step is important, you must now click "Rebuilder" on the left side, then check the box named "Build Import Table" and then click "Rebuild", as shown below.

rebuild.jpg

 

Now you can go to File->Save and save your L2Server.exe and your extender is now attached.

 

(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.)

Link to comment
Share on other sites

Extender.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.

 

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 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.

Link to comment
Share on other sites

  • 1 month later...
  • 5 months later...

and how remove a dll in l2server or change for other?

Go into 'Import Directory'.

Find the dll you want to remove.

Right click on it and click delete.

Follow the last step of this guide to rebuild the import table.

Save.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

thanks a lot!

 

just my thoughts to the community that the posts by Anarchy are invaluable resources and is underrated! :D

Link to comment
Share on other sites

  • Vision changed the title to Attaching an Extender

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Posts

    • Promotional banners:  
    • We have added few new features for Second Edition of L2Etina. Check them out:   While streaming L2Etina, you will now receive L2Coins automatically.   Dwarves who have set private workshop, now automatically sell Crystallization to nearby players. For this service, they receive 10% of created crystals.   Before closing game, you will now see amount of earned experience, adena, total play time and acquired items.   You can now check Ranking of current and previous edition. This window can be found in Main Menu.   Party Window now have a special spot, showing if member has Noble Blessing.   Players from South America will be able to connect to the server by proxy.   Players who have supported first edition by donation, will now 2 weeks of free premium.   We have rewritten description of every buff, so they are now clear and handy. Vote rewards will be different for new edition, but exact items are not decided yet.   When spoil is successfull, you will now see special popup window. When you target monster who has been spoiled, you will see Spoil as a debuff.   Buff Store now have possibility to refuse to buff someone. Retail version of party matching was added back. Offline private stores now automatically disappear after 5 days. There are plenty more improvements and fixes, like ability to disable skill bar, multiple fixes to epic bosses, adjustments to aggro.
    • First of all thank you for fast answer. I have changed internal as you said but didn't work sir.
    • The difference isn't paying upfront or at the end of each week. The major difference is that paying clans to join, leads to leaders making random weak sides who play just for money and creates an extremely toxic fake competition in-game (i.e. l2 dex, e-global, valhalla and this kind of servers). Paying clans just to join absolutely kills the rivalry between them as there are no real losers and winners. Everyone gets paid at the end of every week so who cares right ?   Rewarding the winners with cash gives a massive motive to the leaders to create strong sides and try their best to win without giving any advantage to any clan (unlike paying people to join and basically giving them free premiums and whatnot). In this case, there will always be losers and winners and the rivalry will be kept alive.   I hope that clears up the massive difference between the 2 scenarios. Look at all those big russian servers. No1 makes fraps flaming about which side is better. Everyone cares about daily 9v9s or organized ones. There is no clan identity anymore because leaders simply don't care. They have been so detached from the clan's identity that most of the times the leader's CP holds a different name to the side's. This is a very important point to think about. 
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disbaled AdBlock