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

    • https://prnt.sc/g1BKAsIegY7p   its looks like this when you win 😄 i have full code/images.
    • 新品发布! 抓紧时间,以超低价格购买来自美国和加拿大的最佳 Telegram 账号,账号年龄均为 1/3 个月以上! 美国 (+1) 自动注册 1/3+ 个月账号 | TDATA SESSION JSON 2FA 已包含 | 价格起步:$0.55 加拿大 (+1) 自动注册 1/3+ 个月账号 | TDATA SESSION JSON 2FA 已包含 | 价格起步:$0.55 可通过我们的网站或 Telegram 机器人购买! 有效链接: 数字商品商店(网站):前往 商店 Telegram 机器人:前往 其他服务: 用于购买 Telegram Stars 的机器人:前往 SMM 面板:前往 – 推广您的社交媒体账号。 我们向您展示当前的 促销和特别优惠,适用于购买我们平台的产品和服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)在十月期间通过我们的网站或机器人购物!您还可以使用首次购买优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在我们网站注册后,在论坛发布以下格式的帖子:"SEND ME BONUS, MY USERNAME IS..."。 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在我们网站(支持页面)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道和购买 Stars 的机器人中举办 Telegram Stars 抽奖活动! 新闻: ➡ Telegram 频道:https://t.me/accsforyou_shop✅ ➡ WhatsApp 频道:https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t✅ ➡ Discord 服务器:https://discord.gg/y9AStFFsrh✅ 联系方式与支持: ➡ Telegram:https://t.me/socnet_support✅ ➡ WhatsApp:https://wa.me/79051904467✅ ➡ Discord:socnet_support ✅ ➡ ✉ 邮箱:solomonbog@socnet.store ✅
    • 新品发布! 抓紧时间,以超低价格购买来自美国和加拿大的最佳 Telegram 账号,账号年龄均为 1/3 个月以上! 美国 (+1) 自动注册 1/3+ 个月账号 | TDATA SESSION JSON 2FA 已包含 | 价格起步:$0.55 加拿大 (+1) 自动注册 1/3+ 个月账号 | TDATA SESSION JSON 2FA 已包含 | 价格起步:$0.55 可通过我们的网站或 Telegram 机器人购买! 有效链接: 数字商品商店(网站):前往 商店 Telegram 机器人:前往 其他服务: 用于购买 Telegram Stars 的机器人:前往 SMM 面板:前往 – 推广您的社交媒体账号。 我们向您展示当前的 促销和特别优惠,适用于购买我们平台的产品和服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)在十月期间通过我们的网站或机器人购物!您还可以使用首次购买优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在我们网站注册后,在论坛发布以下格式的帖子:"SEND ME BONUS, MY USERNAME IS..."。 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在我们网站(支持页面)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道和购买 Stars 的机器人中举办 Telegram Stars 抽奖活动! 新闻: ➡ Telegram 频道:https://t.me/accsforyou_shop✅ ➡ WhatsApp 频道:https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t✅ ➡ Discord 服务器:https://discord.gg/y9AStFFsrh✅ 联系方式与支持: ➡ Telegram:https://t.me/socnet_support✅ ➡ WhatsApp:https://wa.me/79051904467✅ ➡ Discord:socnet_support ✅ ➡ ✉ 邮箱:solomonbog@socnet.store ✅
  • 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