First of all, I would like to thank those who have helped me@inselmann@Droidz@TheSmokie(he got banned lol)..etc..Thx all.
After nearly two years of study, I have made some contributions to the forum. Here's a code format for Teleport!
I hope you can use it. Of course, I hope you can get a better way to realize this function.
My idea in this code:First, I create a blank memory address, and then give it a game coordinate (destination coordinate). Of course, you can also use other blank memory addresses. Then use this coordinate to teleport.Finally,it works great!
Code:
float X=XXXf;
float Y=XXXf;
float Z=XXXf;
int processId = (int)wManager.Wow.Memory.WowMemory.Memory.GetProcess().Id;
MemoryRobot.Memory memory = new MemoryRobot.Memory(processId);
uint BaseAddress = (uint)memory.ReadInt32(0xCD87A8);
BaseAddress = (uint)memory.ReadInt32(BaseAddress + 0x34);
BaseAddress = (uint)memory.ReadInt32(BaseAddress+0x24);
memory.WriteFloat(BaseAddress + 0x798, X);
memory.WriteFloat(BaseAddress + 0x79C, Y);
memory.WriteFloat(BaseAddress + 0x7A0, Z);
In some undetected servers, you can travel a long distance on the same map. Of course, you can also change it to a small distance of 5 yards to travel. enjoy
My English is not very good, please forgive me.