Jump to content

Recommended Posts

Posted

I made this tool today and it can help lots of people with creating a NPC Buffer

 

It works for:

L2J

L2J Free

L2 Emu

L2J Archid

 

Images:

http://img17.imageshack.us/img17/6827/l2jbuffcreator1.png

http://img17.imageshack.us/img17/8991/l2jbuffcreator2.png

http://img17.imageshack.us/img17/8149/l2jbuffcreator3.png

http://img5.imageshack.us/img5/3694/l2jbuffcreator4.png

http://img5.imageshack.us/img5/9162/l2jbuffcreator5.png

http://img5.imageshack.us/img5/561/l2jbuffcreator6.png

http://img5.imageshack.us/img5/4713/l2jbuffcreator7.png

http://img5.imageshack.us/img5/950/l2jbuffcreator8.png

 

Download Link:

http://www.4shared.com/file/91989985/35d78261/L2J_Buff_Creator.html

 

 

GUIDE

This guide is also in the program so you can read it again if your stuck

 

 

Ok the first thing you must do is making your buffer go to the Configuration and enable or disable what you want

Secondly go to the Buffs menu and fill in your buffs you want in your npc buffer

Now click at the generate button below the program

Now go to your My Generated Buffer and copy and paste it in notepad save it  as: __init__.py

Now go to your HTM Script and copy and paste them both (Read at the HTM Script menu)

And now put them in a folder called: 9999_NPCBUFFER

Now put them in your server folder: data\scripts\custom

Now open the file located in the data folder: scripts.cfg

 

And add this line: custom/9999_NPCBUFFER/__init__.py

 

Start your server and spawn the Npc you have as Npc Buffer and your done, You made your own Npc Buffer

 

 

Guide by DragonHunter

 

 

Change Log:

Created a new option: Adena Cost

Updated the L2J, L2JFree, L2Emu, L2JArchid Buffs up to 25 (now you can add more buffs to your npc buffer)

Fixed a typo

 

Fixed an unexpected bug

Posted

hm...i check it m8...tnx for share..

 

but onlu for l2emu ?:S

For now its only for l2emu but I need more time to create it :P

Posted

Visual basic?

 

By the way...Update it for l2j and l2jfree and youll get stick and karma :)

Posted

Visual basic?

 

By the way...Update it for l2j and l2jfree and youll get stick and karma :)

Agree! That's really awesome. Nice job, thanks a lot!

Posted

Visual basic?

 

By the way...Update it for l2j and l2jfree and youll get stick and karma :)

C# Created in Visual Studio 2008

 

And thanks ;)

Posted

DragonHunter your job is amazing...

i think it's 2 boys that make this work

You and Stealth..

i have to see Stealth days ago...

by no way!

Good Job!

Posted

Ok i've updated the L2J Buff Creator its now without bugs and it will work for the following servers:

L2J

L2 Emu

L2J Free

L2J Archid

 

You can now give the Minimum Adena/level requirements and going up to 2 buffs and you can change if the buffs must be visible yes or not this can improve high-rate servers or to reduce lag when you buff

I must continue my work so you can go up to 25buffs :P

Posted

DragonHunter you are the Best ;) btw can you make it and for L2jFree IL ?

I will see what I can do :)

 

 

Use the L2J Option I think it should work

Posted

1. gz bro the best prog here! very god job

2. guys lawl? only the imports diferent at packs ... so can use l2j prog for l2jfree.. take the code and change only imports after...

Guest
This topic is now closed to further replies.



  • Posts

    • sell adena l2rebon signature x1 - 1kk = 1 dollars l2reborn x10 - 500kk = 4 dollars E-Global x Lu4 - 1kk = 2 dollars BOHPTS - x20-x500 TOP PRICE DISCORD - GODDARDSHOP TELEGRAM - MMOPROMO Also on sale are Epic jewelry, Clothes at a very good price
    • Hello Sorry, my Discord is: ave7309
    • “Hello, I’d like to present a short description of the server. Everyone starts equally at max level 80. The server includes a custom buffer, custom class master, custom weapons and armors, custom zones, custom teleporter, custom raid bosses, and much more. I’ll leave a link in the description for those who want to see how everything looks inside. The server is only open on weekends, and you can find more news via the Facebook link.”   https://www.facebook.com/profile.php?id=61578869175323
    • 1. You where subscriber 3 years ago. 2. There is no current L2jMobius 2.8 Seven Signs version. Subcriber or not. 3. You have your answer from multiple forums that more items is more delay.  
    • 1. Optimize Packet Serialization Look in ItemList.java or wherever the inventory packet is constructed. Instead of building the packet with inefficient string concatenation or repeated allocations, use a preallocated buffer and avoid creating new objects for each item. Mobius sources are Java-based, so profiling with something like VisualVM or YourKit can help see where most time is spent. 2. Avoid Sending the Full List Each Time Modify the server to send only changed items (diff packets) when the inventory window opens. Some newer forks implement this as “lazy loading” or paged inventory so the client only loads e.g. 100 items at a time. 3. Limit the Inventory Size Per Page Instead of showing all 500 slots at once, split the inventory into pages/tabs (100 slots each). When the user switches a tab, send only that page’s items. This requires some client-side editing, but it’s the most user-friendly long-term fix. 4. Database & Cache Optimizations Ensure your items table is indexed by owner_id to make the query for player items fast. Cache item templates and static data so they are not reloaded every time the inventory is shown. ⚠️ Things to Keep in Mind Increasing slots from 80 → 500 does not just change a number — it multiplies the workload for packet building and UI rendering. You can’t fully avoid some extra cost with 500 items, but you can keep it under a few milliseconds if you optimize how and when the data is sent.    
  • 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 Disabled AdBlock