Hello people!
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
for strings you need this to do:
Code:
Dim Name As Byte() = ProcessReader.ReadName()
TXTCharName.Text = encoding.GetString(Name)
you can change after the processreader.XXXXXX() what you want, it will show you the functions
for integers you need this to do:
Code:
Dim CharLevel As Byte() = ProcessReader.Level()
TXTLevel.Text = BitConverter.ToInt32(CharLevel, 0)
And only for reading the arrows you need this to do:
Code:
Dim arrows As Byte() = ProcessReader.Arrows()
TXTArrows.Text = BitConverter.ToInt16(arrows, 0)
The only change is ToInt16 function
This is for the COHPReader.dll:
Declare stuff:
Code:
Public ProcessReaderHP As ReaderLibraryHP.HPReader = New ReaderLibraryHP.HPReader()
and then use this to read it:
Code:
Dim HP As Integer = ProcessReaderHP.Read_Current_HP()
TXTCurrentHP.Text = HP
I hope you enjoy this DLL's.
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: