Openkore: Kore dc when autobuy

Created on 15 Aug 2017  路  15Comments  路  Source: OpenKore/openkore

@alisonrag @allanon @kaliwanagan @Henrybk
i just update my openkore today from openkore master github
and after update my bot run like ussually
but when the kore die and doing autobuy, it just say
Done talking with the NPC.
and got dc for 30s

any idea?

bug needs clarification needs to be tested urgent iRO

Most helpful comment

My test openkore updated 08/16/2017
test

All 15 comments

maybe related to relogafterstorage?

i dont think so, i try to active it and deactive it but still same,
when talk to tool dealer for buying items
the list of items is printed out, but after it
Done talking with the NPC.
and dc after about 2s.

Which server?

@Henrybk iro restart sir
i found the problem, if in my config i set autobuy for some different items, it always dc.
but if i only buy 1 kind of item, it work fine.

like this :

buyAuto Butterfly Wing {
    npc
    standpoint
    distance 5
    price
    minAmount 0
    maxAmount 10
    batchSize
    disabled 0
}

it will work fine

but if like this :

buyAuto Butterfly Wing {
    npc
    standpoint
    distance 5
    price
    minAmount 0
    maxAmount 10
    batchSize
    disabled 0
}

buyAuto Concentration Potion {
    npc
    standpoint
    distance 5
    price
    minAmount 0
    maxAmount 10
    batchSize
    disabled 0
}

buyAuto Awakening Potion {
    npc
    standpoint
    distance 5
    price
    minAmount 0
    maxAmount 10
    batchSize
    disabled 0
}

it will got dc

you shoul've put in npc the coordinates
The npc you trying to autobuy sell these three itens?

i did it, i just delete it for some reason
if i dont put the npc location, i cant say it dc on autobuy sir @Nipodemos

The npc you trying to autobuy sell these three itens?

yes, before i update the OK its work fine
after update it cant buy and got dc

Did you update your timeouts.txt?

@lututui yes, i update with the last complete rework
timeout.txt and everything posted on there i update it

My test openkore updated 08/16/2017
test

i just open my github desktop and i got new fetch item, if it still not working i will try to re-clone it
thx sir @RogerKitKat

I'm still having problems with buyAuto. Character go to spawn, do autostorage, do autosell and just freezes. The only way I found to correct it that is to send "ai clear" on the console.

EDIT: When the bot is in the state I described above, sending "ai print" return this:

ai print
------------------ AI Sequence -------------------
0: NPC

1: buyAuto
{distance=>'9',sentBuy=>'1',itemID=>'601',npc=>{ok=>'1',map=>'payon',pos=>{y=>'96',x=>'159'}},index=>'0',invIndex=>'0',
lastIndex=>'0',forcedByStorage=>'1',index_failed=>{empty}}

2: route

--------------------------------------------------

i just try it, and still same.
dc when buying

continue in #1006

Was this page helpful?
0 / 5 - 0 ratings

Related issues

williamrtiu picture williamrtiu  路  4Comments

Sensuii picture Sensuii  路  4Comments

comdevx picture comdevx  路  3Comments

Jangsunsuk picture Jangsunsuk  路  4Comments

kumulo123 picture kumulo123  路  5Comments