SRL Archive - OSR Help

Alch bot


Nietszche

2011-12-23 18:23:32

I know YoHoJo warned against functions like MoveMouse because they were too precise and could be noticed but if I just wanted to alch could I still use this because all it would be doing is clicking one spot?

This isn't really for a public release it's just my own quick fix for MSI being a tad buggy.

YoHoJo

2011-12-23 18:29:08

Still no.
Must use mouse and MMouse only!
It's not too hard to you know, need help with it?

PatDuffy

2011-12-23 18:31:26

I still would suggest using MoveMouse since it goes to exact coordinates. I would use MMouse or Mouse since those add degrees of randomness to them

E: ninja'd because I went to get a cookie

Nietszche

2011-12-23 18:31:51

I'm not sure yet, I haven't delved too far into it or tried it out, if I do I'll let you know though.

Kyle Undefined

2011-12-23 18:38:25

Mouse(x, y, RandomRange(0, 3), RandomRange(0, 3), True); gives you a human like alching click since you still slightly move your mouse.

Nietszche

2011-12-23 18:57:25

From: Kyle Undefined
Mouse(x, y, RandomRange(0, 3), RandomRange(0, 3), True); gives you a human like alching click since you still slightly move your mouse.


Well I was thinking it would just mimic somebody like me who does other things while just clicking one button on a laptop. I'm still the epitome of noob when it comes to scripting so I'll see if I can work this.

Thanks!

YoHoJo

2011-12-23 18:59:36

Wtf kyle? Why randomrange?
Why not just 3,3?

Kyle Undefined

2011-12-23 19:08:46

Because, you won't always move your mouse when clicking. RandomRange makes it more human like since the number of variation changes.

Jhangir

2011-12-23 19:27:54

Its ok because all you have to do is put your mouse in the same spot and spam click. Thats what I do when I alch I just drag the item im alching to the slot in inventory where when I click high alch it lands on the item.

MaxPower

2011-12-23 20:20:50

Yeah honestly it would be more botlike if you had the mouse moving around while alching. Imo, if you have antibans (checking exp, right clicking an item on the ground, etc), random small breaks every so often, and the clicking times are randomized, it will look pretty human-like.

YoHoJo

2011-12-23 21:11:47

From: Kyle Undefined
Because, you won't always move your mouse when clicking. RandomRange makes it more human like since the number of variation changes.


MMouse already does that?
Lines from MMouse below.
WindMouse(cx,cy,(x + random(rx)),(y + random(ry)
        nx:= nx + RandomRange(rx, rx * 2);
ny:= ny + RandomRange(ry, ry * 2);
      nx:= (cx + (f * e)) + random(rx);
ny:= (cy + (g * e)) + random(ry);

You got random, and random ranges all over there.
program new;
begin
repeat
Writeln(IntToStr(Random(5)));
Until(False)
end.
3
2
0
1
2
3
2
2
2
0
4
4
2
1
1
3
1
2
0
1
4
4
4
0
3
4
4
1
2
2
1
2
3
1
4
4
1
1
3
4
1
4
4
1
4
2
4
0
0
3
4
4
3
1
0
2
0
3
4
1
0
1
1
0
0
1
2
4
4
3
0
4
2
0
2
0
3
0
1
4
1
3
3
2
1
2
2
0
3
1
3
0
1
4
3
2
1
1
2
4
3
4
1
2
3
0
2
4
0
3
4
1
3
0
2
3
1
2
3
4
1
4
3
4
3
3
0
3
4
3
3
4
0
1
4
3
0
2

It also results in 0s sometimes too!