i have a problem that maybe someone can help me with
i hope someone can help iv made a save editor for DMC but the offset is off i found the offset modded it in hex work shop but for got to rite down the origanal hex nd iv been haveing troule with it been at it for 8 hours and nothing so if someone could help i would be so great full
http://www.mediafire.com/download/fc...DMC%20SAVE.rar
Re: i have a problem that maybe someone can help me with
Re: i have a problem that maybe someone can help me with
i tryed one ov the codes on the link and i get a error
reader.SearchString("1234567890ABCDEF", StringType.Hexadecimal, 0, False)
value of type 1-dymensanl arry of long can not be coverted to systems.colletion.generic.list(of interger)
any sugestens
(im a total noob when it comes to codeing )
Re: i have a problem that maybe someone can help me with
Quote:
Originally Posted by
matthewjohn
i tryed one ov the codes on the link and i get a error
reader.SearchString("1234567890ABCDEF", StringType.Hexadecimal, 0, False)
value of type 1-dymensanl arry of long can not be coverted to systems.colletion.generic.list(of interger)
any sugestens
(im a total noob when it comes to codeing )
The "1234567890ABCDEF" is supposed to be filled with your Pointer (a value that stays the same and is the same amount of bytes away from the value you want). So say the Red Orbs has a value of 5,000 (1388 in hex) and 10 bytes before it there is a value of 56BC21. Since the Pointer starts reading at the start of the 56BC21, you'll have to add 3 to the 10 (13). So you'd do this:
METHOD 1:
Code:
Pointer = (Reader.SearchString("56BC21", StringType.Hexadecimal, Endian.Big)(0) + 13)
Reader.Position = Pointer
RedOrbsNumericUpDown.Value = Reader.ReadInt32
METHOD 2:
Code:
Pointer = (Reader.SearchString("56BC21", StringType.Hexadecimal, Endian.Big)(0) + 0)
Reader.Position = Pointer + 13
RedOrbsNumericUpDown.Value = Reader.ReadInt32
Hex Editor Image of Pointer and Red Orbs Value:
http://img31.imageshack.us/img31/814/h9p.PNG
Re: i have a problem that maybe someone can help me with
Quote:
Originally Posted by
Idlehands88
The "1234567890ABCDEF" is supposed to be filled with your Pointer (a value that stays the same and is the same amount of bytes away from the value you want). So say the Red Orbs has a value of 5,000 (1388 in hex) and 10 bytes before it there is a value of 56BC21. Since the Pointer starts reading at the start of the 56BC21, you'll have to add 3 to the 10 (13). So you'd do this:
METHOD 1:
Code:
Pointer = (Reader.SearchString("56BC21", StringType.Hexadecimal, Endian.Big)(0) + 13)
Reader.Position = Pointer
RedOrbsNumericUpDown.Value = Reader.ReadInt32
METHOD 2:
Code:
Pointer = (Reader.SearchString("56BC21", StringType.Hexadecimal, Endian.Big)(0) + 0)
Reader.Position = Pointer + 13
RedOrbsNumericUpDown.Value = Reader.ReadInt32
Hex Editor Image of Pointer and Red Orbs Value:
http://img31.imageshack.us/img31/814/h9p.PNG
thanka man really helped
Re: i have a problem that maybe someone can help me with
Quote:
Originally Posted by
Idlehands88
The "1234567890ABCDEF" is supposed to be filled with your Pointer (a value that stays the same and is the same amount of bytes away from the value you want). So say the Red Orbs has a value of 5,000 (1388 in hex) and 10 bytes before it there is a value of 56BC21. Since the Pointer starts reading at the start of the 56BC21, you'll have to add 3 to the 10 (13). So you'd do this:
METHOD 1:
Code:
Pointer = (Reader.SearchString("56BC21", StringType.Hexadecimal, Endian.Big)(0) + 13)
Reader.Position = Pointer
RedOrbsNumericUpDown.Value = Reader.ReadInt32
METHOD 2:
Code:
Pointer = (Reader.SearchString("56BC21", StringType.Hexadecimal, Endian.Big)(0) + 0)
Reader.Position = Pointer + 13
RedOrbsNumericUpDown.Value = Reader.ReadInt32
Hex Editor Image of Pointer and Red Orbs Value:
http://img31.imageshack.us/img31/814/h9p.PNG
wot do i do if there ant any values the same infront of my offset
Re: i have a problem that maybe someone can help me with
Quote:
Originally Posted by
matthewjohn
wot do i do if there ant any values the same infront of my offset
These are the Pointers I used in my Editor:
RED ORBS READER:
Code:
RedOrbs = (Reader.SearchString("084F72625F526564", StringType.Hexadecimal, Endian.Big)(0) + 10)
Reader.Position = RedOrbs
RedOrbsUpDown.Value = Reader.ReadInt32
RED ORBS WRITER:
Code:
Writer.Position = RedOrbs
Writer.WriteInt32(RedOrbsUpDown.Value)
UPGRADE POINTS READER:
Code:
Try
UpPts1 = (Reader.SearchString("FFFFFFFF00000000FFFFFFFF00000004", StringType.Hexadecimal, Endian.Big)(0) + 24)
UpPts2 = (Reader.SearchString("FFFFFFFF00000000FFFFFFFF00000004", StringType.Hexadecimal, Endian.Big)(0) + 28)
UpPts3 = (Reader.SearchString("FFFFFFFF00000000FFFFFFFF00000004", StringType.Hexadecimal, Endian.Big)(0) + 32)
UpgradePointsUpDown.Enabled = True
Catch ex As Exception
UpgradePointsUpDown.Enabled = False
End Try
Reader.Position = UpPts2
UpgradePointsUpDown.Value = Reader.ReadInt32
UPGRADE POINTS WRITER:
Code:
If UpgradePointsUpDown.Enabled = True Then
Writer.Position = UpPts1
Writer.WriteInt32(UpgradePointsUpDown.Value)
Writer.Position = UpPts2
Writer.WriteInt32(UpgradePointsUpDown.Value)
Writer.Position = UpPts3
Writer.WriteInt32(UpgradePointsUpDown.Value)
ElseIf UpgradePointsUpDown.Enabled = False Then
End If
Need to write the Upgrade Points to 3 spots, that's why there are 3 Pointers
Re: i have a problem that maybe someone can help me with
A pointer is Static meaning it is less likely to change versus a dynamic address like the one you've found for HP.
A pointer "tells" a dynamic address what value it should be so by finding the pointer and offset and searching it, you can control the specific address it writes to or just read it altogether.