Question, I am completely new to this entire system. Attempting to use this new table and when attempting to enable i am hit with the Lua Engine window with
'aob_to_Commit_OnUnequip2' not found.
Any help and guidance is greatly appreciated.
How to use this cheat table?
Install Cheat Engine
Double-click the .CT file in order to open it.
Click the PC icon in Cheat Engine in order to select the game process.
Keep the list.
Activate the trainer options by checking boxes or setting values from 0 to 1
unlock all teleport INSERT OR REPLACE INTO "LocksDynamic" ("LockID", "ELockState") SELECT LockID,0 FROM LockDefinition where LockID IN (SELECT Name from FastTravelLocations);
Can you screen me yout sql db for one fast travel ? Bc in steam i don't have this
SELECT * from FastTravelLocations
New to all of this, where are we putting these commands ?
unlock all teleport INSERT OR REPLACE INTO "LocksDynamic" ("LockID", "ELockState") SELECT LockID,0 FROM LockDefinition where LockID IN (SELECT Name from FastTravelLocations);
Can you screen me yout sql db for one fast travel ? Bc in steam i don't have this
SELECT * from FastTravelLocations
sorry i can't find FastTravelLocations in SQL table
Question, I am completely new to this entire system. Attempting to use this new table and when attempting to enable i am hit with the Lua Engine window with
'aob_to_Commit_OnUnequip2' not found.
Any help and guidance is greatly appreciated.
A few things:
There is a version of the game stipulated at main menu, right below the "Press any key" text.
If that version doesn't match the one mentioned on line 2 in the table, IT IS POSSIBLE that some stuff won't be found (since the game framework structure changes when Denuvo envelopes the exe, that is a possibility).
Regarding the above, DO NOT MAKE IT A RULE THAT, IF THE VERSION CHANGES, THE TABLE NEEDS AN UPDATE EVERY TIME; that is true in like 20% of the cases, whereas in 80% of the cases, the table would work across multiple updates.
What if I told you know that table fixes are only available on Patreon? You'd frown on my ass and go "table is behind a paywall", not knowing the is a simple way fix to it. But since I am a good guy, I am going to write this only once. Those who want to learn from it, fine. Those who don't, I am on Patreon:
You get a scan error. Before anything, check that it's not your CE's fault (e.g.: Settings > Scan Settings > tick MEM_MAPPED). Once you've made some change in CE, re-attempt to activate the script. If no and no, continue with the next step.
What is the error about? aob_to_Commit_OnUnequip2. Where is this aob_to_Commit_OnUnequip2 used? Open [ Enable ] script (right-click it, Change script), copy entire content, paste it in Notepad++, Ctrl+F for aob_to_Commit_OnUnequip2. If there isn't any useful information here, then right-click [ Enable ] script > Group config > Hide children when activated. Then go into each script you see there, copy its content to Notepad++ and Ctrl+F again for that aob_to_Commit_OnUnequip2. What is it that you're doing in this exercise? You're TRYING TO FIND OUT WHERE aob_to_Commit_OnUnequip2 IS USED. Repeat the process till you'll reach [ Debug ] > Commit_OnUnequip2 script. And you'll see it's used inside the script. So there you have it, you found out which script is aob_to_Commit_OnUnequip2 used in.
Based on the above.. now.. the logic and question you gotta as yourselves is this: Am I using or am I ever going to use Commit_OnUnequip2 script?. Yes/No. If Yes, then the aob needs to be fixed indeed. If No, then YOU DON'T NEED IT. What that translates into is COMMENT THE FUCKING PIECE OF CODE IN [ Enable ] SCRIPT. Commenting is done by using -- characters for 1 single line -or- --[[ ... ]] for multiple lines.
Open [ Enable ] script, go to line 111, press Enter, move cursor back to line 111 and type in --[[. Go to line 118, press Enter, move cursor back to line 118 and type in ]]. Should look like this:
Then go to line 179 and comment the unregister command. Like so:
Click OK and try to run [ Enable ] again. If you get another error regarding some other "Commit_" script, repeat what I taught you above.
And there you have it. You don't need me to fix shit all the time.
If the above is too hard for you, here's the "before last update" original exe (1119132):
Steam 1119132 exe [Link]
Epic Games Store 1119132 exe [Link]
Rename your HogwartsLegacy.exe in Win64 folder to HogwartsLegacy.exe.BAK and extract the exe from zip into that folder.
Run the game as usual.
And if you need the very first version that was released on the 7th of Feb, I got that too:
BR,
Sun
P.S.: You could make it a habit to keep backups of your binaries/exes Replacing current exe with an older one would be the first thing I'd do when something stopped working. I really don't care much for whatever crap has been "fixed" in the binary, to be honest, that I can go back 1 version. And Steam/EGS won't mind that I replaced the exe...
what is aob_to_Commit_OnUnequip2 doing that we might not need that line at all?
The aob points to an address where I grab the SQL statement from memory when I unequip an item. It's printed to Lua Engine console. That's what it's used for: debugging purposes.
Go to first post and find "IF YOU WANT TO HELP AND CONTRIBUTE, THEN PLEASE READ BELOW". Like I said, as long as you don't intend to do any of that there or use the scripts from [ Debug ] section, you don't need it.
--local aob_to_Commit_OnUnequip2 = "B201488D4C24??E8????????84C075??48"
local aob_to_Commit_OnUnequip2 = "B201488D4D??E8????????84C075??48"
local sl = aobScanEx( aob_to_Commit_OnUnequip2 )
if not sl or sl.Count < 1 then stopExec( "'aob_to_Commit_OnUnequip2' not found." ) end
--t = tonumber( sl[0], 16 ) + 0x7
t = tonumber( sl[0], 16 ) + 0x6
unregisterSymbol( "Commit_OnUnequip2" )
registerSymbol( "Commit_OnUnequip2", t, true )
Right-click [ Enable ] script > Change script. Go to line 111 and replace the code block with the above. Click OK and save the table so you don't have to do it every time.
--local aob_to_Commit_OnUnequip2 = "B201488D4C24??E8????????84C075??48"
local aob_to_Commit_OnUnequip2 = "B201488D4D??E8????????84C075??48"
local sl = aobScanEx( aob_to_Commit_OnUnequip2 )
if not sl or sl.Count < 1 then stopExec( "'aob_to_Commit_OnUnequip2' not found." ) end
--t = tonumber( sl[0], 16 ) + 0x7
t = tonumber( sl[0], 16 ) + 0x6
unregisterSymbol( "Commit_OnUnequip2" )
registerSymbol( "Commit_OnUnequip2", t, true )
Right-click [ Enable ] script > Change script. Go to line 111 and replace the code block with the above. Click OK and save the table so you don't have to do it every time.
thank you very much, great SunBeam
I thought the following updates of this table would only appear in Patrion
1) Once I've completed/finished the game, I will uninstall it, as I see no reason to keep it on disk anymore. When future updates happen, then yes, it will be Patreon only, as I'd have to reinstall and check what's up. Thought I trust you can manage from here, given above instructions; so it won't be the case. Unless the DLL breaks...
2) Yes, it's an array of bytes.
B2 01 48 8D 4C 24 ?? E8 ?? ?? ?? ?? 84 C0 75 ?? 48
x x x x x x ? x ? ? ? ? x x x ? x
May I ask which keywords I have to change in this SQL query to lock a specific item? Back_073_Basic comes out as a bugged/nonexistent item and it's included in the full unlock by default.
May I ask which keywords I have to change in this SQL query to lock a specific item? Back_073_Basic comes out as a bugged/nonexistent item and it's included in the full unlock by default.
Nvm, I just found out how to. For those who wants to remove that bugged item (after using the gear unlocks) just use this code: INSERT OR REPLACE INTO LocksDynamic (LockID, ELockState) SELECT LockID, 1 FROM LockDefinition WHERE LockID like "Back_073%";
Then for those who don't want the relic house uniform for the house they don't belong to. Just use these codes
Gryffindor: INSERT OR REPLACE INTO LocksDynamic (LockID, ELockState) SELECT LockID, 1 FROM LockDefinition WHERE LockID like "Back_099%";
Hufflepuff: INSERT OR REPLACE INTO LocksDynamic (LockID, ELockState) SELECT LockID, 1 FROM LockDefinition WHERE LockID like "Back_100%";
Ravenclaw: INSERT OR REPLACE INTO LocksDynamic (LockID, ELockState) SELECT LockID, 1 FROM LockDefinition WHERE LockID like "Back_101%";
Slytherin: INSERT OR REPLACE INTO LocksDynamic (LockID, ELockState) SELECT LockID, 1 FROM LockDefinition WHERE LockID like "Back_102%";
I wonder if DELETE statement would have been better for these but I did not bother to test it.
I'm not even bothering with SQL till I finish the story with just console commands. I really am not one to care for visuals and stats, granted I have invulnerability and can finish the story. That's what interests me, not fashion parade in Harry Poker world