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

Any way to have Demonbuddy stop if games/hour is too high?

ziggorz

New Member
Joined
Apr 15, 2014
Messages
13
Reaction score
0
So I was Demonbuddy and it was working flawlessly for hours, but in the morning demon buddy had gotten bugged sometime during the night and it was just joining and leaving the game non-stop.

Is there anyway to just have demonbuddy shut off if it is bugging out too much or if games/hour starts to exceed certain amount?
 
Already built in:

You may have increased it for a certain profile, you can edit it back though. Do so by editing the file in Plugins/QuestTools/QuestTools.cs look for:
Code:
if (gameCounter > 20 && DateTime.Now.Subtract(LastBotStart).TotalSeconds > 30 && Zeta.Bot.GameStats.Instance.GamesPerHour > [COLOR="#FF0000"][B]20[/B][/COLOR] && !gameIdMatch)
Set that number in red to something like 20-30 range, I believe 20 is the default.

Keep in mind this will make short run profiles not work.
 
Last edited:
Already built in:

You may have increased it for a certain profile, you can edit it back though. Do so by editing the file in Plugins/QuestTools/QuestTools.cs look for:
Code:
if (gameCounter > 20 && DateTime.Now.Subtract(LastBotStart).TotalSeconds > 30 && Zeta.Bot.GameStats.Instance.GamesPerHour > [COLOR="#FF0000"][B]20[/B][/COLOR] && !gameIdMatch)
Set that number in red to something like 20-30 range, I believe 20 is the default.

Keep in mind this will make short run profiles not work.

It is set to "if (gameCounter > 60 && DateTime.UtcNow.Subtract(LastBotStart).TotalSeconds > 30 && Zeta.Bot.GameStats.Instance.GamesPerHour > 60 && !gameIdMatch)"

Normally the profile runs great around 36 games/hour. However sometimes the profile bug during the night or something and it starts to hit 100 games/hour and it just constantly joins/leave game. So how should I edit this so that when games/hour starts to exceed 45 demonbuddy will shutdown?
 
It is set to "if (gameCounter > 60 && DateTime.UtcNow.Subtract(LastBotStart).TotalSeconds > 30 && Zeta.Bot.GameStats.Instance.GamesPerHour > 60 && !gameIdMatch)"

Normally the profile runs great around 36 games/hour. However sometimes the profile bug during the night or something and it starts to hit 100 games/hour and it just constantly joins/leave game. So how should I edit this so that when games/hour starts to exceed 45 demonbuddy will shutdown?

Code:
if (gameCounter > 45 && DateTime.UtcNow.Subtract(LastBotStart).TotalSecond s > 30 && Zeta.Bot.GameStats.Instance.GamesPerHour > 45 && !gameIdMatch)

Copy/paste that in. Should max out at 45 games/hr. :)
 
Back
Top