Tristis

Members
  • Content Count

    56
  • Joined

  • Last visited

  • Feedback

    0%

Community Reputation

0 Neutral

About Tristis

  • Rank
    Heir

Profile Information

  • Gender
    Not Telling
  • Country
    Greece
  1. hi. every link is dead for share of l2vendetta epic weaps for IL or H5. I find only dark knight armor and dark knight mask but all dark knight weap links are outdated like this one: https://maxcheaters.com/topic/15727-share-mordor-weapons-by-kazeno-interlude-l2j/?ct=1590143350 anyone have them? None have old patches or something? Someone must have Dark Knight Weapons. I not know my request was so difficult.
  2. thank u. problem solved by creating a .bat file and placing it in l2encdec folder.
  3. same problem with the other version i tried to use. how do i import the l2encdec command to the system?
  4. hi. im looking for l2encdec for C6 because all links dead. i have a version in my computer in C:/ but says "l2encdec not recognizable command or batch" file when i try the command l2encdec -d 121 blabla.ukx all links dead pls help?
  5. Any chance to bypass the "Use original interface" error with this version?
  6. A most interresting post once again Tryskell. When the GameServer launches it doesn't give specific xml names. It reads, for instance, "loaded 3k skills". Could you explain that a little more? I mean using the GameServer.bat to find the appropriate core file or method to edit. A guide about java methods and commands would be nice. Or a code analyzer, explaining in detail each line of a java code. That would be really helpful.
  7. So, let's say we have this code for Interlude Bluff. Credits to: The L2JServer Forum and ŚyśţęmƒяәдҚς Index: /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/network/serverpackets/BeginRotation.java =================================================================== --- /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/network/serverpackets/BeginRotation.java (revision 12) +++ /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/network/serverpackets/BeginRotation.java (revision 159) @@ -19,18 +19,15 @@ package net.sf.l2j.gameserver.network.serverpackets; -import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; - public class BeginRotation extends L2GameServerPacket { private static final String _S__77_BEGINROTATION = "[S] 62 BeginRotation"; - private int _charObjId; - private int _degree; - private int _side; + private int _charObjId, _degree, _side, _speed; - public BeginRotation(L2PcInstance player, int degree, int side) + public BeginRotation(int objectId, int degree, int side, int speed) { - _charObjId = player.getObjectId(); + _charObjId = objectId; _degree = degree; _side = side; + _speed = speed; } @@ -42,4 +39,5 @@ writeD(_degree); writeD(_side); + writeD(_speed); } Index: /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/network/serverpackets/StopRotation.java =================================================================== --- /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/network/serverpackets/StopRotation.java (revision 12) +++ /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/network/serverpackets/StopRotation.java (revision 159) @@ -19,6 +19,4 @@ package net.sf.l2j.gameserver.network.serverpackets; -import net.sf.l2j.gameserver.model.L2Character; - /** * This class ... @@ -29,11 +27,11 @@ { private static final String _S__78_STOPROTATION = "[S] 63 StopRotation"; - private int _charObjId; - private int _degree; + private int _charObjId, _degree, _speed; - public StopRotation(L2Character player, int degree) + public StopRotation(int objectId, int degree, int speed) { - _charObjId = player.getObjectId(); + _charObjId = objectId; _degree = degree; + _speed = speed; } @@ -44,4 +42,6 @@ writeD(_charObjId); writeD(_degree); + writeD(_speed); + writeC(0); // ? } Index: /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/network/clientpackets/FinishRotating.java =================================================================== --- /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/network/clientpackets/FinishRotating.java (revision 12) +++ /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/network/clientpackets/FinishRotating.java (revision 159) @@ -46,5 +46,5 @@ if (getClient().getActiveChar() == null) return; - StopRotation sr = new StopRotation(getClient().getActiveChar(), _degree); + StopRotation sr = new StopRotation(getClient().getActiveChar().getObjectId(), _degree, 0); getClient().getActiveChar().broadcastPacket(sr); } Index: /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/network/clientpackets/StartRotating.java =================================================================== --- /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/network/clientpackets/StartRotating.java (revision 12) +++ /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/network/clientpackets/StartRotating.java (revision 159) @@ -46,5 +46,5 @@ if (getClient().getActiveChar() == null) return; - BeginRotation br = new BeginRotation(getClient().getActiveChar(), _degree, _side); + BeginRotation br = new BeginRotation(getClient().getActiveChar().getObjectId(), _degree, _side, 0); getClient().getActiveChar().broadcastPacket(br); } Index: /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/skills/effects/EffectBluff.java =================================================================== --- /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/skills/effects/EffectBluff.java (revision 12) +++ /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/skills/effects/EffectBluff.java (revision 159) @@ -19,10 +19,10 @@ package net.sf.l2j.gameserver.skills.effects; -import net.sf.l2j.gameserver.ai.CtrlIntention; -import net.sf.l2j.gameserver.model.L2CharPosition; import net.sf.l2j.gameserver.model.L2Effect; import net.sf.l2j.gameserver.model.actor.instance.L2FolkInstance; import net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance; import net.sf.l2j.gameserver.model.actor.instance.L2SiegeSummonInstance; +import net.sf.l2j.gameserver.network.serverpackets.BeginRotation; +import net.sf.l2j.gameserver.network.serverpackets.StopRotation; import net.sf.l2j.gameserver.network.serverpackets.SystemMessage; import net.sf.l2j.gameserver.skills.Env; @@ -33,5 +33,6 @@ * Implementation of the Bluff Effect */ -final class EffectBluff extends L2Effect { +final class EffectBluff extends L2Effect +{ public EffectBluff(Env env, EffectTemplate template) @@ -50,6 +51,5 @@ public void onStart() { - getEffected().startFear(); - if(getEffected() instanceof L2FolkInstance) return; + if(getEffected() instanceof L2FolkInstance) return; // if(getEffected() instanceof L2SiegeGuardInstance) return; // Cannot be used on Headquarters Flag. @@ -58,33 +58,12 @@ if(getEffected() instanceof L2SiegeSummonInstance) - { return; - } - int posX = getEffected().getX(); - int posY = getEffected().getY(); - int posZ = getEffected().getZ(); - int signx=-1; - int signy=-1; - if (getEffected().getX()>getEffector().getX()) - signx=1; - if (getEffected().getY()>getEffector().getY()) - signy=1; - - //posX += signx*40; //distance less than melee attacks (40) - //posY += signy*40; - - getEffected().setRunning(); - getEffected().getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, - new L2CharPosition(posX +(signx*40),posY + (signy*40),posZ,0)); - getEffected().sendPacket(SystemMessage.sendString("You can feel Bluff's effect")); - getEffected().setTarget(null); + + getEffected().broadcastPacket(new BeginRotation(getEffected().getObjectId(), getEffected().getHeading(), 1, 65535)); + getEffected().broadcastPacket(new StopRotation(getEffected().getObjectId(), getEffector().getHeading(), 65535)); + getEffected().setHeading(getEffector().getHeading()); onActionTime(); } - @Override - public void onExit() - { - getEffected().stopFear(this); - - } + @Override public boolean onActionTime() Index: /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/skills/effects/EffectRemoveTarget.java =================================================================== --- /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/skills/effects/EffectRemoveTarget.java (revision 12) +++ /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/skills/effects/EffectRemoveTarget.java (revision 159) @@ -18,4 +18,5 @@ package net.sf.l2j.gameserver.skills.effects; +import net.sf.l2j.gameserver.ai.CtrlIntention; import net.sf.l2j.gameserver.model.L2Effect; import net.sf.l2j.gameserver.skills.Env; @@ -44,4 +45,5 @@ getEffected().abortAttack(); getEffected().abortCast(); + getEffected().getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE, getEffector()); } Index: /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/ai/AbstractAI.java =================================================================== --- /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/ai/AbstractAI.java (revision 12) +++ /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/ai/AbstractAI.java (revision 159) @@ -624,5 +624,5 @@ { // Send a Server->Client packet StopRotation to the actor and all L2PcInstance in its _knownPlayers - StopRotation sr = new StopRotation(_actor, pos.heading); + StopRotation sr = new StopRotation(_actor.getObjectId(), pos.heading, 0); _actor.sendPacket(sr); _actor.broadcastPacket(sr); What do you search in order to make bluff last for 1 second and have 50% chance? (That was just an easy example, I don't need such a code). I suppose what you mean is one has to apply patches for years so that one day he'll know how to edit already existing parts, mostly by searching and write a small code. Can you explain that with more details? A tutorial explaining and analyzing some already existing codes of L2PCInstance.java would probably be the most useful share on MaxCheaters.
  8. You said you created tutorials. Can you redirect me? I want to check them out. By the way, thank you for your helpful post.
  9. So, none used a guide or something? You mean like which .class and which part of the code is for what? Well, that's what I'm looking for actually. You made a whole pack without mastering java? Wow.
  10. Hi. I always wanted to learn how to write my own codes, and I am surprised about how many people were able to learn it within a few years. I'm just wondering what methods you have used to learn java. I searched the web for code analyzers to see if I can upload a code that will be explained line-by-line, but to no avail. So, except if there is such a source and I just miss it, then there has to be another way. Applying already made codes doesn't really help to widen coding knowledge. I've applied thousands of patches but I'm not able to write one. So, I've come to the conclusion that there was another trick for all those MaxCheaters gamers out there suddenly mastering java language within a few months / years. So, tell me, what methods did you use and what would you recommend for me? Thank you.
  11. me tin voitheia toy devlin (ty) ekana ton kwdiko etsi giati den eixe xrono na moy ekshgisei perissotera. package com.l2jfrozen.gameserver.model.zone.type; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Future; import com.l2jfrozen.gameserver.model.L2Character; import com.l2jfrozen.gameserver.model.actor.instance.L2MonsterInstance; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance; import com.l2jfrozen.gameserver.model.zone.L2ZoneType; import com.l2jfrozen.gameserver.model.spawn.L2Spawn; import com.l2jfrozen.gameserver.network.serverpackets.ActionFailed; public abstract class L2FlagZone extends L2ZoneType { private boolean _enabled; private String _target; private Future<?> _task; public L2FlagZone(int id) { super(id); _enabled = true; _target = "pc"; } public static final List<L2PcInstance> _registeredPlayers = new ArrayList<>(); public static ArrayList<L2PcInstance> _teamOne = new ArrayList<>(); public static ArrayList<L2PcInstance> _teamTwo = new ArrayList<>(); @Override public void setParameter(String name, String value) { if(name.equals("default_enabled")) { _enabled = Boolean.parseBoolean(value); } else if(name.equals("target")) { _target = String.valueOf(value); } else { super.setParameter(name, value); } } @Override protected void onEnter(L2Character character) { if (character instanceof L2PcInstance) { // Set pvp flag ((L2PcInstance) character).setPvpFlag(1); ((L2PcInstance) character).setTeam(1); ((L2PcInstance) character).broadcastUserInfo(); if((character instanceof L2PlayableInstance && _target.equalsIgnoreCase("pc") || character instanceof L2PcInstance && _target.equalsIgnoreCase("pc_only") || character instanceof L2MonsterInstance && _target.equalsIgnoreCase("npc")) && _task == null); } } private static void splitPlayers() { boolean swap = true; for (L2PcInstance registeredPlayers : _registeredPlayers) { if (swap) _teamOne.add(registeredPlayers); else _teamTwo.add(registeredPlayers); swap = !swap; } } public static boolean isSameTeam(L2Character player, L2Character target) { if (player == target) return false; if (_teamOne.contains(player) && _teamOne.contains(target)) return true; else if (_teamTwo.contains(player) && _teamTwo.contains(target)) return true; return false; } @Override protected void onExit(L2Character character) { if (character instanceof L2PcInstance) { ((L2PcInstance) character).setPvpFlag(0); ((L2PcInstance) character).broadcastUserInfo(); } { } if(_characterList.isEmpty() && _task != null) { _task.cancel(true); _task = null; } } public String getTargetType() { return _target; } public boolean isEnabled() { return _enabled; } public void setZoneEnabled(boolean val) { _enabled = val; } class ApplySkill implements Runnable { @Override public void run() { if(isEnabled()) { for(L2Character temp : _characterList.values()) { if(temp != null && !temp.isDead()) { if((temp instanceof L2PlayableInstance && getTargetType().equalsIgnoreCase("pc") || temp instanceof L2PcInstance && getTargetType().equalsIgnoreCase("pc_only") || temp instanceof L2MonsterInstance && getTargetType().equalsIgnoreCase("npc"))); } } } } } @Override public void onDieInside(L2Character character) { } @Override public void onReviveInside(L2Character character) { onEnter(character); } } to splitPlayers moy to vgazei lathos. epishs den kserw poy na kollhsw ayto: public static boolean canTarget(L2PcInstance player, L2PcInstance target) { if ((!registeredPlayers.contains(player) && registeredPlayers.contains(target)) || (registeredPlayers.contains(player) && !registeredPlayers.contains(target))) { player.setTarget(null); player.sendPacket(ActionFailed.STATIC_PACKET); return false; } for (L2PcInstance teamOne : _teamOne) { for (L2PcInstance teamTwo : _teamTwo) { if (player == teamOne && target == teamOne || player == teamTwo && target == teamTwo) { player.setTarget(null); player.sendPacket(ActionFailed.STATIC_PACKET); return false; } } sto pcInstance evala auto. moy to vgazei swsto. // Add karma to attacker and increase its PK counter setPvpKills(getPvpKills() + 1); + if (isInsideZone(ZONE_FLAG)) + { + // Item Reward system + addItem("Loot", 10000, 1, this, true); + }
  12. to kserw oti einai mikros kwdikos. an moy ta egrafes pio sygkekrimena tha hmastan comple :-\
  13. sta tvt exei diaforetiko reward ap auto poy thelw na valw sthn heine. ta tvt den einai synexia kai den exoyn kai buffs. to multifunctionzone den exei teams.
  14. epeidi eimai ligo noob akoma thelw na rwtisw: 1. poios einai o kwdikos gia set tuxaia omada? 2. poios einai o kwdikos gia apagoreusi xtupimaton sthn idia omada? ta tvt xrhsimopoioyn kwdikoys poy einai mono gia event 3. poios einai o kwdikos gia reward poy na isxyei mono gia ekeino to meros?
  15. nomizw den xreiazontai oloi oi kwdikoi toy tvt. mporei na ginei kai me ena aplo setTeam kai reward.