Jump to content
  • 0

Changed Gludin Village to nopeace zone and got this issue


Question

Posted

Greetings,

As the title says i changed Gluding Village to a nopeace zone and the following issue occures:

Players can attack each other normally , they get Flagged and also get PvP Kills. On the other hand when a player kills a non-flagged player his PK score increases normally but he doesn't get any Karma or Red name.

I checked zone xml , Gludin is set as a Town , and nopeace = True

Checked L2TownZone.java , checked L2PeaceZone.java but can't figure what is the cause of the problem. Using Frozen Rev. 1004

Thanks in advance.

5 answers to this question

Recommended Posts

  • 0
Posted
22 minutes ago, MiReEn said:

Greetings,

As the title says i changed Gluding Village to a nopeace zone and the following issue occures:

Players can attack each other normally , they get Flagged and also get PvP Kills. On the other hand when a player kills a non-flagged player his PK score increases normally but he doesn't get any Karma or Red name.

I checked zone xml , Gludin is set as a Town , and nopeace = True

Checked L2TownZone.java , checked L2PeaceZone.java but can't figure what is the cause of the problem. Using Frozen Rev. 1004

Thanks in advance.

go your chars outside of town and try to pk again.  and see if your char can pk there or not

  • 0
Posted

http://subversion.assembla.com/svn/L2jFrozenInterlude/trunk/gameserver/head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java

 

i can see a method called increasepkkillsandkarma, there are some eye-bleeding references to town.

A quick solution other than deleting this pack, is to override gludin village here 

Quote

if (Town == null || (isinTownWar() && Config.TW_ALLOW_KARMA))
		{
			setKarma(getKarma() + newKarma);
		}

 just add || town.getId() == gludin_village_id_here.

Guest
This topic is now closed to further replies.


  • Posts

    • Γεια σε ολους, προσπαθω εδω και 2 μερες να κανω αυτο το πραγμα να λειτουργει. το καταφερα για ενα διαστημα 5 ωρων. αλλα φαινεται οτι το discord μου κανει block to dll. ή κατι αλλο που δεν μπορω να ειμαι σιγουρος για το τι φταιει... αν καποιος γνωριζει κατι ας στειλει ενα pm να το δουμε μαζι.  *το source το εφιαξα εγω. https://youtu.be/kMvrbo9VBZc  ενα βιντεο που δειχνει πως δουλευε πριν σταματησει να δουλευει...   
    • thank you, please move to the desired category
    • wrong section, you need move this post to https://maxcheaters.com/forum/72-marketplace-l2packs-files/
    • Unlock Unlimited Access with GoProxy's Residential Proxies!   Experience seamless, secure, and unrestricted connectivity worldwide with GoProxy's Unlimited Residential Proxies. Our service offers access to a global network of rotating residential IPs, ensuring top performance for your large-scale data collection, streaming, and more.     ✔️Unlimited Traffic & IPs: Enjoy unrestricted access with our rotating residential proxies, delivering high performance through a vast global IP pool. ✔️High Success Rate: Achieve a 99.96% success rate with a rapid 0.6-second response time, ensuring efficient and reliable operations. ✔️Flexible Sessions: Customize IP rotation to fit your project needs, with options for automatic rotation and sticky sessions lasting up to 60 minutes. ✔️Global Coverage: Access IPs from over 120 countries, making it ideal for businesses requiring high bandwidth without region-specific constraints.     All plans include unlimited traffic and IPs, unlimited concurrent requests, and access to real residential IP addresses. Elevate your online operations with GoProxy's Unlimited Residential Proxies—your smart choice for large-scale projects.   👉 Learn more and get started today: GoProxy Unlimited Proxies
  • Topics

×
×
  • Create New...