naviomg 4 Posted October 9, 2018 Share Posted October 9, 2018 trying to wait on my partymembers in a questing profile. this works as runcode: int readyMembers = 0; var totalMembers = wManager.Wow.Helpers.Party.GetParty().Count(); while (readyMembers != totalMembers) { readyMembers = wManager.Wow.Helpers.Party.GetParty().Where(u => u.GetDistance <= 5).Count(); System.Threading.Thread.Sleep(3000); } but the second i run the folowwing in the script tag wManager.Wow.Helpers.Party.GetParty().Where(u => u.GetDistance <= 5).Count(); i get the error: Quester.Bot > Pulse(): System.NullReferenceException: Object reference not set to an instance of an object. at Quester.Bot.Bot.Pulse(Boolean loadSettingsProfile, String profile) same happens to any for and foreach loops, everything else is working fine in the script tag. anyone know what the exact error here? Link to comment https://wrobot.eu/forums/topic/10239-limitation-of-custom-script-tag-in-quester/ 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