Buying Yellow Potions make kore disconnect
------------------ Bug Report Template ------------------
Summary:

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
what is the difference?
p and P XD sry .
uhhmm yes only the letter p and P dunno why my bot disconnect.
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
The store is selling Yellow potion, not Yellow Potion
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 ? 🤔
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

Which server is this?
@lututui iRO:Restart
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
i was trying to buy the amount of 100 Yellow Potion
I have tested #1622 so far it works smoothly without disconnect
So #1622 fixes this?