• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Ticks Per Second

    Discussion in 'Archives' started by CooleRnax, Jul 30, 2012.

    1. CooleRnax

      CooleRnax New Member

      Joined:
      Dec 5, 2011
      Messages:
      98
      Likes Received:
      0
      Trophy Points:
      0
      [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
       

      Attached Files:

      Last edited: Aug 1, 2012
    2. bobdan

      bobdan Member

      Joined:
      Jun 15, 2012
      Messages:
      156
      Likes Received:
      0
      Trophy Points:
      16
      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.
       
    3. cdmichaelb

      cdmichaelb New Member

      Joined:
      May 13, 2011
      Messages:
      243
      Likes Received:
      1
      Trophy Points:
      0
      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.
       
    4. Momentusa

      Momentusa New Member

      Joined:
      Jul 1, 2012
      Messages:
      119
      Likes Received:
      0
      Trophy Points:
      0
      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.
       
    5. xenohadden

      xenohadden New Member

      Joined:
      Jul 30, 2011
      Messages:
      242
      Likes Received:
      2
      Trophy Points:
      0
      yup definitively at least 3 times faster, good work bro!
       
    6. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      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
       
      Last edited: Jul 31, 2012
    7. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      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.
       
    8. cdmichaelb

      cdmichaelb New Member

      Joined:
      May 13, 2011
      Messages:
      243
      Likes Received:
      1
      Trophy Points:
      0
      So is smaller number better or bigger?
       
    9. bobdan

      bobdan Member

      Joined:
      Jun 15, 2012
      Messages:
      156
      Likes Received:
      0
      Trophy Points:
      16
      works! my guy looks half normal again when using frenzy.
       
    10. griovejas

      griovejas New Member

      Joined:
      Jun 18, 2010
      Messages:
      210
      Likes Received:
      0
      Trophy Points:
      0
      amazing plugin
       
    11. swolbyn

      swolbyn New Member

      Joined:
      Apr 24, 2010
      Messages:
      796
      Likes Received:
      7
      Trophy Points:
      0
    12. bio72301

      bio72301 New Member

      Joined:
      May 24, 2010
      Messages:
      95
      Likes Received:
      0
      Trophy Points:
      0
      I too am interested in this clarification.
       
    13. griovejas

      griovejas New Member

      Joined:
      Jun 18, 2010
      Messages:
      210
      Likes Received:
      0
      Trophy Points:
      0
      The bigger the number, the faster bot reacts, and the more load your processor gets to process.
       
    14. icotulookin

      icotulookin Banned

      Joined:
      Jan 26, 2012
      Messages:
      149
      Likes Received:
      3
      Trophy Points:
      18

      Call me scubby but where does this install to? Where do I extract this to? TYIA
       
    15. Midas

      Midas New Member

      Joined:
      Jul 22, 2012
      Messages:
      120
      Likes Received:
      0
      Trophy Points:
      0
      what was this set at before the plugin? just for reference if people want to experiment with changing it
       
    16. stryph

      stryph New Member

      Joined:
      Apr 12, 2012
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      Amazing workaround my friend, +rep
       
    17. sinterlkaas

      sinterlkaas New Member

      Joined:
      Jan 17, 2012
      Messages:
      536
      Likes Received:
      14
      Trophy Points:
      0
      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");
              }
      
       
    18. CooleRnax

      CooleRnax New Member

      Joined:
      Dec 5, 2011
      Messages:
      98
      Likes Received:
      0
      Trophy Points:
      0
      1.1
      Plugin now can be disabled
      Added two versions for different fps
       
    19. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      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 :p
       
    20. swolbyn

      swolbyn New Member

      Joined:
      Apr 24, 2010
      Messages:
      796
      Likes Received:
      7
      Trophy Points:
      0
      BLAST! facebook stalking plans foiled. :D
       

    Share This Page