码迷,mamicode.com
首页 > 其他好文 > 详细

HSBToolBox

时间:2019-08-09 19:17:32      阅读:115      评论:0      收藏:0      [点我收藏+]

标签:val   inf   ons   process   exist   txt   getc   atd   exec   

HSBToolBox.exe

Unzip all files to the folder where Hearthbuddy.exe
Then just run HSBToolBox.exe

程序入口

internal static class eval_a
{
    // Token: 0x06000006 RID: 6 RVA: 0x00002108 File Offset: 0x00000308
    [STAThread]
    private static void a()
    {
        int num = 1;
        if (num != 0)
        {
        }
        num = 0;
        num = -3183;
        int num2 = num;
        num = -3183;
        switch (num2 == num)
        {
        }
        num = 0;
        if (num != 0)
        {
        }
        Application.EnableVisualStyles();
        Application.SetCompatibleTextRenderingDefault(false);
        Application.Run(new Form1());
    }

    // Token: 0x04000014 RID: 20
    [NonSerialized]
    private string eval_a = 32;
}

 

Form1的构造函数

public Form1()
        {
            this.eval_t();
            this.eval_w = this.CurDir + "\\Logs";
            this.eval_x = this.CurDir + "\\Routines\\DefaultRoutine\\Silverfish\\UltimateLogs";
            this.eval_e = this.CurDir + "\\Routines\\DefaultRoutine\\Silverfish\\data\\_carddb.txt";
            this.eval_f = this.CurDir + "\\HSBToolBox\\CardsList";
            this.eval_bi = this.CurDir + "\\HSBToolBox\\Decks";
            if (!Directory.Exists(this.eval_f))
            {
                Directory.CreateDirectory(this.eval_f);
            }
            if (!Directory.Exists(this.eval_bi))
            {
                Directory.CreateDirectory(this.eval_bi);
            }
            if (!File.Exists(this.eval_e))
            {
                MessageBox.Show("Please move the HSBToolBox.exe to the folder where Hearthbuddy.exe", "Initialization...");
                Process.GetCurrentProcess().Kill();
            }
            if (!File.Exists(this.CurDir + "\\cardimg\\none.png"))
            {
                MessageBox.Show("Please move the HSBToolBox.exe to the folder where `cardimg`", "Initialization...");
                Process.GetCurrentProcess().Kill();
            }
            this.eval_a();
            this.eval_ah();
            this.eval_j1.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Bold);
        }

 

base.Load += this.eval_cw;

private void eval_cw(object A_0, EventArgs A_1)
        {
            int num = 0;
            num = -21124;
            int num2 = num;
            num = -21124;
            switch (num2 == num)
            {
            }
            num = 1;
            if (num != 0)
            {
            }
            num = 0;
            if (num != 0)
            {
            }
            this.eval_g = this.CurDir + "\\Routines\\DefaultRoutine\\Silverfish\\UltimateLogs";
            this.eval_bh = this.CurDir + "\\Routines\\DefaultRoutine\\Silverfish\\behavior";
            this.eval_bj = this.CurDir + "\\Routines\\DefaultRoutine\\Silverfish\\data\\_mulliganMyCards.txt";
            this.eval_bv = this.CurDir + "\\HSBTStatDB.txt";
            this.eval_bx = this.CurDir + "\\HSBTReplaceList.txt";
            CardDB instance = CardDB.Instance;
            this.eval_j();
            this.eval_i();
            this.getDeckInfo();
            this.fillMyCardsStats();
            this.eval_ag();
            this.eval_v();
            this.eval_af();
            this.eval_bs = new csExecuter(new ExecuteLogHandler(this.Log));
            this.eval_m();
            this.ae.setLng("EN");
            this.eval_g();
            this.eval_d();
        }

 

this.eval_fp.Text = "Please move the HSBToolBox.exe to the folder where Hearthbuddy.exe";

 

报错

namespace HSBToolBox
{
    // Token: 0x02000009 RID: 9
    public class CardDB

MessageBox.Show("New Tag: " + num3);

 

HSBToolBox

标签:val   inf   ons   process   exist   txt   getc   atd   exec   

原文地址:https://www.cnblogs.com/chucklu/p/11328990.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!