bottern93 0 Posted December 26, 2018 Share Posted December 26, 2018 One of my scripts has recently moved zone to a place with a lot of water. It ends up oom in the water while fighting and then tries to drink, which you can't do while swimming. The log only says this: It just keeps trying to click the water until my mana has naturally refilled. Any fixes? Link to comment https://wrobot.eu/forums/topic/10549-vanilla-drinking-while-swimming/ Share on other sites More sharing options...
CocoChanel 63 Posted December 26, 2018 Share Posted December 26, 2018 Someone who need to make a plugin that swims to land and starts drinking/eating for this to work. Link to comment https://wrobot.eu/forums/topic/10549-vanilla-drinking-while-swimming/#findComment-50175 Share on other sites More sharing options...
Matenia 630 Posted December 26, 2018 Share Posted December 26, 2018 You can't really RayCast for "non-liquid" areas. At least when I tried the LoS check that Droidz has implemented for it, it never worked (probably not in vanilla), so you can't find a spot that's not liquid and therefore can't navigate out of water. Link to comment https://wrobot.eu/forums/topic/10549-vanilla-drinking-while-swimming/#findComment-50176 Share on other sites More sharing options...
Droidz 2742 Posted December 26, 2018 Share Posted December 26, 2018 Hello, I checked and WRobot don't regen if your character swim. About traceline flag seem not correct on Vanilla, I'll check if I can fix it, but you can try code like: var posToCheck = new Vector3(1, 2, 3); Vector3 hit; wManager.Wow.Helpers.TraceLine.TraceLineGo(posToCheck + new Vector3(0, 0, 20), posToCheck, CGWorldFrameHitFlags.HitTestAll, out hit); if (hit.Z > ObjectManager.Me.Position.Z) { // out of water? } Matenia 1 Link to comment https://wrobot.eu/forums/topic/10549-vanilla-drinking-while-swimming/#findComment-50183 Share on other sites More sharing options...
bottern93 0 Posted December 27, 2018 Author Share Posted December 27, 2018 So until a fix appears somehow (if possible), I just got to blacklist water / turn off drinking I guess? Link to comment https://wrobot.eu/forums/topic/10549-vanilla-drinking-while-swimming/#findComment-50191 Share on other sites More sharing options...
Edgewood411 6 Posted December 27, 2018 Share Posted December 27, 2018 5 minutes ago, bottern93 said: So until a fix appears somehow (if possible), I just got to blacklist water / turn off drinking I guess? Or just wait let the bot wait it out till natural regen gets you to 100??????????????????????????????? Any quests in water should be completely fairly quickly. Link to comment https://wrobot.eu/forums/topic/10549-vanilla-drinking-while-swimming/#findComment-50192 Share on other sites More sharing options...
src000 0 Posted September 13, 2023 Share Posted September 13, 2023 On 12/27/2018 at 7:03 PM, Edgewood411 said: Or just wait let the bot wait it out till natural regen gets you to 100??????????????????????????????? Any quests in water should be completely fairly quickly. bot isnt wait he goes next mob even if u turn drink on Link to comment https://wrobot.eu/forums/topic/10549-vanilla-drinking-while-swimming/#findComment-68753 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