View previous topic :: View next topic |
Author |
Message |
Reclaimer Shawn Advanced Cheater Reputation: 0
Joined: 09 Jun 2015 Posts: 77
|
Posted: Sat Aug 27, 2016 2:04 pm Post subject: This command returns invalid Class Object CE 6.5.1 |
|
|
I just simply want to unfreeze a value from a table so it can write and then freeze the value again so it sticks. This is what I'm using to do it:
Code: |
getAddressList().getMemoryRecord(3)
memoryrecord_unfreeze(CheatEntry)
getAddressList().getMemoryRecord(6)
memoryrecord_unfreeze(CheatEntry)
getAddressList().getMemoryRecord(7)
memoryrecord_unfreeze(CheatEntry)
getAddressList().getMemoryRecord(8)
memoryrecord_unfreeze(CheatEntry)
getAddressList().getMemoryRecord(9)
memoryrecord_unfreeze(CheatEntry)
writeBytes("SOME ADDRESS1",intspeciesByte1,intspeciesByte2)
writeBytes("SOME ADDRESS2",intatk1Byte1,intatk1Byte2)
writeBytes("SOME ADDRESS3",intatk2Byte1,intatk1Byte2)
writeBytes("SOME ADDRESS4",intatk3Byte1,intatk1Byte2)
writeBytes("SOME ADDRESS5",intatk4Byte1,intatk1Byte2)
getAddressList().getMemoryRecord(3)
memoryrecord_freeze(CheatEntry)
getAddressList().getMemoryRecord(6)
memoryrecord_freeze(CheatEntry)
getAddressList().getMemoryRecord(7)
memoryrecord_freeze(CheatEntry)
getAddressList().getMemoryRecord(8)
memoryrecord_freeze(CheatEntry)
getAddressList().getMemoryRecord(9)
memoryrecord_freeze(CheatEntry)
|
After the address unfreeze occurs, I get an invalid class object error followed by a stack overflow error. This worked in earlier versions of CE, so I think the command syntax possibly changed a bit... Thank you in advanced.
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sat Aug 27, 2016 3:01 pm Post subject: |
|
|
CheatEntry looks null to me.
|
|
Back to top |
|
|
Reclaimer Shawn Advanced Cheater Reputation: 0
Joined: 09 Jun 2015 Posts: 77
|
Posted: Sat Aug 27, 2016 3:39 pm Post subject: |
|
|
Zanzer wrote: | CheatEntry looks null to me. |
Then, how exactly would I accomplish what I need? In my application, I want to freeze and unfreeze an address at will. In older versions of CE, you could include a cheat table, get its index, and freeze/unfeeze said index at will. How is that done in CE 6.5.1?
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sat Aug 27, 2016 5:38 pm Post subject: |
|
|
Same way. Although you never needed to unfreeze the entry.
Code: | getAddressList().getMemoryRecord(3).Value = 0x9090 |
Anyway, as I stated earlier, CheatEntry never gets populated with your code.
Code: | CheatEntry = getAddressList().getMemoryRecord(3) |
|
|
Back to top |
|
|
|