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!

[RePear] Repair Bot for Rebornbuddy

I'm looking into it but I don't have an immediate fix, as it's working fine for me. Any logs are always helpful, in addition to what zone you are in, what botbase you're using, and if applicable what profile you're using.
Orderbot with your Profiles (finished Mining, now using 1-50 Botany). I've tried deleting everything in CompiledAssemblies but it didn't make a difference. Still not repairing in any zones I go to. The only thing I haven't did is delete my Settings folder due to being too lazy to reconfigure all my other stuff (Fate Blacklists, Magitek settings, etc.). I've tried redownloading RebornBuddy and your profiles/plugins multiple times (copy/pasting over the existing files) and no change.
 
Orderbot with your Profiles (finished Mining, now using 1-50 Botany). I've tried deleting everything in CompiledAssemblies but it didn't make a difference. Still not repairing in any zones I go to. The only thing I haven't did is delete my Settings folder due to being too lazy to reconfigure all my other stuff (Fate Blacklists, Magitek settings, etc.). I've tried redownloading RebornBuddy and your profiles/plugins multiple times (copy/pasting over the existing files) and no change.

That's so odd, considering it works fine for me all the time. I'll start another character and start running the 1-50 Mining profile and see if I can get the same issue you're having. Any logs you have though are always appreciated, it helps to narrow down where the issue is.
 
I will say this (something I just noticed). I've had my Company Chocobo in my FC stables this entire time. Orderbot has been running me to each node which I thought was normal (I have the "Mount" option unchecked in Global Settings).

I just took my Chocobo out of the FC stables and noticed that Orderbot uses it to run to each new location in your profiles (but will sprint from node-to-node).

Is it possible that RePear/Orderbot freaks out when it can't mount the Chocobo? I just put the timer back down to 10 minutes to test before I go to sleep. I'll let you know what happens.
 
Now it's just back to being silly. It'll be whacking at a tree, close the gathering menu, say "Event Canceled", say "Can't do that while not gathering" or whatever, open up the ESC menu, and then continue gathering. The log says "[RePear] Repaired!" when it didn't go anywhere.

[03:39:23.045 V] [Poi.Clear] Reason: Node is gone
[03:39:27.359 D] [POI Set] Type: Gather
[03:39:27.399 D] Requesting path on 148 from <177.6604, -30.21263, 418.8689> to <172.4803, -19.67419, 486.8111>
[03:39:27.473 D] Generated path to <172.4803, -19.67419, 486.8111> in 00:00:00.0744388 ms
[03:39:33.879 N] Sprinting
[03:39:33.879 D] DoAction Spell 3 0xE0000000
[03:39:37.562 D] Targeting Mature Tree 0x40000120 0x13BF9440
[03:39:37.595 D] Interacting with Mature Tree 0x13BF9440

[03:39:37.629 D] Targeting 0x3FF764 0x13C790F0
[03:39:52.132 N] [RePear] Repaired!
[03:39:52.351 D] Targeting Mature Tree 0x40000120 0x13BF9440
[03:39:52.385 D] Interacting with Mature Tree 0x13BF9440

[03:39:53.394 V] Blacklisting 40000120 for 00:00:30 [Type: All] - Reason : So we don't auto target
[03:39:53.396 N] Gathering ItemName:Green Pigment Chance:70 HqChance:255 Amount:1 RawItemId:5819
[03:40:02.872 V] [Poi.Clear] Reason: Node is gone
[03:40:07.389 D] [POI Set] Type: Gather

[03:50:16.995 V] [Poi.Clear] Reason: Node is gone
[03:50:21.691 D] [POI Set] Type: Gather
[03:50:21.724 D] Requesting path on 148 from <166.9293, -24.08004, 520.6042> to <151.0165, -22.02493, 539.3818>
[03:50:21.790 D] Generated path to <151.0165, -22.02493, 539.3818> in 00:00:00.0663010 ms
[03:50:25.554 D] Targeting Mature Tree 0x4000012B 0x13BFBCF0
[03:50:25.586 D] Interacting with Mature Tree 0x13BFBCF0

[03:50:26.187 N] [GatherTag] Casting Field Mastery II
[03:50:26.187 D] DoAction Spell 220 0xE0000000
[03:50:26.218 V] Blacklisting 4000012B for 00:00:30 [Type: All] - Reason : So we don't auto target
[03:50:26.220 N] Gathering ItemName:Green Pigment Chance:70 HqChance:255 Amount:1 RawItemId:5819
[03:50:27.995 N] Gathering ItemName:Green Pigment Chance:85 HqChance:255 Amount:1 RawItemId:5819
[03:50:33.844 D] Targeting 0x3FF764 0x13C790F0
[03:50:33.846 D] Interacting with 0x13C790F0
[03:50:48.346 N] [RePear] Repaired!
[03:50:48.554 D] Targeting Mature Tree 0x4000012B 0x13BFBCF0
[03:50:48.587 D] Interacting with Mature Tree 0x13BFBCF0

[03:50:49.347 N] Gathering ItemName:Green Pigment Chance:70 HqChance:255 Amount:1 RawItemId:5819
[03:50:52.001 V] [Poi.Clear] Reason: Node is gone
[03:50:56.270 D] [POI Set] Type: Gather

(bold shows interaction with the same node in a short time period, IE the bot never moved)

I'll just set it to 30 minutes and go to sleep. If it eventually repairs through the night then that means the Chocobo was the cause of the errors, and all that needs to be fixed is RePear's priority (ability to shutdown Orderbot, execute its repair, and resume properly).
 
Last edited:
This may have horrible consequences and break RePear, I'm not sure, but try changing the code within RePear from the following:

Code:
                        new Decorator(ret => Poi.Current.Type == PoiType.Hotspot && repaired && Vector3.Distance(Core.Player.Location, Poi.Current.Location) < 5 && BotManager.Current.Name != "Fate Bot" && BotManager.Current.Name != "Order Bot",
                            new Action(r =>
                            {
                                CommonBehaviors.MoveStop();
                                Poi.Clear("[RePear] Returned back to where we were!");
                                timetorepair = false;
                                repaired = false;
                            }
                            )
                        )

to this:

Code:
                        new Decorator(ret => Poi.Current.Type == PoiType.Hotspot && repaired && Vector3.Distance(Core.Player.Location, Poi.Current.Location) < 5 && BotManager.Current.Name != "Fate Bot" && BotManager.Current.Name != "Order Bot",
                            new Action(r =>
                            {
                                CommonBehaviors.MoveStop();
                                Poi.Clear("[RePear] Returned back to where we were!");
                                timetorepair = false;
                                repaired = false;
                            }
                            )
                        ),
                        new ActionAlwaysSucceed()

I think it might have to do with Order Bot overriding my POI, I think it might just set the POI location without clearing it first, which would overwrite the POI location RePear uses. Hopefully that code will stop it from doing that.

I haven't tested the above code because I'm not at my computer, but that would be the first thing I try when I get home.
 
It happens to me while using FateBot both with and Without the Atma plugin, as well as with Orderbot. I also put on ExCombat, enabled repearbot on a 10 minute and waited, and no dice. Don't have any log snippets as I'm at work ATM sorry; But for me it seem sto be happening regardless of what I'm using with it. The really weird thing is that it did work fine for a couple of days, was absolutely amazing, and then just...Stopped. No changes on my end from when it was working, nothing extra added or subtracted.
 
Last edited:
This may have horrible consequences and break RePear, I'm not sure, but try changing the code within RePear from the following:

Code:
                        new Decorator(ret => Poi.Current.Type == PoiType.Hotspot && repaired && Vector3.Distance(Core.Player.Location, Poi.Current.Location) < 5 && BotManager.Current.Name != "Fate Bot" && BotManager.Current.Name != "Order Bot",
                            new Action(r =>
                            {
                                CommonBehaviors.MoveStop();
                                Poi.Clear("[RePear] Returned back to where we were!");
                                timetorepair = false;
                                repaired = false;
                            }
                            )
                        )

to this:

Code:
                        new Decorator(ret => Poi.Current.Type == PoiType.Hotspot && repaired && Vector3.Distance(Core.Player.Location, Poi.Current.Location) < 5 && BotManager.Current.Name != "Fate Bot" && BotManager.Current.Name != "Order Bot",
                            new Action(r =>
                            {
                                CommonBehaviors.MoveStop();
                                Poi.Clear("[RePear] Returned back to where we were!");
                                timetorepair = false;
                                repaired = false;
                            }
                            )
                        ),
                        new ActionAlwaysSucceed()

I think it might have to do with Order Bot overriding my POI, I think it might just set the POI location without clearing it first, which would overwrite the POI location RePear uses. Hopefully that code will stop it from doing that.

I haven't tested the above code because I'm not at my computer, but that would be the first thing I try when I get home.

Sorry for the delay. I tested your code and it actually does resolve the issue with Order Bot fighting with the plugin and never leaving the gathering node. However, the bot/plugin still fails to repair.

It made it to the NPC every time no problem with your change, and opened up the NPC dialogue box, but never selected "Repair Gear". In-game error messages started popping up saying "Only available while gathering" while the NPC dialogue box was open (and I can see Order Bot trying to use my Gathering skills from my hotbar), so I assume Order Bot tried to resume control before the plugin had finished its routine.

[23:01:32.876 N] Gathering ItemName:Mugwort Chance:79 HqChance:12 Amount:1 RawItemId:4840
[23:01:41.336 V] [Poi.Clear] Reason: Node is gone
[23:01:43.427 V] [Poi.Clear] Reason: [RePear] Clearing POI so we can repair...
[23:01:43.428 D] [POI Set] Type: Vendor
[23:01:43.428 N] Moving to vendor...
[23:01:43.458 D] Requesting path on 137 from <-16.57154, 39.91154, 422.3675> to <-36.2142, 71.75401, -37.01686>
[23:01:43.528 D] Generated path to <-36.2142, 71.75401, -37.01686> in 00:00:00.0700577 ms
[23:01:49.475 D] Moving to next hop: <-17.65534, 41.51991, 293.6764> ([RePear] Moving to Vendor) D: 86.13451
[23:02:03.637 D] Moving to next hop: <-17.58867, 41.40324, 292.2764> ([RePear] Moving to Vendor) D: 2.52594
[23:02:03.861 D] Moving to next hop: <-14.98865, 40.75325, 283.6763> ([RePear] Moving to Vendor) D: 10.15065
[23:02:05.362 D] Moving to next hop: <-10.78865, 39.91039, 248.8763> ([RePear] Moving to Vendor) D: 36.17466
[23:02:11.204 D] Moving to next hop: <-14.3775, 39.82064, 240.9819> ([RePear] Moving to Vendor) D: 9.655916
[23:02:12.607 D] Moving to next hop: <-12.18865, 39.83279, 239.0763> ([RePear] Moving to Vendor) D: 3.524526
[23:02:13.014 D] Moving to next hop: <-5.604128, 40.04794, 233.8283> ([RePear] Moving to Vendor) D: 9.435906
[23:02:14.407 D] Moving to next hop: <-2.188684, 52.75325, 123.6763> ([RePear] Moving to Vendor) D: 111.6656
[23:02:32.713 D] Moving to next hop: <3.31134, 62.02824, 78.57632> ([RePear] Moving to Vendor) D: 47.48781
[23:02:40.277 D] Moving to next hop: <10.41136, 64.65568, 51.27634> ([RePear] Moving to Vendor) D: 29.46709
[23:02:44.965 D] Moving to next hop: <9.990069, 64.87724, 49.24846> ([RePear] Moving to Vendor) D: 3.196272
[23:02:45.312 D] Moving to next hop: <4.211365, 66.35325, 40.4763> ([RePear] Moving to Vendor) D: 11.59622
[23:02:47.043 D] Moving to next hop: <-8.588684, 69.95325, 21.27631> ([RePear] Moving to Vendor) D: 24.48079
[23:02:50.880 D] Moving to next hop: <-14.18867, 70.6291, 1.676293> ([RePear] Moving to Vendor) D: 21.51309
[23:02:54.311 D] Moving to next hop: <-27.68865, 70.57467, -20.32368> ([RePear] Moving to Vendor) D: 26.85964
[23:02:58.582 D] Moving to next hop: <-28.37092, 71.86328, -23.1221> ([RePear] Moving to Vendor) D: 4.342181
[23:02:59.063 D] Moving to next hop: <-27.08708, 71.85325, -30.24222> ([RePear] Moving to Vendor) D: 8.308656
[23:03:00.234 D] Moving to next hop: <-29.78866, 71.85325, -30.02367> ([RePear] Moving to Vendor) D: 2.740247
[23:03:00.502 D] Moving to next hop: <-31.48866, 71.85325, -30.02367> ([RePear] Moving to Vendor) D: 2.886835
[23:03:00.781 D] Moving to next hop: <-33.28866, 71.972, -31.12367> ([RePear] Moving to Vendor) D: 3.29162
[23:03:01.210 D] Moving to next hop: <-36.2142, 71.75401, -37.01686> ([RePear] Moving to Vendor) D: 7.694483
[23:03:02.851 D] Navigation reached current destination. Within 1.128142.
[23:03:02.882 D] Targeting Merchant & Mender 0x3E71DE 0x13BDB260
[23:03:02.884 D] Interacting with Merchant & Mender 0x13BDB260
[23:03:17.385 N] [RePear] Repaired!

[23:03:17.391 V] [Poi.Clear] Reason: [RePear] Reached Wineport Vendor and Repaired!
[23:03:17.391 N] [RePear] Resuming Order Bot from here!
[23:03:17.421 N] [RePear] Repair interval set as 0 hours and 10 minutes.
[23:03:17.421 N] [RePear] Starting Timer
[23:03:19.640 D] DoAction Mount 1 0xE0000000
[23:03:21.188 D] Requesting path on 137 from <-35.58274, 71.75401, -36.082> to <-19.13964, 41.59203, 373.395>
[23:03:21.265 D] Generated path to <-19.13964, 41.59203, 373.395> in 00:00:00.0772144 ms
[23:03:22.052 D] Moving to next hop: <-31.38866, 71.85325, -30.02367> (Moving to HotSpot) D: 2.495674
[23:03:22.649 D] Moving to next hop: <-29.78866, 71.85325, -29.92367> (Moving to HotSpot) D: 2.659837

(notice the long gap between interaction and repaired, that's when the plugin and Order Bot are fighting)

View attachment 9468 2014-09-10 18.51.txt
 
Last edited:
Wait a second... I just looked through the code for the plugin, and you're using keybinds to perform the repair?

Code:
PostMessage(edit, WM_KEYDOWN, (IntPtr)(Keys.NumPad0), IntPtr.Zero);
                        PostMessage(edit, WM_KEYUP, (IntPtr)(Keys.NumPad0), IntPtr.Zero);
                        Thread.Sleep(1000);
                        PostMessage(edit, WM_KEYDOWN, (IntPtr)(Keys.NumPad8), IntPtr.Zero);
                        PostMessage(edit, WM_KEYUP, (IntPtr)(Keys.NumPad8), IntPtr.Zero);
                        Thread.Sleep(1000);

I've rebound all my NumPad keys, they're hotkeys, they no longer perform menu navigation functions. Remember when I said:

In-game error messages started popping up saying "Only available while gathering" while the NPC dialogue box was open (and I can see Order Bot trying to use my Gathering skills from my hotbar).

It wasn't Order Bot, it was the Plugin itself (my hotbar has skills bound to NumPad keys).

Can't this be performed through mouse clicks rather than hotkeys? I've been digging through RebornBuddy's code and see it has functions such as these:

Code:
M:ff14bot.RemoteWindows.SelectIconString.ClickLineContains(System.String)
Clicks the line that contains the supplied text.
param name="text"

M:ff14bot.RemoteWindows.SelectIconString.ClickLineEquals(System.String)
Clicks the line that equals the supplied text.
param name="text"

M:ff14bot.RemoteWindows.SelectString.ClickLineContains(System.String)
Clicks the line that contains the supplied text.
param name="text"

M:ff14bot.RemoteWindows.SelectString.ClickLineEquals(System.String)
Clicks the line that equals the supplied text.
param name="text"
 
I don't think any of the 3rd Party Developers have messed with the RemoteWindows.Select stuff yet. using the Post Message stuff is how we always had to do it before
 
Ahahaha, I thought I put that in the main post that it uses those keys. Guess I'll have to add it.

Unfortunately those commands you linked aren't fully fledged, they can navigate the initial menu but not the repair window, so right now it's still reliant on the hotkeys to work.
 
I don't think any of the 3rd Party Developers have messed with the RemoteWindows.Select stuff yet. using the Post Message stuff is how we always had to do it before
Ahahaha, I thought I put that in the main post that it uses those keys. Guess I'll have to add it.

Unfortunately those commands you linked aren't fully fledged, they can navigate the initial menu but not the repair window, so right now it's still reliant on the hotkeys to work.

Well damn, I thought I was onto something lol.

Be sure to include what action each key should be assigned to (so I know what to reassign in-game).

Thanks for working with me, I'll try to find something else to break now. :)
 
I've not got any hotkeys set, but mine still does the same thing. I'll have to try to get some logs today.
 
Here's a quick snip of my log. It mounts up, saying moving to vendor, and then the log fills up with this.
 

Attachments

I'm in the middle of another project but I'll take a look pretty soon. Thank you for your patience :)
 
Back
Top