[Plugin] Ticks Per Second This plugin should increase attack speed and casting spells speed of Belphegor. Unlimited FPS can cause lags. Credits to Kane49 for the idea. Changelog: Code: 1.1 Plugin now can be disabled correctly Added two versions for different fps
awesome great work if it works! will test on my barb when i get home, he uses frenzy so will be easy to tell if it works.
It's amazingly faster, I added the code directly to my routine so I haven't tested your plugin... but it shouldn't matter where you place it-- it speeds everything up.
This should be implemented into the next version of DB imho. Where is kane these days? He deleted AGB and all his threads but still will randomly come out of hiding to comment on some dev. stuff.
remember this is not fixing the problem, just throwing more CPU and if the trend of cpu intensive plugins / script continues it will become an issue again. Tick per Second is also the wrong name, 1000 divided by the ammount of the setting named ticks per second is the time Demonbuddy waits between ticks. It doesnt compensate at all for the time the tick+OnPulses took, so if you set it to 10 that just means it sleeps for 100ms every time the behavior tree returns a run status, resulting like 6 ticks out of combat and 2-3 while in combat
Im working for https://www.airbnb.com/ , shameless plug. I removed AGB to make a statement about the state of DB and to promote developing. I will upload the DRelog source to an svn soon.
what was this set at before the plugin? just for reference if people want to experiment with changing it
Would be nicer if you added a real way to disable it not just print the message it is disabled while it is not Code: int defticks; public void OnInitialize() { defticks = BotMain.TicksPerSecond; } public void OnPulse() { } public void OnEnabled() { BotMain.TicksPerSecond = 30; Log("TPS Enabled"); } public void OnDisabled() { BotMain.TicksPerSecond = defticks; Log("TPS Disabled"); }
None of the above, ive worked with Alex and Harrison a bit but then again im still a student and working for the ISIT team you wont see on there