Jump to content

Restart profile


Recommended Posts

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
Share on other sites

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
Share on other sites

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
Share on other sites

Try to run code:

        new Thread(() =>
        {
            robotManager.Products.Products.ProductStop();
            Thread.Sleep(1000);
            robotManager.Products.Products.ProductStart();
        }).Start();

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...