Olympiad(soulshot)

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Ai17
Posts: 191
Joined: Tue Jun 29, 2010 8:05 am

Olympiad(soulshot)

Post by Ai17 »

Hi how to fix this problem when you teleport to olympiad , automaticly makes activate soulshot ?
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: Olympiad(soulshot)

Post by JIV »

Code: Select all

Index: java/com/l2jserver/gameserver/model/olympiad/OlympiadGame.java===================================================================--- java/com/l2jserver/gameserver/model/olympiad/OlympiadGame.java	(revision 4322)+++ java/com/l2jserver/gameserver/model/olympiad/OlympiadGame.java	(working copy)@@ -270,7 +270,7 @@ 				player.checkItemRestriction();  				// Remove shot automation-				player.disableAutoShotsAll();+				//player.disableAutoShotsAll();  				// Discharge any active shots 				if (player.getActiveWeaponInstance() != null) 
Ai17
Posts: 191
Joined: Tue Jun 29, 2010 8:05 am

Re: Olympiad(soulshot)

Post by Ai17 »

Code: Select all

				player.checkItemRestriction(); 				// Remove shot automation				Map<Integer, Integer> activeSoulShots = player.getAutoSoulShot();				for (int itemId : activeSoulShots.values())				{					player.removeAutoSoulShot(itemId);					ExAutoSoulShot atk = new ExAutoSoulShot(itemId, 0);					player.sendPacket(atk);				} 				// Discharge any active shots				if (player.getActiveWeaponInstance() != null)				{					player.getActiveWeaponInstance().setChargedSoulshot(L2ItemInstance.CHARGED_NONE);					player.getActiveWeaponInstance().setChargedSpiritsho
Ai17
Posts: 191
Joined: Tue Jun 29, 2010 8:05 am

Re: Olympiad(soulshot)

Post by Ai17 »

so what i need to change ?
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Olympiad(soulshot)

Post by Zoey76 »

I think you should read this wiki:
http://l2jserver.com/wiki/How_to_Apply_a_Patch

Then check previous JIV post and apply that patch.

PS: that guide is going to help you for the other request you've made in forum already.
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
Post Reply