What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Stuck]Pluging

dark wolf

New Member
Joined
Mar 11, 2015
Messages
95
[Stuck]Plugin

[Stuck] Detect if Bot is stuck and take counter measures



Description
This Plugin tries with 2 different methodes to determine if your bot is stuck in some place. And take counter measures.
The counter measures in this phase of development are several jumps to overcome little obstacles and if this doesn't help
The plugin will try to teleport to nearest Aetheryte.


UI
bLbEcg B8JAAAAABJRU5ErkJggg==



Updates

  • V1.5 Major re work

  • Gui added for configuration
  • Implemented feature requests form users
  • Improved Failed Teleport detection
  • added first try of infinite loop detection

  • V1.5.2 Fixed bug where values from Gui weren't used correctly




Thread Management Rules
This Support thread is meant for:

  • Feature requests
  • Constructive criticism with specific details
  • Bug reports with a full log attached
Ref: [Guide] How to attach your log


Any thing else in this Support thread is considered 'off topic' and may be deleted. Examples include, but are not limited to:


  • Price discussions
  • Comparisons to other products
  • Complaints without supporting evidence suitable for immediate corrective action by the author
  • Theory crafting
  • General chit-chat
  • etc


We ask that you please refrain from creating off-topic posts in Support threads.
 

Attachments

Last edited:
Nice one Dark Wolf! I requested this a while back, will be trying it out!
 
Still does not work. All it did was stop the entire bot. It didn't even teleport as a last resort.
 
Still does not work. All it did was stop the entire bot. It didn't even teleport as a last resort.
All I see from the log that you actually got stuck one time

[09:01:50.487 N] First Indication for Stuck
[09:01:52.089 N] Second indication that we are stuck now lets take actions
[09:01:52.123 N] Trying to Jump
[09:01:55.141 N] Update location stage 3
[09:02:05.144 N] Jumping did not help
[09:02:05.178 N] Lets get out of here
[09:02:05.180 D] Teleporting to limsa lominsa lower decks
[09:02:05.180 N] Stopping the bot.
[09:02:05.180 D] CurrentBot.Stop()

Might be possible that the Teleport did not work becasue you were attacked or something else.
But you get what the Plugin is intended to Do?
It simply detects if you get stuck and instead of running stupid for half an hour against the wall it will try some simple things to overcome the situation. And The last resort if nothing else worked is to stop the bot.
So did you get actually stuck in that situation where the bot stopped?
 
Yes, I was actually stuck. It seems to happen at the same spot 100% of the time. What I did notice is that I'm on a chocobo, so that may have something to do with it.
 
Yes, I was actually stuck. It seems to happen at the same spot 100% of the time. What I did notice is that I'm on a chocobo, so that may have something to do with it.
Thanks
So the stuck detection does work.
The problem is there is no general way to handle such situation. I found a little issue which prevents the teleporting.
I will fix this later today maybe. But even then the plugin will not make you unstuck it will then just port you to limsa and stop the bot.
 
Isn't stopping the bot counter productive? After teleporting, its now free. Would it be better to continue the task it was doing?
 
Isn't stopping the bot counter productive? After teleporting, its now free. Would it be better to continue the task it was doing?

I agree with Dgame, you shouldn't be using 'TreeRoot.Stop();', just insert a hook to handle the teleport.

The problem is there is no general way to handle such situation. I found a little issue which prevents the teleporting.

I think you could check if the player is mounted before the teleport.

Code:
if (stuck) {
 if (isplayermounted) dismount();
 teleport();
}
 
As stated this was a starting ponit.
I will add the mount check. And simply teleport to the closest aetheryte.
I had this already in but this led for me to some endless loop. Teleport -> try to move to location x get stuck teleport again. ....
That's when i decided to go with stop the bot.
But if you guys like it better that way.No problem.
 
Last edited:
Does this work on Grinding profiles too? Or is it just orderbot? Every time I try to make a grind profile, I keep waking up to my bot running on a rock/wall
 
In principle it should also work on a grinding profile. If you send me the profile in question. I can have a look.
DAnd if you still have the logs please them too.
 
Is 0.1.4 broken? I think it doesnt work for me! Debugcode enabled or off at V 0.1.4?

Btw. You forgot to change the Versionnumber. Its still sayin 0.0.1 @ RB :P
 
Last edited:
Is 0.1.4 broken? I think it doesnt work for me! Debugcode enabled or off at V 0.1.4?

Btw. You forgot to change the Versionnumber. Its still sayin 0.0.1 @ RB :P
thx. But honestly. With the sentence it doesn't work I cannot deducted any meaningful action. than saying for me it work's.
 
If thats a "No!". Could you upload v0.1.4. with debugcode enabled?
Debug code is currently always enabled. You will get all 10 seconds in which stage the stuck plugin is currently.
If you have a problem. Then please post the log here so that I have a chance to figure out what issues you might have.
Thanks
 
If you were using this to work in tandem with something like the Questing plugs where the Navigation is causing problems it might be best to move you to a safe place and stop all processes. When RB was freaking out the other day I believe my character spent at least a few hours bouncing against walls. It did it once as well when I had the bot turned off but this obviously probably wouldn't have helped that time.

Nice idea. I'm thinking about when and how I would use it, but nice idea anyway.
 
Nice idea. I'm thinking about when and how I would use it, but nice idea anyway.[/QUOTE]
The plugin doesn't work during combat.
Hi.
Acutally it works quite well with fate farming and grinding and gathering. Since when you get stuck it just tries to jump for 3 times. Which will work on small obstacles.
And if this doesnt work it will teleport you to the next Aetheryte.
Earlier I just stopped after the Teleport. But there were reqeusts to let the bot run afterward.
So that he can contiune the work.
 
This is the first version of my Stuck detection plugin.
It uses a stege apporach to avoid false positives.
And to use stronger anti stuck methods in the higer stages.

V0.0.2
Detects if you are trying to move but your position doesn't change
Tries to jump several times to resolve this
If this doesnt work it will port you to a save location and stop the bot

View attachment 177490
View attachment 177942 updated version without debug code
View attachment 178195 New Features(as partly requestsed ): Will Teleport as last resort to the closest Aetheryte and will not stop the bot anymore.
View attachment 178702 adapted to new Plugin way


Will this by chance port me out then try to continue on with the quest it was on(if its main story) or skip it and go onto another quest?

I know it says it dosent stop the bot anymore, but was just wondering if it started right back to questing or sits around that aetheryte? because i mean if it got stuck on its way to a certain quest it will take an identical path depending on where its coming from and if it happens to be the same route it got stuck on you might get an infinite loop of teleporting(this dosent cost money right?) because if it does youll wake up / come back to an empty wallet with no gil lol.
 
Back
Top