Jump to content
  • 0

Automated Fishingshots


Question

Posted

Hi Guys,

once again im asking for your assistance... (kinda habit last days hu ? ...)

 

If a post like this already exist, im really sorry but the search-function is "out-of-order" xD

 

I try to make the fishingshots automated.. just like soulshots.

I took a look in L2PcInstance.java / IItemskill.java / Fishshots.java / Soulshots.java / L2ItemInstance.java and L2Character.java

 

but no matter what i change.. i cant make them automated..

Im so far that the animation in the taskbar is like its automated... but it only looks like it is..

 

Once again .. some1 can gimme a hand over here ?  ???

 

greetings

3 answers to this question

Recommended Posts

  • 0
Posted

A big part of automation is skipped in clientpacket requestAutoSoulshot :

 

				// Fishingshots are not automatic on retail
			if (_itemId < 6535 || _itemId > 6540)
			{

 

Finally I'm not really sure your ask is possible, as it uses a serverpacket ExAutoSoulShot(). Anyway the part of code which interests you is this one :

 

					else
				{
					if (activeChar.getActiveWeaponItem() != activeChar.getFistsWeaponItem()
							&& item.getItem().getCrystalType() == activeChar.getActiveWeaponItem().getCrystalType())
					{
						activeChar.addAutoSoulShot(_itemId);
						activeChar.sendPacket(new ExAutoSoulShot(_itemId, _type));

						// start the auto soulshot use
						SystemMessage sm = new SystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);
						sm.addItemName(_itemId);// Update Message by rocknow
						activeChar.sendPacket(sm);

						activeChar.rechargeAutoSoulShot(true, true, false);
					}
					else
					{
						if ((_itemId >= 2509 && _itemId <= 2514) || (_itemId >= 3947 && _itemId <= 3952) || _itemId == 5790)
							activeChar.sendPacket(new SystemMessage(SystemMessageId.SPIRITSHOTS_GRADE_MISMATCH));
						else
							activeChar.sendPacket(new SystemMessage(SystemMessageId.SOULSHOTS_GRADE_MISMATCH));
					}
				}

  • 0
Posted

Hi Tryskell,

 

thx again for your help ^^

 

I understand what that code does.. but no clue what to change that it allows me to use fishingshots automated..

The first lines you posted says "if itemId is between 6535 and 6540 then"

But the other code you posted down there .. no clue what to change :-/

  • 0
Posted

You have to remove the limitation about fishingshots deleting what I quoted in first time.

 

// Fishingshots are not automatic on retail
if (_itemId < 6535 || _itemId > 6540)
{

 

Then if it's not enough, you have to edit one of all those :

 

- fishingshot itemhandler (try to make looking at soulshot itemhandler);

- addAutoSoulShot() method (L2PcInstance)

- rechargeAutoSoulShot() method (L2PcInstance)

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

    • Where's the proof? I can tell you're a scammer.
    • Where was I called a scammer? Is there any proof, etc.? There are a lot of reviews about our store online, etc. https://zhyk.org/forum/showthread.php?t=1108673
    • U was reported as scammer in your previos topic why u create new topic?
    • 🔍 Inventory 1.0 is a next-generation inventory system that stands out with its special minimal clothing system. Carefully designed and prepared according to the highest standards of your server, it not only enhances your gaming experience but also contributes to your server's infrastructure. ⚙️ Supported: QB-CORE Features: ✅ Instant Delivery: All products you purchase will be instantly assigned to your account as soon as your payment is completed. ✅ Clothing System: With the special animated clothing configurations in your inventory, you will be able to change outfits with ease. Experience a unique roleplaying experience with high-quality animations and customizable clothing options. ✅ Minimalist Inventory System: This inventory system, with its visuals, animations, and mechanics, offers maximum efficiency without overwhelming your screen and limiting your roleplaying experience. It’s designed to be user-friendly while enhancing your roleplaying experience. ✅ Continuous Updates: The content in the inventory is regularly updated with innovative features added. New animations, additional clothing options, and cutting-edge features ensure a fresh and dynamic experience. ✅ Easy Setup and Compatibility: Compatible with QB-CORE, this system is easy to install and optimized for quick integration into your server. It works seamlessly with a simple drag-and-drop method. ✅ Performance Optimization: The system is optimized to avoid low FPS and performance drops. All features of the inventory run smoothly without affecting your server’s performance. ✅ Multilingual Support: With support for different languages, you can cater to an international player base and build a larger community on your server. ✅ Flexible Customization Options: You can fully customize the inventory according to your needs and server rules. Choose between different outfits and animations to create a unique gaming experience. ✅ Comprehensive Help and Support: With 24/7 support, you can quickly resolve any issues you encounter. Our technical support and user guides are always here to assist you. Shop Now! Take your game to the next level with Inventory 1.0  and enjoy its unique features. Get ready to make a real difference in your roleplaying experience!   --------------------------TEBEX: https://matza.tebex.io/package/7174862 --------------------------
  • 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