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

    • That domainn tho :_D
    • Perfect way to experience L2 without the brutal official grind. The progression here is so much smoother and faster, you get to the fun PvP and epic raids way quicker. The custom stuff keeps it fresh too. Definitely worth diving into!
    • L2-Getwork server highly customized with high-stats https://l2server.eu/ https://discord.gg/SsVhm7R Rates: L2 High Five fully customized Getwork Style with High Stats and Enchant ExP/Sp: 75x (custom) Drop/Spoil: 1x (custom) Safe: 500 Max: 50 000   Enchant System: Normal Scrolls: 93% - fail - decrease enchant by 20 Blessed Scrolls: 96% - fail - decrease enchant by 10   Armor Max Enchant D-Grade: +1000 Max Enchant C-Grade: +2000 Max Enchant B-Grade: +3000 Max Enchant A-Grade: +4000 Max Enchant S-Grade: +5000   Weapons Max Enchant D-Grade: +5000 Max Enchant C-Grade: +10000 Max Enchant B-Grade: +15000 Max Enchant A-Grade: +20000 Max Enchant S-Grade: +25000 - 50000   Fir Tree Branch (Weapon): +100 into Weapons (max 50 000) Fir Tree Branch (Armor): +15 into Armor (max 5000) Road to Dvc Cloak Enchant: +1 into cloak (max +1000) Masks of Spirit/Demon Horns Enchants: +1 into Masks (max +10) Each accessories has different max enchant and chances Daily Missions (.missions) Collections (ALT + B) Gambling System(.gamble) - each pack cost different amount Gamble Points, different items How to get gambling points? - by killing Raid Bosses/Events or Completing Daily Missions. Clan Bonus VIP Bonuses (maximum level 10) Battlepass (maximum level 100) - by killing monsters Rebirth (starting in Parnassus) Everything in ALT+B Master's Buffs - 100 Small Glass Box (1 buff) Farm Zones: Custom Farm Zones: Ruin of Agony (Exp Zone) Underground Coliseum (Safe Exp Zone) DVC,Brigand,Frost are similiar farm zones with same monsters Dvc Brigand Stronghold Frost Lake Parnassus - TOP ZONE some of our features: .gamble,collections,battlepass,talent tree, rebirth        
    • https://www.mediafire.com/file/l905r1sd84hnovf/FileEdit.rar/file
  • 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