Jump to content
  • 0

[REQUEST] Zone ID


GsL

Question

14 answers to this question

Recommended Posts

  • 0

look into your zones and find Cave Of Trials, if its not there, create new zone and set it as Peace

 

i Create this <zone id='13007' type='Town' shape='NPoly' minZ='-3418' maxZ='-2168' 

but    i cant undestand  -->      minZ='-3418' maxZ='-2168'    where i find that?? o open admin panel and i use geodata and i use buton    Z  and at the end open me that minZ/maxZ 

 

Can some1 explain me???  what i do wrong?

Link to comment
Share on other sites

  • 0

Imagine a zone as a 3d shape, minZ and maxZ is about the "height" of the 2D shape built via X/Y.

 

Do a /loc ingame to get your current position, if the field is flat, then simply add -100 + 100 to Z value.

 

If the field got high difference of levels (mou.ntain / hole) then you have to take /loc of highest and lowest point, and add/remove 100 value again to those values.

 

minZ = Lowest value (near sea/hole) = /loc Z -100.

maxZ = Highest value (near sky / mou.ntain) = /loc Z + 100.

Link to comment
Share on other sites

  • 0

Lets try

 

I i was in cave i use /loc

 

and this was minZ='-3418' maxZ='-2168'      in the cave

Up from cave was different

 

i cant undestand what i do...

 

<zone id='13007' type='Town' shape='NPoly' minZ='-3418' maxZ='-2168'  what i change to this line 

 

<zone id='13007' type='Town' shape='NPoly' minZ='-3518' maxZ='-2068' i change to this +100/-100 but dont work

 

if it were not cave had the same problem??

 

i have spend over 4 hours to seacrh this one :/

Link to comment
Share on other sites

  • 0

Which pack are you using ? Some packs use an SQL and a XML to define such zone, some others only an XML.

 

That zone isn't existing at all (I checked), so you have to create it by yourself. You must define the shape of the zone, X/Y points and the Z depth.

 

NPoly shape means you need 3 (triangle) to illimate (polygon) X/Y points which define the 2D shape. The depth tells you then if yes or no you're in the 3d volume (case of, what I said, mou.ntain or an cave).

 

Getting simply Z correct values isn't enough, you need to define correctly X/Y values aswell.

 

Your Z values are ok so far.

 

Depending of your pack, //zone_check command can help you.

Link to comment
Share on other sites

  • 0

</zone>

<zone id='13007' type='Town' shape='NPoly' minZ='-3518' maxZ='-2068' /> <!-- Cedric's Training Hall -->

<stat name='name' val='NewbieZone'/>

<spawn X='-45232' Y='-113603' Z='-224'/>

<spawn X='-43827' Y='-114132' Z='-2068'/>

<spawn X='-46017' Y='-116627' Z='-3518'/>

</list>

 

Do you mean something like this?

 

Link to comment
Share on other sites

  • 0

 

 

i forget to write it, L2jfrozen interlude .

its -beep-ing shit i cant do anything i try it all so manys hoours but nothing..

 

 

I gove my body if some1  fix it i cant do something more :/ i dont give up but i cant ..

 

 

Link to comment
Share on other sites

  • 0

just just /loc in game to get x y z, create Polygon of points(locations), when u will finish just look how other Peace Zones(or whatever) are made - replace name, id and locations.

Link to comment
Share on other sites

  • 0

just just /loc in game to get x y z, create Polygon of points(locations), when u will finish just look how other Peace Zones(or whatever) are made - replace name, id and locations.

 

Lissen i make Orc vilage as Newbie zone when you go in orc it kick you if u have A/S items

and i try to make biger area i mean before join orc vilage kick you

<zone id='11024' type='Newbie' shape="NPoly" minZ="-400" maxZ="-200">
	<stat name='name' val='NewbieZone'/>
	<stat name='townId' val='4'/>
	<stat name='taxById' val='8'/>
	<spawn X='-45232' Y='-113603' Z='-224'/>
	<spawn X='-43827' Y='-114132' Z='-239'/>
	<spawn X='-46017' Y='-116627' Z='-265'/>
	<spawn X='-45922' Y='-110790' Z='-265'/>
	<spawn X='-47701' Y='-113605' Z='-260'/>

i make it like this

<zone id='11024' type='Newbie' shape="NPoly" minZ="-1000" maxZ="-40">
	<stat name='name' val='NewbieZone'/>
	<stat name='townId' val='4'/>
	<stat name='taxById' val='8'/>
	<spawn X='-44553' Y='-118644' Z='-241'/>
	<spawn X='-49147' Y='-118413' Z='-232'/>
	<spawn X='-51352' Y='-113615' Z='-175'/>
	<spawn X='-53217' Y='-109603' Z='-40'/>
	<spawn X='-45232' Y='-113603' Z='-224'/>
	<spawn X='-43827' Y='-114132' Z='-239'/>
	<spawn X='-46017' Y='-116627' Z='-265'/>
	<spawn X='-45922' Y='-110790' Z='-265'/>
	<spawn X='-47701' Y='-113605' Z='-260'/> 

 

And nothing hapend maybe need something at SQL?  i cant find somethign at SQl where something the same

Link to comment
Share on other sites

  • 0

I told you, pack name is important.

 

On L2JFrozen they kept (not really by choice) SQL with zones vertices (other name for "nodes") + XML with zones properties. That SQL got all X/Y nodes, if you don't write vertices of your zone on SQL, it won't work.

 

On aCis, all zones + vertices are stored in XML.

 


 

PS : on that link, you can easily see there isn't a zone named L2NewbieZone. So except if you added it before and forget to say, it won't work. If you added that type yourself, then forget that PS.

Link to comment
Share on other sites

  • 0

I told you, pack name is important.

 

On L2JFrozen they kept (not really by choice) SQL with zones vertices (other name for "nodes") + XML with zones properties. That SQL got all X/Y nodes, if you don't write vertices of your zone on SQL, it won't work.

 

On aCis, all zones + vertices are stored in XML.

 


 

PS : on that link, you can easily see there isn't a zone named L2NewbieZone. So except if you added it before and forget to say, it won't work. If you added that type yourself, then forget that PS.

 

i have add this zone* with some changes*  anyway i spend to many hours for this thanks for your help guys

but only a A dev can fix this i cant i prefer to fix other features where know becuse this one just lose my time and never fixed by me xd

 

so again thanks for your time specialy Tryskel xd where u lock my topics xd

 

http://maxcheaters.com/forum/index.php?topic=248108.0

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...