private void SummonButton_Click(object sender, EventArgs e) { var t = new Thread(() => { Func <int, int> iteration = i => { summonButton.Text = (i + 1).ToString() + "..."; return(1); }; summonButton.Enabled = false; var unit = Unit.Units.First(u => u.Name == unitDataGrid.Rows[unitDataGrid.CurrentRow.Index].Cells[0].Value.ToString() && u.UnitId == u.BaseUnitId); var b = new BraveExvius { FacebookUserId = fbidInput.Text.Replace(" ", ""), FacebookToken = fbtokenInput.Text.Replace(" ", "") }; b.Login(); b.UnitHunter(unit, iteration); summonButton.Text = "summon highlighted"; summonButton.Enabled = true; }); t.IsBackground = true; t.Start(); }
private void InjectButton_Click(object sender, EventArgs e) { //Injection is not working. 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 b = new BraveExvius { }; b.Login(); var iw = b.Network.SendPacket(request: Request.EquipGrowEntry); Logger.Out($"Current Item : {iw[GameObject.EquipGrowEventInfo][0][Variable.EquipId].ToString()}"); }
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 LevelPartyButton_Click(object sender, EventArgs e) { var t = new Thread(() => { Func <string, int> update = i => { levelStatus.Text = i; return(1); }; levelPartyButton.Enabled = false; var b = new BraveExvius { FacebookUserId = fbidInput.Text.Replace(" ", ""), FacebookToken = fbtokenInput.Text.Replace(" ", "") }; b.Login(); b.LevelParty(update); levelPartyButton.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(); }