NvD 7 Posted September 2, 2016 Share Posted September 2, 2016 hey all, I want to create a customer profile to kill some mobs, but i want to kill only a specific number of mobs and for a limit time (if possible) then log out / exit bot or game. I have create a custom profile to kill the mobs, but i dont know how to update .cs file to kill only a specific number of mobs. Can anyone help please ? :) Regards, NvD TheCreepingMist.cs Link to comment https://wrobot.eu/forums/topic/3753-how-to-lua-program-only-to-kill-a-specific-number-of-mobs-then-possible-log-out-close-game/ Share on other sites More sharing options...
Droidz 2738 Posted September 3, 2016 Share Posted September 3, 2016 Hello, you can get number of mob kills in "wManager.Statistics.Kills". The better way is to create plugin. But you can add this code in your custom profile: int maxKill = 10; if (wManager.Statistics.Kills >= maxKill && Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !Conditions.IsAttackedAndCannotIgnore) { try { Memory.WowMemory.Memory.GetProcess().Kill(); // if you want close game } catch {} robotManager.Products.Products.ProductStop(); } BetterSister 1 Link to comment https://wrobot.eu/forums/topic/3753-how-to-lua-program-only-to-kill-a-specific-number-of-mobs-then-possible-log-out-close-game/#findComment-17582 Share on other sites More sharing options...
NvD 7 Posted September 6, 2016 Author Share Posted September 6, 2016 Thanks, I will try it soon :) Link to comment https://wrobot.eu/forums/topic/3753-how-to-lua-program-only-to-kill-a-specific-number-of-mobs-then-possible-log-out-close-game/#findComment-17681 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