I'm developing an ultra status server using an L2jAcis revision, but after a certain amount of attack speed, it becomes possible to bug your attacks, and you start attacking at an exponential speed. I would like to know if anyone has already developed a mod that resolves this situation, something similar to what was developed for l2jfrozen.
Heres the frozen code example. I tryed to migrate this code to aCis, but didint work.
Quote
### Eclipse Workspace Patch 1.0#P L2jFrozen_GameServer_831Index: head-src/com/l2jfrozen/Config.java
===================================================================--- head-src/com/l2jfrozen/Config.java (revisão 957)+++ head-src/com/l2jfrozen/Config.java (cópia de trabalho)@@-2299,6+2299,17@@publicstatic boolean CUSTOM_MERCHANT_TABLES =true;publicstatic boolean ALLOW_SIMPLE_STATS_VIEW;publicstatic boolean ALLOW_DETAILED_STATS_VIEW;+//By Jonas+publicstaticlong ALT_STOP_MOVE_DELAY;+publicstaticlong ALT_ATTACK_DELAY_BOW;+publicstaticlong ALT_ATTACK_DELAY_OTHER;+publicstaticlong ALT_ATTACK_DELAY_MAGIC;+publicstaticlong ALT_STOP_MOVE_DELAY_MAGIC;+publicstaticlong ALT_ATTACK_DELAY_WITH_ATKSPD;publicstatic boolean ALLOW_ONLINE_VIEW;publicstatic boolean WELCOME_HTM;publicstaticString ALLOWED_SKILLS;@@-2432,6+2443,19@@
ALLOW_DETAILED_STATS_VIEW =Boolean.valueOf(L2JFrozenSettings.getProperty("AllowDetailedStatsView","False"));
ALLOW_ONLINE_VIEW =Boolean.valueOf(L2JFrozenSettings.getProperty("AllowOnlineView","False"));+//BY JONAS+ ALT_STOP_MOVE_DELAY =Long.parseLong(L2JFrozenSettings.getProperty("AltStopMoveDelay","50"));+ ALT_ATTACK_DELAY_BOW =Long.parseLong(L2JFrozenSettings.getProperty("AltAttackDelayBow","50"));+ ALT_ATTACK_DELAY_OTHER =Long.parseLong(L2JFrozenSettings.getProperty("AltAttackDelayOther","50"));+ ALT_ATTACK_DELAY_WITH_ATKSPD =Long.parseLong(L2JFrozenSettings.getProperty("AltAttackDelayWithAtkSpd","50"));+ ALT_ATTACK_DELAY_MAGIC =Long.parseLong(L2JFrozenSettings.getProperty("AltAttackDelayMagic","50"));+ ALT_STOP_MOVE_DELAY_MAGIC =Long.parseLong(L2JFrozenSettings.getProperty("AltStopMoveDelayMagic","50"));+
KEEP_SUBCLASS_SKILLS =Boolean.parseBoolean(L2JFrozenSettings.getProperty("KeepSubClassSkills","False"));
ALLOWED_SKILLS = L2JFrozenSettings.getProperty("AllowedSkills","541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,617,618,619");@@-5465,6+5489,55@@{
DM_REVIVE_DELAY =Long.parseLong(pValue);}++//By jonas+elseif(pName.equalsIgnoreCase("AltStopMoveDelay"))+{+ ALT_STOP_MOVE_DELAY =Long.parseLong(pValue);+}++elseif(pName.equalsIgnoreCase("AltAttackDelayBow"))+{+ ALT_ATTACK_DELAY_BOW =Long.parseLong(pValue);+}++elseif(pName.equalsIgnoreCase("AltAttackDelayOther"))+{+ ALT_ATTACK_DELAY_OTHER =Long.parseLong(pValue);+}++elseif(pName.equalsIgnoreCase("AltAttackDelayWithAtkSpd"))+{+ ALT_ATTACK_DELAY_WITH_ATKSPD =Long.parseLong(pValue);+}++elseif(pName.equalsIgnoreCase("AltAttackDelayMagic"))+{+ ALT_STOP_MOVE_DELAY_MAGIC =Long.parseLong(pValue);+}++elseif(pName.equalsIgnoreCase("AltStopMoveDelayMagic"))+{+ ALT_ATTACK_DELAY_MAGIC =Long.parseLong(pValue);+}++++elsereturnfalse;returntrue;Index: head-src/com/l2jfrozen/gameserver/model/L2Character.java
===================================================================--- head-src/com/l2jfrozen/gameserver/model/L2Character.java (revisão 957)+++ head-src/com/l2jfrozen/gameserver/model/L2Character.java (cópia de trabalho)@@-294,6+294,11@@/** The _meditated. */private boolean _meditated;++/**By Jonas*/+private boolean moved =false;+private boolean movedMagic =false;+private boolean movedDelay =true;/** Zone system<br> x^2 or x*x. */publicstatic final int ZONE_PVP =1;@@-1102,9+1107,85@@
_log.fine(getName()+" doAttack: target="+ target);}+// Get the active weapon item corresponding to the active weapon instance (always equiped in the right hand)+ L2Weapon weaponItem = getActiveWeaponItem();++//By jonas+++if(isMoving()|| getMoved()&& weaponItem != null && weaponItem.getItemType()== L2WeaponType.BOW)+{+try+{+Thread.sleep(Config.ALT_STOP_MOVE_DELAY);+ stopMove(null);+}+catch(InterruptedException e)+{+System.out.println("Houve uma falha com bow");+}++try+{+//Parou de atacar com bow+Thread.sleep(Config.ALT_ATTACK_DELAY_BOW);+}+catch(InterruptedException ex)+{+System.out.println("Houve uma falha com bow");+}+//Voltou a atacar com bow+ setMoved(false);++++}++if(isMoving()|| getMoved()&& weaponItem != null && weaponItem.getItemType()!= L2WeaponType.BOW)+{+try+{+Thread.sleep(Config.ALT_STOP_MOVE_DELAY);+ stopMove(null);+}+catch(InterruptedException e)+{+System.out.println("Houve uma falha sem bow");+}++try+{+//Parou de atacar sem bow+Thread.sleep(Config.ALT_ATTACK_DELAY_OTHER);+}+catch(InterruptedException ex)+{+System.out.println("Houve uma falha sem bow");+}+//Voltou a atacar sem bow+ setMoved(false);+++}++if(getPAtkSpd()>500)+{+try+{+//Parou de atacar+Thread.sleep(Config.ALT_ATTACK_DELAY_WITH_ATKSPD);++}+catch(InterruptedException e)+{+System.out.println("Houve um erro (atkspd)");+}+}+if(target == null)return;+if(isAlikeDead()){// If L2PcInstance is dead or the target is dead, the action is stoped@@-1217,9+1298,7@@// Get the active weapon instance (always equiped in the right hand)
L2ItemInstance weaponInst = getActiveWeaponInstance();-// Get the active weapon item corresponding to the active weapon instance (always equiped in the right hand)- L2Weapon weaponItem = getActiveWeaponItem();-+if(weaponItem != null && weaponItem.getItemType()== L2WeaponType.ROD){// You can't make an attack with a fishing pole.@@-1790,6+1869,31@@return;}+//by j+if(isMoving()|| getMovedMagic())+{+try+{+Thread.sleep(Config.ALT_ATTACK_DELAY_MAGIC);+ stopMove(null);+}+catch(InterruptedException e)+{+System.out.println("Houve uma falha com bow");+}++try+{+//Parou de atacar com bow+Thread.sleep(Config.ALT_STOP_MOVE_DELAY_MAGIC);+}+catch(InterruptedException ex)+{+System.out.println("Houve uma falha com bow");+}+ setMovedMagic(false);+}+if(isSkillDisabled(skill.getId())){if(activeChar instanceof L2PcInstance &&!(skill.getId()==2166))@@-11256,4+11360,25@@{return _triggeredSkills;}++publicvoid setMoved(boolean x)+{+ moved = x;+}++public boolean getMoved()+{+return moved;+}++publicvoid setMovedMagic(boolean x)+{+ movedMagic = x;+}++public boolean getMovedMagic()+{+return movedMagic;+}+}Index: config/functions/l2jfrozen.properties
===================================================================--- config/functions/l2jfrozen.properties (revisão 957)+++ config/functions/l2jfrozen.properties (cópia de trabalho)@@-280,4+280,38@@ProtectorSkillLevel=13ProtectorSkillTime=600# Npc Protector Message-ProtectorMessage=HeyYou!,NeverKillOnThisArea,GoReadTheRules!
\ No newline at end of file
+ProtectorMessage=HeyYou!,NeverKillOnThisArea,GoReadTheRules!+++##############################################+# CONFIGS FOR CRAZYWAR PVP #+##############################################++#Delay com bow
+AltAttackDelayBow=50++#Delay sem bow
+AltAttackDelayOther=400++#Delay magic
+AltAttackDelayMagic=50++#DelayforAtkSpd+AltAttackDelayWithAtkSpd=50++#DelayFor stopMove in attack
+AltStopMoveDelay=300++#DelayFor stopMove in attack
+AltStopMoveDelayMagic=500+Index: head-src/com/l2jfrozen/gameserver/network/clientpackets/MoveBackwardToLocation.java
===================================================================--- head-src/com/l2jfrozen/gameserver/network/clientpackets/MoveBackwardToLocation.java (revisão 957)+++ head-src/com/l2jfrozen/gameserver/network/clientpackets/MoveBackwardToLocation.java (cópia de trabalho)@@-125,6+125,9@@double dx = _targetX - _curX;double dy = _targetY - _curY;+//DELAY PARA ATACAR OU USAR SKILL NOVAMENTE DEPOIS DE ARDAR+ activeChar.setMoved(true);+ activeChar.setMovedMagic(true);// Can't -niif(activeChar.isOutOfControl()|| dx * dx + dy * dy >98010000)// 9900*9900{if(isMoving()|| getMovedMagic())+{+try+{+Thread.sleep(Config.ALT_ATTACK_DELAY_MAGIC);- stopMove(null);+}Ou remove o método stopMove(null)
Dear partners! At the moment we are in great need of the following positions:
— Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number
— Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included
— LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password
— Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password)
— Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia
— Threads accounts | Full email access (possibly with active 2FA password)
— TikTok/Facebook/Google ADS Agency advertising accounts
— Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com)
— Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA.
— WhatsApp OLD Accounts
— Twitter accounts with followers and posts (old accounts)
Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options.
Active links to our projects:
Digital goods store (Website): Go to
Store Telegram bot: Go to – convenient access to the store via the Telegram messenger.
Virtual numbers service: Go to
Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram.
SMM Panel: Go to – promotion of your social media accounts.
Contacts and support:
➡ Telegram: https://t.me/socnet_support
➡ WhatsApp: https://wa.me/79051904467
➡ Discord: socnet_support
➡ ✉ Email: solomonbog@socnet.store
Question
Hash
I'm developing an ultra status server using an L2jAcis revision, but after a certain amount of attack speed, it becomes possible to bug your attacks, and you start attacking at an exponential speed. I would like to know if anyone has already developed a mod that resolves this situation, something similar to what was developed for l2jfrozen.
Heres the frozen code example. I tryed to migrate this code to aCis, but didint work.
9 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now