Jump to content

Perfect Fighter AIO


Czar

Recommended Posts

On 1/4/2019 at 10:49 AM, martinc said:

So I tried running the NMZ plugin and I get this issue after about 5 mins. https://imgur.com/a/6pBQ18I

It just spams the overload indefinitely. This is the error log:

 

Quote

[INFO][Bot #1][01/04 10:45:31 AM]: java.lang.NullPointerException
    at java.lang.String.toLowerCase(Unknown Source)
    at java.lang.String.toLowerCase(Unknown Source)
    at org.osbot.rs07.api.DepositBox.iIiiIiiiiIII(jp:262)
    at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
    at java.util.LinkedList$LLSpliterator.tryAdvance(Unknown Source)
    at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
    at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
    at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
    at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
    at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
    at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
    at org.osbot.rs07.api.util.CachedWidget.cache(bj:229)
    at org.osbot.rs07.api.DepositBox.IIIIiiiiIIii(jp:178)
    at org.osbot.rs07.api.DepositBox.isOpen(jp:233)
    at perfect.scripting.b.a.NuL.M(xe:373)
    at perfect.scripting.b.a.nuL.M(xe:73)
    at perfect.scripting.LoopScript.d(me:464)
    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][01/04 10:45:32 AM]: KillCounter error: java.lang.RuntimeException: Union object is null or owned by someone else
    at client.nat.stream.Stream.m22(Native Method)
    at client.ec.getNext(Unknown Source)
    at org.osbot.rs07.api.util.NodeDequeIteratorG.next(um:125)
    at org.osbot.rs07.api.model.Character.IIIIiiiiIIii(pl:270)
    at org.osbot.rs07.api.model.Character.getHealthPercent(pl:415)
    at a.c.a.aux.d(oh:114)
    at a.c.a.aux.M(oh:221)
    at perfect.scripting.LoopScript.d(me:464)
    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][01/04 10:45:32 AM]: KillCallback error: java.lang.NullPointerException
    at org.osbot.rs07.api.util.NodeDequeIteratorG.next(um:125)
    at org.osbot.rs07.api.model.Character.IIIIiiiiIIii(pl:270)
    at org.osbot.rs07.api.model.Character.getHealthPercent(pl:415)
    at a.c.a.NUL.d(nh:77)
    at a.c.a.NUL.M(nh:194)
    at perfect.scripting.LoopScript.d(me:464)
    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][01/04 10:45:34 AM]: Terminating script Perfect Fighter...

 

EDIT: So it seems like it ate the rock cake instead of using the overload so it left me with 1 hp and no boosts so I guess the bot is trying to boost and is stuck.

 

@Czar

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

Got some nice updates coming up guys, stay tuned :D

For magic - choosing a spell is not supported yet, it will just use the highest level spell that you have the runes for. If auto-casting, then turn off magic and turn on ranged mode. TEMPORARY FIX: Yes, ranging mode for auto-casting magic, because technically magic mode is only for using spells on npcs, whereas ranging mode just attacks from a distance (same as autocasting). Please babysit when nearly out of runes until I add the new magic update :D Please note: this is temporary fix!

For ammonite crabs, will check out crab refreshing ASAP, which fight position are you? I will debug them all :D

For sand crabs - elaborate, are you on crabclaw isle? Confirm.

For NMZ - it is mirror issue unfortunately (see first line of error logs, it starts with client and/or osbot), either you are hooking the clients incorrectly, or you are running the script for a long time and needs a client restart (mirror only). We still haven't gotten any mirror updates unfortunately. As for the boost, I will test that, if the script is overloading while at 1 hp then I will make some changes. Will debug NMZ ASAP :D

Log out when slayer is complete - it is a stop condition in misc tab. I will confirm if it's still working in the next upcoming update.

Nardah - should be much better in the upcoming update :D

Looting items - the mouse is fully randomized, what else would you like to change apart from the mouse movement, should I make the script wander around and look for the loot?

Kurask - I haven't tried those slayer npcs but if they are not working I will add some changes ASAP.

Revenants - need to add anti-pk then I will add a full plugin for these, should be epic hopefully within the upcoming week I will make them flawless ^^ :D

Xeric's talisman - coded, ready for the upcoming update :D

Profiles - profile saving/loading is supported, but not for mac just yet, until we get a few updates for the osbot api to allow JFileChooser to work on mac machines. Currently it is blocked so only linux and windows users can save/load profiles.

Brutal black dragons - the script supports banking you gotta save an inventory loadout by clicking 'load inventory' on setup window while carrying your desired inventory.

Will edit or make a new post with upcoming update, thanks for your patience and suggestions/feedback guys :D

I am also training slayer from 1-75+ with this script, so far I am at 50. I will be going over every slayer npc to make sure they are 100% flawless :D

Edited by Czar
  • Like 4
  • Heart 1
Link to comment
Share on other sites

Script is not looting anything at the new  Wyrms, just getting:

 

[INFO][Bot #1][01/13 02:50:11 PM]: Changed interaction!
[INFO][Bot #1][01/13 02:50:13 PM]: .. kill finished, waiting for loot to appear.
[INFO][Bot #1][01/13 02:50:13 PM]: "last_delay_name" changed to "Waiting for specific loot to appear"
[INFO][Bot #1][01/13 02:50:20 PM]: [FFA1] Fighting target at [x=1268, y=10160, z=0]
[INFO][Bot #1][01/13 02:50:21 PM]: [FFA1] Fighting target at [x=1270, y=10162, z=0]
[INFO][Bot #1][01/13 02:50:21 PM]: "var_attacked_npc" changed to "12484"
[INFO][Bot #1][01/13 02:50:22 PM]: "last_delay_name" changed to "PresetCombat: Wait 20s until we reach 3 npc dist or var_attacked_npc is 0"

After waiting a few seconds, it goes on to kill the next one without checking the loot (I have quite a few things added on this list, regular loot, notes and high alchs.)

 

EDIT: It was something off in my settings.

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

Hey there Czar, 

The ammonite crab plugin isn't resetting the aggro after intially walking by the ammonite crabs, this just leads to the character standing there very confused lol. I've tried a couple spots but nothing seems to help. It also doesn't suggest the ammonite crab plugin upon initialization of the bot(unlike rock crabs or sand crabs where I always get a pop up). Other than that, wicked coding bro! Client works beautifully. Also curious; does this guy support the agility tunnel to blue dragons? Any input would be appreciated.

Cheers

  • Like 1
Link to comment
Share on other sites

Hey @Czar

Having Difficulties with both Sandcrab and Ammonite crab plug ins

Sandcrab - isnt looting selected items in loot table. 

Ammonite Crabs - Not resetting, have tried all positions and none of them resetting or banking even. Log provided (No options selected, just inventory set). Script is also not looting selected loot table (I personally wanted to predominately loot fossils). Not moving mouse outside window. 

Suggestion for ammonite: allow utilisation of the boat, north of island to travel to sea to bank/reset

I know you have a big update imminent and some or all of these may be addressed but thought i would provide an update Thanks in advance Czar! 

Spoiler

[INFO][Bot #1][01/14 08:03:51 PM]: "ss_alert_timer" changed to "42"
[INFO][Bot #1][01/14 08:03:51 PM]: We are near rocks, counting upwards!
[INFO][Bot #1][01/14 08:03:51 PM]: "ss_rock_count" changed to "66"
[INFO][Bot #1][01/14 08:03:51 PM]: Exception in script thread 2: java.lang.ArrayIndexOutOfBoundsException: 1251
    at perfect.scripting.b.d.nUL.A(hn:224)
    at perfect.scripting.b.d.NUl.m(dn:636)
    at a.a.d.AUX.d(lm:22)
    at a.a.d.NUl.A(we:392)
    at a.aUX.G(wi:333)
    at a.aUX.onLoop(wi:2020)
    at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(lf:166)
    at java.lang.Thread.run(Thread.java:748)
[INFO][Bot #1][01/14 08:03:51 PM]: "ss_alert_timer" changed to "41"
[INFO][Bot #1][01/14 08:03:52 PM]: "ss_alert_timer" changed to "40"
[INFO][Bot #1][01/14 08:03:52 PM]: Exception in script thread 2: java.lang.ArrayIndexOutOfBoundsException: 1251
    at perfect.scripting.b.d.nUL.A(hn:224)
    at perfect.scripting.b.d.NUl.m(dn:636)
    at a.a.d.AUX.d(lm:22)
    at a.a.d.NUl.A(we:392)
    at a.aUX.G(wi:333)
    at a.aUX.onLoop(wi:2020)
    at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(lf:166)
    at java.lang.Thread.run(Thread.java:748)
[INFO][Bot #1][01/14 08:03:52 PM]: "ss_alert_timer" changed to "39"
[INFO][Bot #1][01/14 08:03:52 PM]: We are near rocks, counting upwards!
[INFO][Bot #1][01/14 08:03:52 PM]: "ss_rock_count" changed to "67"
[INFO][Bot #1][01/14 08:03:52 PM]: "ss_alert_timer" changed to "38"
[INFO][Bot #1][01/14 08:03:52 PM]: Exception in script thread 2: java.lang.ArrayIndexOutOfBoundsException: 1251
    at perfect.scripting.b.d.nUL.A(hn:224)
    at perfect.scripting.b.d.NUl.m(dn:636)
    at a.a.d.AUX.d(lm:22)
    at a.a.d.NUl.A(we:392)
    at a.aUX.G(wi:333)
    at a.aUX.onLoop(wi:2020)
    at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(lf:166)
    at java.lang.Thread.run(Thread.java:748)
[INFO][Bot #1][01/14 08:03:53 PM]: "ss_alert_timer" changed to "37"
[INFO][Bot #1][01/14 08:03:53 PM]: Exception in script thread 2: java.lang.ArrayIndexOutOfBoundsException: 1251
    at perfect.scripting.b.d.nUL.A(hn:224)
    at perfect.scripting.b.d.NUl.m(dn:636)
    at a.a.d.AUX.d(lm:22)
    at a.a.d.NUl.A(we:392)
    at a.aUX.G(wi:333)
    at a.aUX.onLoop(wi:2020)
    at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(lf:166)
    at java.lang.Thread.run(Thread.java:748)
[INFO][Bot #1][01/14 08:03:53 PM]: "ss_alert_timer" changed to "36"
[INFO][Bot #1][01/14 08:03:53 PM]: "ss_alert_timer" changed to "35"
[INFO][Bot #1][01/14 08:03:53 PM]: We are near rocks, counting upwards!
[INFO][Bot #1][01/14 08:03:53 PM]: "ss_rock_count" changed to "68"
[INFO][Bot #1][01/14 08:03:53 PM]: Exception in script thread 2: java.lang.ArrayIndexOutOfBoundsException: 1251
    at perfect.scripting.b.d.nUL.A(hn:224)
    at perfect.scripting.b.d.NUl.m(dn:636)
    at a.a.d.AUX.d(lm:22)
    at a.a.d.NUl.A(we:392)
    at a.aUX.G(wi:333)
    at a.aUX.onLoop(wi:2020)
    at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(lf:166)
    at java.lang.Thread.run(Thread.java:748)
[INFO][Bot #1][01/14 08:03:53 PM]: "ss_alert_timer" changed to "34"
[INFO][Bot #1][01/14 08:03:54 PM]: Script Perfect Fighter has paused!
[INFO][Bot #1][01/14 08:03:54 PM]: We are near rocks, counting upwards!
[INFO][Bot #1][01/14 08:03:54 PM]: "ss_rock_count" changed to "69"
[INFO][Bot #1][01/14 08:03:55 PM]: We are near rocks, counting upwards!
[INFO][Bot #1][01/14 08:03:55 PM]: "ss_rock_count" changed to "70"
[INFO][Bot #1][01/14 08:03:56 PM]: We are near rocks, counting upwards!
[INFO][Bot #1][01/14 08:03:56 PM]: "ss_rock_count" changed to "71"
[INFO][Bot #1][01/14 08:03:57 PM]: We are near rocks, counting upwards!
[INFO][Bot #1][01/14 08:03:57 PM]: "ss_rock_count" changed to "72"
[INFO][Bot #1][01/14 08:03:58 PM]: We are near rocks, counting upwards!
[INFO][Bot #1][01/14 08:03:58 PM]: "ss_rock_count" changed to "73"
[INFO][Bot #1][01/14 08:03:59 PM]: We are near rocks, counting upwards!
[INFO][Bot #1][01/14 08:03:59 PM]: "ss_rock_count" changed to "74"
[INFO][Bot #1][01/14 08:04:00 PM]: We are near rocks, counting upwards!
[INFO][Bot #1][01/14 08:04:00 PM]: "ss_rock_count" changed to "75"
[INFO][Bot #1][01/14 08:04:01 PM]: We are near rocks, counting upwards!
[INFO][Bot #1][01/14 08:04:01 PM]: "ss_rock_count" changed to "76"
[INFO][Bot #1][01/14 08:04:02 PM]: We are near rocks, counting upwards!
[INFO][Bot #1][01/14 08:04:02 PM]: "ss_rock_count" changed to "77"
[INFO][Bot #1][01/14 08:04:03 PM]: We are near rocks, counting upwards!
[INFO][Bot #1][01/14 08:04:03 PM]: "ss_rock_count" changed to "78"
[INFO][Bot #1][01/14 08:04:04 PM]: We are near rocks, counting upwards!
[INFO][Bot #1][01/14 08:04:04 PM]: "ss_rock_count" changed to "79"
[INFO][Bot #1][01/14 08:04:05 PM]: We are near rocks, counting upwards!
[INFO][Bot #1][01/14 08:04:05 PM]: "ss_rock_count" changed to "80"
[INFO][Bot #1][01/14 08:04:06 PM]: Terminating script Perfect Fighter...
[INFO][Bot #1][01/14 08:04:06 PM]: Dumping save...
[INFO][Bot #1][01/14 08:04:06 PM]: 
[INFO][Bot #1][01/14 08:04:06 PM]: "playstyle_loot_ammo" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "playstyle_activity" "1"
[INFO][Bot #1][01/14 08:04:06 PM]: "aio_fighter_attack_delay" "1"
[INFO][Bot #1][01/14 08:04:06 PM]: "ss_eat_bounds_2" "65"
[INFO][Bot #1][01/14 08:04:06 PM]: "ss_eat_bounds_1" "45"
[INFO][Bot #1][01/14 08:04:06 PM]: "playstyle_mm_walk" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "area_option" "2"
[INFO][Bot #1][01/14 08:04:06 PM]: "playstyle_aggression" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "allow_varrock_upstairs" "1"
[INFO][Bot #1][01/14 08:04:06 PM]: "ss_force_fightzone" "1"
[INFO][Bot #1][01/14 08:04:06 PM]: "ab_mouse_outside" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "playstyle_afk" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "ss_crash_tile_hop" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "crab_type" "3"
[INFO][Bot #1][01/14 08:04:06 PM]: "enable_special_attacks" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "level_task_mode" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "worldhop_tile" "3"
[INFO][Bot #1][01/14 08:04:06 PM]: "ab_anti_pattern" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "ss_modern_eat" "1"
[INFO][Bot #1][01/14 08:04:06 PM]: "ss_no_food" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "afk_position_z" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "afk_position_y" "3846"
[INFO][Bot #1][01/14 08:04:06 PM]: "worldhop_mode" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "playstyle_avoid_retaliate" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "rock_fight_tile_x" "3718"
[INFO][Bot #1][01/14 08:04:06 PM]: "rock_fight_tile_y" "3845"
[INFO][Bot #1][01/14 08:04:06 PM]: "rock_fight_tile_z" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "afk_position_x" "3734"
[INFO][Bot #1][01/14 08:04:06 PM]: "playstyle_loot_sw" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "drop_junk" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "afk_complete" "0"
[INFO][Bot #1][01/14 08:04:06 PM]: "bank_condition" "NO_FOOD"
[INFO][Bot #1][01/14 08:04:06 PM]: 
[INFO][Bot #1][01/14 08:04:06 PM]:  ... success!

 

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

Great work updating this. However, an issue I am noticing is the bot has trouble identifying when it is already in combat with another monster. When botting aggressive NPCs it will not prioritize the closest next target. After finishing a kill, it will click on a mob maybe 6 tiles away but get attacked by a different NPC that is much closer, yet it still keeps trying to click the one it originally targeted even though it is already in combat. Happens pretty frequently. I've tried many combinations in the GUI without success. Is there something I am missing in settings or is this something that can be updated and improved? Thank you, I am happy to provide additional information if needed

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

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   1 member

×
×
  • Create New...