How to create zone with a reward for PvP

Path:
gameserver\data\zone

Example:
XML:
 <zone name="[baium_epic_fun]" type="fun" >
        <set name="enabled" val="true" />
        <set name="playerKillReward" val="4037:100,100;57:100,80" />
        <set name="karmaPlayerKillReward" val="4037:100,100;57:100,80" />
        <set name="ZoneRewardInterval" val="1" />
        <set name="playerKillCheck" val="ip|hwid" />
        <polygon>
            <coords loc="116616 17576 10032 10232" />
            <coords loc="117064 16552 10032 10232" />
            <coords loc="117032 15592 10032 10232" />
            <coords loc="116664 14632 10032 10232" />
            <coords loc="116024 14008 10032 10232" />
            <coords loc="115128 13640 10032 10232" />
            <coords loc="114136 13624 10032 10232" />
            <coords loc="113256 13992 10032 10232" />
            <coords loc="112568 14664 10032 10232" />
            <coords loc="112216 15592 10032 10232" />
            <coords loc="112216 16552 10032 10232" />
            <coords loc="112600 17432 10032 10232" />
            <coords loc="113288 18120 10032 10232" />
            <coords loc="114152 18472 10032 10232" />
            <coords loc="115144 18488 10032 10232" />
            <coords loc="116152 18024 10032 10232" />
        </polygon>
    </zone>

Where:
playerKillReward - PvP reward parameter
karmaPlayerKillReward - PK reward parameter
<set name="playerKillReward" val="4037(item_id):100(item_count),100(chance);57(item_id):100(item_count),80(chance)" />
ZoneRewardInterval - delay before reward for kill. Time in Minutes
playerKillCheck - method of check. ip and hwid, or ip or hwid. If you delete this param, the check will not occur.

If you want the reward to be charged in the type zone type="fun" you will need to enable config PvPCountingInFunZone = True in pvp.properties
 
Last edited:
Path:
gameserver\data\zone

Example:
XML:
 <zone name="[baium_epic_fun]" type="fun" >
        <set name="enabled" val="true" />
        <set name="playerKillReward" val="4037:100,100;57:100,80" />
        <set name="karmaPlayerKillReward" val="4037:100,100;57:100,80" />
        <set name="ZoneRewardInterval" val="1" />
        <set name="playerKillCheck" val="ip|hwid" />
        <polygon>
            <coords loc="116616 17576 10032 10232" />
            <coords loc="117064 16552 10032 10232" />
            <coords loc="117032 15592 10032 10232" />
            <coords loc="116664 14632 10032 10232" />
            <coords loc="116024 14008 10032 10232" />
            <coords loc="115128 13640 10032 10232" />
            <coords loc="114136 13624 10032 10232" />
            <coords loc="113256 13992 10032 10232" />
            <coords loc="112568 14664 10032 10232" />
            <coords loc="112216 15592 10032 10232" />
            <coords loc="112216 16552 10032 10232" />
            <coords loc="112600 17432 10032 10232" />
            <coords loc="113288 18120 10032 10232" />
            <coords loc="114152 18472 10032 10232" />
            <coords loc="115144 18488 10032 10232" />
            <coords loc="116152 18024 10032 10232" />
        </polygon>
    </zone>

Where:
playerKillReward - PvP reward parameter
karmaPlayerKillReward - PK reward parameter
<set name="playerKillReward" val="4037(item_id):100(item_count),100(chance);57(item_id):100(item_count),80(chance)" />
ZoneRewardInterval - delay before reward for kill. Time in Minutes
playerKillCheck - method of check. ip and hwid, or ip or hwid. If you delete this param, the check will not occur.

If you want the reward to be charged in the type zone type="fun" you will need to enable config PvPCountingInFunZone = True in pvp.properties
playerKillCheck add check for clan and alliance, to prevent reward on pvp same clan or ally.
 
Path:
gameserver\data\zone

Example:
XML:
 <zone name="[baium_epic_fun]" type="fun" >
        <set name="enabled" val="true" />
        <set name="playerKillReward" val="4037:100,100;57:100,80" />
 <set name="karmaPlayerKillReward" val="4037:100,100; 57:100,80" />
        <set name="ZoneRewardInterval" val="1" />
        <set name="playerKillCheck" val="ip|hwid" />
 <polígono>
            <coords loc="116616 17576 10032 10232" />
            <coords loc="117064 16552 10032 10232" />
            <coords loc="117032 15592 10032 10232" />
            <coords loc="116664 14632 10032 10232" />
            <coords loc="116024 14008 10032 10232" />
            <coords loc="115128 13640 10032 10232" />
            <coords loc="114136 13624 10032 10232" />
            <coords loc="113256 13992 10032 10232" />
            <coords loc="112568 14664 10032 10232" />
            <coords loc="112216 15592 10032 10232" />
            <coords loc="112216 16552 10032 10232" />
            <coords loc="112600 17432 10032 10232" />
            <coords loc="113288 18120 10032 10232" />
            <coords loc="114152 18472 10032 10232" />
            <coords loc="115144 18488 10032 10232" />
            <coords loc="116152 18024 10032 10232" />
 </polígono>
 </zona>[/CÓDIGO]

Dónde:
playerKillReward - Parámetro de recompensa PvP
karmaPlayerKillReward - Parámetro de recompensa PK
<set name="playerKillReward" val="4037(item_id):100(item_count),100(chance); 57(item_id):100(item_count),80(probabilidad)" />
ZoneRewardInterval - retraso antes de la recompensa por matar. Tiempo en minutos
playerKillCheck - método de comprobación. ip y hwid, o ip o hwid. Si elimina este parámetro, no se producirá la comprobación.

Si desea que la recompensa se cargue en el tipo zone type="fun", deberá habilitar la configuración [U]PvPCountingInFunZone = True[/U] in pvp.properties
[/QUOTE]
hello and if I want them to respawnein the same area pvp and do not send them to the city
 
"ZoneRewardInterval - delay before reward for kill. Time in Minutes"
umm how to make it in seconds like 5 seconds?
Minutes are unreasonable ...1 minute to get a reward from kill is too much.
 
"ZoneRewardInterval - delay before reward for kill. Time in Minutes"
umm how to make it in seconds like 5 seconds?
Minutes are unreasonable ...1 minute to get a reward from kill is too much.
huh, It's terrible that you reported this after six years. If I change the interval and, as usual, nobody checks what's been updated, they will lose the delay. It will be 1 second, and my forum will be destroyed by questions about why the zone is broken and the delay is gone.
 
Good afternoon everyone, I'm having a problem with this setup. It's not delivering the kill reward.

<zone name="[spawn_innadrilPVP4]" type="fun" >
<set name="enabled" val="True" />
<set name="cronZoneEnablePattern" val="50 15 * * *" />
<set name="cronZoneDisablePattern" val="57 15 * * *" />
<set name="playerKillReward" val="9225:1,100" />
<set name="ZoneRewardInterval" val="1" />
<polygon>
<coords loc="110111 221902 -3800 -3200" />
<coords loc="112663 221898 -3800 -3200" />
<coords loc="112792 219000 -3800 -3200" />
<coords loc="110179 218996 -3800 -3200" />
</polygon>
</zone>


I turned the city of Heine into a combat zone, disabled the peace zones, and it still doesn't work. I tested the parameter in another area and it didn't work either.

I tested the parameter in other areas and it doesn't work either
 
Last edited:
Good afternoon everyone, I'm having a problem with this setup. It's not delivering the kill reward.




I turned the city of Heine into a combat zone, disabled the peace zones, and it still doesn't work. I tested the parameter in another area and it didn't work either.

I tested the parameter in other areas and it doesn't work either
Tu não colocou a chance, não seria esse o problema?

<set name="playerKillReward" val="9225:1,100" />
 
Tu não colocou a chance, não seria esse o problema?

<set name="playerKillReward" val="9225:1,100" />
eu testei tambem com o parametro fornecido pelo deazer aqui no forum e não deu, mas vou testar isso ai. valew

Edição: testei e não funciona.

O estranho é que ja utilizei este parametro e funcionou normalmente
 
Solution to my problem:

Altsettings.properties

# Ability to block "cheat" PvP counter if the IP of the killer and the victim are the same
PvPIncreaseSameIpCheck = false
# Ability to block "cheat" PvP counter if the HWID of the killer and the victim are the same
PvPIncreaseSameHwidCheck = false

Here it should be set to false to work in the test with the same ip/hwid.
 
Back
Top