BetterSister 367 Posted July 29, 2016 Share Posted July 29, 2016 So yeah i'm trying to find a way to fix getting into dungeon from after death but it doesn't want to work. Looks like whole thread doesn't work :S Thread t = new Thread(() => { Vector3 graveyard = new Vector3(2985.368, 1863.565, 143.6038); var path = new List<Vector3>() { new Vector3(2984.237f, 1864.012f, 146.22f, "Flying"), new Vector3(2986.439f, 1861.495f, 149.03f, "Flying"), new Vector3(2992.769f, 1854.262f, 158.6414f, "Flying"), new Vector3(2999.182f, 1847.257f, 168.14f, "Flying"), new Vector3(3005.784f, 1840.324f, 177.7138f, "Flying"), new Vector3(3013.647f, 1833.055f, 184.1334f, "Flying"), new Vector3(3023.958f, 1824.107f, 184.8896f, "Flying"), new Vector3(3034.01f, 1815.389f, 185.6304f, "Flying"), new Vector3(3044.403f, 1806.375f, 186.3962f, "Flying"), new Vector3(3054.375f, 1797.727f, 187.131f, "Flying"), new Vector3(3064.728f, 1788.748f, 187.8938f, "Flying"), new Vector3(3074.88f, 1779.943f, 188.6419f, "Flying"), new Vector3(3085.033f, 1771.138f, 189.39f, "Flying"), new Vector3(3095.145f, 1762.367f, 190.1351f, "Flying"), new Vector3(3105.458f, 1753.423f, 190.8951f, "Flying"), new Vector3(3115.39f, 1744.809f, 191.6269f, "Flying"), new Vector3(3125.783f, 1735.796f, 192.3927f, "Flying"), new Vector3(3135.775f, 1727.13f, 193.129f, "Flying"), new Vector3(3146.108f, 1718.168f, 193.8904f, "Flying"), new Vector3(3156.1f, 1709.502f, 194.6266f, "Flying"), new Vector3(3166.473f, 1700.506f, 195.391f, "Flying"), new Vector3(3176.505f, 1691.805f, 196.1302f, "Flying"), new Vector3(3186.798f, 1682.878f, 196.8886f, "Flying"), new Vector3(3196.89f, 1674.125f, 197.6323f, "Flying"), new Vector3(3207.183f, 1665.198f, 198.3907f, "Flying"), new Vector3(3217.336f, 1656.393f, 199.1388f, "Flying"), new Vector3(3227.528f, 1647.554f, 199.8898f, "Flying"), new Vector3(3237.821f, 1638.627f, 200.6483f, "Flying"), new Vector3(3247.893f, 1629.891f, 201.3904f, "Flying"), new Vector3(3257.724f, 1620.555f, 200.1882f, "Flying"), new Vector3(3267.132f, 1611.225f, 199.3978f, "Flying"), new Vector3(3276.861f, 1601.578f, 198.5805f, "Flying"), new Vector3(3286.288f, 1592.229f, 197.7885f, "Flying"), new Vector3(3296.017f, 1582.582f, 196.9712f, "Flying"), new Vector3(3305.425f, 1573.252f, 196.1808f, "Flying"), new Vector3(3315.097f, 1563.661f, 195.3682f, "Flying"), new Vector3(3324.543f, 1554.294f, 194.5746f, "Flying"), new Vector3(3334.23f, 1544.901f, 192.5421f, "Flying"), new Vector3(3344.105f, 1536.33f, 190.6085f, "Flying"), new Vector3(3354.766f, 1527.838f, 189.0042f, "Flying"), new Vector3(3365.238f, 1519.785f, 188.0208f, "Flying"), new Vector3(3376.116f, 1511.419f, 187.13f, "Flying"), new Vector3(3386.615f, 1503.346f, 186.2493f, "Flying"), new Vector3(3397.466f, 1495.133f, 184.9396f, "Flying"), }; while (robotManager.Products.Products.IsStarted) { if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause) { if (ObjectManager.Me.Position.DistanceTo2D(graveyard) > 10 || Usefuls.ContinentId != 530) { break; } if (ObjectManager.Me.Position.DistanceTo2D(graveyard) < 10) { while (ObjectManager.Me.Position.DistanceTo2D(new Vector3(3403.825f, 1490.002f, 182.8366f)) > 10) { MovementManager.Go(path); } QuestAction.GoToStep = 1; } } } }); Link to comment https://wrobot.eu/forums/topic/3526-in-middle-of-profile-if-i-suddenly-appear-at-graveyard-do-this/ Share on other sites More sharing options...
BetterSister 367 Posted July 29, 2016 Author Share Posted July 29, 2016 how stupid can someone be? t.Start(); at end would help Link to comment https://wrobot.eu/forums/topic/3526-in-middle-of-profile-if-i-suddenly-appear-at-graveyard-do-this/#findComment-16263 Share on other sites More sharing options...
BetterSister 367 Posted July 29, 2016 Author Share Posted July 29, 2016 now i need to figure out how i tell the script to go to step 1 on profile Link to comment https://wrobot.eu/forums/topic/3526-in-middle-of-profile-if-i-suddenly-appear-at-graveyard-do-this/#findComment-16264 Share on other sites More sharing options...
Pasterke 98 Posted July 29, 2016 Share Posted July 29, 2016 the old fashion way, with a goto. Link to comment https://wrobot.eu/forums/topic/3526-in-middle-of-profile-if-i-suddenly-appear-at-graveyard-do-this/#findComment-16265 Share on other sites More sharing options...
BetterSister 367 Posted July 29, 2016 Author Share Posted July 29, 2016 Can't use goto cuz pathfinder doesn't find way Link to comment https://wrobot.eu/forums/topic/3526-in-middle-of-profile-if-i-suddenly-appear-at-graveyard-do-this/#findComment-16266 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now