Jump to content

Question

Recommended Posts

  • 0
Posted (edited)

thanks for you guide wolf! +1 and i want to do it coz all low rate server has many private traders and crafters..

Then why dont you create some some custom area into the zones.xml   give the X Y Z square 

like you see in this image below

 

257locm.jpg

 

(note the red area is restricted for private stores)

and for name of your custom area just put NO_PRIVATE_STORE (is already inside pack as area that not allowed private stores and return message)

it is much easer than block generaly all private stores in giran..

 

 

Ps. There is a variable inside L2PcInstance.java and a line called

         setPrivateStoreType(L2PcInstance.STORE_PRIVATE_SELL + 1);

 

This mean that everytime a player do a private sell the variable update its sell to ++

 

you can put a code inside SetPrivateSellStore.java that check if this variable is more than X and IF and if is bigger than 100 to return a message

"you can't sell something right now, there are already many sellers" or something like that.. i just gave you ideas

Edited by WolfGiaS3na

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

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