Spawn players Tvt, Dm, Ctf

L2g

Heir
Customer
Hello everyone,

I would like to know where I can edit the player spawn points within the PvP event system in order to avoid issues such as players spawning on rooftops or inside structures like walls.


I used this PvP event system around 5 or 6 months ago and encountered this issue back then, which led me to stop using it temporarily. Now that I’m resuming its use, I’d like to check if this has already been fixed in any recent update — and if so, I apologize in advance.


Thanks in advance for any guidance.
 
Hello everyone,

I would like to know where I can edit the player spawn points within the PvP event system in order to avoid issues such as players spawning on rooftops or inside structures like walls.


I used this PvP event system around 5 or 6 months ago and encountered this issue back then, which led me to stop using it temporarily. Now that I’m resuming its use, I’d like to check if this has already been fixed in any recent update — and if so, I apologize in advance.


Thanks in advance for any guidance.
gameserver/data/zone/battle
 
gameserver/data/zone/battle
perfect, I edit the coordinates that are in the _spawn zone?

Ty!!


<zone name="[pvp_804_ctf_spawn_flag_blue]" type="battle_zone">
<set name="default" val="false" />
<polygon>
<coords loc="150500 46750 -3408 -3308" />
<coords loc="150500 46850 -3408 -3308" />
<coords loc="150600 46850 -3408 -3308" />
<coords loc="150600 46750 -3408 -3308" />
</polygon>
</zone>
 
I’ve identified an issue related to the zone configuration in PvP events, specifically in the following definitions:

zone name="[pvp_801_dm_spawn]" type="battle_zone" / zone name="[pvp_803_dm_spawn]" type="battle_zone"

The problem occurs because the spawn coordinates assigned to these zones are exactly the same as those used to define the main event zones:


zone name="[pvp_801_dm_default]" type="battle_zone" / zone name="[pvp_803_dm_default]" type="battle_zone"

In other words, when the same location is used for both the player spawn point and the zone definition, any subsequent changes to the zone's position trigger a warning message in the console.


This behavior may cause a conflict between the spawn logic and the zone boundaries, which can result in players spawning in incorrect or invalid positions during the event.
[19.06.25 17:25:08] ZoneParser: ZoneParser: invalid territory data : [[x: 189181 y: 37707],[x: 189847 y: 37399],[x: 190011 y: 37537],[x: 189803 y: 37691],[x: 188888 y: 40503],[x: 188911 y: 39897],[x: 190890 y: 40169],[x: 191347 y: 40698];[-3508--3308]], zone: [pvp_801_dm_spawn]!
[19.06.25 17:25:08] ZoneParser: ZoneParser: invalid territory data : [[x: -51430 y: 91285],[x: -50873 y: 91545],[x: -50557 y: 90876],[x: -50474 y: 91847],[x: -51608 y: 90984],[x: -51828 y: 92088],[x: -51961 y: 90346],[x: -51079 y: 91189],[x: -51961 y: 90346],[x: -51079 y: 91189],[x: -54459 y: 90422],[x: -55704 y: 90993];[-2932--2732]], zone: [pvp_803_dm_spawn]!
[19.06.25 17:25:08] ZoneHolder: loaded 1328 zone(s) count.
<zone name="[pvp_803_dm_default]" type="battle_zone" >
<set name="default" val="false" />
<polygon>
<coords loc="-55661 89490 -4611 389" />
<coords loc="-50813 89490 -4611 389" />
<coords loc="-50142 90180 -4611 389" />
<coords loc="-50143 92382 -4611 389" />
<coords loc="-50816 93083 -4611 389" />
<coords loc="-55698 93061 -4611 389" />
<coords loc="-56366 92379 -4611 389" />
<coords loc="-56362 90167 -4611 389" />
</polygon>
</zone>

<zone name="[pvp_803_dm_spawn]" type="battle_zone" >
<set name="default" val="false" />
<polygon>
<coords loc="-55661 89490 -2800 -2850" />
<coords loc="-50813 89490 -2800 -2850" />
<coords loc="-50142 90180 -2800 -2850" />
<coords loc="-50143 92382 -2800 -2850" />
<coords loc="-50816 93083 -2800 -2850" />
<coords loc="-55698 93061 -2800 -2850" />
<coords loc="-56366 92379 -2800 -2850" />
<coords loc="-56362 90167 -2800 -2850" />
</polygon>
</zone>
 
Back
Top