Results 1 to 9 of 9

Thread: Test this in GE please

  1. #1
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default Test this in GE please

    Test this little piece of script in general exchange and tell me what it says..

    SCAR Code:
    program New;

    {.Include SRL/SRL.Scar}

    Function FindGERoadColor: Integer;
    Var
      L, A, GC, TestColor, Red, Green, Blue : integer;
      P: TPointArray;
    Begin
      GC := 6515307;
      FindColorsSpiralTolerance(MMCX, MMCY, P, GC, MMX1, MMY1, MMX2, MMY2, 60);
      L := High(P);
      For a := 0 To L Do
      Begin
        If(Not rs_OnMinimap(p[a].x, p[a].y))Then Continue;
        TestColor := GetColor(P[a].X, P[a].Y);
        If(Not SimilarColors(TestColor, GC, 50))Then Continue;
        Red := (TestColor mod 256);
        Green := ((TestColor / 256) mod 256);
        Blue := ((TestColor / 256) / 256);
        If(Red - Green < 10)Then //1 - always. 10 is just a fail safe.
          If(Red - Blue < 15)Then // below 10 pretty often has once been 11.
            If(Green - Blue < 15)Then //varies between 8 - 11
            Begin
              Result := TestColor;
              Writeln('GE floor color = ' +
              IntToStr(Result));
              Exit;
            End;
      End;
      Writeln('Could not find GE floor color!');
      Result := 0;
    End;

    var
      T: Integer;

    Begin
      SetupSRL;
      ActivateClient;
      Wait(300);
      T := GetSystemTime;
      FindGERoadColor;
      Writeln('Took = ' + IntToStr( GetSystemTime - T)+ ' msec');
    End.

    Stand in middle of general exchange at the bankers and run this script. This wont move ur mouse at all, I just wanna see how well it works.

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  2. #2
    Join Date
    Nov 2007
    Location
    The Netherlands
    Posts
    1,490
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ill test it in a sec
    will edit

    EDIT:
    SCAR Code:
    Successfully compiled (2745 ms)
    File access error
    SRL Compiled in 16 msec
    GE floor color = 6844527
    Took = 15 msec
    Successfully executed

  3. #3
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by pvh View Post
    ill test it in a sec
    will edit

    EDIT:
    SCAR Code:
    Successfully compiled (2745 ms)
    File access error
    SRL Compiled in 16 msec
    GE floor color = 6844527
    Took = 15 msec
    Successfully executed
    thank you

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  4. #4
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Fast
    ~Hermen

  5. #5
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Hermpie View Post
    Fast
    Well.. Test it for me

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  6. #6
    Join Date
    Nov 2007
    Location
    The Netherlands
    Posts
    1,490
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    what are you going to use this for?
    were you bored?
    or are you making a selling script at g.e.?
    or a yew tree killer at g.e.?
    im curious
    it works good

  7. #7
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by pvh View Post
    what are you going to use this for?
    were you bored?
    or are you making a selling script at g.e.?
    or a yew tree killer at g.e.?
    im curious
    it works good
    actually 2 scripts. both includes logs. Thats my only 2 hints :P

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  8. #8
    Join Date
    Jun 2007
    Location
    Drugs are bad mkay?
    Posts
    111
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    danm im curious
    Current Scripts:
    OakZZ!||Done!!!!
    WillowZZ!||Done!!!!
    ChickenZZ!||Done!!!!
    KaramjaFisher||Done!!!!
    Firemaking||Busy!!!!
    http://www.fenjer.com/adnan/SRLStats/4708.png

  9. #9
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Simply put, these always fail after a while. I'll test it later though.
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Speed Test [Test your connection and share!]
    By yanix in forum News and General
    Replies: 2
    Last Post: 12-17-2007, 09:27 PM

Posting Permissions

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