Jump to content

Perfect Fighter AIO


Czar

Recommended Posts

14 hours ago, Czar said:

Hmm check your options for banking condition, are you banking when inventory is full? Or banking when inventory is full and no food? There are many options. As for banking the bones and hides, it should deposit them if you added them to the banking layout. Let me know how you setup the script and I will help :D

Safespotting at karamja works, activated trial good luck :D

As for arrows, will add more smarter and stable arrow system and looting system. I will also add improvements to the looting while combat code so it will wait properly. Same applies for running script without arrows. Are you using darts or any thrown weapons by any chance? Confirm. Thanks! :D

As for cycle console log, which area is the script attempting to walk to? Screenshot your script setup window and I will help ASAP :D

As for adding item to loot list, which item is it? Does the auto-fill recognize it? Is it a newer item which was released recently? In any case I will update the global item list in case osrs added new items. :D

 

Activated all trials good luck guys :D

Just using arrows, haven’t tried anything thrown! Thanks!

  • Like 1
Link to comment
Share on other sites

[INFO][Bot #1][11/18 02:30:47 PM]: Returning combat to attacker... (SPECIFIC)
[INFO][Bot #1][11/18 02:30:47 PM]: [FFA1] Fighting target at [x=3471, y=9500, z=2]
[INFO][Bot #1][11/18 02:30:47 PM]: [FFA1] Target too far away! Ignoring...
[INFO][Bot #1][11/18 02:30:47 PM]: Cycle.
[INFO][Bot #1][11/18 02:30:47 PM]: Returning combat to attacker... (SPECIFIC)
[INFO][Bot #1][11/18 02:30:47 PM]: [FFA1] Fighting target at [x=3471, y=9500, z=2]
[INFO][Bot #1][11/18 02:30:47 PM]: [FFA1] Target too far away! Ignoring...

 

Been getting this bug when I try to safespot mobs. It'll just loop even though there are many mobs in range etc. Happened WHILE it was botting and now it won't work if I set it up like normal. 

 

EDIT: So I fixed(?) it. I can't initially set it up and set the safespot. I need to let the bot run for a few seconds to a different area (aggro/attack different mobs in a different area of the same name) then I ran back to the safespot I wanted to use and let the script run. Which is weird because before I'd just set the safespot straight after starting the bot and it'd be fine. 

 

EDIT2: So I've noticed once the monsters drop aggro on the bot, the safespot ranging method doesn't work anymore. It just gets stuck in a loop of trying to find an NPC then ignores it, even if its very close (or it chooses and focuses a target much too far away and gets stuck on it, as seen above).

Edited by Sickkiee
  • Like 1
Link to comment
Share on other sites

Found another glitch while training a lvl 3 in lumbridge on goblins. I've enabled death walk and set my equipment to sword and sheild. When I die, the bot walks up to the banking floor, doesn't use the bank but sets the sword and shield, goes back down the stairs and goes back to killing goblins

 

[INFO][Bot #1][11/18 08:14:44 PM]: REACHED WITHING BODNSUDNSDUSND
[INFO][Bot #1][11/18 08:14:44 PM]: KillCallback error: java.lang.RuntimeException: Union object is null or owned by someone else
    at client.nat.stream.Stream.m22(Native Method)
    at client.pcqu.getNext(Unknown Source)
    at org.osbot.rs07.api.util.NodeDequeIteratorG.next(ej:11)
    at org.osbot.rs07.api.model.Character.IiIIIiiIIiII(ai:46)
    at org.osbot.rs07.api.model.Character.getHealthPercent(ai:471)
    at a.c.a.con.a(sl:98)
    at a.c.a.con.h(sl:50)
    at perfect.scripting.LoopScript.a(in:512)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
[INFO][Bot #1][11/18 08:14:44 PM]: KillCounter error: java.lang.NullPointerException
[INFO][Bot #1][11/18 08:14:44 PM]: Cycle.
[INFO][Bot #1][11/18 08:14:44 PM]: REACHED WITHING BODNSUDNSDUSND
[INFO][Bot #1][11/18 08:14:45 PM]: Cycle.
[INFO][Bot #1][11/18 08:14:45 PM]: REACHED WITHING BODNSUDNSDUSND
[INFO][Bot #1][11/18 08:14:45 PM]: Cycle.
[INFO][Bot #1][11/18 08:14:45 PM]: REACHED WITHING BODNSUDNSDUSND
[INFO][Bot #1][11/18 08:14:45 PM]: Just died fml!
[INFO][Bot #1][11/18 08:14:45 PM]: "ss_death" changed to "1"
[INFO][Bot #1][11/18 08:14:46 PM]: Cycle.
[INFO][Bot #1][11/18 08:14:47 PM]: "last_delay_name" changed to "PresetWalker: Wait 1s until destination exists 2"
[INFO][Bot #1][11/18 08:14:48 PM]: "last_delay_name" changed to "PresetWalker: Wait 1s until destination exists 3"
[INFO][Bot #1][11/18 08:14:49 PM]: "last_delay_name" changed to "PresetWalker: Wait 1s until we move 1"
[INFO][Bot #1][11/18 08:14:50 PM]: "inv_change" changed to "1"
[INFO][Bot #1][11/18 08:14:50 PM]:  -- not adding this piece of equipment to profit calculator!
[INFO][Bot #1][11/18 08:14:50 PM]:  -- not adding this piece of equipment to profit calculator!
[INFO][Bot #1][11/18 08:15:05 PM]: WebWalkingEvent; We have reached the final destination!
[INFO][Bot #1][11/18 08:15:05 PM]: "last_delay_name" changed to "PresetWalker: Wait 1s until we move 1"
[INFO][Bot #1][11/18 08:15:05 PM]: Cycle.
[INFO][Bot #1][11/18 08:15:07 PM]: Wearing deathwalk item (Bronze sword)...
[INFO][Bot #1][11/18 08:15:07 PM]: "last_delay_name" changed to "Wait 3.6s until we equip deathwalk item"
[INFO][Bot #1][11/18 08:15:07 PM]: .. success!
[INFO][Bot #1][11/18 08:15:07 PM]: "last_delay_name" changed to "Wait 800ms after successfully equipping deathwalk item"
[INFO][Bot #1][11/18 08:15:07 PM]: "inv_change" changed to "1"
[INFO][Bot #1][11/18 08:15:07 PM]: java.lang.ArrayIndexOutOfBoundsException: 1
    at perfect.scripting.b.a.NuL.a(mp:531)
    at perfect.scripting.b.a.AUx.h(mp:233)
    at perfect.scripting.LoopScript.a(in:512)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
[INFO][Bot #1][11/18 08:15:09 PM]: Wearing deathwalk item (Wooden shield)...
[INFO][Bot #1][11/18 08:15:09 PM]: "last_delay_name" changed to "Wait 3.6s until we equip deathwalk item"
[INFO][Bot #1][11/18 08:15:09 PM]: .. success!
[INFO][Bot #1][11/18 08:15:09 PM]: "last_delay_name" changed to "Wait 800ms after successfully equipping deathwalk item"
[INFO][Bot #1][11/18 08:15:10 PM]: "inv_change" changed to "1"
[INFO][Bot #1][11/18 08:15:10 PM]: java.lang.ArrayIndexOutOfBoundsException: 0
    at perfect.scripting.b.a.NuL.a(mp:531)
    at perfect.scripting.b.a.AUx.h(mp:233)
    at perfect.scripting.LoopScript.a(in:512)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
[INFO][Bot #1][11/18 08:15:11 PM]: Cycle.
[INFO][Bot #1][11/18 08:15:11 PM]: Successfully re-supplied, resetting death flag and continuing onward!
[INFO][Bot #1][11/18 08:15:11 PM]: "ss_death" changed to "0"
[INFO][Bot #1][11/18 08:15:11 PM]: Cycle.
[INFO][Bot #1][11/18 08:15:12 PM]: has up? [false] or has down? [true]
[INFO][Bot #1][11/18 08:15:12 PM]: reached tho, going [Climb-down]
[INFO][Bot #1][11/18 08:15:12 PM]: Attempting to walk there: [x=3205, y=3208, z=2]
[INFO][Bot #1][11/18 08:15:12 PM]: "last_delay_name" changed to "Wait 2s until we are moving (staircase walk) 1"
[INFO][Bot #1][11/18 08:15:12 PM]: "last_delay_name" changed to "PresetWalker: Wait 1s until we move 1"
[INFO][Bot #1][11/18 08:15:12 PM]: Cycle.
[INFO][Bot #1][11/18 08:15:12 PM]: has up? [false] or has down? [true]
[INFO][Bot #1][11/18 08:15:12 PM]: reached tho, going [Climb-down]
[INFO][Bot #1][11/18 08:15:12 PM]: Attempting to walk there: [x=3205, y=3208, z=2]
[INFO][Bot #1][11/18 08:15:12 PM]: "last_delay_name" changed to "Wait 2s until we are moving (staircase walk) 1"
[INFO][Bot #1][11/18 08:15:12 PM]: "last_delay_name" changed to "PresetWalker: Wait 1s until we move 1"
[INFO][Bot #1][11/18 08:15:13 PM]: Cycle.
[INFO][Bot #1][11/18 08:15:13 PM]: has up? [false] or has down? [true]
[INFO][Bot #1][11/18 08:15:13 PM]: reached tho, going [Climb-down]
[INFO][Bot #1][11/18 08:15:13 PM]: Attempting to walk there: [x=3205, y=3208, z=2]
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "Wait 2s until we are moving (staircase walk) 1"
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "PresetWalker: Wait 1s until we move 1"
[INFO][Bot #1][11/18 08:15:13 PM]: Cycle.
[INFO][Bot #1][11/18 08:15:13 PM]: has up? [false] or has down? [true]
[INFO][Bot #1][11/18 08:15:13 PM]: reached tho, going [Climb-down]
[INFO][Bot #1][11/18 08:15:13 PM]: Attempting to walk there: [x=3205, y=3208, z=2]
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "Wait 2s until we are moving (staircase walk) 1"
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "PresetWalker: Wait 1s until we move 1"
[INFO][Bot #1][11/18 08:15:13 PM]: Cycle.
[INFO][Bot #1][11/18 08:15:13 PM]: has up? [false] or has down? [true]
[INFO][Bot #1][11/18 08:15:13 PM]: reached tho, going [Climb-down]
[INFO][Bot #1][11/18 08:15:13 PM]: Attempting to walk there: [x=3205, y=3208, z=2]
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "Wait 2s until we are moving (staircase walk) 1"
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "PresetWalker: Wait 1s until we move 1"
[INFO][Bot #1][11/18 08:15:13 PM]: Cycle.
[INFO][Bot #1][11/18 08:15:13 PM]: has up? [false] or has down? [true]
[INFO][Bot #1][11/18 08:15:13 PM]: reached tho, going [Climb-down]
[INFO][Bot #1][11/18 08:15:13 PM]: Attempting to walk there: [x=3205, y=3208, z=2]
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "Wait 2s until we are moving (staircase walk) 1"
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "PresetWalker: Wait 1s until we move 1"
[INFO][Bot #1][11/18 08:15:13 PM]: Cycle.
[INFO][Bot #1][11/18 08:15:13 PM]: has up? [false] or has down? [true]
[INFO][Bot #1][11/18 08:15:13 PM]: reached tho, going [Climb-down]
[INFO][Bot #1][11/18 08:15:13 PM]: Attempting to walk there: [x=3205, y=3208, z=2]
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "Wait 2s until we are moving (staircase walk) 1"
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "PresetWalker: Wait 1s until we move 1"
[INFO][Bot #1][11/18 08:15:13 PM]: Cycle.
[INFO][Bot #1][11/18 08:15:13 PM]: has up? [false] or has down? [true]
[INFO][Bot #1][11/18 08:15:13 PM]: reached tho, going [Climb-down]
[INFO][Bot #1][11/18 08:15:13 PM]: Attempting to walk there: [x=3205, y=3208, z=2]
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "Wait 2s until we are moving (staircase walk) 1"
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "PresetWalker: Wait 1s until we move 1"
[INFO][Bot #1][11/18 08:15:13 PM]: Cycle.
[INFO][Bot #1][11/18 08:15:13 PM]: has up? [false] or has down? [true]
[INFO][Bot #1][11/18 08:15:13 PM]: reached tho, going [Climb-down]
[INFO][Bot #1][11/18 08:15:13 PM]: Attempting to walk there: [x=3205, y=3208, z=2]
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "Wait 2s until we are moving (staircase walk) 1"
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "PresetWalker: Wait 1s until we move 1"
[INFO][Bot #1][11/18 08:15:13 PM]: Cycle.
[INFO][Bot #1][11/18 08:15:13 PM]: has up? [false] or has down? [true]
[INFO][Bot #1][11/18 08:15:13 PM]: reached tho, going [Climb-down]
[INFO][Bot #1][11/18 08:15:13 PM]: Attempting to walk there: [x=3205, y=3208, z=2]
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "Wait 2s until we are moving (staircase walk) 1"
[INFO][Bot #1][11/18 08:15:13 PM]: "last_delay_name" changed to "PresetWalker: Wait 1s until we move 1"
[INFO][Bot #1][11/18 08:15:13 PM]: Script Perfect Fighter has paused!
 

Link to comment
Share on other sites

We are awaiting updates on mirror client in the meantime just restart client if it ever throws an error :( Make sure to use default OSRS launcher, make sure to hook client while logged out, make sure to start script while logged in and fully loaded (passed the welcome screen too) it should be more stable than usual.

For cannoning: How far away is your safespot to your cannon tile? I will run some tests and add an update.

For tasks: I am in the process of releasing a tutorial for the Task Manager, it should be out soon hopefully.

For safespotting: It seems that in your case the script is retaliating to npcs only, and once there is no aggro it can't find the npc. Did you enter the npc via typing the name or via the add npc button (and arrow keys)? Which npcs are they? I will help ASAP.

Activated trials good luck guys! :D

Edited by Czar
Link to comment
Share on other sites

19 hours ago, Czar said:

We are awaiting updates on mirror client in the meantime just restart client if it ever throws an error :( Make sure to use default OSRS launcher, make sure to hook client while logged out, make sure to start script while logged in and fully loaded (passed the welcome screen too) it should be more stable than usual.

For cannoning: How far away is your safespot to your cannon tile? I will run some tests and add an update.

For tasks: I am in the process of releasing a tutorial for the Task Manager, it should be out soon hopefully.

For safespotting: It seems that in your case the script is retaliating to npcs only, and once there is no aggro it can't find the npc. Did you enter the npc via typing the name or via the add npc button (and arrow keys)? Which npcs are they? I will help ASAP.

Activated trials good luck guys! :D

 

7

 

I was safespotting Kalphite Soldiers. I added their names in via the arrows keys. I thought that was the case because if I went to go reset aggro, the script would work again - but cease once the mobs were de-aggro'd. 

 

EDIT: So for some reason I keep running into this now. When I safespot moss giants:

 

[INFO][Bot #1][11/19 09:00:33 PM]: Cycle.
[INFO][Bot #1][11/19 09:00:33 PM]: exec event (Attack last npc target)
[INFO][Bot #1][11/19 09:00:33 PM]: "last_delay_name" changed to "Wait 1200-2000ms until we animate"
[INFO][Bot #1][11/19 09:00:34 PM]: Added event (Attack last npc target)!
[INFO][Bot #1][11/19 09:00:34 PM]: Action queue true
[INFO][Bot #1][11/19 09:00:35 PM]: Cycle.
[INFO][Bot #1][11/19 09:00:35 PM]: exec event (Attack last npc target)
[INFO][Bot #1][11/19 09:00:35 PM]: "last_delay_name" changed to "Wait 1200-2000ms until we animate"
[INFO][Bot #1][11/19 09:00:37 PM]: Added event (Attack last npc target)!
[INFO][Bot #1][11/19 09:00:37 PM]: Action queue true
[INFO][Bot #1][11/19 09:00:38 PM]: Cycle.

 

It just loops that over and over and over. 

Edited by Sickkiee
  • Like 1
Link to comment
Share on other sites

[INFO][Bot #1][11/19 09:05:52 PM]: Cycle.
[INFO][Bot #1][11/19 09:05:52 PM]: Exception in script thread 2: java.lang.NullPointerException
[INFO][Bot #1][11/19 09:05:52 PM]: Cycle.
[INFO][Bot #1][11/19 09:05:52 PM]: Exception in script thread 2: java.lang.NullPointerException
[INFO][Bot #1][11/19 09:05:52 PM]: Cycle.
[INFO][Bot #1][11/19 09:05:53 PM]: Exception in script thread 2: java.lang.NullPointerException

happend after a break, just stood there doing nothing :(

  • Like 1
Link to comment
Share on other sites

  • Czar changed the title to Perfect Fighter AIO

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...