private void InjectButton_Click(object sender, EventArgs e) { var t = new Thread(() => { injectButton.Enabled = false; var itemHax = String.Join(",", injectDataTable.Rows.Cast <DataRow>().ToList().FindAll(i => i.ItemArray[1].ToString() == "item" && i.ItemArray[0].ToString() != "0").Select(i => "20:" + i.ItemArray[3] + ":" + i.ItemArray[0])); var equipmentHax = String.Join(",", injectDataTable.Rows.Cast <DataRow>().ToList().FindAll(i => i.ItemArray[1].ToString() == "equip" && i.ItemArray[0].ToString() != "0").Select(i => "21:" + i.ItemArray[3] + ":" + i.ItemArray[0])); var materiaHax = String.Join(",", injectDataTable.Rows.Cast <DataRow>().ToList().FindAll(i => i.ItemArray[1].ToString() == "materia" && i.ItemArray[0].ToString() != "0").Select(i => "22:" + i.ItemArray[3] + ":" + i.ItemArray[0])); client.Login(); client.DoMission(Mission.AirshipDeck, false, itemHax, equipmentHax, materiaHax); injectButton.Enabled = true; }); t.IsBackground = true; t.Start(); }
static void Main(string[] args) { var fb = new Facebook(); fb.Login("*****@*****.**", "password"); if (fb.TwoFactorAuth) { fb.FinishTwoFactorAuth("1234 5678"); } fb.AllowFFBE(); var b = new BraveExvius { FacebookUserId = fb.Id, FacebookToken = fb.AccessToken, }; b.Login(); b.DoMission(Mission.AirshipDeck, false, null, null, null, 0); b.DoMission(Mission.AirshipDeck); }
private void InjectButton_Click(object sender, EventArgs e) { var t = new Thread(() => { injectButton.Enabled = false; var itemHax = String.Join(",", injectDataTable.Rows.Cast <DataRow>().ToList().FindAll(i => i.ItemArray[1].ToString() == "item" && i.ItemArray[0].ToString() != "0").Select(i => "20:" + i.ItemArray[3] + ":" + i.ItemArray[0])); var equipmentHax = String.Join(",", injectDataTable.Rows.Cast <DataRow>().ToList().FindAll(i => i.ItemArray[1].ToString() == "equip" && i.ItemArray[0].ToString() != "0").Select(i => "21:" + i.ItemArray[3] + ":" + i.ItemArray[0])); var materiaHax = String.Join(",", injectDataTable.Rows.Cast <DataRow>().ToList().FindAll(i => i.ItemArray[1].ToString() == "materia" && i.ItemArray[0].ToString() != "0").Select(i => "22:" + i.ItemArray[3] + ":" + i.ItemArray[0])); var b = new BraveExvius { FacebookUserId = fbidInput.Text.Replace(" ", ""), FacebookToken = fbtokenInput.Text.Replace(" ", "") }; b.Login(); b.DoMission(Mission.AirshipDeck, false, itemHax, equipmentHax, materiaHax); injectButton.Enabled = true; }); t.IsBackground = true; t.Start(); }
private void RankUpButton_Click(object sender, EventArgs e) { var t = new Thread(() => { Func <string, int> update = i => { levelStatus.Text = i; return(1); }; rankUpButton.Enabled = false; var b = new BraveExvius { FacebookUserId = fbidInput.Text.Replace(" ", ""), FacebookToken = fbtokenInput.Text.Replace(" ", "") }; b.Login(); fbidInput.Text = b.FacebookUserId; fbtokenInput.Text = b.FacebookUserId; while (true) { var result = b.DoMission(Mission.PortCityLodin, false, null, null, null, 15000); var level = result[GameObject.UserTeamInfo].First()[Variable.Level].ToString(); var experience = result[GameObject.UserTeamInfo].First()[Variable.Experience].ToString(); levelStatus.Text = "Rank " + level + " : experience = " + experience; if (level == "150") { break; } Thread.Sleep(3000); } rankUpButton.Enabled = true; }); t.IsBackground = true; t.Start(); }