Jump to content

Perfect Fighter AIO


Czar

Recommended Posts

Will add a quick patch for leveling dialogues asap.

As for loot at rock crabs, hmm will check out the issue asap. I think rare drop table is not being activated, update coming up.

As for hill giants, what inventory setup? Make sure there is only: food and/or potions , no extra items such as arrows or misc items (in the bank withdraw loadout menu), confirm the script settings and I will test and add an update.

Link to comment
Share on other sites

Suggestion!:

  • Add an alert for when a superior slayer monster appears
  • When a superioror slayer monster appears a red message in the chat box says "A superior foe has appeared..."
  • Helpful because they are really strong and you need to enable prayer to kill them.

Bug:

  • When having eat for loot enabled it is not eating to loot when inventory is full.
  • It also doesn't loot stackable items when inventory is full. For example say i have 27 lobsters and a stack of rune arrows in my inventory (Rune arrows are stackable, looting more puts them on the same stack and doesn't take up more inventory space) It won't loot the arrows, thinking the inventory is full.
  • Like 1
Link to comment
Share on other sites

@Czar

Hey czar i cant start the script for some reason. It exits after 5 seconds after i start the script. Here is the logger.

Spoiler

[ERROR][04/17 10:58:08 PM]: Uncaught exception!
java.lang.NullPointerException
    at a.c.CON.paintComponent(oh:11)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintToOffscreen(Unknown Source)
    at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
    at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
    at javax.swing.RepaintManager.paint(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager$4.run(Unknown Source)
    at javax.swing.RepaintManager$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.access$1200(Unknown Source)
    at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
[ERROR][04/17 10:58:08 PM]: Uncaught exception!
java.lang.NullPointerException
    at a.c.CON.paintComponent(oh:11)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintToOffscreen(Unknown Source)
    at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
    at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
    at javax.swing.RepaintManager.paint(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager$4.run(Unknown Source)
    at javax.swing.RepaintManager$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.access$1200(Unknown Source)
    at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
[ERROR][04/17 10:58:08 PM]: Uncaught exception!
java.lang.NullPointerException
    at a.c.CON.paintComponent(oh:11)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintToOffscreen(Unknown Source)
    at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
    at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
    at javax.swing.RepaintManager.paint(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager$4.run(Unknown Source)
    at javax.swing.RepaintManager$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.access$1200(Unknown Source)
    at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
[INFO][Bot #1][04/17 10:58:09 PM]: http://pastebin.com/raw.php?i=0gn8UVy2
[INFO][Bot #1][04/17 10:58:09 PM]:  2 actionpoints ready
[INFO][Bot #1][04/17 10:58:09 PM]: Next eat hitpoints: [24]
[ERROR][Bot #1][04/17 10:58:12 PM]: Error in script onStart(): Perfect Fighter
java.lang.NullPointerException
    at perfect.scripting.c.coM2.f(dl:283)
    at perfect.scripting.c.coM2.<init>(dl:125)
    at a.NUL.I(uj:911)
    at a.NUL.onStart(uj:219)
    at org.osbot.rs07.event.ScriptExecutor.IIIiIiiIiiiI(ih:226)
    at org.osbot.rs07.event.ScriptExecutor.start(ih:188)
    at org.osbot.LPT3.run(gk:154)
    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][04/17 10:58:12 PM]: Terminating script Perfect Fighter...
[INFO][Bot #1][04/17 10:58:12 PM]: Dumping save...
[INFO][Bot #1][04/17 10:58:12 PM]: 
[INFO][Bot #1][04/17 10:58:12 PM]: "ss_modern_eat" "1"
[INFO][Bot #1][04/17 10:58:12 PM]: "ss_force_fightzone" "1"
[INFO][Bot #1][04/17 10:58:12 PM]: "ss_eat_bounds_2" "65"
[INFO][Bot #1][04/17 10:58:12 PM]: "bank_condition" "NO_FOOD"
[INFO][Bot #1][04/17 10:58:12 PM]: "ss_eat_bounds_1" "45"
[INFO][Bot #1][04/17 10:58:12 PM]: "prayer_flick_mode" "0"
[INFO][Bot #1][04/17 10:58:12 PM]: "allow_varrock_upstairs" "1"
[INFO][Bot #1][04/17 10:58:12 PM]: 
[INFO][Bot #1][04/17 10:58:12 PM]:  ... success!
[INFO][Bot #1][04/17 10:58:12 PM]: Script Perfect Fighter has exited!
[INFO][04/17 10:58:13 PM]: Started script : Perfect Fighter
 

Also the gui is bugged like this.

Tried both in mirror and injection.

Link to comment
Share on other sites

So the script was working fine for me, but i've tried to do sand/rock crabs and also the stronghold, and for some reason it will repeatedly attempt to bank, or just run from east to west on sand crabs, even when i'm using the exact same settings as last time? Not sure if you've pushed an update over the past 12 hours or so, but thats when its started going a bit crazy for me :)

  • Like 1
Link to comment
Share on other sites

@Czar

Hey man, got an issue with the cannon still. being super super erratic with the loading generally just spamming the cannon looks really bad :/

https://gyazo.com/aa9340289fa22ebb85575b50b8351c03 gif of what it does in the chat.. just constantly trying to reload the cannon when it was set to reload at 17-25 balls, no settings other than fight alongside/attack caged npc/cannon mode/range mode with the above cannon setting 17-25

 

 

https://gyazo.com/011fa0c37bf9ed546af1aedd21cfc0a3

Here is a better Gif as to what it's doing

 

Edit: this seems to be happening on mirror mode, Am i a moron? or should it not be happening. seems to be running near perfect on stealth client.

 

Edited by MissFabulous
Link to comment
Share on other sites

GUI error: are you trying to load an existing fight profile? Or is the gui just messing up without any plugins or profiles? It's launching fine for everybody else and I :o I will investigate the error asap. Make sure you are using latest client version and start the script while logged in

Hmm I recently pushed an update and it just went live a few hours ago (v188) but it shouldn't affect inventory/banking, are you inputting food in the inventory loadout lists? Which setups/options enabled? I will test with same options.

As for cannon, make sure to hook vip client while logged out otherwise the script may mess up (only if it happens in vip and not injection) otherwise how many cannonballs did you set to reload at? Leave it at default shots (10-20) and it should work better. I will test cannon mode again.

EDIT: For cannon mode, just noticed: make sure to set the reaction timer from 1000ms to ~50-150ms using the F hotkeys, otherwise cannonball firings won't be detected fast enough (1 second delay is huge in computers)

Edited by Czar
Link to comment
Share on other sites

48 minutes ago, Czar said:

GUI error: are you trying to load an existing fight profile? Or is the gui just messing up without any plugins or profiles? It's launching fine for everybody else and I :o I will investigate the error asap. Make sure you are using latest client version and start the script while logged in

Hmm I recently pushed an update and it just went live a few hours ago (v188) but it shouldn't affect inventory/banking, are you inputting food in the inventory loadout lists? Which setups/options enabled? I will test with same options.

As for cannon, make sure to hook vip client while logged out otherwise the script may mess up (only if it happens in vip and not injection) otherwise how many cannonballs did you set to reload at? Leave it at default shots (10-20) and it should work better. I will test cannon mode again.

EDIT: For cannon mode, just noticed: make sure to set the reaction timer from 1000ms to ~50-150ms using the F hotkeys, otherwise cannonball firings won't be detected fast enough (1 second delay is huge in computers)

Seems to be working fine now. I'm not sure if it was due to Osbot or something instead. I tried resetting everything, and restarting the script/client numerous times, but it just kept running back and forth to the bank like it wanted to withdraw nothing. A little bizarre but its all good again now, if I encounter the error again I'll post a little GIF so you can see what was happening.

 

Also is crabclaw isle going to be supported at any point? You can get there by travelling from the guy a few steps east of the sand crabs bank, it costs 10k, and there's numerous 3/4 spot spawns where you'd be able to afk in a way that constantly aggros them all, and is probably slightly better xp than the main beach :)

This is it, if it helps at all: http://2007.runescape.wikia.com/wiki/Crabclaw_Isle 

 

Thanks again for the script bro, seems to be working wonders now.

Edited by Much Scare Wow
  • Like 1
Link to comment
Share on other sites

Gui error is fixed and script is working again. But could you add ''Giant Key'' to loot item list. I'm farming hill giants right now they drop the item but not on the looting list. Thank you :)

Edit:Nvm it finds Giant Key in the looting list now.

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

20 minutes ago, Czar said:

Are there any unique mechanics on crabclaw isle? 

Will start coding crabclaw island support, stay tuned guys ^^ :D

EDIT: Let me know if there's any errors in the console log if a bug ever happens

Nah nothing different to the normal ones :)

Perfect, cant wait to test it out! Thanks again.

  • 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   0 members

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