Jump to content

Join our Slack

Talk to other users and have a great time
Slack Server

Welcome to our Community

Click here to get your Exiled Bot license
Donation Store
Sign in to follow this  
gvd0x1

avoid looping in actions

Recommended Posts

Each time my logs have this

 

2016-03-26 03:24:06 [info] -> Moving to position(12657.608398, 3125.000000). State Priority: 15
2016-03-26 03:24:06 [info] -> Moving to position(12657.608398, 3125.000000). State Priority: 15
2016-03-26 03:24:06 [info] -> Moving to position(12657.608398, 3125.000000). State Priority: 15
2016-03-26 03:24:06 [info] -> Moving to position(12657.608398, 3125.000000). State Priority: 15
2016-03-26 03:24:06 [info] -> Moving to position(12639.863281, 3125.591553). State Priority: 15
2016-03-26 03:24:06 [info] -> Moving to position(12639.863281, 3125.591553). State Priority: 15
2016-03-26 03:24:07 [info] -> Moving to position(12639.863281, 3125.591553). State Priority: 15
 
It is a guaranteed ban. No human would do such precise back and forth at exact coordinates. Why can't bot actions be stored and made sure they are not repeated? Seems a very simple change. Plus, each action could have a fuzz factor if we do want bot to repeat it ie if it's a move, add some delta. Sometimes that's all that's needed to make bot work.

Share this post


Link to post
Share on other sites

 

Each time my logs have this

 

2016-03-26 03:24:06 [info] -> Moving to position(12657.608398, 3125.000000). State Priority: 15
2016-03-26 03:24:06 [info] -> Moving to position(12657.608398, 3125.000000). State Priority: 15
2016-03-26 03:24:06 [info] -> Moving to position(12657.608398, 3125.000000). State Priority: 15
2016-03-26 03:24:06 [info] -> Moving to position(12657.608398, 3125.000000). State Priority: 15
2016-03-26 03:24:06 [info] -> Moving to position(12639.863281, 3125.591553). State Priority: 15
2016-03-26 03:24:06 [info] -> Moving to position(12639.863281, 3125.591553). State Priority: 15
2016-03-26 03:24:07 [info] -> Moving to position(12639.863281, 3125.591553). State Priority: 15
 
It is a guaranteed ban. No human would do such precise back and forth at exact coordinates. Why can't bot actions be stored and made sure they are not repeated? Seems a very simple change. Plus, each action could have a fuzz factor if we do want bot to repeat it ie if it's a move, add some delta. Sometimes that's all that's needed to make bot work.

 

 

also additionally for the above, attacking same thing , even with timeout set(i have 45 seconds), this is also a guaranteed ban

 

2016-03-26 03:22:32 [info] -> Attacking monster Undying Worker using mouse_right key at distance : 4.123106
2016-03-26 03:22:32 [info] -> Attacking monster Undying Worker using mouse_right key at distance : 4.123106
2016-03-26 03:22:32 [info] -> Attacking monster Undying Worker using mouse_right key at distance : 4.123106
2016-03-26 03:22:32 [info] -> Attacking monster Undying Worker using mouse_right key at distance : 4.123106
2016-03-26 03:22:32 [info] -> Attacking monster Undying Worker using mouse_right key at distance : 4.123106
2016-03-26 03:22:32 [info] -> Attacking monster Undying Worker using mouse_wheel key at distance : 4.123106
2016-03-26 03:22:32 [info] -> Attacking monster Undying Worker using mouse_right key at distance : 4.123106
2016-03-26 03:22:32 [info] -> Attacking monster Undying Worker using mouse_right key at distance : 4.123106
2016-03-26 03:22:32 [info] -> Attacking monster Undying Worker using mouse_right key at distance : 4.123106
2016-03-26 03:22:32 [info] -> Attacking monster Undying Worker using mouse_right key at distance : 4.123106
2016-03-26 03:22:33 [info] -> Attacking monster Undying Worker using mouse_right key at distance : 4.123106
2016-03-26 03:22:33 [info] -> Attacking monster Undying Worker using mouse_right key at distance : 4.123106
2016-03-26 03:22:33 [info] -> Attacking monster Undying Worker using mouse_right key at distance : 4.123106
2016-03-26 03:22:33 [info] -> Attacking monster Undying Worker using mouse_right key at distance : 4.123106
2016-03-26 03:22:33 [info] -> Restart state because no monster were killed for 45 s

Share this post


Link to post
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.

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.

Loading...
Sign in to follow this  

×
×
  • Create New...