Page 7 of 55 FirstFirst ... 5678917 ... LastLast
Results 151 to 175 of 1365

Thread: [SRL-6] bonsaiFighter

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

    Default

    Quote Originally Posted by Desirousphere View Post
    Any luck with those reports? I can never get it to run longer than an hour.
    Do you know why it's failing? It will create a screenshot when it exits. That is usually helpful to see where it was at. They are in the SIMBADIR/includes/srl-6/logs folder.

    The only problems I had with it running for hours was if it chased an NPC out of the room and couldn't find them any more. Or if color matches were poor but in that case it generally fails right when started.

    You can turn more debugging on by making sure "{$DEFINE DEBUG_ON}" is not commented out near the top. Also search for disableSRLDebug and make sure it's set to false. It will generate an offensive amount of debugging info

  2. #152
    Join Date
    Jun 2012
    Location
    Canada
    Posts
    39
    Mentioned
    0 Post(s)
    Quoted
    25 Post(s)

    Default

    Quote Originally Posted by Desirousphere View Post
    Any luck with those reports? I can never get it to run longer than an hour.
    I already reached my goal of 99 ranged thanks to this script, but the script would always run for atleast 4 hours straight.

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

    Default

    I finally posted an updated version. Please let me know if you see any regression.

    Changes:
    * Added support for player form. You don't need to edit bonsaiFighterSettings.xml any more!
    * Added DirectX support (I did not test this, please give feedback if you do).
    * Added support for revolution combat mode. I recommend using this for abilities. Recent updates seem to have bugged up the SRL ability functions. In the player form, set manualAbilities to False. In runescape set your combat mode to revolution.
    * Removed a useless sleep, added a small sleep between mouse move and uptext checking.

    It looks like there are some new problems detecting the in-fight popup. I didn't try to make a new DTM for it at this time. The secondary check is working so it has minimal impact.

  4. #154
    Join Date
    Feb 2014
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    23 Post(s)

    Default

    I'm having trouble adding waterfiends to the script properly, should I try to use the second colour function in order to ease the detection of waterfiends?

    This is what I have

    <npc>
    <name>Waterfiend</name>
    <xp>934</xp>
    <constXp>308</constXp>
    <color1>7561002</color1>
    <tolerance1>6</tolerance1>
    <hue1>0.36</hue1>
    <sat1>2.35</sat1>
    <color2>-1</color2>
    <tolerance2>0</tolerance2>
    <hue2>0.0</hue2>
    <sat2>0.0</sat2>
    <dist>4</dist>
    <inclDist>0</inclDist>
    <minPixels>10</minPixels>
    <maxPixels>275</maxPixels>
    <maxFightSeconds>100</maxFightSeconds>
    <uptext>aterfiend</uptext>
    </npc>
    Last edited by Yoboi; 04-06-2014 at 05:17 AM.

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

    Default

    Quote Originally Posted by Yoboi View Post
    I'm having trouble adding waterfiends to the script properly, should I try to use the second colour function in order to ease the detection of waterfiends?
    Can you post one or two screenshots so I can take a look without getting myself there?

    Is the script saying that it can't find them and quitting after a couple of minutes of thrashing?

  6. #156
    Join Date
    Jul 2012
    Location
    Australia
    Posts
    136
    Mentioned
    0 Post(s)
    Quoted
    57 Post(s)

    Default

    Will have a play with it within the next day or two and let you know my results bonsai. Appreciate the effort.

  7. #157
    Join Date
    Feb 2014
    Posts
    29
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Yoboi View Post
    Superb script, I've used it for deadly red spiders, too bad that it can't bank haha.

    I personally use a charm impling and it becomes a fighter/charm collector

    Thanks for this amazing script!
    Hey, can u please provide me with you deadly red spider npc colours and other? I cant get to work this script on DRS, everything else runs just like a charm, already 99 att achieved with this. Too bad it doesnt collect charms and banks

  8. #158
    Join Date
    Jul 2012
    Location
    Australia
    Posts
    136
    Mentioned
    0 Post(s)
    Quoted
    57 Post(s)

    Default

    Hey bonsai, got it to run longer than I have been able to before since you updated it. Any way for me to make it slow down on how often it will attempt to attack a new spider?

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

    Default

    Quote Originally Posted by Desirousphere View Post
    Hey bonsai, got it to run longer than I have been able to before since you updated it. Any way for me to make it slow down on how often it will attempt to attack a new spider?
    Sure, you can add a wait in the main loop after it kills one. Around line 359. Note the wait added below (1-2 second delay).

    I really have to wonder if you guys would get better XP fighting something else that you can kill in 1-2 whacks where there are plenty of them in a single place. For lower levels I found junk NPCs like troll brutes got better XP than fighting something closer to your own level.


    Simba Code:
    if npc.attack(WAIT_FOR_END_OF_FIGHT, checkHealthAndEat, mouseStyle, manualAbilities) then
          begin
             {$IFDEF DEBUG_ON} writeln('***** Killed a ' + npc.name()); {$ENDIF}
             timesFailed := 0;
             antiBan();
             tracker.recordKill(npc.name());
             tracker.killHud();
             if ((tracker.numKilled(npc) mod 15) = 0) then
                tracker.progressReport();
             wait(randomRange(1000,2000);
          end

    Also, could you post your XML entry for the person above you asking for a DRS entry? Thanks!

  10. #160
    Join Date
    Feb 2014
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    23 Post(s)

    Default

    Here's what I used to train to 90 atk/def/str at deadly red spiders, hope it works for you.

    <npc>
    <name>Deadly Red Spider</name>
    <xp>399</xp>
    <constXp>131.6</constXp>
    <color1>5988626</color1>
    <tolerance1>11</tolerance1>
    <hue1>4.36</hue1>
    <sat1>1.51</sat1>
    <color2>-1</color2>
    <tolerance2>0</tolerance2>
    <hue2>0.0</hue2>
    <sat2>0.0</sat2>
    <dist>5</dist>
    <inclDist>0</inclDist>
    <minPixels>50</minPixels>
    <maxPixels>200</maxPixels>
    <maxFightSeconds>120</maxFightSeconds>
    <uptext>pider</uptext>
    </npc>

  11. #161
    Join Date
    Feb 2014
    Posts
    84
    Mentioned
    0 Post(s)
    Quoted
    28 Post(s)

    Default

    Love the script, on my way to 99 slayer and working on reading 1000 wpm

  12. #162
    Join Date
    Feb 2014
    Posts
    29
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Yoboi View Post
    Here's what I used to train to 90 atk/def/str at deadly red spiders, hope it works for you.

    <npc>
    <name>Deadly Red Spider</name>
    <xp>399</xp>
    <constXp>131.6</constXp>
    <color1>5988626</color1>
    <tolerance1>11</tolerance1>
    <hue1>4.36</hue1>
    <sat1>1.51</sat1>
    <color2>-1</color2>
    <tolerance2>0</tolerance2>
    <hue2>0.0</hue2>
    <sat2>0.0</sat2>
    <dist>5</dist>
    <inclDist>0</inclDist>
    <minPixels>50</minPixels>
    <maxPixels>200</maxPixels>
    <maxFightSeconds>120</maxFightSeconds>
    <uptext>pider</uptext>
    </npc>
    OMG, Thank you Yoboi! Finally DRS works like a charm! Thank you really much!

    EDIT: Hey, btw, bonsai, are you planning in future to add charm picking to your autofighter? That would be flawless
    Last edited by terrmiits; 04-09-2014 at 08:16 PM.

  13. #163
    Join Date
    Feb 2014
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    23 Post(s)

    Default

    Quote Originally Posted by terrmiits View Post
    OMG, Thank you Yoboi! Finally DRS works like a charm! Thank you really much!

    EDIT: Hey, btw, bonsai, are you planning in future to add charm picking to your autofighter? That would be flawless
    I'd recommend on leeching 100k tokens and getting a charming imp. By the way, ALWAYS use a ring of life if you have a charming imp.

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

    Default

    Quote Originally Posted by terrmiits View Post
    OMG, Thank you Yoboi! Finally DRS works like a charm! Thank you really much!

    EDIT: Hey, btw, bonsai, are you planning in future to add charm picking to your autofighter? That would be flawless
    Quote Originally Posted by Yoboi View Post
    I'd recommend on leeching 100k tokens and getting a charming imp. By the way, ALWAYS use a ring of life if you have a charming imp.
    Just as I was really getting into writing some scripts life threw me a couple of curveballs and I haven't had any time to spend on it. ATM I'm working 10-11 hours a day and taking care of a 16 month old on my own. Not much time and energy left for runescape lol.

    Currently the script is very basic and just focused on XP.

    I think the next step would be to use it as a base and produce some NPC specific scripts that could handle more of the drops/banking that people ask for. DRS is obviously a popular one.

    I agree with Yobio on the imp. That's a simple way of getting the charms drops. Picking up drops is pretty hard to do in an intelligent manner. I can already see the complaints about how few NPCs it kills, inefficient, etc. Heck, people have already complained about efficiency and if you read the script all it does is find an npc, attack it, and find the next one


    The easiest additions would probably be potion/prayer support. I don't think anyone has asked for them but they would help boost xp and save food.

    I will probably add a foodKey option so we can stop using the (buggy) quick inventory and use the ability bar slots. That a simple coding effort.

  15. #165
    Join Date
    Feb 2014
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    23 Post(s)

    Default

    Quote Originally Posted by bonsai View Post


    The easiest additions would probably be potion/prayer support. I don't think anyone has asked for them but they would help boost xp and save food.

    I will probably add a foodKey option so we can stop using the (buggy) quick inventory and use the ability bar slots. That a simple coding effort.
    What I did to bypass the "buggy" quick inventory bar issue is to set a key without the ability bar to whatever hotkey I set the food to.

    For example, I switched the = ability bar key to z for food and it never fails to eat at my desired health %.

  16. #166
    Join Date
    Apr 2014
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Fcuking brilliant, banned on 7 year acc

  17. #167
    Join Date
    Jan 2011
    Posts
    151
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by xJennYx View Post
    Fcuking brilliant, banned on 7 year acc
    How not to post 101.

  18. #168
    Join Date
    Feb 2014
    Posts
    29
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Yoboi View Post
    I'd recommend on leeching 100k tokens and getting a charming imp. By the way, ALWAYS use a ring of life if you have a charming imp.
    Damn,but it would take a lot of time to get 100k tokens, atm lvl 14 dungeoneering, played for hour or so and got 270+ tokens, i realised that it would take a lot of time to get charming imp. Any recommendations?

    EDIT:

    " ATM I'm working 10-11 hours a day and taking care of a 16 month old on my own. Not much time and energy left for runescape lol."

    I fully understand u, working 12hour shifts on CNC and also father of 2months old son Luckily for me, not alone. Cheers!
    Last edited by terrmiits; 04-10-2014 at 06:06 PM.

  19. #169
    Join Date
    Jul 2012
    Location
    Australia
    Posts
    136
    Mentioned
    0 Post(s)
    Quoted
    57 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    Sure, you can add a wait in the main loop after it kills one. Around line 359. Note the wait added below (1-2 second delay).

    I really have to wonder if you guys would get better XP fighting something else that you can kill in 1-2 whacks where there are plenty of them in a single place. For lower levels I found junk NPCs like troll brutes got better XP than fighting something closer to your own level.
    I've got high enough stats that I two hit spiders, plus I use a Saradomin Godsword to negate prayer and HP drain.

    I'll give that code a try soon and let you know.

    Quote Originally Posted by bonsai View Post
    Also, could you post your XML entry for the person above you asking for a DRS entry? Thanks!
    Sorry guys, been a way for a few days, going to try Yoboi's settings and see if they are better than mine. Will let you all know tonight.



    ************************************************** ***********************
    ***** ERROR: You did not provide a valid playername/nickname/player file
    ************************************************** ***********************
    ****** bonsaiFighter: Script shutting down
    ---- Saving screenshot: bonsaiFighter.png


    Anyone know what's up with this? Filled out the details fine. Didn't have this issue when I tried to use it last.
    Last edited by Godless; 04-12-2014 at 08:22 AM.

  20. #170
    Join Date
    Jan 2013
    Location
    Ohio
    Posts
    155
    Mentioned
    1 Post(s)
    Quoted
    76 Post(s)

    Default

    Im at warped rats and i keep getting this error.
    ***** Logging player in
    ***** Health check returning 84 percent
    ****** Starting auto detect process
    ***** autoDetect checking for Warped Cockroach
    TObjFind.choose: found 6 possible objects
    TObjFind.choose: mouse moved to object 0
    TObjFind.choose: examining mouseText=Attack Warped rat
    TObjFind.choose: Attack Warped rat matched; will click object
    ****** Auto detected NPC:
    ****** Could not set up NPC [autodetect]. Verify name is in XML file.
    ***** Loop ended, terminating
    ****** bonsaiFighter: Script shutting down

    plus i think i messed something up with the game setting cuz my games looks like this.
    39 Seconds_bonsaiFighter.png

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

    Default

    Quote Originally Posted by Rogue Sniper View Post
    Im at warped rats and i keep getting this error.
    ***** Logging player in
    ***** Health check returning 84 percent
    ****** Starting auto detect process
    ***** autoDetect checking for Warped Cockroach
    TObjFind.choose: found 6 possible objects
    TObjFind.choose: mouse moved to object 0
    TObjFind.choose: examining mouseText=Attack Warped rat
    TObjFind.choose: Attack Warped rat matched; will click object
    ****** Auto detected NPC:
    ****** Could not set up NPC [autodetect]. Verify name is in XML file.
    ***** Loop ended, terminating
    ****** bonsaiFighter: Script shutting down

    plus i think i messed something up with the game setting cuz my games looks like this.
    39 Seconds_bonsaiFighter.png
    That looks like a bug in the autodetect to me. I'll look into it. In the mean time choose warped rat from the drop down list in the form.

    I think your screen looks ok.

  22. #172
    Join Date
    Jan 2013
    Location
    Ohio
    Posts
    155
    Mentioned
    1 Post(s)
    Quoted
    76 Post(s)

    Default

    Thanks bonsai ... i got it to work by not using auto detect and i fixed the screen too by resetting the graphics to normal and then back to SMART

  23. #173
    Join Date
    Oct 2013
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    28 Post(s)

    Default

    Hey very nice script man, able to run it fine however it seems like the script has trouble locating the mobs. For example, the script searches for long amounts of time before finding a mob(I am using Deadly Red Spiders in Varrock Sewers). So it will move around skimming over some of the spiders but it does not pick them up and continues to follow a loop until finally it finds one and restarts the process. Is it maybe a problem with my computer because nobody else seems to have the problem. Anyways thanks again for the awsome script much appreciated.

  24. #174
    Join Date
    Oct 2013
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    28 Post(s)

    Default

    Quote Originally Posted by Yoboi View Post
    Here's what I used to train to 90 atk/def/str at deadly red spiders, hope it works for you.

    <npc>
    <name>Deadly Red Spider</name>
    <xp>399</xp>
    <constXp>131.6</constXp>
    <color1>5988626</color1>
    <tolerance1>11</tolerance1>
    <hue1>4.36</hue1>
    <sat1>1.51</sat1>
    <color2>-1</color2>
    <tolerance2>0</tolerance2>
    <hue2>0.0</hue2>
    <sat2>0.0</sat2>
    <dist>5</dist>
    <inclDist>0</inclDist>
    <minPixels>50</minPixels>
    <maxPixels>200</maxPixels>
    <maxFightSeconds>120</maxFightSeconds>
    <uptext>pider</uptext>
    </npc>
    Sorry bit a of a noob, I cannot find where to put this into the script, where did u put it?

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

    Default

    Quote Originally Posted by Moneymake View Post
    Sorry bit a of a noob, I cannot find where to put this into the script, where did u put it?
    See the second post in the thread for more info on adding new entries.

    "Add your entry into the user XML file (SIMBADIR/includes/bonsai/libnpcUser.xml). If this is your first time making one you can use this template for the formatting:"

    The file needs to start with <npclist> then the text you quoted then </npclist>

Page 7 of 55 FirstFirst ... 5678917 ... 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
  •