uuziwuuzi
2012-01-28 11:02:16
Having trouble renewing pouch with script
what i have done:
if FindDTM (pouch, x , Y, MSX1, MSY1, MSX2, MSY2) then
writeln ('Congratz! found pouch');
HumanMMouse (x, y, 7,7)
wait(100+random(50));
Mouse (x, Y, 0, 0, true);
Wait (300+random(100));
CloseBank;
Wait (300+random(100));
MouseItem(pouch, mouse_right);
Wait(RandomRange(500, 75));
ChooseOption('Summon')
What am i doing wrong
Jhangir
2012-01-28 11:11:42
You have to dismiss the old familiar before summoning a new one.
uuziwuuzi
2012-01-28 11:17:20
before summoning script cheks if there is a familiar.. it only does that when familiar is gone
MSX1, MSY1, MSX2, MSY2
should be
MIX1, MIY1, MIX2, MIY2
the coord's that you asked FindDTM to search in was the MainScreen (MS)
you want FindDTM to search the MainInventory (MI)
Edit : Please use SIMBA tags to wrap around your code, it makes it alot easier to read, and try to use standards in your scripting if your aiming for SRL Member's it's highly appreciated.
Chris
2012-01-28 14:02:53
From: pur3b100d
MSX1, MSY1, MSX2, MSY2
should be
MIX1, MIY1, MIX2, MIY2
the coord's that you asked FindDTM to search in was the MainScreen (MS)
you want FindDTM to search the MainInventory (MI)
Edit : Please use SIMBA tags to wrap around your code, it makes it alot easier to read, and try to use standards in your scripting if your aiming for SRL Member's it's highly appreciated.
Thats not the issue, according to his code ( CloseBank; ) he has the bank open at that moment. he left-clicks the pouch so it will withdraw the pouch and then he summons it.
There is nothing wrong with your code, so something else in the script will be wrong.