Hello,
Yesterday i decided to create a teleport hack in C# using blackmagic for memory manipulation and come across a problem that its passing my knowledge of c#
So im here seeking some help to see whats wrong from some professional on ownedcore.
First of all i have the pointers to get the X,Y,Z updated! I can move using cheat engine, but wanted to create a program to do it.
Second on this example code i will post im not using the pointers, but im using the final address that CE is gaving me for easy reading.
This is just for testing purpose, and to get were my error hapens.
Program content is:
- 1 label1
- 1 timer1
So heres the Code:
So, everything is good to go, when i just start the program, im getting always the same error.Code:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Magic; namespace TEST { public partial class Form1 : Form { public Form1() { InitializeComponent(); timer1.Start(); } private void timer1_Tick(object sender, EventArgs e) { BlackMagic sw = new BlackMagic(); if (sw.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("Star Wars: The Old Republic"))) { //MessageBox.Show("Success"); float x = sw.ReadFloat(0xF3F6476C); // this address is the current X address label1.Text = "Current X:" + x; } else { MessageBox.Show("Failed"); } } } }
"ReadFloat Failed"
even other tests i made with readuint, readdouble, etc all are giving me "read**** Failed"
So what can be happening? Whats the major problem with C# memory manipulating and SWTOR?
PS - I tryed the exact same code with other game with diferent offset, and its working flawless, just not on SWTOR.
Any help on the understanding whats happing is greatly aprreciated, already blow up my mind trying to find whats the problem.
Thanks for your time reading this.
Best Regards
GRB
[SOLVED]
Thanks zzj for ur help.