emc
New Member
- Joined
- Jun 15, 2012
- Messages
- 190
- Reaction score
- 3
EMCBehaviors
Introduces behaviours that can be used in your profile xmls. Whats so advanced about it? It is in the way we approach the behavior. Normally, a behavior is not associated with a plugin. But, EMCBehaviors is tied with the EMCBehaviors plugin. For the implemented behaviour xml tags (things) to work successfully you will need to enable EMCBehaviors plugin. Why? What the fuck, why is it so complicated? Because I can. In short, it provides us more flexibility and are more powerful than normal behaviours; since we can take advantage of the OnPulse events on a plugin.
What do I have to do?
What Tags does this support?
[h=4]
[/h]<autohealthpotion name=?Heroic Health Potion? percent=?0.25? />
<deathrestart death-count=?1? />
<logmessage message=?hello world!? />
<safetownportal radius=?20? />
<setcombat radius=?40? />
<setloot radius=?40? />
<timedrestart max-time=?30/>
<trackloot />
<track name=?CellarFound? op=?+? value=?1?/>
op values = *, +, -, /, R, C
<tracktime name=?TimeInCellar? op=?restart?/>
op values = start, stop, restart, start-if-stopped, reset
Note
Remember to enable EMCBehaviors plugin, otherwise the tags will NOT behave accordingly.
Plugin Replacement
EMCBehaviors plugin+behaviors combo provides functionality that replace the following plugins:
Errors
When you get xml errors when starting bot, please change to a different profile that doesn't use any of the EMC behavior tags and then switch back.
EMCB 2.0 Versions
[TABLE="class: grid, width: 500, align: left"]
[TR]
[TD]File[/TD]
[TD]Version[/TD]
[TD]Comments[/TD]
[/TR]
[TR]
[TD]View attachment EMCB-v2.zip[/TD]
[TD]2.0.0.0[/TD]
[TD]New version, more features.[/TD]
[/TR]
[TR]
[TD]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[/TABLE]
Latest Update: v2.0.0.0 Get it! TEST it please!
Introduces behaviours that can be used in your profile xmls. Whats so advanced about it? It is in the way we approach the behavior. Normally, a behavior is not associated with a plugin. But, EMCBehaviors is tied with the EMCBehaviors plugin. For the implemented behaviour xml tags (things) to work successfully you will need to enable EMCBehaviors plugin. Why? What the fuck, why is it so complicated? Because I can. In short, it provides us more flexibility and are more powerful than normal behaviours; since we can take advantage of the OnPulse events on a plugin.
What do I have to do?
- Extract the file into the plugins folder.
- Replace/add the appropriate tags in your profile xml.
What Tags does this support?
[h=4]
[/h]<autohealthpotion name=?Heroic Health Potion? percent=?0.25? />
<deathrestart death-count=?1? />
<logmessage message=?hello world!? />
<safetownportal radius=?20? />
<setcombat radius=?40? />
<setloot radius=?40? />
<timedrestart max-time=?30/>
<trackloot />
<track name=?CellarFound? op=?+? value=?1?/>
op values = *, +, -, /, R, C
<tracktime name=?TimeInCellar? op=?restart?/>
op values = start, stop, restart, start-if-stopped, reset
Note
Remember to enable EMCBehaviors plugin, otherwise the tags will NOT behave accordingly.
Plugin Replacement
EMCBehaviors plugin+behaviors combo provides functionality that replace the following plugins:
- CancelLogout
- Death Restarters
- Stat trackers
Errors
Failed to load profile: Element SetCombat is not supported. Please check your XML and try again. (<SetCombat radius="40" />) Line 49
This is a DemonBuddy issue. SimpleFix: You will have to reload the profile. What is causing this? When DB startup, it loads the profile before it loads the xml tags implemented in the plugin. So just reload, the profile.
XML Issues Workaround
When you get xml errors when starting bot, please change to a different profile that doesn't use any of the EMC behavior tags and then switch back.
EMCB 2.0 Versions
[TABLE="class: grid, width: 500, align: left"]
[TR]
[TD]File[/TD]
[TD]Version[/TD]
[TD]Comments[/TD]
[/TR]
[TR]
[TD]View attachment EMCB-v2.zip[/TD]
[TD]2.0.0.0[/TD]
[TD]New version, more features.[/TD]
[/TR]
[TR]
[TD]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[/TABLE]
Latest Update: v2.0.0.0 Get it! TEST it please!
Attachments
Last edited: