kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
346 stars 332 forks source link

Summoner waiting problem #2009

Open mrattcs opened 4 years ago

mrattcs commented 4 years ago

Hi,

I often receive the error, attack.js line 1156 error something, blabla it occurs when I only got 1 or max a few minions and they can't kill the mobs fast enough so my summoner can't go on casting corpse explo and stuff. what happens next is that the bot stops the script and loads the next one which is problematic, because i run more bots and they gotta kill the same bosses at some point. so if he reaches there first ( cs for example ) and can't make to kill the mobs quick enough, he just stops the script and heads towards to harrogath to wait for the soso to make the tp to throne while the soso is actually die-hard trying to make cs on her own. but if my summone just waits a little longer before he decides to literally give up on the fight ( lol ), he would actually make killing them and supporting my soso way more efficient.

i myself took a look at the line 1156 of attack.js but can't figure anything.

    buildGrid: function (xmin, xmax, ymin, ymax, spread) {
    if (xmin >= xmax || ymin >= ymax || spread < 1) {
        throw new Error("buildGrid: Bad parameters");
    }

Pls help thx love.

mf022 commented 4 years ago

what other errors related to this, you can see in the d2bs.log and ...\kolbot\logs\ScriptErrorLog.txt (if any)?