BattleTag = ZetaDia.Service.CurrentHero.BattleTagName;
using (StreamWriter sw = new StreamWriter(LogFile))
{
sw.WriteLine("Name: " + BattleTag);
sw.WriteLine("Gold: " + Zeta.Internals.Actors.InventorySlot.Gold);
sw.WriteLine("Ticks: " + Zeta.CommonBot.GameStats.Instance.TicksPerSecond);
sw.Close();
}
Name: botuser#2148
Gold: Gold
Ticks: 18,2405256514148
i asked for plugin or .cs with saving amount to file.
thanks.