Page 21 of 55 FirstFirst ... 11192021222331 ... LastLast
Results 501 to 525 of 1365

Thread: [SRL-6] bonsaiFighter

  1. #501
    Join Date
    Sep 2014
    Posts
    112
    Mentioned
    5 Post(s)
    Quoted
    55 Post(s)

    Default

    This now takes control of my mouse... How to make it stahp

    EDIT: and now it doesn't .... interesting

  2. #502
    Join Date
    May 2012
    Posts
    499
    Mentioned
    23 Post(s)
    Quoted
    228 Post(s)

    Default





    Keep getting this after a couple of minutes, at firegiants, and I kill them at a fast rate (near max melee).
    Can't have the script running for more then 10 minutes.

    Other then that the update seems to be decent, haven't had to need for food yet though, but SGS healing works.

    *EDIT*

    Script says it is fighting, while I'm not in combat. I think it just recently engaged on a dieing fire giant.
    Perhaps you could add a short sleep before attacking the next NPC to prevent this?
    Last edited by Thomas; 10-12-2014 at 10:29 AM.

  3. #503
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by lovebotter View Post


    Keep getting this after a couple of minutes, at firegiants, and I kill them at a fast rate (near max melee).
    Can't have the script running for more then 10 minutes.

    *EDIT*

    Script says it is fighting, while I'm not in combat. I think it just recently engaged on a dieing fire giant.
    If it takes more than 3 minutes for a fight, bump this up and let me know.
    SIMBADIR\includes\bonsai\blCombat.simba:
    Simba Code:
    1043:  combatMgr.maxFightSeconds    := 180;


    If it thinks you're in a fight and you're not, it must have missed the '0' in the enemy health. I don't see your target popup in that snap, you do have the popups enabled, right?

    The script will check all of mainscreen, but I recommend getting that thing in the top left corner so it doesn't confuse other queries.

    There are tolerances at the top of blCombat for the '0' DTM. If it's not flashing the red at the end of fight, maybe bump these tolerances (gently).

    Simba Code:
    REDDISH = 1447227;
       REDDISHTOL = 7;
       GOLDISH = 439012;
       GOLDISHTOL = 3;

    If it misses the '0', it might think the fight is active until your adrenaline wears down, then it continues along.

    Sounds like maybe for you, it never decided the fight is over.

  4. #504
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    I updated the second post with a description of the fight detectors.

    Other than improper setups, I think the majority of the issues are fine tuning these.

    Please check it out, and if your npc isn't working well, maybe you can tell me, "hey, its detecting the gold lock when it's not there".

    Thanks for everyone's patience on the re-write. It's getting close to good enough you 99 hogs can go do your thing

    If anyone is hot for prayer support, help me define it better. It's not just turning on and off the quick prayer. I'll need to look for potions and watch the chatbox or something for when to drink some? I'm not much on the game mechanics, so if someone really wants it take a little time to write up a step by step for a dumb old man they are a lot more likely to get what they want.

  5. #505
    Join Date
    May 2012
    Posts
    499
    Mentioned
    23 Post(s)
    Quoted
    228 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    If it takes more than 3 minutes for a fight, bump this up and let me know.
    SIMBADIR\includes\bonsai\blCombat.simba:
    Simba Code:
    1043:  combatMgr.maxFightSeconds    := 180;


    If it thinks you're in a fight and you're not, it must have missed the '0' in the enemy health. I don't see your target popup in that snap, you do have the popups enabled, right?

    The script will check all of mainscreen, but I recommend getting that thing in the top left corner so it doesn't confuse other queries.

    There are tolerances at the top of blCombat for the '0' DTM. If it's not flashing the red at the end of fight, maybe bump these tolerances (gently).

    Simba Code:
    REDDISH = 1447227;
       REDDISHTOL = 7;
       GOLDISH = 439012;
       GOLDISHTOL = 3;

    If it misses the '0', it might think the fight is active until your adrenaline wears down, then it continues along.

    Sounds like maybe for you, it never decided the fight is over.
    It doesnt ever take more then 3 minutes. Never more then a minute.
    The target info is in the top left corner, it doesnt show in the screenshot benause my character wasn't in combat.

  6. #506
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by lovebotter View Post
    It doesnt ever take more then 3 minutes. Never more then a minute.
    The target info is in the top left corner, it doesnt show in the screenshot benause my character wasn't in combat.
    That makes sense.

    If you have the patience, check out the second post, try it again, and let me know if you see any of the detectors acting wonky.

    You can PM me to avoid bumping the thread.

  7. #507
    Join Date
    Apr 2012
    Posts
    96
    Mentioned
    1 Post(s)
    Quoted
    52 Post(s)

    Default

    The bot does not attack 2 mobs simultaneously anymore, great job on the update. I started using the charming imp/bonecrusher, and now charms/bones don't drop anymore, so it could be possible to loot some of the more valuable things like dragon helms/rune arrows @firegiants or smth similar just by seeing the color on the ground.
    99's using SRL bots: Mining, Smithing, Magic, Cooking, Firemaking, Fletching, Hunting, Divination, Fishing, Woodcutting, Defense, Attack, Strenght, Constitution, Contruction, Ranged.
    Thanks to: Ashaman, DannyRS, The Mayor, footballjds, KeepBotting, Press Play, bonsai, Clarity, BANNED ON jonesy259 JASTRALS

  8. #508
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by Mantasx27 View Post
    The bot does not attack 2 mobs simultaneously anymore, great job on the update. I started using the charming imp/bonecrusher, and now charms/bones don't drop anymore, so it could be possible to loot some of the more valuable things like dragon helms/rune arrows @firegiants or smth similar just by seeing the color on the ground.
    You can make one if you go through those mayor tutorials

    Simba Code:
    program mantaGiants;
    {$DEFINE SMART}
    {$include_once srl-6/srl.simba}
    {$include_once bonsai/blCombat.simba}

    var
       giant: Tnpc;
       i: integer;
       
    begin
       SetupSRL();
       giant.init('fire-giant', true);

       while (iFeelLikeFighting) do
       begin
          combatMgr.attack(giant, true {wait until dead},
             nil {use default foodhandler}, MOUSE_RIGHT);
          // do some looting and banking
       end;
    end.

  9. #509
    Join Date
    May 2012
    Posts
    499
    Mentioned
    23 Post(s)
    Quoted
    228 Post(s)

    Default

    Think i've found the problem.
    The bot thanks the red on the walls in the chaos tunnels is the target reticule..
    The reticule detection is acting rather wonky, even at a fire giants room that doesnt have red in the walls.
    This can also be seen in the screen I posted.
    Last edited by Thomas; 10-12-2014 at 09:58 PM.

  10. #510
    Join Date
    Oct 2014
    Posts
    43
    Mentioned
    1 Post(s)
    Quoted
    25 Post(s)

    Default

    I really love this script, I use it for low level accounts on goblins and it's great!

  11. #511
    Join Date
    Aug 2014
    Posts
    278
    Mentioned
    10 Post(s)
    Quoted
    113 Post(s)

    Default

    ---- Setting up SRL...
    ---- HINT: You are not using SMART, be sure to use Simba's crosshairs to select the RS client

  12. #512
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by Cyanempire View Post
    ---- Setting up SRL...
    ---- HINT: You are not using SMART, be sure to use Simba's crosshairs to select the RS client
    Rerun the installer. Sorry, I goofed the updater the other night.

  13. #513
    Join Date
    Aug 2014
    Posts
    278
    Mentioned
    10 Post(s)
    Quoted
    113 Post(s)

    Default

    Got it working. trying out different mobs.

    it has difficulty with obtaining the colors of:

    Grotworms
    Cave Slimes
    Ankous

  14. #514
    Join Date
    Oct 2006
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    isn't there way to use our colors like in old versions? i kinda dont like autodetect coloring, its much more accurate set it up with ACA )


    Code:
           <name>DRS</name>
            <xp>399</xp>
            <constXp>131.6</constXp>
            <color1>3164087</color1>
            <tolerance1>13</tolerance1>
            <hue1>0.15</hue1>
            <sat1>1.26</sat1>

  15. #515
    Join Date
    Apr 2013
    Posts
    55
    Mentioned
    0 Post(s)
    Quoted
    27 Post(s)

    Default

    Roughly how long should the color testing to determine npc colors be at the start of the script? I feel as if its lasting significantly longer than it should.

  16. #516
    Join Date
    Jan 2014
    Posts
    147
    Mentioned
    7 Post(s)
    Quoted
    75 Post(s)

    Default

    Got from 70-99 range and various other combat stats into 90's from under a months usage (including slayer).

    Thanks a bunch bonsai!

  17. #517
    Join Date
    Oct 2006
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    If anyone is hot for prayer support, help me define it better. It's not just turning on and off the quick prayer. I'll need to look for potions and watch the chatbox or something for when to drink some? I'm not much on the game mechanics, so if someone really wants it take a little time to write up a step by step for a dumb old man they are a lot more likely to get what they want.
    i can help you with prayer, about refreshing prayer points with potions, why not simply use another quickslot for potions and use that slot if prayer points is under x points?, and when icon on action bar for prayer potions is grayed out and prayer poionts <X stop using prayer at all until player get new potions or stop bot here...

    also detecting if prayers are on or off should be easy if we can check for green color around prayer buffs icons on buff bar, like while prayer >X points and green color(border for buffs) is not detected on x,y position then turn quick prayers on?
    Last edited by ceh430; 10-14-2014 at 07:15 AM.

  18. #518
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by ceh430 View Post
    i can help you with prayer, about refreshing prayer points with potions, why not simply use another quickslot for potions and use that slot if prayer points is under x points?, and when icon on action bar for prayer potions is grayed out and prayer poionts <X stop using prayer at all until player get new potions or stop bot here...

    also detecting if prayers are on or off should be easy if we can check for green color around prayer buffs icons on buff bar, like while prayer >X points and green color(border for buffs) is not detected on x,y position then turn quick prayers on?
    Thank you very much.

    I'm going to try to fit the CTS2 support into the next release. Not sure when I'll get the coding time; the next week or so is looking pretty busy for me.

  19. #519
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by Simbanoobie View Post
    Roughly how long should the color testing to determine npc colors be at the start of the script? I feel as if its lasting significantly longer than it should.
    1-4 minutes? It depends a little on luck. Once it finds a good color or two it improves since it can look for similar colors to try.

    It starts fighting after 10 good colors are identified but it still tests them in between fights. Once it gets 20 colors it will only test occasionally.

  20. #520
    Join Date
    Feb 2014
    Posts
    20
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    What do you guys recommend to kill with the following stats:
    -40 attack
    -40 strength
    -30 def

    Want to get 99,s

  21. #521
    Join Date
    May 2012
    Posts
    499
    Mentioned
    23 Post(s)
    Quoted
    228 Post(s)

    Default

    For the berserk ability; should just add a Health percentage when it is allowed to use it.
    For example use berserk if over 80 hp and use sgs if under 75 hp.

    And perhaps always use sgs spec if 100% adren and not over berserk treshold?
    Seems like the most optimal method to implement berserk

  22. #522
    Join Date
    Aug 2014
    Posts
    278
    Mentioned
    10 Post(s)
    Quoted
    113 Post(s)

    Default

    function TBoxArray.pixelShift(time: integer = 200): TIntegerArray;

  23. #523
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by Cyanempire View Post
    function TBoxArray.pixelShift(time: integer = 200): TIntegerArray;
    Update posted. Some of the utility functions I put together got moved into SRL so I had to remove them from here.

    I knew you were going to be my early warning system

    Busy week or two for me, so probably no updates unless something is fatal like this.

  24. #524
    Join Date
    Aug 2014
    Posts
    278
    Mentioned
    10 Post(s)
    Quoted
    113 Post(s)

    Default

    Haha always around to check scripts and test

  25. #525
    Join Date
    Sep 2014
    Posts
    48
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Now since this last update I get this
    Error: Unknown declaration "append" at line 926
    Compiling failed.

    and it highlights this in blMisc,
    result.append(atpa[i].getBounds());

Page 21 of 55 FirstFirst ... 11192021222331 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 4 users browsing this thread. (0 members and 4 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
  •