Results 1 to 21 of 21

Thread: Function EvilMolly : Boolean;

  1. #1
    Join Date
    Feb 2006
    Location
    Locked in RAM's closet !
    Posts
    2,001
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default Function EvilMolly : Boolean;

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

    SCAR Code:
    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 just need the joystick to move the arrow to the right spot....)
    Darky has stopped by to say hello :).
    10-21-2010
    Updated-
    10-09-2012

  2. #2
    Join Date
    Oct 2006
    Location
    New Zealand
    Posts
    423
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Dark_Sniper View Post
    returns true if at you are in the evil twin molly random.

    SCAR Code:
    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?

  3. #3
    Join Date
    Feb 2006
    Location
    Locked in RAM's closet !
    Posts
    2,001
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    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.
    Darky has stopped by to say hello :).
    10-21-2010
    Updated-
    10-09-2012

  4. #4
    Join Date
    Feb 2006
    Location
    L.A, USA
    Posts
    1,632
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wtheck is molly ?

    >:[

  5. #5
    Join Date
    Oct 2006
    Location
    New Zealand
    Posts
    423
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Dark_Sniper View Post
    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.

  6. #6
    Join Date
    Oct 2006
    Location
    New Zealand
    Posts
    423
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by WhiteShadow View Post
    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

  7. #7
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    6,136
    Mentioned
    28 Post(s)
    Quoted
    17 Post(s)

    Default

    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.
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  8. #8
    Join Date
    Feb 2006
    Location
    Locked in RAM's closet !
    Posts
    2,001
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    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

    like i said i got everything solved...

    just going to make it do joystick.. gtg to school .
    Darky has stopped by to say hello :).
    10-21-2010
    Updated-
    10-09-2012

  9. #9
    Join Date
    Jan 2007
    Location
    USA
    Posts
    1,782
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Why not InBlack?

    Join the fastest growing merchanting clan on the the net!

  10. #10
    Join Date
    Feb 2006
    Location
    Locked in RAM's closet !
    Posts
    2,001
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    I forgot we had that functin within SRL .

    so much stuff in sRL theres no way you can remeber it all
    Darky has stopped by to say hello :).
    10-21-2010
    Updated-
    10-09-2012

  11. #11
    Join Date
    Apr 2006
    Location
    I live in NH
    Posts
    611
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

  12. #12
    Join Date
    Feb 2006
    Location
    Locked in RAM's closet !
    Posts
    2,001
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

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



    SCAR Code:
    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

    i can make it guesse but not solve

    should i post the guesser ?
    Darky has stopped by to say hello :).
    10-21-2010
    Updated-
    10-09-2012

  13. #13
    Join Date
    Feb 2006
    Location
    Locked in RAM's closet !
    Posts
    2,001
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    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.

    SCAR Code:
    {.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;
    Darky has stopped by to say hello :).
    10-21-2010
    Updated-
    10-09-2012

  14. #14
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    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.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  15. #15
    Join Date
    Feb 2006
    Location
    Locked in RAM's closet !
    Posts
    2,001
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    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.
    Darky has stopped by to say hello :).
    10-21-2010
    Updated-
    10-09-2012

  16. #16
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    very good idea.. I was actually thinking of trying to make an auto solver for molly too 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

  17. #17
    Join Date
    Feb 2006
    Location
    Locked in RAM's closet !
    Posts
    2,001
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    thats what i did made it do it guess
    Darky has stopped by to say hello :).
    10-21-2010
    Updated-
    10-09-2012

  18. #18
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

  19. #19
    Join Date
    Feb 2006
    Location
    Locked in RAM's closet !
    Posts
    2,001
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    now im not exactly sure if it works

    but i know thats how you do it .
    Darky has stopped by to say hello :).
    10-21-2010
    Updated-
    10-09-2012

  20. #20
    Join Date
    Feb 2007
    Posts
    215
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.
    A common mistake people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
    -Douglas Adams

  21. #21
    Join Date
    Feb 2006
    Location
    Locked in RAM's closet !
    Posts
    2,001
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    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.).
    Darky has stopped by to say hello :).
    10-21-2010
    Updated-
    10-09-2012

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •