1. The key in SWTOR needs to be lower-case (unshifted), and in MercHelpers it needs to be upper-case, per the example listed in MercHelpers.cs. 2. If (1) is true, - The key won't always register in SWTOR. Don't expect it to be a 100% success on mount, evern though the Bot IS sending the key - for some reason it doesn't ALWAYS get picked up, but will most of the time. Give it time to run. Joe
hey thanks for this great routine! Just have 1 minor issue , when my inventory gets full bot does go to specified vendor but sometimes just stands there and doesn't sell (sometimes it does sell), it also summons a field repair droid when my inventory is getting full but doesn't actually vendor the items at the field repair droid is there anyway to make it vendor items to field repair droid . Thanks
Appreciate the feedback - and yeah, I know it's not working properly - sorry on that. It uses an Ability on the Field Repair Droid when less than 5 inventory slots free - problem is that when I query and try to interact and 'Sell All' - refuses to see the droid (as an Object, Character, or NPC) - still trying to figure out why. Will take another look at it today, and let you know if I can fix it. Joe
Im trying to use my mount and have changed the false to true in the merc helper file. i have my mount set to x in swtor and X in merc helper. While using kicks questing profile I am getting no attempt from bw to use a mount whatsoever. any ideas?
joes was always selected, and shows up in the dialog box in BW. deleted that folder. still nothing. im using a shadow, could stealth have something to do with it?
Is this with CombatBot or no, and is Movement enabled or no? Aside from that, yes if you're stealthed, as would be outside the bot, you won't be able to mount (which might make sense if you're running 'manual'/CombatBot). Let me know - Thanks Joe
FINALLY figured it out today, different object type. You can try the latest - should be fine now. Joe
not sure what you mean by combatbot and movement is enabled. so the weird thing is, i started it up yesturday and it worked! and then i started it today, and he is no longer making any attempt to mount again. uber frustrating. Im also not expecting him to mount when stealthed
1. CombatBot is the profile you're using - i.e. CombatBot.xml - meaning you're running quests or instances etc manually. 2. I thought your original complaint that IT WOULD NOT MOUNT WHEN STEALTHED, and since I didn't see any reply - I'd added code in the other day to unstealth to try and mount. 3. Per your reply, I'm guessing you DON'T want it to try and mount when stealthed..... a little confused here. Regardless, I pulled the code out to unstealth-on-mount, so that now it won't try and mount, period, when stealthed. If that's what you're looking for, try the latest. Joe
sorry im being so confusing. Im saying it wont mount period. and i tried using different, non stealthy characters and they dont mount either. as of right now the stealth works great. he doesnt stealth until the moment hes about to go after someone. what i would ideally like is; he kills some bad guys, mounts up, goes towards next objective, and if hes going to attack, he stealths
Hey Joe, For some reason your Trooper build doesnt work anymore, dont have this issue on smuggler or other chars. Its on a fresh Trooper lvl 1: Code: [12:12:50.634 D] JoesCombat v0.2013.12.9 [12:12:51.732 N] [JoesCombat] Level: 2 [12:12:51.732 N] [JoesCombat] Class: Trooper [12:12:51.764 N] [JoesCombat] Advanced Class: None () [12:12:53.922 N] [JoesCombat] Reported Processor Count: 8 [12:12:53.926 N] [JoesCombat] Star Wars Process ID Detected as: 6896 [12:12:53.926 N] [JoesCombat] Checking Abilities... [12:12:53.941 N] [JoesCombat] Pull Range set at 2 [12:12:53.941 N] [JoesCombat] DoRandomGrind Key [Add] HotKey Registered. [12:12:53.941 N] [JoesCombat] Combat Toggle Key [Home] HotKey Registered. [12:12:53.941 N] [JoesCombat] Group Tag-Along Key [Subtract] HotKey Registered. [12:12:53.941 N] [JoesCombat] Movement Toggle Key [Delete] HotKey Registered... You can edit the value in MercHelpers.cs if necessary (and then restart the .exe) [12:12:53.941 N] [JoesCombat] Forced Reload [NumPad0] HotKey Registered (to try and force Reload if hung)... [12:12:53.991 N] [JoesCombat] Ability Summon Companion found. [12:12:53.991 N] [JoesCombat] Spec Detected as: None [12:12:53.991 N] [JoesCombat] Check Abilities: Bio False Scav False Arch False Slicing False [12:12:53.991 N] [JoesCombat] ***IF YOU ARE RUNNING A QUESTING PROFILE AND CHANGE PLANETS/INSTANCES, OR LOG IN TO ANOTHER CHARACTER, RESTART SWTOR AND THEN RESTART THE BOT (AS IN CLOSE/RE-RUN THE APP)*** [12:13:01.317 D] Start/Stop Button Clicked! [12:13:01.318 D] BotMain.Start() called [12:13:01.318 D] Forcing profile reload. -- Temporary fix for behavior cache issues during start/stop. [12:13:01.619 N] Current bot set to Quest Bot [12:13:01.621 N] Loaded profile [R - Light] 1-10 Trooper and Smuggler - Ord Mantell [Kick] [12:13:01.621 D] Starting bot Quest Bot [12:13:01.657 D] Added new hook [RepopCorpse] 9bad01ed-c3de-44f9-8932-8414ba779d8e [12:13:01.661 D] Added new hook [RoutineCombat] 1b98fe7e-5f9d-4111-9a42-7072d14e38af [12:13:01.665 D] Added new hook [HotspotPoi] ec36508b-e484-4c8f-ac70-bb5e7c51a16c [12:13:01.667 D] Added new hook [SellVendorPoi] 7ea8b4bf-f9d4-4e86-94a3-3b728c21abaf [12:13:01.669 D] Added new hook [SetLootPoi] 67118beb-e324-4c42-a7f6-6502f496822d [12:13:01.669 D] Added new hook [SetCombatPoi] 344aeee5-e86b-4864-a9e8-112a13075961 [12:13:01.669 D] Added new hook [SetVendorPoi] 0f63d4d3-bc6f-4256-a904-dda0005222e4 [12:13:01.669 D] Added new hook [SetHotspotPoi] 191df9e5-c9c2-4b9b-9a61-88b3b3ade161 [12:13:01.669 D] Added new hook [SelectPoiType] 107c56b7-c377-4f7f-9a84-2f4e49fc26c3 [12:13:01.670 D] Replaced hook [SelectPoiType] a011c99d-eb08-4dde-b2ef-a85deac4a144 [12:13:01.670 D] Setting force alignment settings. [12:13:01.674 D] Spooling up bot thread. [12:13:01.675 D] Bot thread started. [12:13:01.727 D] [AutoEquip] Currently equiped EquipHumanBelt slot's score is: -1 [12:13:01.757 D] [AutoEquip] Currently equiped EquipHumanChest slot's score is: -1 [12:13:01.757 D] [AutoEquip] Currently equiped EquipHumanFace slot's score is: -1 [12:13:01.757 D] [AutoEquip] Currently equiped EquipHumanFoot slot's score is: -1 [12:13:01.757 D] [AutoEquip] Currently equiped EquipHumanGlove slot's score is: -1 [12:13:01.757 D] [AutoEquip] Currently equiped EquipHumanLeg slot's score is: -1 [12:13:01.757 D] [AutoEquip] Currently equiped EquipHumanWrist slot's score is: -1 [12:13:01.757 D] [AutoEquip] Currently equiped EquipHumanMainHand slot's score is: -1 [12:13:01.757 D] [AutoEquip] Currently equiped EquipHumanOffHand slot's score is: -1 [12:13:01.757 D] [AutoEquip] Currently equiped EquipHumanShield slot's score is: -1 [12:13:01.757 D] [AutoEquip] Currently equiped EquipHumanRanged slot's score is: -1 [12:13:01.772 D] [AutoEquip] Currently equiped EquipHumanRangedPrimary slot's score is: 838 [12:13:01.779 D] [AutoEquip] Standard-Issue Blaster Rifle - Value: 624 [12:13:01.779 D] [AutoEquip] Currently equiped EquipHumanRangedSecondary slot's score is: -1 [12:13:01.779 D] [AutoEquip] Currently equiped EquipHumanRangedTertiary slot's score is: -1 [12:13:01.779 N] [AutoEquip] Equipping companion! [12:13:01.779 D] [AutoEquip] Currently equiped EquipDroidChest slot's score is: -1 [12:13:01.779 N] [AutoEquip] Equipping companion! [12:13:01.779 D] [AutoEquip] Currently equiped EquipDroidLeg slot's score is: -1 [12:13:01.779 N] [AutoEquip] Equipping companion! [12:13:01.779 D] [AutoEquip] Currently equiped EquipDroidFeet slot's score is: -1 [12:13:01.779 N] [AutoEquip] Equipping companion! [12:13:01.779 D] [AutoEquip] Currently equiped EquipDroidHand slot's score is: -1 [12:13:01.779 N] [AutoEquip] Equipping companion! [12:13:01.779 D] [AutoEquip] Currently equiped EquipDroidGyro slot's score is: -1 [12:13:01.779 N] [AutoEquip] Equipping companion! [12:13:01.779 D] [AutoEquip] Currently equiped EquipDroidLower slot's score is: -1 [12:13:01.779 N] [AutoEquip] Equipping companion! [12:13:01.779 D] [AutoEquip] Currently equiped EquipDroidUpper slot's score is: -1 [12:13:01.779 N] [AutoEquip] Equipping companion! [12:13:01.779 D] [AutoEquip] Currently equiped EquipDroidOutfit slot's score is: -1 [12:13:01.779 N] [AutoEquip] Equipping companion! [12:13:01.779 D] [AutoEquip] Currently equiped EquipDroidSensor slot's score is: -1 [12:13:01.779 N] [AutoEquip] Equipping companion! [12:13:01.779 D] [AutoEquip] Currently equiped EquipDroidShield slot's score is: -1 [12:13:01.779 N] [AutoEquip] Equipping companion! [12:13:01.779 D] [AutoEquip] Currently equiped EquipDroidUtility slot's score is: -1 [12:13:01.779 D] [AutoEquip] Currently equiped EquipHumanEar slot's score is: -1 [12:13:01.779 D] [AutoEquip] Currently equiped EquipHumanImplant slot's score is: -1 [12:13:01.779 D] [AutoEquip] Currently equiped EquipHumanRelic slot's score is: -1 [12:13:02.541 V] [Poi.Clear] Reason: Current quest behavior changed to PickupQuestTag: ObjectName: Wesner, X: 13,2429, Y: 1,368684, Z: -36,2076, Position: <13.2429, 1.368684, -36.2076>, Type: Npc, ProfileUseRange: 5, ProfileSearchRadius: 5, SearchRadius: 0,5, WaitTime: 1, IgnoreLOS: False, UseRange: 0,5, Object: null, QuestId: 16141103603126521527, BranchId: 0, StepId: 0, TaskId: 0, QuestName: Snipe Hunt, IsDoneCache: False, Behavior: Buddy.BehaviorTree.PrioritySelector, . [12:13:02.544 D] Replaced hook [QuestProfileBehavior_Hook] 3ad349b7-6f56-4f5a-a017-77597735bfbe [12:13:02.992 N] [JoesCombat] TRYING TO MOUNT USING THE [U] KEY. [12:13:03.673 D] Generating path to PickupQuestTag: Wesner for Snipe Hunt <13.2429, 1.368684, -36.2076> [12:13:03.676 E] Contacting nav server for path. [12:13:03.764 D] Waiting for path request to finish... [12:13:03.804 D] Nav callback called. [12:13:03.851 D] Generating path to PickupQuestTag: Wesner for Snipe Hunt <13.2429, 1.368684, -36.2076> [12:13:03.851 E] Got response from server, validating. [12:13:03.851 E] Response has 7 hops. Converting to vectors and path queue. [12:13:03.852 D] Nav Service path generated. [12:13:03.852 D] Generated path to <13.2429, 1.368684, -36.2076> (PickupQuestTag: Wesner for Snipe Hunt) with 7 hops. [12:13:03.909 D] Moving to next hop: <2.575, 1.33867, -42.8>, T: None (PickupQuestTag: Wesner for Snipe Hunt) D: 2,066256 [12:13:04.763 D] De objectverwijzing is niet op een exemplaar van een object ingesteld. [12:13:04.766 D] bij Buddy.Swtor.Objects.TorObject.() bij ..() bij ..[](UInt64 , HeroType ) bij Buddy.Swtor.Objects.TorObject.GetField[T](DomFieldIds field, HeroType forcedType) bij Buddy.Swtor.Objects.TorCharacter.get_Health() bij Buddy.Swtor.Objects.TorCharacter.get_IsDead() bij Buddy.Swtor.Objects.TorNpc.get_IsLootable() bij Buddy.CommonBot.DefaultLootTargetingProvider.(TorNpc ) bij System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x) bij System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() bij System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) bij System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) bij Buddy.CommonBot.DefaultLootTargetingProvider.GetObjectsByWeight() bij Buddy.CommonBot.Targeting.Pulse() bij Buddy.CommonBot.Logic.BrainBehavior.() [12:13:05.549 D] Moving to next hop: <6.325, 1.2625, -38.575>, T: None (PickupQuestTag: Wesner for Snipe Hunt) D: 5,664257 [12:13:08.569 D] Function GetHealth does not exist. [12:13:08.569 D] bij ..[](Boolean , String , Object[] ) bij Buddy.Swtor.Objects.TorObject.CallScript[T](Boolean hasReturnValue, String function, Object[] args) bij Buddy.Swtor.Objects.TorCharacter.get_Health() bij Buddy.Swtor.Objects.TorCharacter.get_IsDead() bij Buddy.Swtor.Objects.TorNpc.get_IsLootable() bij Buddy.CommonBot.DefaultLootTargetingProvider.(TorNpc ) bij System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x) bij System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() bij System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) bij System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) bij Buddy.CommonBot.DefaultLootTargetingProvider.GetObjectsByWeight() bij Buddy.CommonBot.Targeting.Pulse() bij Buddy.CommonBot.Logic.BrainBehavior.() [12:13:10.047 D] Moving to next hop: <6.4, 1.2625, -38.525>, T: None (PickupQuestTag: Wesner for Snipe Hunt) D: 0,0910576 [12:13:10.128 D] Moving to next hop: <12.8, 1.36918, -36.1>, T: None (PickupQuestTag: Wesner for Snipe Hunt) D: 6,844997 [12:13:12.202 D] De objectverwijzing is niet op een exemplaar van een object ingesteld. [12:13:12.202 D] bij Buddy.Swtor.Objects.TorObject.() bij ..() bij ..[](UInt64 , HeroType ) bij Buddy.Swtor.Objects.TorObject.GetField[T](DomFieldIds field, HeroType forcedType) bij Buddy.Swtor.Objects.TorCharacter.get_Health() bij Buddy.Swtor.Objects.TorCharacter.get_IsDead() bij Buddy.Swtor.Objects.TorNpc.get_IsLootable() bij Buddy.CommonBot.DefaultLootTargetingProvider.(TorNpc ) bij System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x) bij System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() bij System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) bij System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) bij Buddy.CommonBot.DefaultLootTargetingProvider.GetObjectsByWeight() bij Buddy.CommonBot.Targeting.Pulse() bij Buddy.CommonBot.Logic.BrainBehavior.() [12:13:12.466 D] [POI Set] Type: Kill [12:13:12.495 N] Killing Separatist Liberation Droid with 100% health at 12,25 meters [12:13:38.926 D] Start/Stop Button Clicked! [12:13:38.927 D] BotMain.Stop() called [12:13:38.927 N] Reason: [12:13:38.990 N] Bot Thread Ended. Was this requested? [12:13:39.028 D] Sleeping while waiting on execution state to be available for BotMain.Stop() [12:13:41.031 D] We slept way too long waiting for the bot thread to give control back. Aborting thread. Client may crash! [12:13:41.031 V] [Poi.Clear] Reason: Bot Stopped [12:13:41.031 D] Resetting force alignment settings. [12:13:41.032 D] QuestOrderManager.OnBotStop(). Resetting caches. [12:13:41.033 D] Resetting current behavior. [12:13:41.033 D] QuestOrderManager.OnBotStop(). Resetting caches. [12:13:41.033 D] Resetting current behavior. [12:13:41.041 D] Calling OnDone() on current behavior. PickupQuestTag: ObjectName: Wesner, X: 13,2429, Y: 1,368684, Z: -36,2076, Position: <13.2429, 1.368684, -36.2076>, Type: Npc, ProfileUseRange: 5, ProfileSearchRadius: 5, SearchRadius: 0,5, WaitTime: 1, IgnoreLOS: False, UseRange: 0,5, Object: Wesner, Distance: 4,281502, GUID: 1BF08F023C, QuestId: 16141103603126521527, BranchId: 0, StepId: 0, TaskId: 0, QuestName: Snipe Hunt, IsDoneCache: False, Behavior: Buddy.BehaviorTree.PrioritySelector, [12:13:42.086 D] Shutting down Auto-Equip [12:13:42.086 D] Shutting down BuddyMonitor [12:13:42.087 D] Shutting down Use Lockboxes Currently running Walters build for trooper... Edit, currently at level 9, still issues...
Joe, Currently the bot has an issue with NPC's that you need to kill till 1 HP so you can then talk to him/her. Is it possible your routine could count the amount of time a NPC is at 1 HP and say after 10 seconds tries to talk to him/her? When you manually talk to the NPC the bot sees the correct step after the conversation and continues the profile.
1. Currently the bot has an issue with NPC's that you need to kill till 1 HP so you can then talk to him/her. This is due to a long-standing issue with mob.IsDead - not always correct - so I added in the qualifier that their healthpercent ALSO be less than '1/10th' of 1 percent. For me, it's been an issue with the update I made 1/10th of one percent of the time 2. You're running questing profiles - so determining the exact cause (quest profile, or CC) - in most cases, would be the questing profiles. I've also been levelling characters with my CC as well. BUT, will try Trooper etc from Lvl 1 and see how goes. 3. You're running AutoEquip, which I'd recommend removing, albeit I understand, if you're levelling a character. From my experience, they (1) cause hangs etc during execution, and (2) Greatly increase the likelyhood of a crash when the bot is stopped. Try running a Grind Profile, or DoRandomGrind, and let me know if you're still running into the issues. And I'd also recommend getting rid of the Plug-Ins if at all possible. In the meantime, will work on a Level-1 Trooper and see if I hit the same issues. Joe
Thanks for the quick response. So talking to a mob that is stuck at 1HP for some time is not codeble in the routine?
Well, "Talking to a Mob" is a questing thing, not a CC thing. If I come up with anything, will letcha know. THAT is a general prevailing issue in questing profiles ('attack the mob, get it to "just about dead", then talk to it'). UPDATE: Posted an update to include include an 'interact with the current target if it's alive and friendly' in OOC - let me know if issues with it (tried to make it as specific as possible to try and avoid causing any other problems). I don't like doing updates like this because from past experience, crossing-the-line between questing behavior and CC behavior seems to cause problems. but if it's an absolutely minimal change, may work. Joe
I'm having a problem with the joes combat routine right now I'm currently useing it as a empire charc as a powertech tank and useing it on belsavis,And everytime I start the combat routine up it ends up running for afew mins around 5-10 mins then stopping and giving me this error: Object reference not set to an instance of an object. at Buddy.Swtor.Objects.TorObject.() at ..() at ..[](UInt64 , HeroType ) at Buddy.Swtor.Objects.TorObject.GetField[T](DomFieldIds field, HeroType forcedType) at Buddy.Swtor.Objects.TorCharacter.get_Health() at Buddy.Swtor.Objects.TorCharacter.get_IsDead() at Buddy.CommonBot.Logic.BrainBehavior.(Object ) at Buddy.BehaviorTree.Decorator.CanRun(Object context) at Buddy.BehaviorTree.Decorator..() at Buddy.BehaviorTree.Composite.Tick(Object context) at Buddy.BehaviorTree.PrioritySelector..() at Buddy.BehaviorTree.Composite.Tick(Object context) at Buddy.BehaviorTree.Decorator..() at Buddy.BehaviorTree.Composite.Tick(Object context) at Buddy.BehaviorTree.PrioritySelector..() at Buddy.BehaviorTree.Composite.Tick(Object context) at Buddy.CommonBot.BotMain.() Object reference not set to an instance of an object. at Buddy.Swtor.Objects.TorObject.() anybody can help?
I can't seem to get this routine to work properly. IDK if it is because I am running marauder class, and marauder is just impossible to code for, but it will not work for me. Bot refuses to sell to vendor, or even to go to vendor. Bot will not revive companion. Bot will not sell to or repair at field repair droid. Here is a log of me running the bot overnight. When I woke up the bot was still running. But it was just continuously dying, because the armor was all at 0%. View attachment 2014-01-02 17.07.txt
yeah I'm having the same issue as lolnrdrage is having and also afew other problems that the bot wokn't even work properly.
1. "Object Reference" errors - only so much I can do about - sorry. Minimized the GC today, so if you like you can try the latest. 2. Field Repair Droid - have you purchased it through Legacy? Does it even appear if so? 3. May address the above as well - posted an update and updated the Install Instructions - follow those and let me know how goes. Old CompiledAssemblies and/or bin/obj folders can cause massive issues (basically to where the bot is NOT doing what the current version of the CC is supposed to do). Problem is, is that the 'compile' doesn't seem to happen as it should - so if you update the CC and an old compiled version is sitting under CompiledAssemblies - most of the time the CC isn't recompiled and your update doesn't do s**** (until you nuke everything under CompiledAssemblies - I run my BW thru a batch script that does it up-front - since you can't do it inside the .exe). Sorry for the issues, if the current install makes any difference let me know. Joe