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)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • someone ban again this piece of shit this guy is a virus we should make an antikara or karabytes
    • 🍂 The cost on Vibe-sms is dropping, like autumn leaves falling from the trees.     It’s a little sad to watch the last days of summer fade away with its warmth, but that’s how the world works  every season has its own rules. The same goes for our prices: they are gradually but steadily going down, opening up new opportunities and great deals. 💸   🌍 USA is already at the minimum, and Europe, Asia, and dozens of other countries will follow soon. Don’t miss out  fresh rates are waiting for you!   Website link — https://vibe-sms.net/ Our Telegram channel — https://t.me/vibe_sms
    • You didn't tell me anywhere that you wanted core.jar as proof, I have everything ready for an independent developer to review. All the conversations, all your edits. I won't settle anything with you, so you can threaten me again and damage my name.
    • So what? Did i say anything wrong? You have no idea what source/compile is. I still wait for your .jar or source to be posted since you say i destroyed the compiled version of yours. Why you don't post it? Are you afraid that people will just see few addon lines and you did not even know that your source and compiled had different things? I should not even waste 2 minute to fix your raidboss_spawnlist thing.    Your mentally ill. What you posted is our primary deal nothing against me.  Because all he does is post whatever i write as if i hide and i did not say any mod to join and check my discord. i want him actual post something against me or any offenses i did. I also requested him several hours ago to post his .jar where my code "HACKED" his server but he wont post.    Nobody should allow open a random topic and cause issues to other's life without proofs. I demand punishment and soon unless he post evidence that i hurt his server or left him or did not make what he asked. 
  • 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