Jump to content

Perfect Fighter AIO


Recommended Posts

Posted

I found a bug:

When selecting teleort method to bank in falador it suddenly teleports after a while (no goals reached etc.).

There were no conditions for it to teleport for any reason. I.e. food fully stocked, not full etc.

 

Here is the logger:

 

[INFO][Bot #1][03/27 02:40:05 PM]: "var_attacked_npc" changed to "860"
[INFO][Bot #1][03/27 02:40:14 PM]: "ss_kill_counter" changed to "160"
[INFO][Bot #1][03/27 02:40:14 PM]: "slayer_npc_finish" changed to "860"
[INFO][Bot #1][03/27 02:40:15 PM]: "ss_kill_counter" changed to "161"
[INFO][Bot #1][03/27 02:40:15 PM]: [FFA1] Fighting target at [x=2904, y=3293, z=0]
[INFO][Bot #1][03/27 02:40:15 PM]: "var_attacked_npc" changed to "855"
[INFO][Bot #1][03/27 02:40:22 PM]: "ss_kill_counter" changed to "162"
[INFO][Bot #1][03/27 02:40:22 PM]: "slayer_npc_finish" changed to "855"
[INFO][Bot #1][03/27 02:40:23 PM]: "ss_kill_counter" changed to "163"
[INFO][Bot #1][03/27 02:40:23 PM]: [FFA1] Fighting target at [x=2907, y=3292, z=0]
[INFO][Bot #1][03/27 02:40:23 PM]: "var_attacked_npc" changed to "858"
[INFO][Bot #1][03/27 02:40:37 PM]: "ss_kill_counter" changed to "164"
[INFO][Bot #1][03/27 02:40:37 PM]: "slayer_npc_finish" changed to "858"
[INFO][Bot #1][03/27 02:40:38 PM]: [FFA1] Fighting target at [x=2908, y=3289, z=0]
[INFO][Bot #1][03/27 02:40:38 PM]: "var_attacked_npc" changed to "859"
[INFO][Bot #1][03/27 02:40:47 PM]: "ss_kill_counter" changed to "165"
[INFO][Bot #1][03/27 02:40:47 PM]: "slayer_npc_finish" changed to "859"
[INFO][Bot #1][03/27 02:40:47 PM]: [FFA1] Fighting target at [x=2909, y=3290, z=0]
[INFO][Bot #1][03/27 02:40:47 PM]: "var_attacked_npc" changed to "856"
[INFO][Bot #1][03/27 02:40:59 PM]: "ss_kill_counter" changed to "166"
[INFO][Bot #1][03/27 02:40:59 PM]: "slayer_npc_finish" changed to "856"
[INFO][Bot #1][03/27 02:41:00 PM]: [FFA1] Fighting target at [x=2906, y=3289, z=0]
[INFO][Bot #1][03/27 02:41:00 PM]: "var_attacked_npc" changed to "857"
[INFO][Bot #1][03/27 02:41:23 PM]: "ss_kill_counter" changed to "167"
[INFO][Bot #1][03/27 02:41:23 PM]: "slayer_npc_finish" changed to "857"
[INFO][Bot #1][03/27 02:41:24 PM]: [FFA1] Fighting target at [x=2907, y=3290, z=0]
[INFO][Bot #1][03/27 02:41:24 PM]: "var_attacked_npc" changed to "856"
[INFO][Bot #1][03/27 02:41:32 PM]: "ss_kill_counter" changed to "168"
[INFO][Bot #1][03/27 02:41:32 PM]: "slayer_npc_finish" changed to "856"
[INFO][Bot #1][03/27 02:41:33 PM]: "ss_kill_counter" changed to "169"
[INFO][Bot #1][03/27 02:41:33 PM]: [FFA1] Fighting target at [x=2909, y=3290, z=0]
[INFO][Bot #1][03/27 02:41:33 PM]: "var_attacked_npc" changed to "859"
[INFO][Bot #1][03/27 02:41:36 PM]: [FFA1] Fighting target at [x=2909, y=3290, z=0]
[INFO][Bot #1][03/27 02:41:36 PM]: "var_attacked_npc" changed to "859"
[INFO][Bot #1][03/27 02:41:40 PM]: "ss_kill_counter" changed to "170"
[INFO][Bot #1][03/27 02:41:40 PM]: "slayer_npc_finish" changed to "859"
[INFO][Bot #1][03/27 02:41:40 PM]: [FFA1] Fighting target at [x=2904, y=3289, z=0]
[INFO][Bot #1][03/27 02:41:40 PM]: "var_attacked_npc" changed to "855"
[INFO][Bot #1][03/27 02:41:49 PM]: "ss_kill_counter" changed to "171"
[INFO][Bot #1][03/27 02:41:49 PM]: "slayer_npc_finish" changed to "855"
[INFO][Bot #1][03/27 02:41:50 PM]: [FFA1] Fighting target at [x=2908, y=3283, z=0]
[INFO][Bot #1][03/27 02:41:51 PM]: [FFA1] Fighting target at [x=2908, y=3284, z=0]
[INFO][Bot #1][03/27 02:41:51 PM]: "var_attacked_npc" changed to "858"
[INFO][Bot #1][03/27 02:42:10 PM]: "ss_kill_counter" changed to "172"
[INFO][Bot #1][03/27 02:42:10 PM]: "slayer_npc_finish" changed to "858"
[INFO][Bot #1][03/27 02:42:11 PM]: [FFA1] Fighting target at [x=2904, y=3291, z=0]
[INFO][Bot #1][03/27 02:42:12 PM]: [FFA1] Fighting target at [x=2904, y=3291, z=0]
[INFO][Bot #1][03/27 02:42:12 PM]: "var_attacked_npc" changed to "859"
[INFO][Bot #1][03/27 02:42:26 PM]: "ss_kill_counter" changed to "173"
[INFO][Bot #1][03/27 02:42:26 PM]: "slayer_npc_finish" changed to "859"
[INFO][Bot #1][03/27 02:42:27 PM]: "ss_kill_counter" changed to "174"
[INFO][Bot #1][03/27 02:42:27 PM]: [FFA1] Fighting target at [x=2904, y=3289, z=0]
[INFO][Bot #1][03/27 02:42:27 PM]: "var_attacked_npc" changed to "855"
[INFO][Bot #1][03/27 02:42:38 PM]: "ss_kill_counter" changed to "175"
[INFO][Bot #1][03/27 02:42:38 PM]: "slayer_npc_finish" changed to "855"
[INFO][Bot #1][03/27 02:42:38 PM]: [FFA1] Fighting target at [x=2907, y=3293, z=0]
[INFO][Bot #1][03/27 02:42:38 PM]: "var_attacked_npc" changed to "857"
[INFO][Bot #1][03/27 02:42:50 PM]: "ss_kill_counter" changed to "176"
[INFO][Bot #1][03/27 02:42:50 PM]: "slayer_npc_finish" changed to "857"
[INFO][Bot #1][03/27 02:42:51 PM]: [FFA1] Fighting target at [x=2909, y=3293, z=0]
[INFO][Bot #1][03/27 02:42:51 PM]: "var_attacked_npc" changed to "859"
[INFO][Bot #1][03/27 02:43:00 PM]: "ss_kill_counter" changed to "177"
[INFO][Bot #1][03/27 02:43:00 PM]: "slayer_npc_finish" changed to "859"
[INFO][Bot #1][03/27 02:43:00 PM]: [FFA1] Fighting target at [x=2907, y=3295, z=0]
[INFO][Bot #1][03/27 02:43:01 PM]: [FFA1] Fighting target at [x=2908, y=3296, z=0]
[INFO][Bot #1][03/27 02:43:01 PM]: "var_attacked_npc" changed to "854"
[INFO][Bot #1][03/27 02:43:13 PM]: "ss_kill_counter" changed to "178"
[INFO][Bot #1][03/27 02:43:13 PM]: "slayer_npc_finish" changed to "854"
[INFO][Bot #1][03/27 02:43:14 PM]: "ss_kill_counter" changed to "179"
[INFO][Bot #1][03/27 02:43:14 PM]: [FFA1] Fighting target at [x=2907, y=3289, z=0]
[INFO][Bot #1][03/27 02:43:15 PM]: [FFA1] Fighting target at [x=2906, y=3290, z=0]
[INFO][Bot #1][03/27 02:43:15 PM]: "var_attacked_npc" changed to "856"
[INFO][Bot #1][03/27 02:43:31 PM]: "ss_kill_counter" changed to "180"
[INFO][Bot #1][03/27 02:43:31 PM]: "slayer_npc_finish" changed to "856"
[INFO][Bot #1][03/27 02:43:32 PM]: [FFA1] Fighting target at [x=2904, y=3289, z=0]
[INFO][Bot #1][03/27 02:43:32 PM]: "var_attacked_npc" changed to "858"
[INFO][Bot #1][03/27 02:43:48 PM]: "ss_kill_counter" changed to "181"
[INFO][Bot #1][03/27 02:43:48 PM]: "slayer_npc_finish" changed to "858"
[INFO][Bot #1][03/27 02:43:49 PM]: [FFA1] Fighting target at [x=2904, y=3291, z=0]
[INFO][Bot #1][03/27 02:43:49 PM]: "var_attacked_npc" changed to "859"
[INFO][Bot #1][03/27 02:43:58 PM]: "ss_kill_counter" changed to "182"
[INFO][Bot #1][03/27 02:43:58 PM]: "slayer_npc_finish" changed to "859"
[INFO][Bot #1][03/27 02:43:59 PM]: [FFA1] Fighting target at [x=2908, y=3292, z=0]
[INFO][Bot #1][03/27 02:43:59 PM]: "var_attacked_npc" changed to "856"
[INFO][Bot #1][03/27 02:44:12 PM]: "slayer_npc_finish" changed to "856"
[INFO][Bot #1][03/27 02:44:12 PM]: "ss_kill_counter" changed to "183"
[INFO][Bot #1][03/27 02:44:13 PM]: [FFA1] Fighting target at [x=2904, y=3295, z=0]
[INFO][Bot #1][03/27 02:44:14 PM]: [FFA1] Fighting target at [x=2904, y=3294, z=0]
[INFO][Bot #1][03/27 02:44:14 PM]: "var_attacked_npc" changed to "854"
[INFO][Bot #1][03/27 02:44:34 PM]: "slayer_npc_finish" changed to "854"
[INFO][Bot #1][03/27 02:44:34 PM]: "ss_kill_counter" changed to "184"
[INFO][Bot #1][03/27 02:44:35 PM]: [FFA1] Fighting target at [x=2908, y=3291, z=0]
[INFO][Bot #1][03/27 02:44:35 PM]: "var_attacked_npc" changed to "856"
[INFO][Bot #1][03/27 02:44:46 PM]: "ss_kill_counter" changed to "185"
[INFO][Bot #1][03/27 02:44:46 PM]: "slayer_npc_finish" changed to "856"
[INFO][Bot #1][03/27 02:44:47 PM]: [FFA1] Fighting target at [x=2909, y=3294, z=0]
[INFO][Bot #1][03/27 02:44:47 PM]: "var_attacked_npc" changed to "859"
[INFO][Bot #1][03/27 02:45:01 PM]: "ss_kill_counter" changed to "186"
[INFO][Bot #1][03/27 02:45:01 PM]: "slayer_npc_finish" changed to "859"
[INFO][Bot #1][03/27 02:45:02 PM]: [FFA1] Fighting target at [x=2905, y=3299, z=0]
[INFO][Bot #1][03/27 02:45:02 PM]: "var_attacked_npc" changed to "855"
[INFO][Bot #1][03/27 02:45:19 PM]: "ss_kill_counter" changed to "187"
[INFO][Bot #1][03/27 02:45:19 PM]: "slayer_npc_finish" changed to "855"
[INFO][Bot #1][03/27 02:45:19 PM]: [FFA1] Fighting target at [x=2908, y=3294, z=0]
[INFO][Bot #1][03/27 02:45:20 PM]: [FFA1] Fighting target at [x=2908, y=3294, z=0]
[INFO][Bot #1][03/27 02:45:20 PM]: "var_attacked_npc" changed to "856"
[INFO][Bot #1][03/27 02:45:37 PM]: "ss_kill_counter" changed to "188"
[INFO][Bot #1][03/27 02:45:37 PM]: "slayer_npc_finish" changed to "856"
[INFO][Bot #1][03/27 02:45:37 PM]: [FFA1] Fighting target at [x=2908, y=3293, z=0]
[INFO][Bot #1][03/27 02:45:37 PM]: "var_attacked_npc" changed to "854"
[INFO][Bot #1][03/27 02:45:49 PM]: "slayer_npc_finish" changed to "854"
[INFO][Bot #1][03/27 02:45:49 PM]: "ss_kill_counter" changed to "189"
[INFO][Bot #1][03/27 02:45:50 PM]: [FFA1] Fighting target at [x=2904, y=3293, z=0]
[INFO][Bot #1][03/27 02:45:50 PM]: "var_attacked_npc" changed to "860"
[INFO][Bot #1][03/27 02:45:59 PM]: "ss_kill_counter" changed to "190"
[INFO][Bot #1][03/27 02:45:59 PM]: "slayer_npc_finish" changed to "860"
[INFO][Bot #1][03/27 02:45:59 PM]: "ss_kill_counter" changed to "191"
[INFO][Bot #1][03/27 02:45:59 PM]: [FFA1] Fighting target at [x=2904, y=3294, z=0]
[INFO][Bot #1][03/27 02:45:59 PM]: "var_attacked_npc" changed to "859"
[INFO][Bot #1][03/27 02:46:02 PM]: Walking to nearest bank, preparing for break session...
[INFO][Bot #1][03/27 02:46:04 PM]: "did_teleport_bank" changed to "1"
[INFO][Bot #1][03/27 02:46:04 PM]: Command (did_teleport_bank) changed from () to (1)
[INFO][Bot #1][03/27 02:46:04 PM]: Handling bank teleport - stand by... 
[INFO][Bot #1][03/27 02:46:05 PM]: Walking to nearest bank, preparing for break session...
[INFO][Bot #1][03/27 02:46:07 PM]: Walking to nearest bank, preparing for break session...
[INFO][Bot #1][03/27 02:46:08 PM]: Walking to nearest bank, preparing for break session...
[INFO][Bot #1][03/27 02:46:08 PM]: Walking to nearest bank, preparing for break session...
[INFO][Bot #1][03/27 02:46:09 PM]: Script Perfect Fighter has paused!
 

  • Like 1
Posted (edited)

The teleport to falador for bank happened due to breaks triggering, check the bottom of the console log. Did you set a custom break tile? The script will go to bank when breaks are about to occur. If you don't want that, turn off the option in the misc tab and the script will logout at the fight zone ^^ :D

 

New Subversion Update (v214.2) - cannon

- Fixed console error for cannons (came from the alch event which kept activating...)
- Cannon objects are now more accurate, no longer confused with others
- Projectiles more accurate, script knows exactly which cannon fired so no more false positives
- Added 'stay near my cannon' option
- Added a delay to cannon refills, so the script will not do another action quickly after clicking 'refill', e.g. won't attack a new npc quickly to
cancel the refill.
- Added a more reliable and stable cannon timeout, the script will understand when it is time to refill cannon
- Misc. changes to combat and looting code (cannon only!)

This update resolves the banking problem with sandcrabs as of the last version

More updates coming soon. I am splitting updates into subversions to speed up updates :D Update will automatically go live within 24 hours.

Edited by Czar
Posted

I am having problems using the cannon mode now.  I can set the tile but the script will not select the cannon base to actually set down the cannon.  It just sits there on the tile (I have verified the cannon can be set up on the tile aswell).

The only error i see in the log is as follows:

[INFO][Bot #1][03/29 10:17:50 AM]: Exception in script thread 2: java.lang.NullPointerException
    at a.c.a.a.con.I(pi:73)
    at a.nuL.IA(fo:351)
    at a.nuL.e(fo:531)
    at a.nuL.onLoop(fo:907)
    at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(em:64)
    at java.lang.Thread.run(Unknown Source)

  • Like 1
Posted
1 hour ago, AaronHellmann said:

I'm trying to use this for my Defence pure. I'm trying to kill seagulls while using combat potions and it keeps drinking the potions one after another and it doesn't stop until I'm out of potions. Any help?

 

Video of bug:

 

The script will drink a potion if your att/str/def comes beneath a certain boost level. Probably made a small mistake in settings.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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