Getting legacy with cheat engine

Posts 121–135 of 141 · Page 9 of 10
Quote Originally Posted by xoreaxeax View Post
Item slot IDs for patch 3.0.0:
Empty slot: 1116
Yellow flash: 1076
@T-800 you know what to do
@xoreaxeax u Will most likely need to update the code for getting the dates.
Quote Originally Posted by xoreaxeax View Post
Item slot IDs for patch 3.0.0:
Empty slot: 1116
Yellow flash: 1076
@T-800 you know what to do
You should update lua script for getting prestige/level/dates cuz is not working anymore.
Quote Originally Posted by JustTheAndy View Post
You should update lua script for getting prestige/level/dates cuz is not working anymore.
We know, he told me he is updating it tomorrow.
Can you please update the item slot for 3.0?
Quote Originally Posted by sDBD View Post
Can you please update the item slot for 3.0?
Quote Originally Posted by xoreaxeax View Post
Item slot IDs for patch 3.0.0:
Empty slot: 1116
Yellow flash: 1076
@T-800 you know what to do
Pay attention brudda. Also the script is outdated.
A few people informed me that the script was no longer working, so I went ahead and updated it for the latest patch. The two scripts for survivor and killer can be found below.

Survivor:
Code:
itemOffset = 0x???

level = getAddressList().createMemoryRecord()
level.setAddress(string.format("%x", itemOffset - 0x60))
level.setDescription("Level")
level.Type = 0

prestige = getAddressList().createMemoryRecord()
prestige.setAddress(string.format("%x", itemOffset - 0x5C))
prestige.setDescription("Prestige")
prestige.Type = 0

for i=0,prestige.getValue()-1,1
do
	local dateOffset = readPointer(itemOffset - 0x50) + i*8
	date = getAddressList().createMemoryRecord()
	date.setAddress(string.format("%x", dateOffset))
	date.setDescription("Date " .. i+1)
	date.Type = 3
	date.appendToEntry(prestige)
end
Killer:
Code:
offeringOffset = 0x???

level = getAddressList().createMemoryRecord()
level.setAddress(string.format("%x", offeringOffset - 0xE8))
level.setDescription("Level")
level.Type = 0

prestige = getAddressList().createMemoryRecord()
prestige.setAddress(string.format("%x", offeringOffset - 0xE4))
prestige.setDescription("Prestige")
prestige.Type = 0

for i=0,prestige.getValue()-1,1
do
	local dateOffset = readPointer(offeringOffset - 0xD8) + i*8
	date = getAddressList().createMemoryRecord()
	date.setAddress(string.format("%x", dateOffset))
	date.setDescription("Date " .. i+1)
	date.Type = 3
	date.appendToEntry(prestige)
end

I also noticed something else a bit odd, the slot IDs will now have to be scanned for as an 8 Byte value. The game is using two identical DWORDs as the slot ID so you either need to replace the value twice in your tool, or in the case of cheat engine it's probably just easiest to use 8 Byte from now on (for finding and changing slots). If you don't understand what I'm saying you only need to browse the memory in cheat engine and look what happens when you change the value in game.

NEW 8 BYTE IDS:
Empty slot: 4793183503452
Yellow flash: 4621384811572
Quote Originally Posted by xoreaxeax View Post
A few people informed me that the script was no longer working, so I went ahead and updated it for the latest patch. The two scripts for survivor and killer can be found below.

Survivor:
Code:
itemOffset = 0x???

level = getAddressList().createMemoryRecord()
level.setAddress(string.format("%x", itemOffset - 0x60))
level.setDescription("Level")
level.Type = 0

prestige = getAddressList().createMemoryRecord()
prestige.setAddress(string.format("%x", itemOffset - 0x5C))
prestige.setDescription("Prestige")
prestige.Type = 0

for i=0,prestige.getValue()-1,1
do
	local dateOffset = readPointer(itemOffset - 0x50) + i*8
	date = getAddressList().createMemoryRecord()
	date.setAddress(string.format("%x", dateOffset))
	date.setDescription("Date " .. i+1)
	date.Type = 3
	date.appendToEntry(prestige)
end
Killer:
Code:
offeringOffset = 0x???

level = getAddressList().createMemoryRecord()
level.setAddress(string.format("%x", offeringOffset - 0xE8))
level.setDescription("Level")
level.Type = 0

prestige = getAddressList().createMemoryRecord()
prestige.setAddress(string.format("%x", offeringOffset - 0xE4))
prestige.setDescription("Prestige")
prestige.Type = 0

for i=0,prestige.getValue()-1,1
do
	local dateOffset = readPointer(offeringOffset - 0xD8) + i*8
	date = getAddressList().createMemoryRecord()
	date.setAddress(string.format("%x", dateOffset))
	date.setDescription("Date " .. i+1)
	date.Type = 3
	date.appendToEntry(prestige)
end

I also noticed something else a bit odd, the slot IDs will now have to be scanned for as an 8 Byte value. The game is using two identical DWORDs as the slot ID so you either need to replace the value twice in your tool, or in the case of cheat engine it's probably just easiest to use 8 Byte from now on (for finding and changing slots). If you don't understand what I'm saying you only need to browse the memory in cheat engine and look what happens when you change the value in game.

NEW 8 BYTE IDS:
Empty slot: 4793183503452
Yellow flash: 4621384811572
Updated, let me know if anything is wrong
i cant add legacy on p3 surv can help me?

olny can add legacy if surv or killer are 1lvl
Quote Originally Posted by doriocoss View Post
this need a bypss?
Yes, you need a bypass to run CE.
Gonna be releasing a program soon to make calculating dates 100% easier
when you do it you get a error.Any fix if you need more info ill answer

- - - Updated - - -

Quote Originally Posted by xoreaxeax View Post
I am happy to help you find the new struct, if you could send me your disc0rd or something that would be great
Ggwp#8272 is my *******
This is still work on patch 3.0.2?
Posts 121–135 of 141 · Page 9 of 10

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us