Page 6 of 55 FirstFirst ... 4567816 ... LastLast
Results 126 to 150 of 1365

Thread: [SRL-6] bonsaiFighter

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

    Default

    Quote Originally Posted by badezy View Post
    Hi Bonsai, I've been using your script alot - with no issues. But all of a sudden I am getting this quite alot:

    Code:
    TObjFind.choose: found 1 possible objects
    TObjFind.choose: mouse moved to object 0
    TObjFind.choose: examining mouseText=
    ****** Didnt find a Flesh Crawler to fight.  timesFailed = 29
    Any fixes?
    It's not catching any mouseovertext. Maybe if you put a small wait in between the mouse move and text check it will get it?

    File SIMBADIR/includes/bonsai/libobjfind.simba, function TObjFind.choose (around line 1243).

    Simba Code:
    mouse(objPoints[i].rand(pointVariance), MOUSE_MOVE);
             
    {$IFDEF DEBUG_ON} writeln('TObjFind.choose: mouse moved to object ', i); {$ENDIF}
           
    moText := getMouseOverText();

    Try changing to:

    Simba Code:
    mouse(objPoints[i].rand(pointVariance), MOUSE_MOVE);
             
    {$IFDEF DEBUG_ON} writeln('TObjFind.choose: mouse moved to object ', i); {$ENDIF}
    wait(250);  
    moText := getMouseOverText();

    You can play with the 250 to see what works well.

    If it helps let me know and I can put out for general release.

  2. #127
    Join Date
    Sep 2013
    Posts
    46
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default

    ////////////////////////////////////////////////////////////////////////////////////////////////////
    ////////// ( )\ ) ) ) //////////
    ////////// ( )\ ) ( (()/( ( ( ( ( /( ( /( ( ( //////////
    ////////// )((_) ( ( ( ( /( )\ /(_)) )\ )\))( )\()) )\()) ))\ )( //////////
    ////////// ((_)_ )\ )\ ) )\ )(_))((_) (_))_|((_)((_))\ ((_)\ (_))/ /((_)(()\ //////////
    ////////// | _ ) ((_) _(_/( ((_)((_)_ (_) | |_ (_) (()(_)| |(_)| |_ (_)) ((_) //////////
    ////////// | _ \/ _ \| ' \))(_-</ _` | | | | __| | |/ _` | | ' \ | _|/ -_) | '_| //////////
    ////////// |___/\___/|_||_| /__/\__,_| |_| |_| |_|\__, | |_||_| \__|\___| |_| //////////
    ////////// |___/ //////////
    ////////// //////////
    ////////// Script runtime: //////////
    ////////// 13 hr 9 min 21 sec(Total) 11 hr 38 min 35 sec(Active) 1 hr 30 min 45 sec(Break)//////////
    ////////// //////////
    //////////////////////////////////////// KILLS ////////////////////////////////////////
    ////////// Catablepon //////////
    ////////// 2356(Killed) 179(per hour run) 202(per hour active) //////////
    ////////// 224762(xp) 17085(per hour run) 19304(per hour active) //////////
    ////////// 73743(const xp) 5605(per hour run) 6334(per hour active) //////////
    ////////// //////////
    ////////////////////////////////////////////////////////////////////////////////////////////////////

    Longest one I've gotten yet!

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

    Default

    Quote Originally Posted by stickyninja View Post
    ////////////////////////////////////////////////////////////////////////////////////////////////////
    ////////// ( )\ ) ) ) //////////
    ////////// ( )\ ) ( (()/( ( ( ( ( /( ( /( ( ( //////////
    ////////// )((_) ( ( ( ( /( )\ /(_)) )\ )\))( )\()) )\()) ))\ )( //////////
    ////////// ((_)_ )\ )\ ) )\ )(_))((_) (_))_|((_)((_))\ ((_)\ (_))/ /((_)(()\ //////////
    ////////// | _ ) ((_) _(_/( ((_)((_)_ (_) | |_ (_) (()(_)| |(_)| |_ (_)) ((_) //////////
    ////////// | _ \/ _ \| ' \))(_-</ _` | | | | __| | |/ _` | | ' \ | _|/ -_) | '_| //////////
    ////////// |___/\___/|_||_| /__/\__,_| |_| |_| |_|\__, | |_||_| \__|\___| |_| //////////
    ////////// |___/ //////////
    ////////// //////////
    ////////// Script runtime: //////////
    ////////// 13 hr 9 min 21 sec(Total) 11 hr 38 min 35 sec(Active) 1 hr 30 min 45 sec(Break)//////////
    ////////// //////////
    //////////////////////////////////////// KILLS ////////////////////////////////////////
    ////////// Catablepon //////////
    ////////// 2356(Killed) 179(per hour run) 202(per hour active) //////////
    ////////// 224762(xp) 17085(per hour run) 19304(per hour active) //////////
    ////////// 73743(const xp) 5605(per hour run) 6334(per hour active) //////////
    ////////// //////////
    ////////////////////////////////////////////////////////////////////////////////////////////////////

    Longest one I've gotten yet!
    Grrr, you guys suck! I usually bot for an hour or two at a time and I keep getting bans!!!

    I'm about ready to bot my main since f2p chars get whack-a-moled.

    I need to find some time to work on another script. Ashaman keeps releasing 10 scripts a week; it's making me feel lazy.

  4. #129
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    Grrr, you guys suck! I usually bot for an hour or two at a time and I keep getting bans!!!

    I'm about ready to bot my main since f2p chars get whack-a-moled.

    I need to find some time to work on another script. Ashaman keeps releasing 10 scripts a week; it's making me feel lazy.
    Do u make your accounts in a short time span?

    Creds to DannyRS for this wonderful sig!

  5. #130
    Join Date
    Jan 2014
    Posts
    54
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    It's not catching any mouseovertext. Maybe if you put a small wait in between the mouse move and text check it will get it?

    File SIMBADIR/includes/bonsai/libobjfind.simba, function TObjFind.choose (around line 1243).

    Simba Code:
    mouse(objPoints[i].rand(pointVariance), MOUSE_MOVE);
             
    {$IFDEF DEBUG_ON} writeln('TObjFind.choose: mouse moved to object ', i); {$ENDIF}
           
    moText := getMouseOverText();

    Try changing to:

    Simba Code:
    mouse(objPoints[i].rand(pointVariance), MOUSE_MOVE);
             
    {$IFDEF DEBUG_ON} writeln('TObjFind.choose: mouse moved to object ', i); {$ENDIF}
    wait(250);  
    moText := getMouseOverText();

    You can play with the 250 to see what works well.

    If it helps let me know and I can put out for general release.
    Thanks for replying - I'll give it a shot and let you know!

  6. #131
    Join Date
    Sep 2013
    Posts
    46
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    Grrr, you guys suck! I usually bot for an hour or two at a time and I keep getting bans!!!

    I'm about ready to bot my main since f2p chars get whack-a-moled.

    I need to find some time to work on another script. Ashaman keeps releasing 10 scripts a week; it's making me feel lazy.
    Sorry to hear about your bans!

  7. #132
    Join Date
    Jan 2014
    Posts
    54
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Am just loving your script mate - I'll post a proggy soon.

    Have you had any luck with the collecting at all? Even it was charms it'd be helpful.

  8. #133
    Join Date
    Dec 2013
    Location
    UK
    Posts
    106
    Mentioned
    4 Post(s)
    Quoted
    61 Post(s)

    Default

    mm i cant find ''libnpcUser.xml'' in my bonsai folder
    i only have ''libnpcStandard''

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

    Default

    There is none by default, you need to make one if you are adding your own NPCs.

    You can copy the libnpcStandard.xml and cut out all the entries (except one). Then overwrite that one with your NPC info.

    I actually found a little time to mess around this morning and was working on a few small changes to this script. I braved running it on my main and can see some things on the local system that aren't obvious when you're on a slow teamviewer connection.

    The fighting DTM wasn't matching well so I'm doing a new one, using the new HP function, etc. Anyone else been seeing any quirks I should look for?

  10. #135
    Join Date
    Dec 2013
    Location
    UK
    Posts
    106
    Mentioned
    4 Post(s)
    Quoted
    61 Post(s)

    Default

    did i do something wrong? it telling me to verify the name

    drs.png
    its my first time doing this kind of stuff soo im not even sure what am i doing half of the time

    <npc>
    <name>Deadly Red Spider</name>
    <xp>399</xp>
    <constXp>131.6</constXp>
    <color1>3412084</color1>
    <tolerance1>6</tolerance1>
    <hue1>0.28</hue1>
    <sat1>1.19</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>60</maxFightSeconds>
    <uptext>pider</uptext>
    </npc>

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

    Default

    Did you have all that wrapped by <npclist> and ended with </npclist> ?

    Did you leave npcToFight (line 30 in bonsaiFighter.simba) set to 'autodetect' or did you change it to 'Deadly Red Spider' (recommended)?

    You might want to meld in the rest of those pink colors or set <dist> larger than 5 to cover the gaps.

    I'm pretty sure someone posted a good color for DRS if you browse the thread.

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

    Default

    Quote Originally Posted by bonsai View Post
    That would imply you set encryption and a password on your player file when you set it up.

    I never tried that so I'm not sure off the top of my head what may need to be done in the script (if anything).

    If you want to get going immediately, set up another player file without the encryption and use that.
    Hey bonsai I am also getting that same message, but it does not say anything about the password, it simply starts to check all updates and set up the client and comes up with this...

    ---- Client is ready.
    ---- Setup SRL in 234ms.
    -- setupSRL(): True
    Exception in Script: Runtime error: "Access violation" at line 421, column 33
    The following DTMs were not freed: [0]
    The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]
    File[C:\Simba\Includes\SRL-6/logs/SRL log (08-02-14 at 11.07.51 AM).txt] has not been freed in the script, freeing it now.

    <<<< The first 3 lines of the debug that I posted before, to a newbie like me sounds like everything is going fine, but something little is affecting why the script is failing to start up.
    Any information on why this could be happening is greatly appreciated, great script by the way, I can't wait to finally test it and get u a proggy =D


    I appreciate the time taken for you reading this =D
    Last edited by Moneymake; 02-07-2014 at 10:16 PM.

  13. #138
    Join Date
    Jun 2007
    Posts
    98
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    //////////
    ////////// Script runtime: //////////
    ////////// 1 hr 45 min 52 sec(Total) 1 hr 45 min 52 sec(Active) 0 sec(Break) //////////
    ////////// //////////
    //////////////////////////////////////// KILLS ////////////////////////////////////////
    ////////// Goblin //////////
    ////////// 525(Killed) 298(per hour run) 298(per hour active) //////////
    ////////// 17850(xp) 10117(per hour run) 10117(per hour active) //////////
    ////////// 525(const xp) 298(per hour run) 298(per hour active) //////////
    //////////

  14. #139
    Join Date
    Feb 2014
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    my guy starts attacking another npc halfway through the fight, anyway to stop that?

  15. #140
    Join Date
    Jun 2007
    Posts
    98
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    I don't know too much but I'm thinking you hafta find extend the max time waited per battle. Whereever that would be in the script, im not sure.

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

    Default

    I don't know too much but I'm thinking you hafta find extend the max time waited per battle. Whereever that would be in the script, im not sure.
    A good idea, but I have it set to the default 60 seconds and it still does it - there's no way it takes 60 seconds to 2/3 hit a DRS.

    I can get this script to run steadily for hours in Chaos Tunnels at DRS with a SGS as I don't have to use food then (doesn't seem to want to eat for me).

    The only issue is it doesn't wait until the monster is killed before trying to attack another and it shows the "can't find something to attack" error too much (even if it does) causing it to stop the script prematurely unless I set the error count before shut down until like 4000. Other than that it's a great script, not the most efficient, but hey, considering I didn't have to make the script or train manually, it's a win win. Cheers bonsai!

  17. #142
    Join Date
    Dec 2013
    Location
    UK
    Posts
    106
    Mentioned
    4 Post(s)
    Quoted
    61 Post(s)

    Default

    Exception in Script: Runtime error: "Access violation" at line 421, column 33
    The following DTMs were not freed: [0]
    The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]

    help?

  18. #143
    Join Date
    Feb 2014
    Posts
    58
    Mentioned
    1 Post(s)
    Quoted
    28 Post(s)

    Default

    Works well but stopped moving after an Hour and a half and I was just in the lobby

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

    Default

    I will try this soon so I can get 99 slayer because I have always hated combat it bores me.

  20. #145
    Join Date
    Mar 2014
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I want to punch something.

    I'm trying to add Dagon'hai Monks, but the surrounding area is basically the same color as their robes. What the hell! This is so annoying. The mouse goes haywire because it thinks Dagon'hai Monks are everywhere!

    Furthermore, I tried to render each NPC in Photoshop individually... but then for some reason, the script couldn't recognize them in-game at all.

    E: I'm personally deeming this impossible. If anyone has a working script extension for Dagon'hai Monks, I'd love you forever...
    Last edited by Ophanim; 03-22-2014 at 11:21 PM.

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

    Default

    Quote Originally Posted by Ophanim View Post
    I want to punch something.

    I'm trying to add Dagon'hai Monks, but the surrounding area is basically the same color as their robes. What the hell! This is so annoying. The mouse goes haywire because it thinks Dagon'hai Monks are everywhere!

    Furthermore, I tried to render each NPC in Photoshop individually... but then for some reason, the script couldn't recognize them in-game at all.

    E: I'm personally deeming this impossible. If anyone has a working script extension for Dagon'hai Monks, I'd love you forever...
    Yeah, the other monks were a problem too. You can probably get it working by using more than one color. If you provide two colors the script identifies the area where both colors are present within the specified distance. Also, the min/max settings can help with stuff like this. If the background matches are returning 800 pixels and the NPC is returning more like 200, you can set the max around 300 and the background gets filtered out.

    See post two for info on playing with the settings and how to test it. You can post a screenshot if you're having problems getting it going.

    Not sure what you mean regarding photoshop. If you're talking about grabbing screen shots to test with, maybe your method of copy/paste is changing colors?

    I usually use the snipping tool and paste it into MS paint.

    I have an updated copy of the script that I haven't had a chance to test thoroughly. I added support for the user form and made a couple of small tweaks. I also added a directX flag but haven't tried anything with it yet.

  22. #147
    Join Date
    Mar 2014
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    Yeah, the other monks were a problem too. You can probably get it working by using more than one color. If you provide two colors the script identifies the area where both colors are present within the specified distance. Also, the min/max settings can help with stuff like this. If the background matches are returning 800 pixels and the NPC is returning more like 200, you can set the max around 300 and the background gets filtered out.

    See post two for info on playing with the settings and how to test it. You can post a screenshot if you're having problems getting it going.

    Not sure what you mean regarding photoshop. If you're talking about grabbing screen shots to test with, maybe your method of copy/paste is changing colors?

    I usually use the snipping tool and paste it into MS paint.

    I have an updated copy of the script that I haven't had a chance to test thoroughly. I added support for the user form and made a couple of small tweaks. I also added a directX flag but haven't tried anything with it yet.
    Yeah, I tried using more than one color. Unfortunately, literally the only ones that don't seem to meld with the background is the golden belt-thing and the skin. Those colors make the cursor go haywire as well. I'll try to continue tinkering with it, but I think I might just train on them manually (*cry*).

    Also, what I meant by rendering them in Photoshop was basically individually cropping each NPC on a white background and then continuing the color process with ACA. I can't show pictures, sorry.

    Odds are that I'm doing this wrong. It's my first time. It took me like an hour to even get Simba set up (LOL).

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

    Default

    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!

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

    Default

    Great script! It's working great without stopping at Catablepons and Flesh Crawlers for hours. Will try to get some nice proggies in.

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

    Default

    Quote Originally Posted by NineteenNinetyNine View Post
    Great script! It's working great without stopping at Catablepons and Flesh Crawlers for hours. Will try to get some nice proggies in.
    Any luck with those reports? I can never get it to run longer than an hour.

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