fixed a hauler bug

MitzuriX

Member
fixed a bug in hauler's evebot, most recent version (today's). It was emptying jetcans completely, causing miners to have to push new jetcans into space repeatedly. Now it stacks the cargo of the jetcan before processing it, so it handles it correctly.

this concerns obj_Hauler.iss,
here is the snippet that fixes the problem:
Code:
        EVEWindow[ByItemID,${id}]:StackAll
        wait 10
add it here:
Code:
        Entity[${id}]:Open
        wait 20
***
        EVEWindow[ByItemID,${id}]:StackAll
        wait 10
***
        Entity[${id}]:GetCargo[ContainerCargo]
        ContainerCargo:GetIterator[Cargo]
        if ${Cargo:First(exists)}
 

CyberTech

Second-in-Command
Staff member
fixed a bug in hauler's evebot, most recent version (today's). It was emptying jetcans completely, causing miners to have to push new jetcans into space repeatedly. Now it stacks the cargo of the jetcan before processing it, so it handles it correctly.

this concerns obj_Hauler.iss,
here is the snippet that fixes the problem:
Code:
        EVEWindow[ByItemID,${id}]:StackAll
        wait 10
add it here:
Code:
        Entity[${id}]:Open
        wait 20
***
        EVEWindow[ByItemID,${id}]:StackAll
        wait 10
***
        Entity[${id}]:GetCargo[ContainerCargo]
        ContainerCargo:GetIterator[Cargo]
        if ${Cargo:First(exists)}
Thanks, committed.
 

Daxten

Member
There is still a bug, he calls the function with leave = 0 (not talking about the default here, he really calls it with 0).
Switched it with 1 and now it works like a charm
 
Top Bottom