Jump to content

Perfect Rock Crabs


Recommended Posts

Posted (edited)

Version 2.69

 

- Added delay for aggro

- Added delay for walking

 

update will be live within a few hours, thank you for being patient guys! biggrin.png

 

------------------------------------------------------------------------------------------------------------------------------------

 

After this update, the next version will be version 0.3, since that is the true version number, and it will feature a total re-write of the script.

 

The previous script was optimized for the older version of mirror mode (with slower entity detection) so the script at this stage is not optimized well enough, since the later versions of mirror have increased entity detection speed, and now I need to play catch-up to the latest version.

believe the update is live yet?

 

nvm, just checked, it isn't.

Edited by Theron
Posted (edited)

Version 0.3

 

- Script re-write - allows optimized code logic and improved features

- Walking fixed - no more attempts of walking on trees and unwalkable tiles - fixes walking handler

- More accurate aggro detection - no more running out to reset region needlessly

- Aggression slider - attack my crabs only, attack other crabs, attack ALL other crabs

- Activity slider - afk any spot, afk my spot, afk within a radius, full activity

 

update will be live within a few hours wink.png

Edited by Czar
  • Like 1
Posted

Version 0.3

 

- Script re-write - allows optimized code logic and improved features

- Walking fixed - no more attempts of walking on trees and unwalkable tiles - fixes walking handler

- More accurate aggro detection - no more running out to reset region needlessly

- Aggression slider - attack my crabs only, attack other crabs, attack ALL other crabs

- Activity slider - afk any spot, afk my spot, afk within a radius, full activity

 

update will be live within a few hours wink.png

 excited :D

Posted (edited)

Guys, there is a client bug affecting entity interactions, so as of now, all scripts which involve combat may be buggy. The developers are working on it and I will update this post when it's ready. Remember, this affects all combat scripts, so if you are planning on using this, just request a trial

 

Here's the thread: http://osbot.org/forum/topic/76612-

Edited by Czar
Posted (edited)

I am currently stuck with "calculating" and am getting no response. 

 

[DEBUG][07/05 06:36:04 PM]: Loading script id : 573
[DEBUG][07/05 06:36:11 PM]: Loaded script!
[DEBUG][07/05 06:36:11 PM]: Launching script...
[iNFO][bot #1][07/05 06:36:11 PM]: Loaded 3 built-in random solvers!
[iNFO][bot #1][07/05 06:36:11 PM]: 16 APIs loaded
[iNFO][bot #1][07/05 06:36:53 PM]: Added 9381 nodes to graph in [41858ms].
[iNFO][bot #1][07/05 06:36:55 PM]: Initializing experience tracker ..
[iNFO][bot #1][07/05 06:36:55 PM]: Initializing user paint ..
[iNFO][bot #1][07/05 06:37:02 PM]: Initializing GUI ..
[iNFO][bot #1][07/05 06:37:02 PM]: My layout is now reset
[iNFO][bot #1][07/05 06:37:03 PM]: GUI up
[iNFO][bot #1][07/05 06:37:03 PM]: Starting timers ..
[iNFO][bot #1][07/05 06:37:03 PM]: Unregistering client behaviors ..
[iNFO][bot #1][07/05 06:37:03 PM]: Filling script nodes ..
[iNFO][bot #1][07/05 06:37:03 PM]: Analysing combat type ..
[iNFO][bot #1][07/05 06:37:03 PM]: Checking if user is pure ..
[iNFO][bot #1][07/05 06:37:03 PM]: Next eat hitpoints: [22]
[iNFO][bot #1][07/05 06:37:03 PM]: 
[iNFO][bot #1][07/05 06:37:03 PM]: 
[iNFO][bot #1][07/05 06:37:03 PM]: Waiting for user input ...
[iNFO][bot #1][07/05 06:37:03 PM]: 
[iNFO][bot #1][07/05 06:37:03 PM]: 
[iNFO][bot #1][07/05 06:37:03 PM]: Using cave set to [false]
[iNFO][bot #1][07/05 06:37:03 PM]: -- finished rotating --
[iNFO][07/05 06:37:03 PM]: Started script : Perfect Crabs
[iNFO][bot #1][07/05 06:37:29 PM]: My layout is now reset
[iNFO][bot #1][07/05 06:37:29 PM]: == Refreshed list ==
[iNFO][bot #1][07/05 06:37:29 PM]: Checkbox values: 0.
[iNFO][bot #1][07/05 06:37:29 PM]: ---------- ready ----------
[iNFO][bot #1][07/05 06:37:29 PM]: Food set to: [swordfish]
[iNFO][bot #1][07/05 06:37:29 PM]: / Food set to: [swordfish].
[iNFO][bot #1][07/05 06:37:31 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:31 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:33 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:33 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:35 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:35 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:36 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:36 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:38 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:38 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:39 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:39 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:41 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:41 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:42 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:42 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:44 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:44 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:45 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:45 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:47 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:47 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:48 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:48 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:50 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:50 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:51 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:51 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:53 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:53 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:54 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:54 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:56 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:56 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:57 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:57 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:59 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:59 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:01 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:01 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:02 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:02 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:04 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:04 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:05 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:05 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:07 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:07 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:08 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:08 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:10 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:10 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:12 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:12 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:12 PM]: Script Perfect Crabs has paused!
 

 

Edited by iamsolate
Posted (edited)

Guys, there is a client bug affecting entity interactions, so as of now, all scripts which involve combat may be buggy. The developers are working on it and I will update this post when it's ready. Remember, this affects all combat scripts, so if you are planning on using this, just request a trial

 

Here's the thread: http://osbot.org/forum/topic/76612-

 

 

its working for me now, however it's starting to attack other peoples crabs... which pisses people off and they rage and i dont reply, insta report D':

 

nvm, thought it was, walking still messed up. :/ think dev said he fixed it, may take awhile to go live though.

 

also still getting version 2.69

 

Edited by BlueEyes
Posted

Getting same error, is it because 0.31 hasn't been pushed yet? :(

 

 

I am currently stuck with "calculating" and am getting no response. 

 

[DEBUG][07/05 06:36:04 PM]: Loading script id : 573
[DEBUG][07/05 06:36:11 PM]: Loaded script!
[DEBUG][07/05 06:36:11 PM]: Launching script...
[iNFO][bot #1][07/05 06:36:11 PM]: Loaded 3 built-in random solvers!
[iNFO][bot #1][07/05 06:36:11 PM]: 16 APIs loaded
[iNFO][bot #1][07/05 06:36:53 PM]: Added 9381 nodes to graph in [41858ms].
[iNFO][bot #1][07/05 06:36:55 PM]: Initializing experience tracker ..
[iNFO][bot #1][07/05 06:36:55 PM]: Initializing user paint ..
[iNFO][bot #1][07/05 06:37:02 PM]: Initializing GUI ..
[iNFO][bot #1][07/05 06:37:02 PM]: My layout is now reset
[iNFO][bot #1][07/05 06:37:03 PM]: GUI up
[iNFO][bot #1][07/05 06:37:03 PM]: Starting timers ..
[iNFO][bot #1][07/05 06:37:03 PM]: Unregistering client behaviors ..
[iNFO][bot #1][07/05 06:37:03 PM]: Filling script nodes ..
[iNFO][bot #1][07/05 06:37:03 PM]: Analysing combat type ..
[iNFO][bot #1][07/05 06:37:03 PM]: Checking if user is pure ..
[iNFO][bot #1][07/05 06:37:03 PM]: Next eat hitpoints: [22]
[iNFO][bot #1][07/05 06:37:03 PM]: 
[iNFO][bot #1][07/05 06:37:03 PM]: 
[iNFO][bot #1][07/05 06:37:03 PM]: Waiting for user input ...
[iNFO][bot #1][07/05 06:37:03 PM]: 
[iNFO][bot #1][07/05 06:37:03 PM]: 
[iNFO][bot #1][07/05 06:37:03 PM]: Using cave set to [false]
[iNFO][bot #1][07/05 06:37:03 PM]: -- finished rotating --
[iNFO][07/05 06:37:03 PM]: Started script : Perfect Crabs
[iNFO][bot #1][07/05 06:37:29 PM]: My layout is now reset
[iNFO][bot #1][07/05 06:37:29 PM]: == Refreshed list ==
[iNFO][bot #1][07/05 06:37:29 PM]: Checkbox values: 0.
[iNFO][bot #1][07/05 06:37:29 PM]: ---------- ready ----------
[iNFO][bot #1][07/05 06:37:29 PM]: Food set to: [swordfish]
[iNFO][bot #1][07/05 06:37:29 PM]: / Food set to: [swordfish].
[iNFO][bot #1][07/05 06:37:31 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:31 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:33 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:33 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:35 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:35 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:36 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:36 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:38 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:38 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:39 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:39 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:41 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:41 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:42 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:42 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:44 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:44 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:45 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:45 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:47 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:47 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:48 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:48 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:50 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:50 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:51 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:51 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:53 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:53 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:54 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:54 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:56 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:56 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:57 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:57 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:59 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:37:59 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:01 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:01 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:02 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:02 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:04 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:04 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:05 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:05 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:07 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:07 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:08 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:08 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:10 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:10 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:12 PM]: clicking map to [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:12 PM]: Should walk to 2 [x=2706, y=3714, z=0]
[iNFO][bot #1][07/05 06:38:12 PM]: Script Perfect Crabs has paused!
 

 

 

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...