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.
bypassing what exactly? passwords? or the logging, if u talk about my situation i should see the same device as mine in my devices not different, because sessions are bind to devices.
changing password or settings on account/groups still needs re-authorization so no.
imo it was either facebook exploit which is unlike or network-level attack, why i tell u this? because i once had similar issue with my tiktok account, a guy logged into my account without using a sms code which was the only way to enter my account, and the funny part was that i didnt even receive a sms xD now u may say that this is what session hijack is but i saw a completely different device in my devices list which indicates that it wasnt a hijack.
Hello everyone ! I haven’t talked with him long time now . I have bought few things from him .
but I cannot reach him now .
i want some things to ask but he is unreachable.
anyone knows if he is ok?
hope this guys is ok .
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.