Page 2 of 3 FirstFirst 123 LastLast
Results 26 to 50 of 52

Thread: S1NSlayer - Dev

  1. #26
    Join Date
    Dec 2011
    Location
    -bash
    Posts
    515
    Mentioned
    0 Post(s)
    Quoted
    27 Post(s)

    Default

    Wow looks good, and as someone mentioned before, it would be better to use case statements.

    Also another suggestion that came as I was writing this is to use one boolean function to find the monsters, then just call the function and clickmouse2(false) or something similar then you can add your failsafes. I believe it would be easier than having to make a seperate function to find them all.

  2. #27
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quick update on Fire Giants:


  3. #28
    Join Date
    Apr 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That looks sick, slay is my last 99 for max lol ):

  4. #29
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Currently Working On:
    Bloodveld

  5. #30
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Progress on Bloodvelds:



  6. #31
    Join Date
    Apr 2012
    Posts
    3,356
    Mentioned
    34 Post(s)
    Quoted
    218 Post(s)

    Default

    This looks amazing Shay!! keep up the good work and if you need help let me know!!

  7. #32
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    I suggest you store monster as type record.
    As well as store the color and the tolerance as an array (Integer array or a TPoint array). This way you can find the monster using more specific colors (that has small tolerance) thus giving you more accurate results.




    Here is a function that finds an array of colors:
    Simba Code:
    Function FindManyColors( CT: TPointArray; SP, EP: TPoint): TPointArray;
    Var
      TI: Integer;
      TTPA: TPointArray;
    Begin
      For TI := 0 To ( Length( CT) - 1) Do
          TB := FindColorsTolerance( TTPA, CT[ TI].X, SP.X, SP.Y, EP.X, EP.Y, CT[ TI].Y)
      Result:= CombineTPA( Result, TTPA);
    End;


    CT is a TPointArray that store colors and tolerance instead of X,Y.


    So
    CT[0]=(1231519,7);
    CT[1]=(91238412,3);
    Last edited by Main; 06-10-2012 at 12:49 AM.
    Oh Hai Dar

  8. #33
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quote Originally Posted by Main View Post
    I suggest you store monster as type record.

    Where the color of the monster is a array of integer as well as tolerance. This way you can find the monster using more specific colors (that has small tolerance).

    You can also use this
    Simba Code:
    Function FindManyColors( CT: TPointArray; SP, EP: TPoint; T: Boolean): TPointArray;
    Var
      TI: Integer;
      TB: Boolean;
      TTPA: TPointArray;
    Begin
      For TI := 0 To ( Length( CT) - 1) Do
      Begin
        If T Then
          TB := FindColorsTolerance( TTPA, CT[ TI].X, SP.X, SP.Y, EP.X, EP.Y, CT[ TI].Y)
        Else
          TB := FindColorsCircleTolerance( TTPA, CT[ TI].X, CT[ TI].Y, MMCXe, MMCYe, MMRDe);
        If TB Then
          Result:= CombineTPA( Result, TTPA);
      End;
    End;


    CT is a TPointArray that store colors instead of X,Y.


    So
    CT[0]=(1231519,7);
    CT[1]=(91238412,3);
    I was planning on that, but I just decided to make the TPA I use as a global one

  9. #34
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Okay, I'll bite, I'm going to try (and hopefully complete!) the LRC creature task.

  10. #35
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    Quote Originally Posted by Shay View Post
    Okay, I'll bite, I'm going to try (and hopefully complete!) the LRC creature task.
    Loving the progress on this!

    Forum account issues? Please send me a PM

  11. #36
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Beta release should be up either tommorow or the day after.
    Have to go to a party then a movie, so dev will be slowed down tommorow.

  12. #37
    Join Date
    Jan 2012
    Location
    In A Farm
    Posts
    3,301
    Mentioned
    30 Post(s)
    Quoted
    444 Post(s)

    Default

    Shay(Sin) this is an epic start, it will eventually grow and get better.Congrats on this dude.

  13. #38
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    Quote Originally Posted by Shay View Post
    Beta release should be up either tommorow or the day after.
    Have to go to a party then a movie, so dev will be slowed down tommorow.
    Sounds like a plan xD

    Forum account issues? Please send me a PM

  14. #39
    Join Date
    Dec 2011
    Posts
    496
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Good look with this Shay! Hopefully you'll have it done before I've gotten 99 farming and crafting so I can bot 99 slayer
    Nearly maxed, woowweee.

  15. #40
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Off to a party, development will continue once im back.

  16. #41
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    Sin, this is looking good mate .



    ^^

  17. #42
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    A couple functions i've been working on :

    Simba Code:
    function GoalXPMet:Boolean;
    var
      i:Integer;
      startXP,newXP:Integer;
      curXP,goalXP:Integer;
    begin
    startXP := GetXPBarTotal;
    goalXP := startXP + 418;
    curXP := GetXPBarTotal;
    i := 0;
      repeat
        Result := False;
        newXP := GetXPBarTotal;
        Wait(500 + random(10));
        Inc(i);
        if goalXP = curXP then Result := True;
      until (Result) or (I = 200);
      Exit;
    end;  
    function WhileIn:Boolean;
    var
      t:Integer;
    begin
      MarkTime(t);
      while not GoalXPMet  do
      begin
        Result := True;
        //CombatChecks;
        if TimeFromMark(t) > 170000 then
        begin
          Result := False;
          Break;
        end;
      end;
      if Result then
      begin
        {
        Find_G('ttack',False);
        if WaitXPIncrease then
          Inc(KillCount);
        }

      end;
    end;
    This was done at school, so all on theory.
    It's for the smashing of the gargoyles when they are low HP.
    Btw, Beta has been released, go check it out.

  18. #43
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Your best option is actually using records and Functional Ptrs for each of these functions. May also want to avoid global variables for where you are storing the x, y of finding the monsters. Use 'out' type parameters.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  19. #44
    Join Date
    Oct 2011
    Location
    Chicago
    Posts
    3,352
    Mentioned
    21 Post(s)
    Quoted
    437 Post(s)

    Default

    I am assuming this won't be collecting the drops?

    E: You don't need to smash, I think it is automated now (or it is for me, not sure if I bought an upgrade or something from a slayer master)




    Anti-Leech Movement Prevent Leeching Spread the word
    Insanity 60 Days (Killer workout)
    XoL Blog (Workouts/RS/Misc)

  20. #45
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quote Originally Posted by R4nd0m View Post
    I am assuming this won't be collecting the drops?

    E: You don't need to smash, I think it is automated now (or it is for me, not sure if I bought an upgrade or something from a slayer master)
    I know, but I'm not going to spend my points on it.

  21. #46
    Join Date
    May 2012
    Posts
    190
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Damn nice dude, are you planning to do the monsters which are usually regarded as slow exp? Like gargoyles, abby demons, etc...

    Or are you going to implement the easy bottable tasks which include probably the slower tasks and will it skip the harder more deadily tasks, like mith dragons?

    Also,how reliable will it be? Will it be good enough to leave running with expensive gear? Will it just leave execute if it gets a jad task ( so we can do it ourself)?

    I'm very curious because im in the process of getting 99 slayer! And I understand this is an extremely hard script to write, so am not knocking it, but I just dont want to lose a load of good gear as you can imagine and if it is going to be very slow, would it be easier to do myself, as slayer is so afk.

    Thanks!
    BOT TILL YOU DROP!

  22. #47
    Join Date
    Mar 2013
    Posts
    57
    Mentioned
    0 Post(s)
    Quoted
    30 Post(s)

    Default

    Wow, that is truly amazing what you are doing. I would love to donate and help develop this script further

  23. #48
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Thread is over a year old
    It's been released then trashed because of EoC.

  24. #49
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    Quote Originally Posted by Sin View Post
    Thread is over a year old
    It's been released then trashed because of EoC.
    Any plans to update it for EoC/RS3/SRL-6?

    Forum account issues? Please send me a PM

  25. #50
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    1,199
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by Justin View Post
    Any plans to update it for EoC/RS3/SRL-6?
    Since he no longer has an account (IIRC) he probably wont be bothering.

Page 2 of 3 FirstFirst 123 LastLast

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
  •