Results 1 to 10 of 146
-
19.02.2012, 14:32 #1
[BotBase] RaidBot - 30fps CC Execution
Basically; all this bot does is run your current CC's Heal->CombatBuff->Combat behavior, at 30fps, within a FrameLock.
This is meant to be used for people who use LazyRaider *only* for the "fight for me" support. It makes no claims to deal with targeting, or anything else. It simply runs your entire CC at 30fps (or as close as it can get to it).
Note: I haven't actually messed with this myself, but it should work.
The idea is, since HB by itself tends to be a bit slow due to plugins, and other overhead, it can vastly drop your DPS. Add on top of that some internal complexities, and you gradually slow down how frequently HB can "Pulse". This BotBase works around these issues, by ensuring the entire combat logic is executed within a single frame.
I take no responsibility for any CC not working, or for any bugs you may encounter. Hopefully this may spawn a new set of super-speed CCs designed to run at 30fps (and achieve the top-DPS numbers that normal players can).
I won't bother uploading the .cs file, nor explaining how to install/use it. This is simply some proof-of-concept code to show that HB can run as fast as your game (almost)
Code:using Styx;using Styx.Logic.BehaviorTree; using Styx.Logic.Combat; using TreeSharp; namespace RaidBot { public class RaidBot : BotBase { private byte _oldTps; private Composite _root; #region Overrides of BotBase public override string Name { get { return "Raid Bot"; } } public override Composite Root { get { return _root; } } public override PulseFlags PulseFlags { get { return PulseFlags.Objects | PulseFlags.Lua; } } #endregion public override void Start() { _oldTps = TreeRoot.TicksPerSecond; TreeRoot.TicksPerSecond = 30; _root = new Decorator( ret => StyxWoW.Me.Combat && StyxWoW.Me.GotTarget && !StyxWoW.Me.CurrentTarget.IsFriendly, new LockSelector( RoutineManager.Current.HealBehavior, RoutineManager.Current.CombatBuffBehavior, RoutineManager.Current.CombatBehavior)); } public override void Stop() { TreeRoot.TicksPerSecond = _oldTps; } #region Nested type: LockSelector private class LockSelector : PrioritySelector { public LockSelector(params Composite[] children) : base(children) { } public override RunStatus Tick(object context) { using (new FrameLock()) { return base.Tick(context); } } } #endregion } }
-
19.02.2012, 14:35 #2
Keep in mind this will NOT pulse your plugins (in simple terms: your plugins won't work/run).
Check out #HonorBuddy on irc.quakenet.org!
My work: SitStupid - AIO CC • HazzPvP - Resto Druid CC • DontLootThis • WoW Head Item List Generator
My profiles: TH Mining • TH Herbing
CLICK THE STAR TO MAKE ME HAPPY!!
-
19.02.2012, 14:36 #3
-
19.02.2012, 14:52 #4Please attach a log in your post if you're having issues with my plugin/profile because my English is not so good.
SimpleAuction - A Simple AH Plugin, Coming Soon! (uses the Auctioneer addon) 99% complete
-
19.02.2012, 15:16 #5
this is what i was searching for. no more addons now :P thanks apoc
Hbrot Custom CC for all Classes
-
19.02.2012, 15:26 #6
-
19.02.2012, 15:32 #7
Great, always had huge problems with slowly reacting CCs.
Will give it a try at home.
-
19.02.2012, 15:47 #8
Here it is as a *.cs file.
I just added PrecombatBuffBehaviour into it nothing more.
THIS IS A BOT. YOU HAVE TO PUT THIS INTO YOUR BOT FOLDER!
I won't maintain this nor will i take any bug reports. This is simple copy pasta, basta.
greetz
WeischbierNecrophilia - Advanced Frost/Unholy Death Knight, Rogue Combat, Hunter Survival, Druid Feral Cat
Don't forget to attach a log file!
+rep and like my posts if you actually did!
-
19.02.2012, 18:59 #9
Thanks Apoc.
I decided to run a quick test and copied your code and used it as a botbase.
I ran ultraxion 25 LFR using my custom warlock file with felmaster.
Using combat bot i did 19.6k DPS.
Using raidbot i did 29.5k DPS
-
19.02.2012, 19:14 #10


25Likes
LinkBack URL
About LinkBacks




Reply With Quote



Bookmarks