Romotheone Posted September 21, 2021 Posted September 21, 2021 (edited) Hey guys, currently trying to add a new effect_zone to effect_zone.xml. The zone looks as follows: http://prntscr.com/1t336bj <zone name="darkseed" type="EffectZone" shape="NPoly" minZ="-3300" maxZ="-5000"> <stat name="skillIdLvl" val="40033-1;" /> <stat name="chance" val="100" /> <stat name="reuse" val="500" /> <node X="-45064" Y="78721" /> <node X="-43404" Y="78746" /> <node X="-43539" Y="77435" /> <node X="-45061" Y="77492" /> </zone> There are other manually effect_zones in the xml already which I have added several years ago which work. After I copy-paste another one and simply change the X Y Z, the zone just doesn't get recognized. There are no errors, the other zones are still working, but the newly added one just does not get recognized. When I walk into it, the doesn't show up either. Tried restarting the server several times, tried to make sure it doesn't overlap with other zones (if this is ever an issue.), simply nothing happens. Do you guys have any idea? I remember having some trouble with this several years ago as well, but somehow solved it. I can't think of how I did it now. ___________________________________________________________________ Topic can be closed. I have found the issue. minZ="-3300" maxZ="-5000" was switched up. This is how it's supposed to look like: minZ="-5000" maxZ="-3300" MinZ meaning the lowest point, and -5000 is lower than -3300. This is the second time I am opening a topic and immediately minutes later I find what the issue is. This is like therapy. Edited September 21, 2021 by Romotheone Quote
KejbL Posted September 21, 2021 Posted September 21, 2021 (edited) 24 minutes ago, Romotheone said: Hey guys, currently trying to add a new effect_zone to effect_zone.xml. The zone looks as follows: http://prntscr.com/1t336bj <zone name="darkseed" type="EffectZone" shape="NPoly" minZ="-3300" maxZ="-5000"> <stat name="skillIdLvl" val="40033-1;" /> <stat name="chance" val="100" /> <stat name="reuse" val="500" /> <node X="-45064" Y="78721" /> <node X="-43404" Y="78746" /> <node X="-43539" Y="77435" /> <node X="-45061" Y="77492" /> </zone> There are other manually effect_zones in the xml already which I have added several years ago which work. After I copy-paste another one and simply change the X Y Z, the zone just doesn't get recognized. There are no errors, the other zones are still working, but the newly added one just does not get recognized. When I walk into it, the doesn't show up either. Tried restarting the server several times, tried to make sure it doesn't overlap with other zones (if this is ever an issue.), simply nothing happens. Do you guys have any idea? I remember having some trouble with this several years ago as well, but somehow solved it. I can't think of how I did it now. id 40033 its any u custom skill ?? try add this: <zone name="darkseed" type="EffectZone" shape="NPoly" minZ="-3300" maxZ="-5000"> <stat name="skill" val="4150-7"/> <stat name="chance" val="50"/> <!-- stat name="unitTick" val="9" / --> <stat name="initialDelay" val="1000"/> <stat name="reuseDelay" val="6000"/> <node X="-45064" Y="78721" /> <node X="-43404" Y="78746" /> <node X="-43539" Y="77435" /> <node X="-45061" Y="77492" /> </zone> when not work try check minZ and maxZ... btw its set for aCis files Edited September 21, 2021 by KejbL Quote
Romotheone Posted September 21, 2021 Author Posted September 21, 2021 Thank you guys. 9 hours ago, KejbL said: id 40033 its any u custom skill ?? try add this: <zone name="darkseed" type="EffectZone" shape="NPoly" minZ="-3300" maxZ="-5000"> <stat name="skill" val="4150-7"/> <stat name="chance" val="50"/> <!-- stat name="unitTick" val="9" / --> <stat name="initialDelay" val="1000"/> <stat name="reuseDelay" val="6000"/> <node X="-45064" Y="78721" /> <node X="-43404" Y="78746" /> <node X="-43539" Y="77435" /> <node X="-45061" Y="77492" /> </zone> when not work try check minZ and maxZ... btw its set for aCis files The 40033 is a custom ID for a skill, that's right. I'm generating items over time by making players be in a zone. Everything works now, I am using an old but modified l2j pack. Thank you for trying to help me tho! 7 hours ago, Zake said: maxZ should be higher than minZ Yes, that was the mistake. Thanks Zake. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.