Having The Hardest Time With MouseSlot
So I am making a simple script which makes summer pies, it was working good, but randomly it broke.
Simba Code:
if tabBackpack.mouseSlot(1, MOUSE_MOVE) then
begin
writeLn('Crafting Pies');
wait(randomRange(500, 1000));
fastClick(Mouse_Left);
tabBackpack.mouseSlot(16, MOUSE_MOVE);
fastClick(Mouse_Left);
wait(randomRange(2000, 3000));
end
Everytime I use the
Code:
tabBackpack.mouseSlot(1, MOUSE_MOVE)
to move the mouse to a inventory slot, it seems to want to just keep clicking the Backpack Icon saying
Code:
---- TRSGameTab.__initTabs(): Setup gametab properties
-- TRSGameTabs.openTab(2)
---- Opening tab via gametab navigation bar
There is no reason for it to open the Backpack Tab when it's already open, and when it does open the backpack bag, it doesnt even recognize the backpack so it just keeps opening and closing it.
I made sure my graphics and Interface were setup correctly, I restarted SMART and Simba, I've looked over everything in the area of the script where it does this. This was working perfectly, but randomly stopped.