Im trying to update sirhooks 0.01 to conquest(brazilian conquer), the
melee.dll work but sirhooks dont find the pattern to jump, hunt and loot function...
well, ai changed something and commented others...
know somethings like lvl, name, coords are working...
by the way i dont know how to find the new bytes to update the functions,
i know just base + pointer, and how to find and use then, but how
does i find things like this:
this part is working:
How can i find it with cheat engine?Quote:
public Coordinate Coord
{
get
{
byte[] code = new byte[] {0xE8, 0x00, 0x00, 0x00, 0x00, 0x83, 0x2C, 0x24, 0x05, 0xB9, 0x88, 0x88, 0x88, 0x88, 0x8B, 0x01, 0xFF, 0x50, 0x14, 0xC3};
BinaryWriter bw = new BinaryWriter(new MemoryStream(code));
bw.Seek(10, SeekOrigin.Begin);
bw.Write(_basePtr);
int mem = _client.AllocMem(code.Length);
_client.Write(mem, code);
_client.Call(mem);
int X = _client.ReadDword(mem);
int Y = _client.ReadDword(mem + 4);
_client.FreeMem(mem);
return new Coordinate(X, Y);
}
}
well, i made a speed hack, where i just need to know the base + pointer and change the value to the cyclone...Quote:
byte[] code = new byte[] {0xE8, 0x00, 0x00, 0x00, 0x00, 0x83, 0x2C, 0x24, 0x05, 0xB9, 0x88, 0x88, 0x88, 0x88, 0x8B, 0x01, 0xFF, 0x50, 0x14, 0xC3};
any help or tutorial link are wellcome