when i run the script it is not moving to the DTM:/
Any Help?HTML Code:http://pastebin.com/m71be26a5![]()
when i run the script it is not moving to the DTM:/
Any Help?HTML Code:http://pastebin.com/m71be26a5![]()
Like I told you in the other thread, you need to search for it in the inventory, not the mainscreen.
Change the MSX1,MSY1,MSX2,MSY2 to MIX1,MIY1,MIX2,MIY2
MS = main screen
MI = inventory
heh:/
if i want to take it out my bank:/
why should i take MI then?:S
ok, i changed it to MI but it's still doing nothing:/
do u got a example??
i don't understand
Code:if(FindDtm(Coal, x, y, MSX1, MSY1, MSX2, MSY2)then begin Mouse(x, y, 2, 2, True); end;
or change True to False and do ChooseOption for the amount. That help any?
EDIT: I don't know what your main loop looks like, and I don't know if they are using your procedures or just making names, so I showed you the work for the procedure, just use a mouse or a mmouse after you find the DTM.
Last edited by Baked0420; 08-13-2009 at 03:20 AM.
it works, thank you
rep+
Instead of using MSX1, MSY1, maybe you could use the MBX1, MBY1 globals instead. Just in case your Item happens to be on a tab. However, If your searching the bank I would advise using a Bitmap as DTM finding usually mucks up ;(.
Check out Globals.scar := http://www.villavu.com/repositories/...e/Globals.scar
Good Luck![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)