Appreciate the note on the Field Revive - pretty sure I had tried it in the past and no dice but after your note I tried it again, and VIOLA!!!! Appreciate the feedback/input. LoadAbilities: Yeah the code was ugly, thought I'd try and clean it up. FRD: Wayyyy sketchy the last week or two, trying to figure out what the hell is going on with it (and trying Method #49 now to see if IT works). Reliability seems to vary from one week to the next - not sure if due to the TOR Internals or what. Shadow: Schweet, let me know if it works and I'll incorporate it. Joe
Hey Joe, thanks for the work on Stims, it works perfect. Can you also add Experience Boost? Works the same as stims, so check for Exp Boost buff, if none present, buff up. Thanks!
In the CheckInventory code you left 30 as the min slots, i guess you were trying to make it call the bot faster Maybe that should be moved to the "settings" variables up top? tho the original 10 was a good enough number (i lowered it to 6 for my use, but i almost always lazy-ride, so it's not a big deal). It is working better, as it was set at 30 it kept calling it until i realized what was wrong, and i'd say only 1/3 of the times it couldnt find it and ALL of those times was when the bot was minimized and i was either on the net looking for something or i was using VStudio tracing some piece of code step by step (edit: just realized which as the bot is paused at that line when debugging its understandable) I had mixed experiences with the Field Revive, once it warped me, and two times it just waited and kept waiting, but one time it did rez me in the spot.
Hmm so you guys are looking at field revive... When you are coding it, i hope you put some logic in, to check if mons arent to close to you or each other. If the ranges are to close, field reviving and running to a secure position should be ignored. We dont want to revive and get farmed Tbh im very interested in how this turns out Good luck.
@Rostol - Yes, I also added code in to only check inventory once every two minutes, or have you not updated. And I was also testing a once-and-for-all fix on that, so mybad - forgot to set the slot-check-count back to what it was originally. Joe
m8, sorry if i offended you, it was not my intention to do so. I Really appreciate all the work you do (+utmost respect )!!!! Sorry Joe!
if you are "riding" it, i have bound the combat key (del in my case, cant remember the default) to my controller (both a naga and an xbox controller i use) so i just toggle it when i need. the problem is that if combat is off it wont respond to attacks. if you have a strong companion you might be ok regardless.
You can also try by setting pullrange or attack range to 0. You have to adjust this in merchelpers and buddywingsettings.xml of your char.
Hey Cp20s, no problem ... i have found that disabling combat will end up crashing the bot if you keep it disabled for long, so dont enable it a millisecond before getting into a fight as it might take a few seconds (more like 20s than 2s) to get its bearings ... if at all!! (ask me how i know, lol). For a long trek its better to Pause the bot, but in that case it wont gather.
Hey Joe, I posted this in the forum for the latest patch as well but wanted to post here in case it is something with the routine. I tried running several older version's of your combat routine but the same error pops so I am assuming this is with the BW 503 update. Since the last update, I am getting the following error code when trying to interact with elevators, objects, or the mission terminal in the Black Hole daily area. The profile I am using worked perfectly before the update. I am using Joe's Combat Routine. This only seems to be an issue on Black Hole at the moment. Still need to run more planet's profiles to see if I encounter more. Any ideas why it cannot interact with objects on this planet now? Exception during scheduling Pulse: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Function GetPlaceableIsDoor does not exist. at ..[](Boolean , String , Object[] ) at Buddy.Swtor.Objects.TorObject.CallScript[T](Boolean hasReturnValue, String function, Object[] args) at Buddy.Swtor.Objects.TorPlaceable.() at Buddy.Swtor.Objects.TorPlaceable..(Object& , Arguments , Object ) at PostSharp.Aspects.Internals.LocationInterceptionAr gsImpl`1.ProceedGetValue() at Buddy.Common.Cache.CacheForeverAttribute.OnGetValu e(LocationInterceptionArgs args) at Buddy.Swtor.Objects.TorPlaceable.get_IsDoor() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeIn ternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimePropertyInfo.GetValue(Obj ect obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture) at System.Reflection.RuntimePropertyInfo.GetValue(Obj ect obj, Object[] index) at Buddy.Swtor.Objects.TorObject.ToReflectedString(Bo olean includeInternalPrivate) at Buddy.Swtor.Objects.TorPlaceable.ToString() at System.Text.StringBuilder.AppendFormat(IFormatProv ider provider, String format, Object[] args) at Buddy.CommonBot.Profile.ProfileBehavior.ToString() at System.String.Concat(Object arg0, Object arg1, Object arg2) at Buddy.CommonBot.QuestOrderManager.UpdateCurrentBeh avior() at Buddy.CommonBot.ProfileManager.UpdateCurrentQuestB ehavior() at Buddy.CommonBot.Logic.BuddyQuestBot.(Object , EventArgs ) at Buddy.CommonBot.Logic.BrainBehavior.() [JoesCombat] Trying to mount using the key. [JoesCombat] Flushing Cache. Setting force alignment settings. Start/Stop Button Clicked! BotMain.Stop() called
Actually, going off my last post, it is doing it on all profiles. Something broke with the latest update and the bot will not interact with mission terminals, elevators, etc. Exception during scheduling Pulse: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Function GetPlaceableIsDoor does not exist. at ..[](Boolean , String , Object[] ) at Buddy.Swtor.Objects.TorObject.CallScript[T](Boolean hasReturnValue, String function, Object[] args) at Buddy.Swtor.Objects.TorPlaceable.() at Buddy.Swtor.Objects.TorPlaceable..(Object& , Arguments , Object ) at PostSharp.Aspects.Internals.LocationInterceptionArgsImpl`1.ProceedGetValue() at Buddy.Common.Cache.CacheForeverAttribute.OnGetValue(LocationInterceptionArgs args) at Buddy.Swtor.Objects.TorPlaceable.get_IsDoor() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture) at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index) at Buddy.Swtor.Objects.TorObject.ToReflectedString(Boolean includeInternalPrivate) at Buddy.Swtor.Objects.TorPlaceable.ToString() at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args) at Buddy.CommonBot.Profile.ProfileBehavior.ToString() at System.String.Concat(Object arg0, Object arg1, Object arg2) at Buddy.CommonBot.QuestOrderManager.UpdateCurrentBehavior() at Buddy.CommonBot.ProfileManager.UpdateCurrentQuestBehavior() at Buddy.CommonBot.Logic.BuddyQuestBot.(Object , EventArgs ) at Buddy.CommonBot.Logic.BrainBehavior.() Start/Stop Button Clicked! BotMain.Stop() called Reason: Sleeping while waiting on execution state to be available for BotMain.Stop() Bot Thread Ended. Was this requested? Sleeping while waiting on execution state to be available for BotMain.Stop() We slept way too long waiting for the bot thread to give control back. Aborting thread. Client may crash! [Poi.Clear] Reason: Bot Stopped Resetting force alignment settings. QuestOrderManager.OnBotStop(). Resetting caches. Resetting current behavior. QuestOrderManager.OnBotStop(). Resetting caches. Resetting current behavior. QuestOrderManager.OnBotStop(). Resetting caches. Resetting current behavior.
Yes, a problem with yesterday's .exe, nothing I can do on it. (Believe it's already been reported under Support?) Joe
Hey Joe, Can you check something out? When we are on a mission where we need to talk to someone and when the conversation is completed and you have to kill the guy (many ands sorry for that), the bot mostly stays in a loop and does nothing to the point it dies. Code: Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 100% health at 5,77 meters Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 100% health at 5,77 meters Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 100% health at 5,77 meters Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 100% health at 5,77 meters Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 100% health at 5,77 meters Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 100% health at 5,77 meters Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 100% health at 5,77 meters Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 100% health at 5,77 meters Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 100% health at 5,77 meters Can't run the CheckLootability script: Function CheckLootability does not exist. Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 90,40522% health at 5,67 meters Can't run the CheckLootability script: Function CheckLootability does not exist. Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 90,40522% health at 6,23 meters Can't run the CheckLootability script: Function CheckLootability does not exist. Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 90,40522% health at 6,23 meters Can't run the CheckLootability script: Function CheckLootability does not exist. Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 100% health at 7,71 meters Can't run the CheckLootability script: Function CheckLootability does not exist. Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 100% health at 7,71 meters Can't run the CheckLootability script: Function CheckLootability does not exist. Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 100% health at 7,71 meters Can't run the CheckLootability script: Function CheckLootability does not exist. Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 90,8306% health at 6,91 meters Can't run the CheckLootability script: Function CheckLootability does not exist. Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 83,73705% health at 2,49 meters Can't run the CheckLootability script: Function CheckLootability does not exist. Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Killing Czerka Security Officer with 66,71261% health at 5,11 meters Can't run the CheckLootability script: Function CheckLootability does not exist. Setting force alignment settings. Combat: Set POI to Kill. [POI Set] Type: Kill Is this something thats handled in the routine or the bot itself?