SRL Archive - Research & Development Lounge

YoHoJo's P.M.S. v2 (Live Paint, M1D1, and MoueKeys Drop Method Teaser)


YoHoJo

2012-03-06 13:06:09

Been working on P.M.S. on and off for a few weeks.

Besides regular maintenance, cleaning up code, and speeding it up, I've added real-time on screen paint, and options for up to three drop methods now: M1D1, MouseKeys, or Normal.

Enjoy.

Plan to release this Beta version of it by this weekend!

http://youtu.be/YZAMthtH7KI

xtrapsp

2012-03-06 13:15:09

Whats P.M.S? Sorry if I sound a bit stupid haha but maybe a bit of a more detailed explanation would help :P

YoHoJo

2012-03-06 13:16:48

My PowerMiner script:
http://villavu.com/forum/showthread.php?t=53148
YoHoJo's [P]ower [M]iner [S]upreme

xtrapsp

2012-03-06 13:22:17

From: YoHoJo
My PowerMiner script:
http://villavu.com/forum/showthread.php?t=53148


I just deciphered it :duh:

Good job! Watched the video ^.^

PhaseCode

2012-03-06 13:24:45

Very nice job YoHoJo.
Love what your doing

bolshak25

2012-03-06 16:24:52

Nice job man! ill beta test if you need one :)

YoHoJo

2012-03-06 18:33:49

I was looking for you last night bol! Worked on this for hours and was gonna give you a copy!
I'm planning to just release this alongside 1.08 and let people choose which they want to use, as far as I can tell it works just fine from my testing.
Unfortunately for you Bol :/ I remove multiplayer/break taking in the v2! Feel free to add it back in yourself should be pretty easy if you open 1.08 and v2 side by side and try to add it back in!

I think I'll release it tonight!

bolshak25

2012-03-06 18:44:49

ill have to readd it then. im looking forward to it! :)

Offtopic: Are you going to update oldsex next?

YoHoJo

2012-03-06 18:51:21

Umm not planning to/haven't looked at it in forever but sure maybe.
Ill read through the thread and see suggestions and add some.
And I'll add sexy paint to it too!

Flight

2012-03-06 20:39:21

Sounds really great man. So the mouse keys method seems to be safely working for you so far? I'm also curious about the live paint, that sounds really neat.

YoHoJo

2012-03-06 20:49:54

I havent used it extensively.

But I used real mouse keys manually and ran a keylogger script while I did. Then I looked at they keylog and made my code simulate it as closely as possible. I've also seen/used this option in a java bot I used long ago ad I was fine. I'm a little scared about it myself but as far as I see it's completely safe. It's up to the users if they wish to use it or not but I think it should be all good.

Zaros

2012-03-06 21:33:41

This shall be epic!

Er1k

2012-03-06 23:31:03

From: YoHoJo
I havent used it extensively.

But I used real mouse keys manually and ran a keylogger script while I did. Then I looked at they keylog and made my code simulate it as closely as possible. I've also seen/used this option in a java bot I used long ago ad I was fine. I'm a little scared about it myself but as far as I see it's completely safe. It's up to the users if they wish to use it or not but I think it should be all good.


I am curious, how do you do the keylogger script part? I would like to implement mousekeys for some of my other work, but not being able to see how it is pressing the keys have held me back.

Great work by the way!

YoHoJo

2012-03-06 23:49:16

Used this:
http://villavu.com/forum/showthread.php?t=3197

Pretty simple though it's just MoveMouse/ClickMouse, and when you use the key/button to move the mouse down, it moves down in X amounts of Y units (Like Y +50) always, no matter what. Also the '50' can be anything depending on your mouse settings/etc, but I found I think 48? to be the amount needed to move down in order to click the 'Drop' option.

Here it is, pretty basic:
Procedure MouseKeyDrop;
var
I, X, Y, Q, W, OreMid: Integer;
SlotBox:TBox;
RockPattern: TIntegerArray;

Begin

RockPattern:=[1,5,9,13,17,21,2,6,10,14,18,22,3,7,11,15,19,23,4,8,12,16,20,24];

OreMid := DTMFromString('mrAAAAHic42BgYBAAYl4g5gZiESAWB2IuBgiQAWJ+IOaE8kHyEkAsDFXHCsRmCiARJpz4PwN+wEgAwwAA/qACeA==');

For I:=0 to 23 Do
Begin

If InIntArray([0,6,12,18], I) Then
Begin
SlotBox:= InvBox(RockPattern[I]);
If FindDTm(OreMid, X, Y, SlotBox.X1, SlotBox.Y1, SlotBox.X2, SlotBox.Y2) Then
MMouse(X, Y, 5, 3);
End;

SmartGetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
WaitFindColor(Q, W, 131843, MIX1, MIY1, MIX2, MIY2, 0, 5000);
SmartMoveMouse(X, Y+37);
SmartGetMousePos(X, Y);
Wait( RandomRange(50,70) );
SmartClickMouse(X, Y, True);
WaitColorGone(131843, X, Y, 0, 5000);
Wait(50 + Random(20));

End;

I can explain anything you need, a few things might be a bit ambiguous.

Er1k

2012-03-07 10:36:59

Thanks yoho. That's perfect. I was also amazed at the keylogger script in 2006. That's so oldschool :D

YoHoJo

2012-03-07 10:51:33

Super duper old school!
But I'm a scar/simba/cheating O.G. so I know the history like that! :D

You're welcome.

onilika

2012-03-07 11:12:20

So good to hear about that mousekeys of yours! I'll speed up things a little bit!
Can't wait for that release :)

Kyle Undefined

2012-03-07 11:48:20

Going to steal your dropping procedure :D

Kerk

2012-03-07 14:55:32

Will this support coal?

cause

2012-03-09 14:21:54

So you are just moving the mouse, not actually simulating arrow keys. Ok now I'm thinking about it and obviously that makes sense because of SMART.

If and when you release the mousekeys thing I'll do a suicide character on it and see how long till ban.

YoHoJo

2012-03-09 14:50:03

From: cause
So you are just moving the mouse, not actually simulating arrow keys. Ok now I'm thinking about it and obviously that makes sense because of SMART.

If and when you release the mousekeys thing I'll do a suicide character on it and see how long till ban.


Out already, download v2 here:
http://villavu.com/forum/showthread.php?t=53148
As far as I can see my code simulates mousekeys exactly, so shouldn't be any bans. Thanks for testing!

Flight

2012-03-11 04:20:56

Hey YoHoJo, do you mind if I use the Live Painting in my ZMI script? I shall give you full credit if you wish.

YoHoJo

2012-03-11 04:24:38

From: Flight
Hey YoHoJo, do you mind if I use the Live Painting in my ZMI script? I shall give you full credit if you wish.


Go for it, it's actually Euphamism who made but, but it freaking memory leaks. So after like 3+ish hours it crashes sometimes! D:

I would check out this script by Yago:
http://villavu.com/forum/showthread.php?t=77253

He also has a very similar/just as capable live painted report which he says does not leak and works very well. In fact, I might replace mine with his eventually!

Flight

2012-03-11 04:28:10

Good advice. Thanks pal I'll take a look at it right now.

Yago

2012-03-11 10:10:30

From: YoHoJo
Go for it, it's actually Euphamism who made but, but it freaking memory leaks. So after like 3+ish hours it crashes sometimes! D:

I would check out this script by Yago:
http://villavu.com/forum/showthread.php?t=77253

He also has a very similar/just as capable live painted report which he says does not leak and works very well. In fact, I might replace mine with his eventually!


I've tried fixing yours Yohojo. What I changed doesn't really leak(I think); the only thing is that it blinks a lot…

I designed my paint to be antiblink… I haven't noticed any leaks in it, but the most I've ran it is 4-5 hours.