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.
ADENA
500 K = 40e
1kk = 70e
3kk = 190e
ITEMS
staff of life = 150e
karmian set = 90e
elven jewls top D = 30e
Orcish Poleaxe+1 best C pole = 680e
any D grade armor on demand
discord
wiz0642_81242
Question
tomy123
how i can make like this http://www.maxcheaters.com/forum/index.php?topic=61184.0
on eclipse need find this java/net/sf/l2j/gameserver/model/L2Character.java
all delete from L2Character.java or anywher copy this?
--- java/net/sf/l2j/gameserver/model/L2Character.java (revision 1225)
+++ java/net/sf/l2j/gameserver/model/L2Character.java (working copy)
@@ -51,13 +51,17 @@
import net.sf.l2j.gameserver.model.L2Skill.SkillType;
import net.sf.l2j.gameserver.model.actor.instance.L2ArtefactInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2BoatInstance;
+import net.sf.l2j.gameserver.model.actor.instance.L2ControlTowerInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2DoorInstance;
+import net.sf.l2j.gameserver.model.actor.instance.L2GuardInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance;
+import net.sf.l2j.gameserver.model.actor.instance.L2SummonInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2RiftInvaderInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2PetInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance;
+import net.sf.l2j.gameserver.model.actor.instance.L2SiegeGuardInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.SkillDat;
import net.sf.l2j.gameserver.model.actor.knownlist.CharKnownList;
import net.sf.l2j.gameserver.model.actor.knownlist.ObjectKnownList.KnownListAsynchronousUpdateTask;
@@ -251,6 +255,11 @@
_calculators = new Calculator[stats.NUM_STATS];
Formulas.getInstance().addFuncsToNewCharacter(this);
}
+ if (!(this instanceof L2PcInstance) && !(this instanceof L2MonsterInstance) &&
+ !(this instanceof L2GuardInstance) && !(this instanceof L2SiegeGuardInstance) &&
+ !(this instanceof L2ControlTowerInstance) && !(this instanceof L2SummonInstance) &&
+ !(this instanceof L2DoorInstance))
+ setIsInvul(true);
}
protected void initCharStatusUpdateValues()
@@ -4613,7 +4622,7 @@
public boolean isInsidePeaceZone(L2Object attacker, L2Object target)
{
if (target == null) return false;
- if (target instanceof L2MonsterInstance) return false;
+ if (target instanceof L2NpcInstance) return false;
if (attacker instanceof L2MonsterInstance) return false;
if (Config.ALT_GAME_KARMA_PLAYER_CAN_BE_KILLED_IN_PEACEZONE)
{
9 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.