hello all..i have this party gatekeeper code https://pastebin.com/kQ86TWmB
but when i am paste the code on my l2jfrozen it makes zones.htm not to work..you can hit other players when you are intown .....
the problem comes from that part of code....if someone can fix the problem it would be appreciated!! thanks in advance.
--- head-src/com/l2jfrozen/gameserver/model/zone/L2ZoneManager.java (revision 1132)
+++ head-src/com/l2jfrozen/gameserver/model/zone/L2ZoneManager.java (working copy)
@@ -34,7 +34,7 @@
public class L2ZoneManager
{
private final Logger LOGGER = Logger.getLogger(L2ZoneManager.class);
- private final FastList<L2ZoneType> _zones;
+ private static FastList<L2ZoneType> _zones;
/**
* The Constructor creates an initial zone list use registerNewZone() / unregisterZone() to change the zone list
@@ -112,7 +112,7 @@
/**
* @return
*/
- public FastList<L2ZoneType> getZones()
+ public static FastList<L2ZoneType> getZones()
{
return _zones;
}
public boolean checkEffectRangeInsidePeaceZone(final L2Skill skill, final int x, final int y, final int z)
{
if (_zoneManager != null)
{
final int range = skill.getEffectRange();
final int up = y + range;
final int down = y - range;
final int left = x + range;
final int right = x - range;
-for (final L2ZoneType e : _zoneManager.getZones())
+for (final L2ZoneType e : L2ZoneManager.getZones())
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.
Welcome to L2Pride
Hello dear community, as you know we keept working on our beloved Interlude and we are updating everything!
Here are the new game files, with this you will be able to login in our Beta server and be a part of the game development, your ideeas can become real.
Become a tester now!
🎮 New Game Client: download any interlude clean client
⛳️ New Patched System [BETA v3][ mega.nz ]: https://mega.nz/file/bSAzEK7Q#0GO74mN4BpjvVtCE5f1YUSMOxPfq-q3vjsfK7WW0suk
⛳️ New Patched System [BETA v3][ google drive ]: https://drive.google.com/file/d/1sT1zbKM0kq3PVI7nQ33aJWpgRX59kUpY/view?usp=drive_link
⛳️ New Patched System [BETA v3][ mediafire ]: https://www.mediafire.com/file/fanffl2ik9n3fwu/L2Pride_Interlude_Remastered_[Ver_43660].rar/file
Instructions:
download our server patch and add it into your Lineage2 folder (interlude chronicle)
you don't need to delete your old system
enter in our patch folder and run L2.exe
Have fun
Discord: https://discord.gg/FXvEK5fCx3
In our discord group you will find all needed informations about our server!
It's impossible to explain things to someone completely stupid like you.
You really are very dumb; I never imagined someone with such severe psychological issues could exist on a forum.
You should go to a doctor immediately, as this stupidity might be contagious to others.
You should feel ashamed. 🤣🤣🤣🤣🤣🤣🤣🤣
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/bDVQYKMUb3
https://campsite.bio/utchihaamkt
Question
MoNsT3ReN4RgY
hello all..i have this party gatekeeper code https://pastebin.com/kQ86TWmB
but when i am paste the code on my l2jfrozen it makes zones.htm not to work..you can hit other players when you are intown .....
the problem comes from that part of code....if someone can fix the problem it would be appreciated!! thanks in advance.
--- head-src/com/l2jfrozen/gameserver/model/zone/L2ZoneManager.java (revision 1132)
+++ head-src/com/l2jfrozen/gameserver/model/zone/L2ZoneManager.java (working copy)
@@ -34,7 +34,7 @@
public class L2ZoneManager
{
private final Logger LOGGER = Logger.getLogger(L2ZoneManager.class);
- private final FastList<L2ZoneType> _zones;
+ private static FastList<L2ZoneType> _zones;
/**
* The Constructor creates an initial zone list use registerNewZone() / unregisterZone() to change the zone list
@@ -112,7 +112,7 @@
/**
* @return
*/
- public FastList<L2ZoneType> getZones()
+ public static FastList<L2ZoneType> getZones()
{
return _zones;
}
index: head-src/com/l2jfrozen/gameserver/model/L2WorldRegion.java
===================================================================
public boolean checkEffectRangeInsidePeaceZone(final L2Skill skill, final int x, final int y, final int z)
{
if (_zoneManager != null)
{
final int range = skill.getEffectRange();
final int up = y + range;
final int down = y - range;
final int left = x + range;
final int right = x - range;
-for (final L2ZoneType e : _zoneManager.getZones())
+for (final L2ZoneType e : L2ZoneManager.getZones())
5 answers to this question
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.