Log in

View Full Version : super heating



zluo
03-24-2012, 08:52 AM
How can I make a simple procedure to click on the “superheat item” in the normal spell book and click again on slot 19 in inventory and repeat 17 times?

eska
03-24-2012, 09:30 AM
For the superheat spell, you could make a DTM.

To switch to the magic spellbook you could use
Gametab(tab_Magic);

To click on the inventory slot 18, you could do
InvBox(19);
ClickMouse2(true);

To repeat 17 time, you could use a for loop
for i:= 0 to 17 do
begin
ClickOnSuperheat;
ClickOnOre;
// Then antiban or something else you want to do
end;

Note that those are just suggestion, there is more than one way to achieve the same result

NKN
03-24-2012, 03:22 PM
Don't use Clickmouse.
Use
InvMouse(18,(1,2,3) (1,2,3, only use one. 1 for right click, 2 for left click, 3 for hover over it without clicking)

eska
03-24-2012, 08:34 PM
There is nothing wrong with Clickmouse as long as the mouse was randomised before using it.

The problem is that people use it without using randomisation and make very bot-like script.

I mean, even Flight do it because he find himself in the same problem as me: one of his function move the mouse to a spot (which has already been randomised). Then he need to click the mouse.
If you do Mouse(x, y, 0, 0, true), the mouse would move to x, y, but you don't want that because you are already at the spot you want to click. You could return the mouse position, or do a getmousepos, but why do all this when all you want to do is click at the same damn spot where the mouse is?

NKN
03-24-2012, 08:44 PM
It's botty/waste of space.
Just use mouse(x,x,0,0,True)
Or for that purpose, InvMouse, which is much smaller, and easier.

eska
03-24-2012, 08:56 PM
It's botty/waste of space.
Just use mouse(x,x,0,0,True)
Or for that purpose, InvMouse, which is much smaller, and easier.

Did you even read my post. If you think ClickMouse2 is always bad, it's because you don't understand how the mouse moves. Sometime, using Mouse is botty/waste of space.

But I do agree that he should use InvMouse for this case.