kpeno 1 Posted April 4, 2017 Share Posted April 4, 2017 Hi, i try use robotManager.Products.Products.ProductRestart(); runcode in profile(and i try in plugin also), but after bot try use this command - plugins working, fight class and any other movement not working ) I was expecting stop, start bot after this command ) Link to comment https://wrobot.eu/forums/topic/5571-restart-profile/ Share on other sites More sharing options...
Droidz 2738 Posted April 5, 2017 Share Posted April 5, 2017 Hello, what profile(product) do you want restart? And why? Link to comment https://wrobot.eu/forums/topic/5571-restart-profile/#findComment-25473 Share on other sites More sharing options...
kpeno 1 Posted April 5, 2017 Author Share Posted April 5, 2017 1 hour ago, Droidz said: Hello, what profile(product) do you want restart? And why? I want stop/start bot for reload profile ) Link to comment https://wrobot.eu/forums/topic/5571-restart-profile/#findComment-25480 Share on other sites More sharing options...
Droidz 2738 Posted April 5, 2017 Share Posted April 5, 2017 What product do you use? Link to comment https://wrobot.eu/forums/topic/5571-restart-profile/#findComment-25481 Share on other sites More sharing options...
eeny 523 Posted April 5, 2017 Share Posted April 5, 2017 8 hours ago, kpeno said: I want stop/start bot for reload profile ) to do this i use the "loadprofile" pulse... and just point it to the same profile thats running. Link to comment https://wrobot.eu/forums/topic/5571-restart-profile/#findComment-25519 Share on other sites More sharing options...
kpeno 1 Posted April 6, 2017 Author Share Posted April 6, 2017 1 hour ago, eeny said: to do this i use the "loadprofile" pulse... and just point it to the same profile thats running. Yes, but i use profile in profile and want restart from plugin for avoid bugs with auto blacklist repair npc after x time ) Link to comment https://wrobot.eu/forums/topic/5571-restart-profile/#findComment-25522 Share on other sites More sharing options...
Droidz 2738 Posted April 7, 2017 Share Posted April 7, 2017 Try to run code: new Thread(() => { robotManager.Products.Products.ProductStop(); Thread.Sleep(1000); robotManager.Products.Products.ProductStart(); }).Start(); Link to comment https://wrobot.eu/forums/topic/5571-restart-profile/#findComment-25556 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