Jump to content
  • 0

[HELP] How do I change the respawn location of a player?


Question

Posted

I'd like to make people pvp in Primeval isle but when they die there and res they get sent to DE village, how do I change the respawn location when someone dies in primeval isle they respawn in primeval isle again ?

 

Is there any way I could change it in the mysql database maybe ?

11 answers to this question

Recommended Posts

  • 0
Posted

er I think that script makes everyone that dies get sent to Giran, I want people that die in Primeval isle to get sent to primeval isle, but people who die in other place i want them to respawn normally....

  • 0
Posted

Massari , go to : gameserver/data/stats/zones/zone.xml

 

Find Primeval Isle and change the coordinates.

 

Hint : Press /loc in primeval isle.

  • 0
Posted

Massari , go to : gameserver/data/stats/zones/zone.xml

 

Find Primeval Isle and change the coordinates.

 

Hint : Press /loc in primeval isle.

If I go there I find

 

<zone id='11037' type='Town' shape='Cuboid' minZ='-2000' maxZ='-4000'>
	<stat name='name' val='Primeval Isle'/>
	<stat name='townId' val='19'/>
	<stat name='taxById' val='8'/>
	<stat name='noPeace' val='true'/>
	<stat name='spawnX' val='10870'/>
	<stat name='spawnY' val='-24804'/>
	<stat name='spawnZ' val='-3644'/>
</zone>

Those coordinates are for Primeval Isle.

 

What I want is when I die in Primeval isle and press TO VILLAGE I want to spawn again in Primeval Isle not in Dark Elf Village

  • 0
Posted

<stat name='spawnX' val='10870'/>

<stat name='spawnY' val='-24804'/>

<stat name='spawnZ' val='-3644'/>

 

change

Those don't need to be changed...
  • 0
Posted

In zone.xml there isn't only one zone.You must find ' Primeval Isle ' and not ' Cuboid'.

 

 

Found it :D, thanks a lot mate you rock :P

 

EDIT: sorry for double post

  • 0
Posted

Look massari.

 

1) Open zone.xml from gameserver/data/stats/zone

 

2) Find ' Primeval Isle '

 

3) Press /loc to primeval Isle.

 

4) Copy the coordinates to x,y,z and done.

 

When players die in primeval isle , they will get respawned in the place that you pressed /loc.

 

Found it :D, thanks a lot mate you rock :P

 

EDIT: sorry for double post

 

Okay. For any further questions/problems you have , just send me a pm or create a new topic.

 

Request to lock.

Guest
This topic is now closed to further replies.


×
×
  • Create New...