Kamira Posted July 7, 2011 Posted July 7, 2011 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 Quote
0 Tryskell Posted July 7, 2011 Posted July 7, 2011 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)); } } Quote
0 Kamira Posted July 7, 2011 Author Posted July 7, 2011 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 :-/ Quote
0 Tryskell Posted July 7, 2011 Posted July 7, 2011 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) Quote
Question
Kamira
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
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.