genovefa Posted November 20, 2025 Report Posted November 20, 2025 Calling anyone who ever used the pathTraverser I'm using a GUI to send the destination to an AITask running on my entity. It doesn't go to the destination - it goes northwest forever until the AITask expires everytime, so (-, -). I tried sending one north and one south to test this, and some other positions. Does anybody see a potential reason? My prints confirm that the destinations are getting across (follows). ```cs public override void StartExecute() { Vec3d d = new Vec3d(destination.X, destination.Y, destination.Z); Console.WriteLine("Dest:" + destination.X +", " + destination.Z); pathTraverser.NavigateTo_Async( d, // target moveSpeed, // movingspeed 0.12f, // target distance () => { }, // on goal reached () => { stuck = true; Console.WriteLine("Strider is stuck"); } // onstuck ); } ``` ``` 19.11.2025 21:17:56 [Client Warning] =============================================================== 19.11.2025 21:19:31 [Server Notification] [siltstriders] Received SiltStriderNavigationMessage from genovefawith dest1000, 5, 1000 19.11.2025 21:19:31 [Server Notification] [siltstriders] Found AiTask on strider:1000, 5, 1000, vssiltstrider.src.AiTaskFollowCourse Dest:1000, 1000 task x: 19.11.2025 21:19:38 [Server Notification] [siltstriders] Received SiltStriderNavigationMessage from genovefawith dest-1000, 5, -1000 19.11.2025 21:19:38 [Server Notification] [siltstriders] Found AiTask on strider:-1000, 5, -1000, vssiltstrider.src.AiTaskFollowCourse Dest:-1000, -1000 ``` (Spawned 2 of them and they went the same way, NW, or (-, -)
genovefa Posted November 20, 2025 Author Report Posted November 20, 2025 (edited) It's just so weird, I seem to use the pathTraverser like other code in vanilla (seekBlockAndLay.cs AITask, vsvillages mod, etc...) and it routes them to go northwest forever instead of toward the parameter. Source is here: https://github.com/awmc000/vs-silt/tree/main/vs-siltstrider/vs-siltstrider/vs-siltstrider/src Edited November 20, 2025 by genovefa
Recommended Posts