public static bool OutOfGameOverlord(object ret)
{
if (MuleBehavior)
{
Logger.DBLog.Warn("Cannot Stash anymore Items and Mule behavior is disabled!");
//if (!Bot.Settings.Plugin.CreateMuleOnStashFull)
//{
BotMain.Stop(true, "Cannot stash anymore items!");
return false;
//}
//Skip this until we create our new A1 game..
if (RanProfile && !TransferedGear)
return false;
//Now we finish up..
if (RanProfile && TransferedGear && !Finished) return true;
Logger.Write(LogLevel.OutOfGame, "Starting Mule Behavior");
CreatedCharacter = false;
RanProfile = false;
TransferedGear = false;
if (ZetaDia.Service.GameAccount.NumEmptyHeroSlots == 0)
{
Logger.Write(LogLevel.OutOfGame, "No Empty Hero Slots Remain, and our stash if full.. stopping the bot!");
BotMain.Stop(true, "Cannot stash anymore items!");
}
else
return true;
}
if (CharacterControl.GamblingCharacterSwitch)
{
return true;
}
if (ExitGameBehavior.BehaviorEngaged)
return true;
if (!CharacterControl.GameDifficultyChanged && FunkyBaseExtension.Settings.General.CustomDifficulty!=String.Empty)
return true;
return false;
}