public void UsePower(uint actorPtr, uint acdPtr, D3PowerInfo power) { uint flagAddress = GetAddress("UsePower_Flag"); d3.WriteObject(GetAddress("UsePower_PowerInfo"), power, typeof(D3PowerInfo)); d3.WriteUInt(GetAddress("UsePower_ActorPtr"), actorPtr); d3.WriteUInt(GetAddress("UsePower_AcdPtr"), acdPtr); d3.WriteInt(flagAddress, 1); while (d3.ReadInt(flagAddress) == 1) { Thread.Sleep(1); } }
public bool ClickToMove(float x, float y, float z) { write.WriteFloat((uint)ClickToMovex.CTM_Base + (uint)ClickToMovex.CTM_X, x); write.WriteFloat((uint)ClickToMovex.CTM_Base + (uint)ClickToMovex.CTM_Y, y); write.WriteFloat((uint)ClickToMovex.CTM_Base + (uint)ClickToMovex.CTM_Z, z); write.WriteUInt((uint)ClickToMovex.CTM_Base + (uint)ClickToMovex.CTM_Action, 4); return(true); }
private void bUpdateRenderState_Click(object sender, EventArgs e) { for (int i = 0; i < dataGridView1.Rows.Count; i++) { if (ProcessExists(Convert.ToInt32(dataGridView1.Rows[i].Cells[1].Value))) { wow.OpenProcessAndThread(Convert.ToInt32(dataGridView1.Rows[i].Cells[1].Value)); if ((bool)dataGridView1.Rows[i].Cells[0].Value) { wow.WriteUInt(0x00C7B2A4, 0); } else { wow.WriteUInt(0x00C7B2A4, 0x0F110B73); } } } }