Jump to content

Recommended Posts

Posted

I found this bug working in an old L2J C5 server. Then I tried it in the Interlude servers in HopZone and it worked in most of them. In the latest revision of the L2JServer pack it doesnt work but it works in L2JFree.

 

I searched for this bug here and I didnt find it so I guess it isnt posted so I share it here...

 

- Equip a weapon that increases CP. (Example: Infinity Wing)
- Heal your CP.
- Unequip the weapon.
- If your current CP is more than your Max. CP the bug worked.

If it worked add this code and compile your pack:

 

Index: C:/workspace/L2_GameServer_It/java/net/sf/l2j/gameserver/model/actor/stat/PcStat.java
===================================================================
--- C:/workspace/L2_GameServer_It/java/net/sf/l2j/gameserver/model/actor/stat/PcStat.java (Revision 2746)
+++ C:/workspace/L2_GameServer_It/java/net/sf/l2j/gameserver/model/actor/stat/PcStat.java 	(working copy)

   private int _oldMaxHp;      // stats watch
   private int _oldMaxMp;      // stats watch
+  private int _oldMaxCp;      // stats watch

 

Index: C:/workspace/L2_GameServer_It/java/net/sf/l2j/gameserver/model/actor/stat/PcStat.java
===================================================================
--- C:/workspace/L2_GameServer_It/java/net/sf/l2j/gameserver/model/actor/stat/PcStat.java (Revision 2746)
+++ C:/workspace/L2_GameServer_It/java/net/sf/l2j/gameserver/model/actor/stat/PcStat.java 	(working copy)

		super.setLevel(value);
	}
}
+	@Override
+	public final int getMaxCp()
+	{
+		int val = super.getMaxCp();
+		if (val != _oldMaxCp)
+		{
+			_oldMaxCp = val;
+			if (getActiveChar().getStatus().getCurrentCp() != val)
+			{
+				getActiveChar().getStatus().setCurrentCp(getActiveChar().getStatus().getCurrentCp());
+			}
+		}
+		return val;
+	}

@Override
public final int getMaxHp()

 

Index: C:/workspace/L2_GameServer_It/java/net/sf/l2j/gameserver/model/actor/stat/CharStat.java
===================================================================
--- C:/workspace/L2_GameServer_It/java/net/sf/l2j/gameserver/model/actor/stat/CharStat.java (Revision 2746)
+++ C:/workspace/L2_GameServer_It/java/net/sf/l2j/gameserver/model/actor/stat/CharStat.java 	(working copy)

	return _activeChar.getTemplate().baseAtkRange;
}

-	public final int getMaxCp()
+	public int getMaxCp()
{
	if (_activeChar == null)
	{
		return 1;
	}

	return (int) calcStat(Stats.MAX_CP, _activeChar.getTemplate().baseCpMax, null, null);
}

 

Credits: L2JServer Team

Posted

Just an FYI, this is more fun to do with a cursed sword. Get a cursed sword, go into the water and drown and die. Voila, you have 100k+ CP and no sword. ;)

Posted

The bug is actually working on l2jfree. Lol.

 

Thanks for the share +1 karma.

Posted

LOL +1 karma for c/p wow

 

/* copy the whole damn -beep-ing l2j timeline and you get +5869643654983241 karma */

 

+++++ owned ;]

 

 

Posted

LOL +1 karma for c/p wow

 

/* copy the whole damn -beep-ing l2j timeline and you get +5869643654983241 karma */

Karma is just a reward and even if the share is a copy paste, he deserves to be rewarded.

 

And please speak better, i know that giving karma is terrifying you, but don't overdo it ;)

Posted

cool than i start to share all sync and all commits from the l2j timeline oO

 

kk l2j yours mine is l2jfree(just because of more commits daily) :D

Posted

kk l2j yours mine is l2jfree(just because of more commits daily) :D

but we can share l2joffi together if u want because 2 packs are to much for a single person :/
Posted

lol. we should kidding each other. what's that? i mean , we start c/p a timeline and share it as ours ? from me , this is the last time. if i see sth else like this u get my -1. dont care what others will say. and its not a matter of karma. its a matter of work.

 

Posted

lol. we should kidding each other. what's that? i mean , we start c/p a timeline and share it as ours ? from me , this is the last time. if i see sth else like this u get my -1. dont care what others will say. and its not a matter of karma. its a matter of work.

 

Open your eyes and see my first post again.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • No, the real purpose is cheating and custom  development for games.  I'm building a custom AI moderator specially for checking illegal activity and flag current topica.
    • Hello trying to edit Armorgrp_Classic.dat using L2ClientDat Editor - l2jmobius edition I can normally open a file but can't save, even can't save "clean" version of file (just open and then click save) Other files i can normally open, edit and save. but there is problem with Armorgrp_Classic.dat Anyone find solution, or other Editor for protocol 166 ?   [25/12 15:10:11] --------------------------------------- [25/12 15:10:11] Open file: Armorgrp_Classic.dat [25/12 15:10:11] File Armorgrp_Classic.dat encrypted. Lineage2Ver413 decrypt ... [25/12 15:10:11] Decrypt Armorgrp_Classic.dat file successfully by v413_encdec decrypter. [25/12 15:10:11] Read the file structure ... [25/12 15:10:11] Unpacking [L2GameDataName.dat] [25/12 15:10:11] GameDataName: Load 97534 count. [25/12 15:10:11] Completed. [25/12 15:11:32] Wrong param count for wrapper: fertheia_mesh_add, paramIndex: 1, params: {{{[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11;[none]};{{109;114};{0;-1};{109;114};{0;-1};{109;114}}};{[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None]};[None]} -node: fertheia_mesh_add[WRAPPER][null][null] param: {{{[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11;[none]};{{109;114};{0;-1};{109;114};{0;-1};{109;114}}};{[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None]};[None]} org.l2jmobius.xml.exceptions.PackDataException: Wrong param count for wrapper: fertheia_mesh_add, paramIndex: 1, params: {{{[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11;[none]};{{109;114};{0;-1};{109;114};{0;-1};{109;114}}};{[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None]};[None]} -node: fertheia_mesh_add[WRAPPER][null][null] param: {{{[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11;[none]};{{109;114};{0;-1};{109;114};{0;-1};{109;114}}};{[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None]};[None]} at org.l2jmobius.xml.DescriptorWriter.packData(DescriptorWriter.java:275) at org.l2jmobius.xml.DescriptorWriter.packData(DescriptorWriter.java:184) at org.l2jmobius.xml.DescriptorWriter.parseData(DescriptorWriter.java:100) at org.l2jmobius.actions.SaveDat.action(SaveDat.java:70) at org.l2jmobius.actions.ActionTask.doInBackground(ActionTask.java:48) at org.l2jmobius.actions.ActionTask.doInBackground(ActionTask.java:27) at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:303) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328) at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:340) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619) at java.base/java.lang.Thread.run(Thread.java:1447) [25/12 15:11:32] buff == null.  
    • Leave your contact information or write to me on Telegram @dieorditsa
    • Hello everyone, I’m looking for a graphic designer to design a custom logo that will be used in NPC HTML interfaces for Lineage. Please send me a private message if you are interested.
    • ok sounds good sign me up
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock