Page 51 of 55 FirstFirst ... 414950515253 ... LastLast
Results 1,251 to 1,275 of 1365

Thread: [SRL-6] bonsaiFighter

  1. #1251
    Join Date
    Jan 2012
    Posts
    117
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    love this script hope you keep making awsome scripts like this =)

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

    Default

    This script usually works flawless for me, but it has been lacking a bit for the fungal mages. It takes way too long trying to find the creature and I just wish to fix it. This would be a great moneymaking method for me if it worked faster. Thanks

  3. #1253
    Join Date
    May 2013
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Simba Code:
    ////////////////////////////////////////////////////////////////////////////////////////////////////
    ////////////////////////////////////////       Bonsai       ////////////////////////////////////////
    ////////////////////////////////////////       Fighter      ////////////////////////////////////////
    ////////////////////////////////////////       _______      ////////////////////////////////////////
    //////////                                                                                //////////
    //////////  Script runtime:                                                               //////////
    //////////       7 hr 16 min 15 sec(Total) 6 hr 58 min 30 sec(Active) 17 min 45 sec(Break)//////////
    //////////                                                                                //////////
    ////////////////////////////////////////        Kills       ////////////////////////////////////////
    Last edited by BraK; 12-14-2015 at 12:43 PM.

  4. #1254
    Join Date
    May 2013
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    For those of you that are worried about the speed this script works, allow the script to run for around 10 minutes. After that, the script no longer needs to detect colors and it will immediately go for kills. Your patience will be rewarded.

  5. #1255
    Join Date
    Dec 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I have downloaded and ran the script but I do not have the BonsaiFighter installed in my computer.
    I have received the following error: ***** FATAL ERROR: Could not load new script contents from h t t p ://p a s t e b i n.c o m /r a w. p h p ? i = R w k f J n 1 C

  6. #1256
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by reward View Post
    I have downloaded and ran the script but I do not have the BonsaiFighter installed in my computer.
    I have received the following error: ***** FATAL ERROR: Could not load new script contents from h t t p ://p a s t e b i n.c o m /r a w. p h p ? i = R w k f J n 1 C
    Go to the place in the script with the pastebin link, and change the link to http://pastebin.com/raw/RwkfJn1C
    Pastebin changed their links, without any backwards compatibility.

  7. #1257
    Join Date
    Dec 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Thanks Clarity, however there's this problem, FindColorsBitmap returned an error. Is there anyway to fix this?

  8. #1258
    Join Date
    Jun 2015
    Location
    New Zealand
    Posts
    322
    Mentioned
    2 Post(s)
    Quoted
    131 Post(s)

    Default

    In case you are getting errors re: pastebin.

    Change lines 12 - 21 featuring pastebin to the following:

    Simba Code:
    const  
       blBitmapCodeUrl = ' http://pastebin.com/raw/RwkfJn1C';
       blBreakCodeUrl = 'http://pastebin.com/raw/XPiz7BJ5';
       blColorizerCodeUrl = 'http://pastebin.com/raw/kxU0Dcvn';
       blCombatCodeUrl = 'http://pastebin.com/raw/wuYUh3i8';
       blMiscCodeUrl = 'http://pastebin.com/raw/PCmzxGRT';
       blNpcCodeUrl = 'http://pastebin.com/raw/9kYFFLAU';
       blTrackerCodeUrl = 'http://pastebin.com/raw/Fm7xWtHe';
       blUpdaterCodeUrl = 'http://pastebin.com/raw/UM7XpgZQ';
       fighterUrl = 'http://pastebin.com/raw/wR7FhHib';

  9. #1259
    Join Date
    Dec 2015
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Great script man but lot of improvements can be made:
    1. The automatic color recognition takes for ever and it does not recognizes it properly. I think an option to include the color details by SRL noobs like me would be pretty darn helpful than messing up with the script.
    2. While fighting, if it is in a safe spot, it thinks that it is not in battle. So, it comes out of safe spot to attack other.
    3. Same as number 2, if there is an NPC between the player and other NPC that is being attacked, it will start to attack other NPC and get piled on.
    4. Again, for a noob like me, an easy way to make a custom looter.

    Apart from all these, the script is awesome and have used it to get 80 range very easily. Thanksss!!!

  10. #1260
    Join Date
    Dec 2015
    Posts
    55
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    What's the xp/hour on a script like this fighting mature grotworms?
    Last edited by Ollie99; 12-27-2015 at 03:30 PM.

  11. #1261
    Join Date
    Dec 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Kinda funny error, changed the Addresses in the script, it now downloads but doesnt start working. nothing excecutes. The name BonsaiInstaller makes me worrie, is it just installer and I need another file to start using it?

    Cheers


    Untitled.jpg

  12. #1262
    Join Date
    Feb 2015
    Posts
    422
    Mentioned
    41 Post(s)
    Quoted
    226 Post(s)

    Default

    Quote Originally Posted by jusspb View Post
    Kinda funny error, changed the Addresses in the script, it now downloads but doesnt start working. nothing excecutes. The name BonsaiInstaller makes me worrie, is it just installer and I need another file to start using it?

    Cheers


    Untitled.jpg
    The actual script is automatically downloaded by the installer to Simba/Scripts/bonsaiFighter.simba

  13. #1263
    Join Date
    Dec 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Thanks Fady!
    After few hours of running it worked great until I restarted it

    now i have a weird error that doesn't work even after reinstall.
    Help is greatly appreciated! No idea about scripting etc..
    Untitled.jpg

    1.jpg

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

    Default

    Quote Originally Posted by kiwikiwi View Post
    In case you are getting errors re: pastebin.
    Thanks for the assist. I updated the pastebins and the installer in the OP.

    People will need to download and run the installer again to get a clean copy.

    Quote Originally Posted by jcbird View Post
    Great script man but lot of improvements can be made:
    1. The automatic color recognition takes for ever and it does not recognizes it properly. I think an option to include the color details by SRL noobs like me would be pretty darn helpful than messing up with the script.
    2. While fighting, if it is in a safe spot, it thinks that it is not in battle. So, it comes out of safe spot to attack other.
    3. Same as number 2, if there is an NPC between the player and other NPC that is being attacked, it will start to attack other NPC and get piled on.
    4. Again, for a noob like me, an easy way to make a custom looter.

    Apart from all these, the script is awesome and have used it to get 80 range very easily. Thanksss!!!
    Re: (1), did you see BasicFighter?

    Re: (2) & (3), it sounds like it's not detecting the combat popup. It shouldn't start another fight until it loses sight of that.

    I noticed that some combat functions were added to SRL6 in the past few months, maybe they work better than the old code in here?


    Quote Originally Posted by jusspb View Post
    Thanks Fady!
    After few hours of running it worked great until I restarted it

    now i have a weird error that doesn't work even after reinstall.
    Help is greatly appreciated! No idea about scripting etc..
    Untitled.jpg

    1.jpg
    Check this post and the one below it. Where's your smart window in the pic?

    https://villavu.com/forum/showthread...34#post1353734

  15. #1265
    Join Date
    Dec 2015
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Hey man, i keep getting this errorbonsai.jpg
    thanks

  16. #1266
    Join Date
    Jul 2013
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Nice script, will try it very soon

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

    Default

    I'm unsure if you've already updated your script with this, but I've made an include in SRL for the targetInfo popup

    Simba Code:
    (*
    hasTarget
    ---------

    .. code-block:: pascal

        function TRSTargetInfo.hasTarget(waitTime: integer = 0): boolean;

    Returns true if the targetInfo is open and has a lock. The optional **waitTime** parameter
    *(default = 0)* is the maximum time (in milliseconds) it will keep looking.

    .. note::

        - by Thomas
        - Last Updated: 29 September 2015 by Thomas


    Example:

    .. code-block:: pascal

        if targetInfo.hasTarget(random(200, 500)) then
          writeln('We have a target!');

    *)

    function TRSTargetInfo.hasTarget(waitTime: integer = 0): boolean;
    var
      t: TCountDown;
    begin
      t.setTime(waitTime);

      repeat
        result := self.__findLock();

        if (not result) and (waitTime > 0) then
          wait(randomRange(round(waitTime/10), round(waitTime/5)));

      until result or t.isFinished();

      print('TRSTargetInfo.hasTarget(): Result = ' + boolToStr(result));
    end;

    That's pretty much the only function you'll need, but the file has various others
    No DTM's are used and it's fast and accurate.
    The targetInfo popup needs to be unlocked though, and on the mainscreen.

  18. #1268
    Join Date
    Dec 2015
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Great script, however, isnt the erratic mouse movement when looking for colours highly suspicious?

  19. #1269
    Join Date
    Jun 2015
    Posts
    41
    Mentioned
    1 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by Gliahu View Post
    Great script, however, isnt the erratic mouse movement when looking for colours highly suspicious?
    It may seem like it, but many of us have been using it for a long time without any issue.

  20. #1270
    Join Date
    Nov 2012
    Location
    Fargo, ND
    Posts
    32
    Mentioned
    0 Post(s)
    Quoted
    12 Post(s)

    Default

    Hey, I am struggling to keep it from fighting multiple targets. Is there any to help limit the amount fo times that this happens. Usually it runs great, but all of a sudden it attacks 4 different enemies.

  21. #1271
    Join Date
    Nov 2012
    Location
    Fargo, ND
    Posts
    32
    Mentioned
    0 Post(s)
    Quoted
    12 Post(s)

    Default

    Nevermind I figured out the issue

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

    Default

    Quote Originally Posted by dstahn236 View Post
    Nevermind I figured out the issue
    What was it? Others have had the same problem; I thought something was broken in the fight detector.

  23. #1273
    Join Date
    Jul 2014
    Posts
    34
    Mentioned
    3 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    What was it? Others have had the same problem; I thought something was broken in the fight detector.
    I still have this issue, but luckily I have a blood fury amulet, and are attacking monsters that I can usually 2-3 hit.

  24. #1274
    Join Date
    Nov 2012
    Location
    Fargo, ND
    Posts
    32
    Mentioned
    0 Post(s)
    Quoted
    12 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    What was it? Others have had the same problem; I thought something was broken in the fight detector.
    For me it was that I didn't have the transparency set to the lowest. I am guessing this was a part of the srl set up and I forgot it. It just never mattered until now. I think the low transparency makes it hard to detect the gold lock. So in interface i tried setting it all the way to the right which makes the target box opaque... I still get the occasional time where I fight more than one but I am attributing that more to lag than anything.... Hope this helps.

  25. #1275
    Join Date
    Aug 2015
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    What was it? Others have had the same problem; I thought something was broken in the fight detector.
    the latest updated of RS removed the gold padlock on the npcs header when interfaces are locked. So this script doesnt detect you fighting.
    I got round this my unlocking my interface so the gold packlock returned.

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