openkore icon indicating copy to clipboard operation
openkore copied to clipboard

Buying Yellow Potions make kore disconnect

Open iamtonysoft opened this issue 8 years ago • 13 comments

------------------ Bug Report Template ------------------

Summary:

yellow

Affected configuration(s)/ file(s):

Disconnect if it was like this buyAuto Yellow Potion { maxAmount 100 minAmount 0 npc distance 8 }

Works if it was like this buyAuto Yellow potion { maxAmount 100 minAmount 0 npc distance 8 }

Steps to Reproduce:

autobuy

iamtonysoft avatar Jan 03 '18 14:01 iamtonysoft

what is the difference?

alisonrag avatar Jan 03 '18 23:01 alisonrag

p and P XD sry .

sctnightcore avatar Jan 03 '18 23:01 sctnightcore

uhhmm yes only the letter p and P dunno why my bot disconnect.

iamtonysoft avatar Jan 04 '18 01:01 iamtonysoft

Now that you mention it, Renewal also have small p for yellow potion. But haven't try yet if it also disconnect for latest version. My version still from Oct 2017 xD

Fadreus avatar Jan 04 '18 12:01 Fadreus

The store is selling Yellow potion, not Yellow Potion

lututui avatar Jan 09 '18 06:01 lututui

So it means the function buyAuto only accepts case sensitive ? and the data with a small case Yellow potion coming from or cause by game client ? 🤔

iamtonysoft avatar Jan 10 '18 12:01 iamtonysoft

So, I found out buyAuto is case insensitive, so this should be working.

Can you set debugPacket_sent 2 in config.txt and send a log or screenshot of the disconnection moment?

lututui avatar Jan 10 '18 13:01 lututui

@lututui dc

iamtonysoft avatar Jan 10 '18 13:01 iamtonysoft

Which server is this?

lututui avatar Jan 10 '18 14:01 lututui

@lututui iRO:Restart

iamtonysoft avatar Jan 10 '18 14:01 iamtonysoft

BB 5C 08 00 00 00 F7 01 which breaks down to 5C BB -> 00C8 -> Buy packet 00 08 -> Which is the amount of different items we're trying to buy, in the format 4+4*amountOfDifferentItems -- in this case 4+4*1 => 8 00 00 -> Which should be the amount. For some reason, we're trying to buy zero items -- this must be the disconnect source. 01 F7 -> 503, which is the item id - Yellow Potion

lututui avatar Jan 10 '18 14:01 lututui

i was trying to buy the amount of 100 Yellow Potion I have tested #1622 so far it works smoothly without disconnect

iamtonysoft avatar Jan 10 '18 14:01 iamtonysoft

So #1622 fixes this?

lututui avatar Jan 10 '18 14:01 lututui