So people with HB have been telling me its just my CC doing this..... Code: [6:53:36 AM:608] NeedToMoveToTarget? [6:53:36 AM:615] Do NeedToMoveToTarget [6:53:36 AM:618] move to the target started [6:53:36 AM:757] NeedToMoveToTarget? [6:53:36 AM:779] Do NeedToMoveToTarget [6:53:36 AM:785] move to the target started [6:53:36 AM:922] NeedToMoveToTarget? It will eventually freeze up and just spam Code: [6:53:36 AM:922] NeedToMoveToTarget? Over and over and over. The bot completely freezes up unless another target walks closer.... Now in the last couple mins I've seen people complain in chat about other CC's doing this. Including both of Mord's and the other person bitched and left before I could ask what CC they were using earlier this morning. I've gotten it to throw two exceptions with adding a ton of error checking..... Code: Exception Caught: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 838, offset:281 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 884, offset:176 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 2347, offset:11 --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- at dtNavMesh.findPath(dtNavMesh* , UInt32 startRef, UInt32 endRef, Single* startPos, Single* endPos, dtQueryFilter* filter, IntPtr loadTileFunc, UInt32* path, Int32 maxPathSize) at Tripper.RecastManaged.Detour.NavMesh.FindPath(PolygonReference startRef, PolygonReference endRef, Vector3 startPos, Vector3 endPos, QueryFilter filter, Int32 maxPathSize) at (Object , PolygonReference , PolygonReference , Vector3 , Vector3 , QueryFilter , Int32 ) at Tripper.Navigation.Navigator.GeneratePath(Vector3 start, Vector3 end, QueryFilter filter, Int32 maxLength, StraightPathFlags[]& pathFlags, PolygonReference[]& straightPolys) at Tripper.Navigation.PathFollowing.TripperNav.MoveTowards(Vector3 point) at Styx.Logic.Pathing.Navigator.MoveTo(WoWPoint destination) at Shadowstrike.Rogue.Combat() in d:\Buddy Files\WoW 3.3.5a\HB 1.9.5.5[STABLE]\CustomClasses\Shadowstrike2\Combat.cs:line 82 Line 82: Code: Navigator.MoveTo(attackPoint); attackPoint Code: WoWPoint attackPointBuffer; WoWPoint attackPoint { get { if (Me.GotTarget) { attackPointBuffer = WoWMovement.CalculatePointFrom(Me.CurrentTarget.Location, 1.0f); return attackPointBuffer; } else { WoWPoint noSpot = new WoWPoint(); return noSpot; } } } And Code: Exception has been thrown by the target of an invocation. - From: mscorlib at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Delegate.DynamicInvokeImpl(Object[] args) at System.Delegate.DynamicInvoke(Object[] args) at (Object , Object[] ) at Styx.Logic.Targeting.(Delegate e, Object[] args)Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index People keep telling me its my CC. But its doing it in other peoples CC's too. There doesn't seem to be any rhyme or reason as to when it does it. It did NOT do this in previous versions of HB and I've changed absolutely zero in my movement code and have no targeting code....... So this is OBVIOUSLY something thats been messed with in the HB code. When this happens there are normally no errors thrown... (I had to add try/catch and activate more exception reporting with some Styx.* = True; settings to get this to even throw errors). When it happens. The bot just stands there, doesn't move, will only break this loop if something hits you, or something moves closer in the target list than what you currently have targeted. Edit: Thought it might be worth mentioning I've seen it throw that Nav error a LOT everywhere that a movement is calculated.
Also just thought I'd mention its extremely annoying trying to read my log window while working on my CC with all the [Activity: Combat] spam everytime it hits the Combat() loop.........
Yes, get rid of the stupid POI and Activity log spamming. I dont need 200 lines of the same line in my already jumbled logs. Hawker blames it on me but my code hasnt changed, only HB changed.
The same code I'm using now worked perfect in hb 1.9.5.0... now it doesn't work. I've even gone back to an unedited version of my cc and run it side by side on 1.9.5.0 and 1.9.5.5. It works perfect on 1.9.5.0 and hardly works at all on 1.9.5.5.... how is it our fault when our code hasn't changed and hb has been changed. It's coded correctly to C# compliance standards as well. So should we start coding in broken C# or what?
Code: WoWPoint attackPointBuffer; WoWPoint attackPoint { get { if (Me.GotTarget) { attackPointBuffer = WoWMovement.CalculatePointFrom(Me.CurrentTarget.Location, 1.0f); return attackPointBuffer; } else { WoWPoint noSpot = new WoWPoint(); return noSpot; } } } If you have no Target the point will be 0,0,0 that's less than great as it takes a long time to generate a path there (yes the bot could walk there) Just make sure you check Code: if (AttackPoint != WoWPoint.Empty) { Navigatior.MoveTo(AttackPoint); }
This is changed to output in the debug window now. Since you're printing stuff in between 'pulses' the message gets reprinted. (HB has a 2 message log 'spam' list)
Grinding. I haven't released this profile yet but I'll attach it anyways. Will also test the fix nesox posted as well. I check for target in the actual function that calls my attackPoint but maybe things are getting screwed up because I don't call it in the attack point. Will report back once I've had a chance to throw that in and run it for a few. PS) Sorry for disappearing last night after reporting for so long. I'm still having eye problems.
This is happened to me just now & I can't continue. [3:59:22 AM:224] StyxWoW.AreaManager.CurrentGrindArea is null [3:59:22 AM:230] NeedToMoveToTarget? Get's spammed, over and over in the debug log, profile I was using is Likwid's Howling Fjord Profile 68-73.
Still Happening Code: [8:35:04 AM:492] Changed POI to: Type: None, Loc: <0, 0, 0> [8:35:07 AM:446] NeedToMoveToTarget? [8:35:07 AM:467] Do NeedToMoveToTarget [8:35:07 AM:471] move to the target started [8:35:07 AM:475] Activity: Moving towards Marsh Caribou [8:35:07 AM:616] NeedToMoveToTarget? [8:35:07 AM:635] Do NeedToMoveToTarget [8:35:07 AM:637] move to the target started [8:35:07 AM:768] NeedToMoveToTarget? [8:35:07 AM:797] Do NeedToMoveToTarget [8:35:07 AM:800] move to the target started [8:35:07 AM:923] NeedToMoveToTarget? [8:35:07 AM:934] Do NeedToMoveToTarget [8:35:07 AM:936] move to the target started [8:35:08 AM:60] NeedToMoveToTarget? [8:35:08 AM:74] Do NeedToMoveToTarget [8:35:08 AM:76] move to the target started [8:35:08 AM:201] NeedToMoveToTarget? [8:35:08 AM:238] Do NeedToMoveToTarget [8:35:08 AM:240] move to the target started [8:35:08 AM:397] NeedToMoveToTarget? [8:35:08 AM:407] Do NeedToMoveToTarget [8:35:08 AM:421] move to the target started [8:35:08 AM:547] NeedToMoveToTarget? [8:35:08 AM:573] Do NeedToMoveToTarget [8:35:08 AM:575] move to the target started [8:35:08 AM:704] NeedToMoveToTarget? [8:35:08 AM:711] Do NeedToMoveToTarget [8:35:08 AM:714] move to the target started [8:35:08 AM:840] NeedToMoveToTarget? [8:35:08 AM:848] Do NeedToMoveToTarget [8:35:08 AM:850] move to the target started [8:35:08 AM:974] NeedToMoveToTarget? [8:35:08 AM:987] Do NeedToMoveToTarget [8:35:08 AM:989] move to the target started [8:35:09 AM:155] NeedToMoveToTarget? [8:35:09 AM:313] NeedToMoveToTarget? [8:35:09 AM:444] NeedToMoveToTarget? [8:35:09 AM:583] NeedToMoveToTarget? [8:35:09 AM:723] NeedToMoveToTarget? [8:35:09 AM:919] NeedToMoveToTarget? [8:35:09 AM:929] Do NeedToMoveToTarget [8:35:09 AM:931] move to the target started [8:35:10 AM:91] NeedToMoveToTarget? [8:35:10 AM:120] Do NeedToMoveToTarget [8:35:10 AM:122] move to the target started [8:35:10 AM:271] NeedToMoveToTarget? [8:35:10 AM:284] Do NeedToMoveToTarget [8:35:10 AM:287] move to the target started [8:35:10 AM:481] NeedToMoveToTarget? [8:35:10 AM:492] Do NeedToMoveToTarget [8:35:10 AM:495] move to the target started [8:35:10 AM:637] NeedToMoveToTarget? [8:35:10 AM:648] Do NeedToMoveToTarget [8:35:10 AM:651] move to the target started [8:35:10 AM:802] NeedToMoveToTarget? [8:35:10 AM:812] Do NeedToMoveToTarget [8:35:10 AM:814] move to the target started [8:35:11 AM:32] NeedToMoveToTarget? [8:35:11 AM:41] Do NeedToMoveToTarget [8:35:11 AM:44] move to the target started [8:35:11 AM:250] NeedToMoveToTarget? [8:35:11 AM:390] NeedToMoveToTarget? [8:35:11 AM:522] NeedToMoveToTarget? [8:35:11 AM:662] NeedToMoveToTarget? [8:35:11 AM:828] NeedToMoveToTarget? [8:35:11 AM:972] NeedToMoveToTarget? [8:35:12 AM:128] NeedToMoveToTarget? [8:35:12 AM:273] NeedToMoveToTarget? [8:35:12 AM:408] NeedToMoveToTarget? [8:35:12 AM:546] NeedToMoveToTarget? [8:35:12 AM:730] NeedToMoveToTarget? [8:35:12 AM:892] NeedToMoveToTarget? [8:35:13 AM:46] NeedToMoveToTarget? [8:35:13 AM:182] NeedToMoveToTarget? [8:35:13 AM:335] NeedToMoveToTarget? [8:35:13 AM:498] NeedToMoveToTarget? [8:35:13 AM:624] NeedToMoveToTarget? [8:35:13 AM:762] NeedToMoveToTarget? [8:35:13 AM:944] NeedToMoveToTarget? [8:35:14 AM:93] NeedToMoveToTarget? [8:35:14 AM:226] NeedToMoveToTarget? [8:35:14 AM:363] NeedToMoveToTarget? [8:35:14 AM:521] NeedToMoveToTarget? [8:35:14 AM:670] NeedToMoveToTarget? [8:35:14 AM:814] NeedToMoveToTarget? [8:35:14 AM:945] NeedToMoveToTarget? [8:35:15 AM:84] NeedToMoveToTarget? [8:35:15 AM:242] NeedToMoveToTarget? [8:35:15 AM:388] NeedToMoveToTarget? [8:35:15 AM:528] NeedToMoveToTarget? [8:35:15 AM:663] NeedToMoveToTarget? [8:35:15 AM:803] NeedToMoveToTarget? [8:35:15 AM:961] NeedToMoveToTarget? [8:35:16 AM:113] NeedToMoveToTarget? [8:35:16 AM:249] NeedToMoveToTarget? [8:35:16 AM:385] NeedToMoveToTarget? [8:35:16 AM:557] NeedToMoveToTarget? [8:35:16 AM:692] NeedToMoveToTarget? [8:35:16 AM:830] NeedToMoveToTarget? [8:35:16 AM:963] NeedToMoveToTarget? [8:35:17 AM:128] NeedToMoveToTarget? [8:35:17 AM:274] NeedToMoveToTarget? [8:35:17 AM:413] NeedToMoveToTarget? [8:35:17 AM:545] NeedToMoveToTarget? [8:35:17 AM:682] NeedToMoveToTarget? [8:35:17 AM:821] NeedToMoveToTarget? [8:35:17 AM:977] NeedToMoveToTarget? [8:35:18 AM:131] NeedToMoveToTarget? [8:35:18 AM:260] NeedToMoveToTarget? [8:35:18 AM:396] NeedToMoveToTarget? [8:35:18 AM:577] NeedToMoveToTarget? [8:35:18 AM:713] NeedToMoveToTarget? [8:35:18 AM:867] NeedToMoveToTarget? [8:35:19 AM:1] NeedToMoveToTarget? [8:35:19 AM:176] NeedToMoveToTarget? [8:35:19 AM:316] NeedToMoveToTarget? [8:35:19 AM:464] NeedToMoveToTarget? [8:35:19 AM:603] NeedToMoveToTarget? [8:35:19 AM:757] NeedToMoveToTarget? [8:35:19 AM:919] NeedToMoveToTarget? [8:35:20 AM:52] NeedToMoveToTarget? [8:35:20 AM:185] NeedToMoveToTarget? [8:35:20 AM:370] NeedToMoveToTarget? [8:35:20 AM:517] NeedToMoveToTarget? [8:35:20 AM:654] NeedToMoveToTarget? [8:35:20 AM:791] NeedToMoveToTarget? [8:35:20 AM:931] NeedToMoveToTarget? [8:35:21 AM:96] NeedToMoveToTarget? [8:35:21 AM:235] NeedToMoveToTarget? [8:35:21 AM:375] NeedToMoveToTarget? [8:35:21 AM:511] NeedToMoveToTarget? [8:35:21 AM:649] NeedToMoveToTarget? [8:35:21 AM:826] NeedToMoveToTarget? [8:35:21 AM:994] NeedToMoveToTarget? [8:35:22 AM:123] NeedToMoveToTarget? [8:35:22 AM:260] NeedToMoveToTarget? [8:35:22 AM:437] NeedToMoveToTarget? [8:35:22 AM:569] NeedToMoveToTarget? [8:35:22 AM:732] NeedToMoveToTarget? [8:35:22 AM:871] NeedToMoveToTarget? [8:35:23 AM:6] NeedToMoveToTarget? [8:35:23 AM:146] NeedToMoveToTarget? [8:35:23 AM:283] NeedToMoveToTarget? [8:35:23 AM:434] NeedToMoveToTarget? [8:35:23 AM:571] NeedToMoveToTarget? [8:35:23 AM:709] NeedToMoveToTarget? [8:35:23 AM:875] NeedToMoveToTarget? [8:35:24 AM:27] NeedToMoveToTarget? [8:35:24 AM:154] NeedToMoveToTarget? [8:35:24 AM:295] NeedToMoveToTarget? [8:35:24 AM:431] NeedToMoveToTarget? [8:35:24 AM:597] NeedToMoveToTarget? [8:35:24 AM:743] NeedToMoveToTarget? [8:35:24 AM:876] NeedToMoveToTarget? [8:35:25 AM:12] NeedToMoveToTarget? [8:35:25 AM:190] NeedToMoveToTarget? [8:35:25 AM:321] NeedToMoveToTarget? [8:35:25 AM:453] NeedToMoveToTarget? [8:35:25 AM:617] NeedToMoveToTarget? [8:35:25 AM:756] NeedToMoveToTarget? [8:35:25 AM:919] NeedToMoveToTarget? [8:35:26 AM:56] NeedToMoveToTarget? [8:35:26 AM:204] NeedToMoveToTarget? [8:35:26 AM:343] NeedToMoveToTarget? [8:35:26 AM:514] NeedToMoveToTarget? [8:35:26 AM:653] NeedToMoveToTarget? [8:35:26 AM:787] NeedToMoveToTarget? [8:35:26 AM:924] NeedToMoveToTarget? [8:35:27 AM:61] NeedToMoveToTarget? [8:35:27 AM:218] NeedToMoveToTarget? [8:35:27 AM:371] NeedToMoveToTarget? [8:35:27 AM:506] NeedToMoveToTarget? [8:35:27 AM:641] NeedToMoveToTarget? [8:35:27 AM:793] NeedToMoveToTarget? [8:35:27 AM:955] NeedToMoveToTarget? [8:35:28 AM:82] NeedToMoveToTarget? [8:35:28 AM:218] NeedToMoveToTarget? [8:35:28 AM:359] NeedToMoveToTarget? [8:35:28 AM:533] NeedToMoveToTarget? [8:35:28 AM:678] NeedToMoveToTarget? [8:35:28 AM:828] NeedToMoveToTarget? [8:35:28 AM:967] NeedToMoveToTarget? [8:35:29 AM:128] NeedToMoveToTarget? [8:35:29 AM:273] NeedToMoveToTarget? [8:35:29 AM:408] NeedToMoveToTarget? [8:35:29 AM:545] NeedToMoveToTarget? [8:35:29 AM:703] NeedToMoveToTarget? [8:35:29 AM:856] NeedToMoveToTarget? [8:35:29 AM:991] NeedToMoveToTarget? [8:35:30 AM:129] NeedToMoveToTarget? [8:35:30 AM:287] NeedToMoveToTarget? [8:35:30 AM:447] NeedToMoveToTarget? [8:35:30 AM:574] NeedToMoveToTarget? [8:35:30 AM:713] NeedToMoveToTarget? [8:35:30 AM:852] NeedToMoveToTarget? [8:35:30 AM:991] NeedToMoveToTarget? [8:35:31 AM:164] NeedToMoveToTarget? [8:35:31 AM:315] NeedToMoveToTarget? [8:35:31 AM:450] NeedToMoveToTarget? [8:35:31 AM:587] NeedToMoveToTarget? [8:35:31 AM:745] NeedToMoveToTarget? [8:35:31 AM:881] NeedToMoveToTarget? [8:35:32 AM:8] NeedToMoveToTarget? [8:35:32 AM:145] NeedToMoveToTarget? [8:35:32 AM:312] NeedToMoveToTarget? [8:35:32 AM:454] NeedToMoveToTarget? [8:35:32 AM:592] NeedToMoveToTarget? [8:35:32 AM:725] NeedToMoveToTarget? [8:35:32 AM:863] NeedToMoveToTarget? [8:35:33 AM:29] NeedToMoveToTarget? [8:35:33 AM:172] NeedToMoveToTarget? [8:35:33 AM:313] NeedToMoveToTarget? [8:35:33 AM:455] NeedToMoveToTarget? [8:35:33 AM:650] NeedToMoveToTarget? [8:35:33 AM:787] NeedToMoveToTarget? [8:35:33 AM:924] NeedToMoveToTarget? [8:35:34 AM:59] NeedToMoveToTarget? [8:35:34 AM:229] NeedToMoveToTarget? [8:35:34 AM:367] NeedToMoveToTarget? [8:35:34 AM:517] NeedToMoveToTarget? [8:35:34 AM:657] NeedToMoveToTarget? [8:35:34 AM:831] NeedToMoveToTarget? [8:35:34 AM:994] NeedToMoveToTarget? [8:35:35 AM:128] NeedToMoveToTarget? No exception thrown this time. I can't seem to get it to throw one consistantly. This is with checks to make sure it has every where movement is called as well to make sure movement point isn't 0,0,0. Like nesox showed in previous post.
I was having the same problem in Thistleshrub and fixed it by bringing my pull distance down below 40. Dont know if that helps you guys but I was getting the move to target stall every 15-20 kills.
My Pull Distance is always 30 or below as a rogue. It takes too long to walk to something stealthed otherwise. I only use above that on Tanks (DK, Pally, Warrior) and Enhancement Shaman/Demo Warlock.
Temporary Fix for this that appears to work with no other problems caused yet at http://www.buddyforum.de/showthread...-Loop-and-Standing-Around&p=100542#post100542
I get this using both the original warrior CC and The One CC (or w/e the name was) while using Syniks Hyacinth Macaw farming profile (without boats). Tried his profile with boats and another profile for farming there aswell. Level 65 prot war. Have gotten the stuck bug more and more often since this afternoon to the point where I got it every minute. The fix above works very smoothly so far tho.