Gxz Posted April 28, 2010 Posted April 28, 2010 Hello MxC. I use interlude L2J and the problem is: When i die in primeval island i get teleported to dark elven village. I want to change it like most of servers teleport you in random spawns at start of primeval island
0 xAddytzu Posted April 28, 2010 Posted April 28, 2010 zone.xml <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='10468'/> <stat name='spawnY' val='-24569'/> <stat name='spawnZ' val='-3645'/> </zone>
0 Gxz Posted April 29, 2010 Author Posted April 29, 2010 zone.xml <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='10468'/> <stat name='spawnY' val='-24569'/> <stat name='spawnZ' val='-3645'/> </zone> i have it exactly like this but not working it still teleports me to dark elven village.
0 Setekh Posted April 29, 2010 Posted April 29, 2010 i have it exactly like this but not working it still teleports me to dark elven village. why don't u make it just a simple peace zone >.> and dose it have any java/dp side code that handles the teleportation issues?
0 Gxz Posted April 29, 2010 Author Posted April 29, 2010 why don't u make it just a simple peace zone >.> and dose it have any java/dp side code that handles the teleportation issues? I am not sure i use interlude L2j pack from l2jserver.com .. whats the file responsible for this?
0 Setekh Posted April 29, 2010 Posted April 29, 2010 just delete the block that specifys the zone. Then see if u get teleported in DE village. If u dont then theres smth related with ur zone sys and if u still get teleported it can be a script or smth core side :P
0 Gxz Posted April 29, 2010 Author Posted April 29, 2010 just delete the block that specifys the zone. Then see if u get teleported in DE village. If u dont then theres smth related with ur zone sys and if u still get teleported it can be a script or smth core side :P i tried it again, deleted all this <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='10468'/> <stat name='spawnY' val='-24569'/> <stat name='spawnZ' val='-3645'/> </zone> and still teleports me to de village..
0 Gxz Posted April 29, 2010 Author Posted April 29, 2010 Do it the hard way... MapRegionTable.java tried to but no success, more info?
0 Cod3x Posted April 29, 2010 Posted April 29, 2010 Think so... Index: trunk/L2_Gameserver/java/net/sf/l2j/gameserver/datatables/MapRegionTable.java =================================================================== --- trunk/L2_Gameserver/java/net/sf/l2j/gameserver/datatables/MapRegionTable.java (revision 16) +++ trunk/L2_Gameserver/java/net/sf/l2j/gameserver/datatables/MapRegionTable.java (working copy) @@ -176,9 +176,9 @@ _pointsWithKarmas[16][1] = -138560; _pointsWithKarmas[16][2] = -2256; // Primeval Isle - //_pointsWithKarmas[18][0] = 10468; - //_pointsWithKarmas[18][1] = -24569; - //_pointsWithKarmas[18][2] = -3645; + _pointsWithKarmas[18][0] = 10468; + _pointsWithKarmas[18][1] = -24569; + _pointsWithKarmas[18][2] = -3645; } public final int getMapRegion(int posX, int posY)
0 Gxz Posted April 29, 2010 Author Posted April 29, 2010 Think so... Index: trunk/L2_Gameserver/java/net/sf/l2j/gameserver/datatables/MapRegionTable.java =================================================================== --- trunk/L2_Gameserver/java/net/sf/l2j/gameserver/datatables/MapRegionTable.java (revision 16) +++ trunk/L2_Gameserver/java/net/sf/l2j/gameserver/datatables/MapRegionTable.java (working copy) @@ -176,9 +176,9 @@ _pointsWithKarmas[16][1] = -138560; _pointsWithKarmas[16][2] = -2256; // Primeval Isle - //_pointsWithKarmas[18][0] = 10468; - //_pointsWithKarmas[18][1] = -24569; - //_pointsWithKarmas[18][2] = -3645; + _pointsWithKarmas[18][0] = 10468; + _pointsWithKarmas[18][1] = -24569; + _pointsWithKarmas[18][2] = -3645; } public final int getMapRegion(int posX, int posY) tried already,not working. Serk helped me with it with a different fix. Thx anyway. Request to Lock.
Question
Gxz
Hello MxC.
I use interlude L2J and the problem is:
When i die in primeval island i get teleported to dark elven village. I want to change it like most of servers teleport you in random spawns at start of primeval island
11 answers to this question
Recommended Posts