i have made finally my DLL to read all information,
COMemReader.dll and COHPReader.dll
this is for COMemreader.dll:
here i show you how to make it work if you want to use this DLL:
you need to put this DLL's as References to your project
to declare all the stuff you need this code:
Code:
Public ProcessReader As ReaderLibrary.Reader = New ReaderLibrary.Reader() Public encoding As Text.Encoding = System.Text.Encoding.UTF7
Code:
Dim Name As Byte() = ProcessReader.ReadName() TXTCharName.Text = encoding.GetString(Name)
for integers you need this to do:
Code:
Dim CharLevel As Byte() = ProcessReader.Level() TXTLevel.Text = BitConverter.ToInt32(CharLevel, 0)
Code:
Dim arrows As Byte() = ProcessReader.Arrows() TXTArrows.Text = BitConverter.ToInt16(arrows, 0)
This is for the COHPReader.dll:
Declare stuff:
Code:
Public ProcessReaderHP As ReaderLibraryHP.HPReader = New ReaderLibraryHP.HPReader()
Code:
Dim HP As Integer = ProcessReaderHP.Read_Current_HP() TXTCurrentHP.Text = HP
i use olso the file of JOEK the "ma-global.inf" so if there is an new patch and the memoryadressess are changed you have only put the new release of this file by the DLL and it works again. the thread of that file from Joek is: