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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

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



×
×
  • Create New...