Weer36 3 Posted May 16, 2023 Share Posted May 16, 2023 Is it possible to make public method of find safe resurrect point ? It would be useful for avoid mobs Link to comment https://wrobot.eu/forums/topic/15175-regeneration-state/ Share on other sites More sharing options...
Matenia 630 Posted May 17, 2023 Share Posted May 17, 2023 WRobot already does this. It only kinda-sorta works. Long story short, it's extremely difficult, especially because every server and expansion has a different resurrection and aggro radius and you can never fully avoid mobs. Especially if they keep moving as you're trying to find a safe spot. It's best to just have a profile that will not put you into spots where you're likely to die in a dead lock or write code that makes you escape from combat, either before dying or so you are then in a safe spot to rezz. Link to comment https://wrobot.eu/forums/topic/15175-regeneration-state/#findComment-68192 Share on other sites More sharing options...
Weer36 3 Posted May 17, 2023 Author Share Posted May 17, 2023 5 hours ago, Matenia said: WRobot already does this. It only kinda-sorta works. Rlyy?? Say name of this method then. Link to comment https://wrobot.eu/forums/topic/15175-regeneration-state/#findComment-68196 Share on other sites More sharing options...
Matenia 630 Posted May 17, 2023 Share Posted May 17, 2023 Decompile the Resurrect state and have a look yourself Weer36 1 Link to comment https://wrobot.eu/forums/topic/15175-regeneration-state/#findComment-68198 Share on other sites More sharing options...
Weer36 3 Posted May 17, 2023 Author Share Posted May 17, 2023 So Your's answer is "google it", well, TYVM! Thank a lot. And... thank ine more time, it's very helpful. Or helpless... sorry for my bad english Link to comment https://wrobot.eu/forums/topic/15175-regeneration-state/#findComment-68199 Share on other sites More sharing options...
Weer36 3 Posted May 17, 2023 Author Share Posted May 17, 2023 Translate my question "it possible to make public method" please in usual english, which translate into understandable for everyone. IDK why You answer to me, that wrobot already do this. Do what?? Link to comment https://wrobot.eu/forums/topic/15175-regeneration-state/#findComment-68200 Share on other sites More sharing options...
Matenia 630 Posted May 17, 2023 Share Posted May 17, 2023 I never told you to Google it. I told you to the class is https://wrobot.eu/byme/doc/html/T-wManager.Wow.Bot.States.Resurrect.htm You can create a new instance and then call Run on it. But you need to decompile it if you ACTUALLY want to look at the code. If you think you can just call "rezz in safe spot pls", it doesn't work like that. I told you from the start, WRobot already does it. That's as good as it will get. I promise you, you will not be able to write better code. I've spent days on it myself back in the day. Link to comment https://wrobot.eu/forums/topic/15175-regeneration-state/#findComment-68201 Share on other sites More sharing options...
TechMecca 7 Posted May 17, 2023 Share Posted May 17, 2023 I’m confused, the variable is a public static, I don’t think there is a way to make it more public, Link to comment https://wrobot.eu/forums/topic/15175-regeneration-state/#findComment-68202 Share on other sites More sharing options...
Weer36 3 Posted May 17, 2023 Author Share Posted May 17, 2023 what variable You talking about? Im asking not variable, but method. But ty to Matenia, i decompiled and saw its not a dedicated method. Link to comment https://wrobot.eu/forums/topic/15175-regeneration-state/#findComment-68203 Share on other sites More sharing options...
Weer36 3 Posted May 17, 2023 Author Share Posted May 17, 2023 I got You all. I asked for using kinda "FindSavePoint" method for avoiding in my case, not for resurrect. Resurrect state I just called cuz bot using safe point for resurrecting. Link to comment https://wrobot.eu/forums/topic/15175-regeneration-state/#findComment-68204 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