What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Control HBRelog from plugin

murkop

New Member
Joined
Mar 17, 2016
Messages
18
Hi, how can I control from my plugin hbrelog, what I want to achieve is to turn off the bot on HBRelog level, something like when some event occurs I want to turn off HB and stop the profile in HBRelog. I remember that in old versions of HB I could find remoting plugin and cast it and use the apis that I wanted. But as of now it seems like the Plugins are wrapped and there is no way to get the plugin. Thanks in advance and hope the wise gurus will help me.
 
Plugin
PHP:
private static Bots.Professionbuddy.Dynamic.HBRelogApi HBRelogRemoteApi = Bots.Professionbuddy.Dynamic.Helpers.HBRelog;

HBRelogRemoteApi.RestartHB();
HBRelogRemoteApi.SkipCurrentTask(HBRelogRemoteApi.CurrentProfileName);


Questing profile
PHP:
<CustomBehavior File="RunCode" Type="Definition"><![CDATA[Bots.Professionbuddy.Dynamic.HBRelogApi HBRelogRemoteApi = Bots.Professionbuddy.Dynamic.Helpers.HBRelog;]]></CustomBehavior>
<CustomBehavior File="RunCode" Code="HBRelogRemoteApi.RestartHB();" />
<CustomBehavior File="RunCode" Code="HBRelogRemoteApi.SkipCurrentTask(HBRelogRemoteApi.CurrentProfileName);" />
 
Last edited:
Back
Top