SRL Archive - SRL Archives

Function EvilMolly : Boolean;


Dark_Sniper

2007-03-06 23:17:22

returns true if at you are in the evil twin molly random.

Function EvilMolly : Boolean;
begin
If (GetColor(602, 37) = 0) and (GetColor(701, 39) = 0) and
(GetColor(604, 114)= 0) and (GetColor(695, 117) = 0) and
(GetColor(651, 77) = 0) and (GetColor(650, 15) = 0) then
Result:= true;
end;

Extremely simple but Does work.. might interfere if your trying to find randoms right after logging in.

also working on molly random(i can get it figured no problem i get it to get the colors of the molly random correctly :p just need the joystick to move the arrow to the right spot….)

Meanage

2007-03-06 23:58:53

From: Dark_Sniper
returns true if at you are in the evil twin molly random.

Function EvilMolly : Boolean;
begin
If GetColor(602, 37) = 0 and If GetColor(701, 39) = 0 and
If GetColor(604, 114)= 0 and If GetColor(695, 117)= 0 and
If GetColor(651, 77) = 0 and If GetColor(650, 153)= 0 then
Result:= true;
end;

Extremely simple but Does work.. might interfere if your trying to find randoms right after logging in.

also working on molly random…


wouldnt the findscaperune thing find this?, or nogametab?

Dark_Sniper

2007-03-07 00:25:25

scaperune has minimap colors(i believe)… the molly random does not.

and nothing in srl returns that when you get into the molly random that your in a random at all for me :\.

about got the molly random solved… i will try to finish tommrrow.

WhiteShadow

2007-03-07 01:14:07

Wtheck is molly ?

>:[

Meanage

2007-03-07 01:36:55

From: Dark_Sniper
scaperune has minimap colors(i believe)… the molly random does not.

and nothing in srl returns that when you get into the molly random that your in a random at all for me :\.

about got the molly random solved… i will try to finish tommrrow.


does too, i thort scaperune finder worked by finding the 'welcom to scaperune' thing but ive never checked so i could be wrong.

Never got molly while autoing, oh yeah i have actually, i think it worked but i cant remember, prob just couldnt find the rock or something. all the unsolvables should have the option t attempt them and then hometele and walkback but thatd be botlike.

ooh nice, you should be a dev or something.

Meanage

2007-03-07 01:38:06

From: WhiteShadow
Wtheck is molly ?

>:[


If we're thinking of the same thing its the twins one where you grab the evil twin. Could be wrong tho

WT-Fakawi

2007-03-07 03:13:22

Molly is like most other non talking randoms ID'ed by the absense of GameTabs. Only Scaperune is recognized by the text "Welcome to Scaperune" which is usually only ID'ed inside script the second time we log in.

Dark_Sniper

2007-03-07 06:52:17

well the molly random does not have any text like scaperune

the whole minimap is black so i decided why not make it check points in minimap :p

like i said i got everything solved…

just going to make it do joystick.. gtg to school :p.

pwnaz0r

2007-03-07 14:45:21

Why not InBlack?

Dark_Sniper

2007-03-07 17:00:45

I forgot we had that functin within SRL :p.

so much stuff in sRL theres no way you can remeber it all :p

Ron

2007-03-09 22:01:20

Hey Dark Sniper. Nice function man, though wouldn't the function be a little slow because it's using GetColor? I read somewhere on the forums, Freddy was saying that it was very slow because it has to get the color of each pixel on the screen or something.

Could you do a time test on the function.

Dark_Sniper

2007-03-09 22:54:48

sure but i figured out a faster way only using getcolor on one pixel :p to tell if your in molly or not.



Function EvilMolly : Boolean;
begin
If GetColor(648, 83)= 0 then
Result:= true;
end;

tested…. and it says it takes 0 Msecs seems fast enough for me.

the molly random is hard to solve :p

i can make it guesse :o but not solve :p

should i post the guesser ?

Dark_Sniper

2007-03-10 02:05:12

Heres the updated procs…

I figured might as well guesse…

now that it guesses it will get out of the random..
it will ether be teled to varrock bar or if found correct will telle back <- havent made proc for tele back.


{.include SRL\SRL.SCAR}

Function EvilMolly : Boolean;
begin
If GetColor(648, 83)= 0 then
Result:= true;
end;

Procedure AttemptMolly;
var Tried : Integer;
begin
if EvilMolly then begin
KeyDown(38)
Sleep(2000 + random(1000))
KeyUp(38)
Mouse(343, 161, 5, 5, true)
sleep(1500 +random(100))
ClickToContinue;
sleep(100 +random(100))
mouse(253, 396, 3, 3, true)
ClickToContinue;
ClickToContinue;
Mouse(441, 243, 7, 7, true)
Mouse(647, 271, 3, 3, true)
Mouse(647, 271, 3, 3, true)
Mouse(647, 271, 3, 3, true)
Mouse(647, 271, 3, 3, true)
Mouse(647, 271, 3, 3, true)
MMouse(262, 167, 4, 4)
repeat
Sleep(100)
until(isuptext('rab'))
Mouse(704, 424, 6, 6, true)
if ischatmessage('innocent') then begin
Tried := Tried + 1;
if Tried > 2 then begin
Players[CurrentPlayer].Active := False;
Players[CurrentPlayer].Loc := 'Varrock Bar';
end else
AttemptMolly;
end;
ClickToContinue;
ClickToContinue;
MouseFlag(28, 113, 3, 3)
MouseFlag(58, 236, 3, 3)
sleep(100+random(100))
clicktocontinue;
clicktocontinue;
clicktocontinue;
end;
end;

Wizzup?

2007-03-10 03:06:24

What about grabbing molly's haircolor first.
(Or even make a bitmap) Then you can correctly solve Molly Random.
I think it should be possible, with an Record of an Array.
Record where the.. uhm.. well machine is at.. and where the haircolor is at. :)

Dark_Sniper

2007-03-10 07:23:32

well i can get the hair color when alking to her.

whne you talk to her her face is show in chat boxand its easy to ge hair color.

JAD

2007-03-10 09:33:44

very good idea.. I was actually thinking of trying to make an auto solver for molly too :p but what I was going to do was make it walk to the joy stick thing, and just keep pressing the pick up button or whatever it is to pick somebody up, until you picked 2 that weren't her, or inchat you have captured the evil twin! then it goes back and talks to molly. I think that'd be a lot easier then trying to make it move around the joy stick to the twin, just throwing it out there :p

Dark_Sniper

2007-03-10 17:43:03

thats what i did :p made it do it guess :p

JAD

2007-03-10 18:18:10

oh, my bad :p good idea then, you must have read my mind :p

Dark_Sniper

2007-03-10 19:46:08

now im not exactly sure if it works :p

but i know thats how you do it :p.

SonOfSheep

2007-03-15 17:38:59

Molly pissed me off. I started my script let it run and i didn't have it do inblack so it kept logging out and in and out and in for 6 hours and every time that happens it takes you to before molly then she teleother's you. I must have been reported like 500 times for autoing when it was like that.

Dark_Sniper

2007-03-15 17:44:04

well the find molly function i have can be reduced to one getcolor…

and thats the exact middle of the mini map(where the guy color is.).