Jump to content
  • 0

[Help] Buy/sell Zone


Protein

Question

Hi maxcheaters,

I need your help...looking for a shop zone to buy, sell only there.

 

I mean players are only be able to sell, buy and ofc rec sell in giran harbor.

 

I hope you can help.

Thanks!

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Take a look in jail zone and use the same check (NOSTORE) for peaceful zones. I think Giran harbor it is not peaceful. But if is peaceful in your project, you can create a new zone, use the same checks, and just insert Giran Harbor as store zone. (like flag zone with locs).

 

Better option is to create a new store zone.

 

Incidentally, it is not rec sell but craft.

Edited by 'Baggos'
Link to comment
Share on other sites

  • 0

Create for example zone type: OfflineShops.
Find function, which sets actor( player ) to shop, add check

if (actor.getZone() != ZoneType.OfflineShops)

{ send some kind of message;

return; }

 

Easiest solution.

 

P.s. class files in example are made up by me, so you need to know where stuff is in your pack.

Link to comment
Share on other sites

  • 0

It's far easier to restain some zones to be nostore zones (around gms, stairs, etc) rather than the reverse. aCis got it implemented that way at least.

 

If your server must restrain every single zone except the ones you chose, it's basically a reverted nostore zone system (if not inside the zone you can't sell). Simply track nostore system to see which places to edit, they are similar.

Link to comment
Share on other sites

  • 0

I edit now net.sf.l2j.gameserver.model.zone.type; L2TownZone

 @Override
 protected void onEnter(L2Character character)
 {
  if (character instanceof L2PcInstance)
  {
   // PVP possible during siege, now for siege participants only
   // Could also check if this town is in siege, or if any siege is going on
   if (((L2PcInstance) character).getSiegeState() != 0 && Config.ZONE_TOWN == 1)
    return;
  }
  
  if (_isPeaceZone && Config.ZONE_TOWN != 2)
   character.setInsideZone(ZoneId.PEACE, true);
  
  character.setInsideZone(ZoneId.TOWN, true);
  character.setInsideZone(ZoneId.NO_STORE, true); <--(ADDed)
 }
 
 @Override
 protected void onExit(L2Character character)
 {
  if (_isPeaceZone)
   character.setInsideZone(ZoneId.PEACE, false);
  
  character.setInsideZone(ZoneId.TOWN, false);
  character.setInsideZone(ZoneId.NO_STORE, false); <--(ADDed)
 }

All Townzones now " no store "

->Giran Harbor "store Zone"

 

thanks for tips and try to help me! :)

 

-> Topic can Lock!

Edited by Protein
Link to comment
Share on other sites

  • 0

I think it is better to edit "peaceful" zones for no store and create a new zone.

 

Your giran harbor isn't peaceful and all players can kill everyone inside.

So, you need a new store zone and after make it peaceful.

When you will create the new zone check this.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • ☎-+256759162994☎ Instant Death Spells Caster   @Revenge Spells Black Magic Voodoo instant revenge death spell caster Azerbaijan, Monte +256759162994.??….Dr. drmamaanani African Famous Voodoo instant revenge death spell caster well known identity as Mama demons Voodoo spell caster, @ CALL / WHATSAPP +256759162994. Results is 100% sure and guaranteed, spell casting specialist, drmamaanani  black magic death spells that work overnight or by accident or by making him / her polarized for his entire life OR to die in a sleep? Cast these strongest black magic revenge death spells that work fast has witchcraft spells to help you with any situation or problems. My witchcraft spells Death CAST overnight Revenge Spell on wicked friends, Voodoo Death Spells to kill Enemies Black Magic Spells To Harm Someone, Black magic death spells on ex lover , Revenge instant death spells on uncle +256759162994….CONTACT ME BY WHATSAPP: +256759162994-can help you if you are feeling HOW TO o kill ex lover, husband, wife girlfriend Enemies without delay. It doesn’t matter whether he or she is in another Country or State. I guarantee you to have your results you are looking for immediately. Just make sure before you contact me you are committed and you want what you are looking for (Victim Death) because my death spell work fast overnight after casting the spells. Immediately working black magic death spells that work fast will be cast on the person and result is 24hours. Mama Sanyu is a Voodoo -witchcraft spell caster who A LOVE SPELLS THAT WORK IMMEDIETLY How To Cast A Death Spell On Someone, Death Spells That Work Overnight to kill wicked Step-dad/ Step mom /@Effective True Love Spells Caster, Bring Back Lost Love Spells, Voodoo Spells Caster To Stop Cheating, Black Magic Spell Caster, Death & Revenge Spells In Australia, USA, UK, Canada, Mauritius. Bring Back Lost Love Spell Caster in Tasmania Victoria West Norway Hull London Powerful Spiritual Traditional Herbalist Healer experienced in Ancestral healing and spell casting, Astrologers, African Medicines, Ritualism, Herbalist healers, Spiritual healers, Native healer, Philosophy, Traditional healers, Herbal remedies, holistic healing .drmamaanani@gmail.com
    • @$+256759162994!!)SPIRITUAL QUICKEST DEATH SPELL / REVENGE SPELL CASTER IN AUSTRALIA, NORWAY, ITALY, *$$ DEATH SPELLS/ MARRIAGE SPELL CASTER+256759162994.??….Dr. drmamaanani African Famous Voodoo instant revenge death spell caster well known identity as Mama demons Voodoo spell caster, @ CALL / WHATSAPP +256759162994. Results is 100% sure and guaranteed, spell casting specialist, drmamaanani  black magic death spells that work overnight or by accident or by making him / her polarized for his entire life OR to die in a sleep? Cast these strongest black magic revenge death spells that work fast has witchcraft spells to help you with any situation or problems. My witchcraft spells Death CAST overnight Revenge Spell on wicked friends, Voodoo Death Spells to kill Enemies Black Magic Spells To Harm Someone, Black magic death spells on ex lover , Revenge instant death spells on uncle +256759162994….CONTACT ME BY WHATSAPP: +256759162994-can help you if you are feeling HOW TO o kill ex lover, husband, wife girlfriend Enemies without delay. It doesn’t matter whether he or she is in another Country or State. I guarantee you to have your results you are looking for immediately. Just make sure before you contact me you are committed and you want what you are looking for (Victim Death) because my death spell work fast overnight after casting the spells. Immediately working black magic death spells that work fast will be cast on the person and result is 24hours. Mama Sanyu is a Voodoo -witchcraft spell caster who A LOVE SPELLS THAT WORK IMMEDIETLY How To Cast A Death Spell On Someone, Death Spells That Work Overnight to kill wicked Step-dad/ Step mom /@Effective True Love Spells Caster, Bring Back Lost Love Spells, Voodoo Spells Caster To Stop Cheating, Black Magic Spell Caster, Death & Revenge Spells In Australia, USA, UK, Canada, Mauritius. Bring Back Lost Love Spell Caster in Tasmania Victoria West Norway Hull London Powerful Spiritual Traditional Herbalist Healer experienced in Ancestral healing and spell casting, Astrologers, African Medicines, Ritualism, Herbalist healers, Spiritual healers, Native healer, Philosophy, Traditional healers, Herbal remedies, holistic healing .drmamaanani@gmail.com
    • NAMIBIA@+256759162994- DEATH SPELL CASTER REVENGE DEATH SPELLS WITH GUARANTEE RESULTS IN BOSTON CANADA FRANCE Enemy kill revenge spells in Essen, Germany.+256759162994.??….Dr. drmamaanani African Famous Voodoo instant revenge death spell caster well known identity as Mama demons Voodoo spell caster, @ CALL / WHATSAPP +256759162994. Results is 100% sure and guaranteed, spell casting specialist, drmamaanani  black magic death spells that work overnight or by accident or by making him / her polarized for his entire life OR to die in a sleep? Cast these strongest black magic revenge death spells that work fast has witchcraft spells to help you with any situation or problems. My witchcraft spells Death CAST overnight Revenge Spell on wicked friends, Voodoo Death Spells to kill Enemies Black Magic Spells To Harm Someone, Black magic death spells on ex lover , Revenge instant death spells on uncle +256759162994….CONTACT ME BY WHATSAPP: +256759162994-can help you if you are feeling HOW TO o kill ex lover, husband, wife girlfriend Enemies without delay. It doesn’t matter whether he or she is in another Country or State. I guarantee you to have your results you are looking for immediately. Just make sure before you contact me you are committed and you want what you are looking for (Victim Death) because my death spell work fast overnight after casting the spells. Immediately working black magic death spells that work fast will be cast on the person and result is 24hours. Mama Sanyu is a Voodoo -witchcraft spell caster who A LOVE SPELLS THAT WORK IMMEDIETLY How To Cast A Death Spell On Someone, Death Spells That Work Overnight to kill wicked Step-dad/ Step mom /@Effective True Love Spells Caster, Bring Back Lost Love Spells, Voodoo Spells Caster To Stop Cheating, Black Magic Spell Caster, Death & Revenge Spells In Australia, USA, UK, Canada, Mauritius. Bring Back Lost Love Spell Caster in Tasmania Victoria West Norway Hull London Powerful Spiritual Traditional Herbalist Healer experienced in Ancestral healing and spell casting, Astrologers, African Medicines, Ritualism, Herbalist healers, Spiritual healers, Native healer, Philosophy, Traditional healers, Herbal remedies, holistic healing .drmamaanani@gmail.com
    • @@$+256759162994- BLACK MAGIC INSTANT DEATH SPELL CASTER IN UGANDA, NETHERLANDS,+256759162994.??….Dr. drmamaanani African Famous Voodoo instant revenge death spell caster well known identity as Mama demons Voodoo spell caster, @ CALL / WHATSAPP +256759162994. Results is 100% sure and guaranteed, spell casting specialist, drmamaanani  black magic death spells that work overnight or by accident or by making him / her polarized for his entire life OR to die in a sleep? Cast these strongest black magic revenge death spells that work fast has witchcraft spells to help you with any situation or problems. My witchcraft spells Death CAST overnight Revenge Spell on wicked friends, Voodoo Death Spells to kill Enemies Black Magic Spells To Harm Someone, Black magic death spells on ex lover , Revenge instant death spells on uncle +256759162994….CONTACT ME BY WHATSAPP: +256759162994-can help you if you are feeling HOW TO o kill ex lover, husband, wife girlfriend Enemies without delay. It doesn’t matter whether he or she is in another Country or State. I guarantee you to have your results you are looking for immediately. Just make sure before you contact me you are committed and you want what you are looking for (Victim Death) because my death spell work fast overnight after casting the spells. Immediately working black magic death spells that work fast will be cast on the person and result is 24hours. Mama Sanyu is a Voodoo -witchcraft spell caster who A LOVE SPELLS THAT WORK IMMEDIETLY How To Cast A Death Spell On Someone, Death Spells That Work Overnight to kill wicked Step-dad/ Step mom /@Effective True Love Spells Caster, Bring Back Lost Love Spells, Voodoo Spells Caster To Stop Cheating, Black Magic Spell Caster, Death & Revenge Spells In Australia, USA, UK, Canada, Mauritius. Bring Back Lost Love Spell Caster in Tasmania Victoria West Norway Hull London Powerful Spiritual Traditional Herbalist Healer experienced in Ancestral healing and spell casting, Astrologers, African Medicines, Ritualism, Herbalist healers, Spiritual healers, Native healer, Philosophy, Traditional healers, Herbal remedies, holistic healing .drmamaanani@gmail.com  
    • +256759162994= Most Trusted Death Spells Caster in SOUTH AFRICA,Namibia,USA,UK,Austria,Australia,Sweden,Switzerland,Italy,Spain,Canada,Brazil,Norway,New Zealand,Belgium,Zambia,Zimbabwe,Botswana,Lesotho,U.A.E,Egypt,Kuwait,Turkey,Qatar,Pakistan +256759162994.??….Dr. drmamaanani African Famous Voodoo instant revenge death spell caster well known identity as Mama demons Voodoo spell caster, @ CALL / WHATSAPP +256759162994. Results is 100% sure and guaranteed, spell casting specialist, drmamaanani  black magic death spells that work overnight or by accident or by making him / her polarized for his entire life OR to die in a sleep? Cast these strongest black magic revenge death spells that work fast has witchcraft spells to help you with any situation or problems. My witchcraft spells Death CAST overnight Revenge Spell on wicked friends, Voodoo Death Spells to kill Enemies Black Magic Spells To Harm Someone, Black magic death spells on ex lover , Revenge instant death spells on uncle +256759162994….CONTACT ME BY WHATSAPP: +256759162994-can help you if you are feeling HOW TO o kill ex lover, husband, wife girlfriend Enemies without delay. It doesn’t matter whether he or she is in another Country or State. I guarantee you to have your results you are looking for immediately. Just make sure before you contact me you are committed and you want what you are looking for (Victim Death) because my death spell work fast overnight after casting the spells. Immediately working black magic death spells that work fast will be cast on the person and result is 24hours. Mama Sanyu is a Voodoo -witchcraft spell caster who A LOVE SPELLS THAT WORK IMMEDIETLY How To Cast A Death Spell On Someone, Death Spells That Work Overnight to kill wicked Step-dad/ Step mom /@Effective True Love Spells Caster, Bring Back Lost Love Spells, Voodoo Spells Caster To Stop Cheating, Black Magic Spell Caster, Death & Revenge Spells In Australia, USA, UK, Canada, Mauritius. Bring Back Lost Love Spell Caster in Tasmania Victoria West Norway Hull London Powerful Spiritual Traditional Herbalist Healer experienced in Ancestral healing and spell casting, Astrologers, African Medicines, Ritualism, Herbalist healers, Spiritual healers, Native healer, Philosophy, Traditional healers, Herbal remedies, holistic healing .drmamaanani@gmail.com
  • 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