Page 10 of 55 FirstFirst ... 8910111220 ... LastLast
Results 226 to 250 of 1365

Thread: [SRL-6] bonsaiFighter

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

    Default

    No, i was using the script's giant spider.

  2. #227
    Join Date
    Feb 2014
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    can someone add waterfiends?

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

    Default

    I've been working on automatic detection. It's about half baked.

    It finds NPCs based on screen movement, grabs colors around the mouse area, and tests them to find usable ones.

    It's pretty sweet. No more coloring!! I have it working, just refining some ideas like balancing accuracy / speed.

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

    Default

    Whoa, but what if theres 2 different monsters in an area? O.o

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

    Default

    Quote Originally Posted by nutta124 View Post
    Whoa, but what if theres 2 different monsters in an area? O.o
    Yes, that can be a problem. I can keep an NPC name in the form and reject incorrect matches on the motion detection.

    Can't do much about a color matching both unless you want to right click, decide it's the wrong one, and move one. Might as well just kill the dang thing ehehe

    It runs the mouse around like a madman for a couple of minutes right now. Looking to smooth that out so it learns over time but still gets killing asap.

    Hitting background colors is a problem, the findcolors hangs for a long time collecting them.

  6. #231
    Join Date
    Feb 2014
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    cool +1

  7. #232
    Join Date
    Jun 2013
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    Yes, that can be a problem. I can keep an NPC name in the form and reject incorrect matches on the motion detection.

    Can't do much about a color matching both unless you want to right click, decide it's the wrong one, and move one. Might as well just kill the dang thing ehehe

    It runs the mouse around like a madman for a couple of minutes right now. Looking to smooth that out so it learns over time but still gets killing asap.

    Hitting background colors is a problem, the findcolors hangs for a long time collecting them.
    Hey mate, whenever I try to run your script and the fight menu pops up and when i have everything checked
    And click Run It just opens a new client? i really need help, thanks.

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

    Default

    I'm not sure I understand. When you hit run on the form a SMART window should come up and start loading runescape.

    Are you saying you get more than one of these?

    What shows up in the simba console at the bottom of the window?

  9. #234
    Join Date
    Jun 2013
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    I'm not sure I understand. When you hit run on the form a SMART window should come up and start loading runescape.

    Are you saying you get more than one of these?

    What shows up in the simba console at the bottom of the window?
    I already have one but I get another one?

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

    Default

    it doesnt use my weapon's special -.- i have the special icon in the action bar but it never been activate

    HELPPP!@ D:

  11. #236
    Join Date
    Jun 2013
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    Why does it only attack 1 monster then it just stays there??

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

    Default

    Quote Originally Posted by alee1 View Post
    Why does it only attack 1 monster then it just stays there??
    its probably couldnt find the colour. what monster were you fighting?

  13. #238
    Join Date
    Jun 2013
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    Quote Originally Posted by nutta124 View Post
    its probably couldnt find the colour? what monster are you fighting?
    Giant spiders, can you help me with team viewer

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

    Default

    Quote Originally Posted by alee1 View Post
    Giant spiders, can you help me with team viewer
    the giant spider's colors are pretty old(i think O.o). you should try using the ACA tool to get a better color
    if you want i can give you my Fire Giant(Chaos tunnel)'s color if you're interested, its not prefect but i could run it for 2/3 hours before running out of food supply

  15. #240
    Join Date
    Jun 2013
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    Quote Originally Posted by nutta124 View Post
    the giant spider's colors are pretty old(i think O.o). you should try using the ACA tool to get a better color
    if you want i can give you my Fire Giant(Chaos tunnel)'s color if you're interested, its not prefect but i could run it for 2/3 hours before running out of food supply
    Yea sure that would be better.

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

    Default

    Quote Originally Posted by alee1 View Post
    Yea sure that would be better.
    you're welcome~

    <npc>
    <name>Fire giant</name>
    <xp>424</xp>
    <constXp>140</constXp>
    <color1>2900866</color1>
    <tolerance1>26</tolerance1>
    <hue1>0.14</hue1>
    <sat1>1.10</sat1>
    <color2>-1</color2>
    <tolerance2>0</tolerance2>
    <hue2>0.0</hue2>
    <sat2>0.0</sat2>
    <dist>4</dist>
    <inclDist>0</inclDist>
    <minPixels>450</minPixels>
    <maxPixels>1500</maxPixels>
    <maxFightSeconds>180</maxFightSeconds>
    <uptext>iant</uptext>
    </npc>

  17. #242
    Join Date
    Jun 2013
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    Quote Originally Posted by nutta124 View Post
    you're welcome~

    Hey man thanks for the code, but just one question, I add it to the notepad where all
    The codes for the other monsters? Just that?

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

    Default

    yeah, add it to ''libnpcStandard.xml''
    Then, in the start up menu there should be ''Fire Giant'' in the monster list

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

    Default

    bonsai!!~~ the manualAbilities wouldnt click on the ''Special Attack'' icon -.- its a threshold ability so Revolution would not activate it. FIX?! T-T
    i really need it for my saradomin gs's healing ability~~ thank you :3

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

    Default

    Quote Originally Posted by alee1 View Post
    I already have one but I get another one?
    I don't know what could cause that. I assume it happens with any script?

    Did you try something simple like:

    Simba Code:
    program new;
    {$DEFINE SMART}
    {$i srl-6/srl.simba}

    begin
      clearDebug();
      setupSRL();
    end.

    If it still happens, post in one of the general help areas, it's not a script issue.

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

    Default

    Quote Originally Posted by alee1 View Post
    Why does it only attack 1 monster then it just stays there??
    The debug window should tell you what it's thinking. If you didn't enable it:

    Around line 7 there is a line of code: "{$DEFINE DEBUG_ON}". Comment this out to reduce the printed output to a minimum. Uncomment it to get detailed logging for reporting problems and troubleshooting.

    To enable SRL level debugging, search for disableSRLDebug and make sure it is set to 'False'.

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

    Default

    Quote Originally Posted by nutta124 View Post
    it doesnt use my weapon's special -.- i have the special icon in the action bar but it never been activate

    HELPPP!@ D:
    Are you using the manual abilities? If so, the srl function to check if the ability is ready might not be giving back a proper answer.

    I use the automatic (revolution?), I don't know what it would do there.

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

    Default

    Yeah, im using manual abilities. revolution cant active threshold ability nor ultimate ability :/

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

    Default

    Quote Originally Posted by nutta124 View Post
    bonsai!!~~ the manualAbilities wouldnt click on the ''Special Attack'' icon -.- its a threshold ability so Revolution would not activate it. FIX?! T-T
    i really need it for my saradomin gs's healing ability~~ thank you :3
    Check out includes/bonsai/libnpc.simba

    Uncomment the writeln near the top of Tnpc._doAbilities

    Then run it and you will see what actionbar.getBilityCooldown() is telling us.

    If that's a consistent number when ready, let's say '99', add 99 to the if statement there

    "if (pct = 1) or (pct = 99) then"

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

    Default

    I'm hoping to publish a revamped version in a week or two. The color detect stuff is close to complete.

    I think the colors changed on the popup box. That can lead to you starting new fights before done and swarming yourself.

    People might want to try this DTM at the top of includes/bonsai/libnpc.simba:

    Simba Code:
    _npcInfightDTM = 'mlwAAAHicY2eAAEYgZgViTiTMBpWTgGIxIOaDqgMBbkERnJgLKM+CAzPiwVAAAKx0AgE=';

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