Jump to content
  • 0

[HELP]trade zone with trade manager


Question

Posted

hello

Help me find a mod on interlude l2jfrozen

in for a specific trade zone can trade players, and in the same area is NPC that indexes items that are on sale \ buying players.

Run up to the NPC and click the list B armor and it gives you all the names of the players who sell armor b(example avadon robe) and price

Thx

1 answer to this question

Recommended Posts

  • 0
Posted

its easy to do:

1. make custom zone(there are few guides)

2. Make custom npc instance(there are a lot of examples)

3. start single thread (ThreadPoolManager.getInstance().scheduleAtFixedRate(new CheckShops(), 30000, 30000);)

4. Make thread class(CheckShops that will implement Runnable Class) which will interate all players in game and check if player have got shop and if its in zone and add it to the list which will be cleared at every start of the thread.

5. make html window that will iterate all shops that are on the list and show there what u want.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..