Re: z Baldur's Gate 3
Posted: Sat Aug 12, 2023 6:21 pm
Community Cheat Tables of Cheat Engine
https://fearlessrevolution.com/
U no need use scan option. Just toggle scripts.theartfuldodger17 wrote: ↑Sat Aug 12, 2023 6:20 pmA couple maybe dumb questions - so I'm using the bg3 table - I'm doing the:
- Register Command
- Add 1000 gold
I change the value to 1 from 0, do first scan, but then I don't get anything when I do next scan. Do I have to do something between scans to have it take effect again? Or can I only do this once per session?
Hazukashi wrote: ↑Sat Aug 12, 2023 10:14 amDoes anyone have a full ID list of unique/non-common rarity weapons, armors and equipment? Or maybe a working cheat engine table that allows you to spawn them in your inventory or on the floor. Currently the most update bg3.CT on 11 Aug GMT +8:00 item spawner spawn sets only spawn empty pouches, while bg3.CT and bg3_item_spells.CT only have a limited selection of them.
Also, the game sometimes crashes if you spawn items. Is this an intrinsic and unsolvable issue?
Execute this script asynchronous. Way less crashes, but still can happens.
Is executing the script asynchronously a toggleable feature or do I have to do it every time?pumasky2 wrote: ↑Sat Aug 12, 2023 6:33 pmHazukashi wrote: ↑Sat Aug 12, 2023 10:14 amDoes anyone have a full ID list of unique/non-common rarity weapons, armors and equipment? Or maybe a working cheat engine table that allows you to spawn them in your inventory or on the floor. Currently the most update bg3.CT on 11 Aug GMT +8:00 item spawner spawn sets only spawn empty pouches, while bg3.CT and bg3_item_spells.CT only have a limited selection of them.
Also, the game sometimes crashes if you spawn items. Is this an intrinsic and unsolvable issue?Execute this script asynchronous. Way less crashes, but still can happens.
It add 2 different version on aid this way. One upscaled second dont. And yeah they dosent merge together, some of them do. Like zombie spell u can add ghouls to container without problemHazukashi wrote: ↑Sat Aug 12, 2023 6:48 pmSeems like some spells that can be upcasted like [Aid] do not have the upcast option when I tried adding them using [Shout_Aid] and Shout_Aid_3] that I found in the SpellList.lsx. Can anyone help me out on this? Is it because the "add spell" option in the CT adds under the in-game [Common Tab] instead of the [Spellbook *class name*]?
Another example might be [Scorch Ray].
i have made a new cheat table with your code and it always says lua error at line 2:Failure to determining what CMDcall means. so im still stuck in the romance with wyll (and the offers from gale and halsin) that i never wanted ... if you have an idea that would be great.Thepledge wrote: ↑Sat Aug 12, 2023 3:45 pmI've made a series of console commands for setting and clearing the various isdating flags, and have managed to start the romance paths with everyone but wyll so far in my game by clearing other romances, then trying to trigger the relevant dialog, IE, get approval high with gale, clear all romances, camp, wait til night, get magic lessons, then reset all your romances. probably there will be other conflicts to navigate as time goes on, but working alright so far.
Just copy the below code, then press ctrl v within your cheatengine table
I believe that it may need to be pasted into Zanzer's table, in the console sectionWiese2007 wrote: ↑Sat Aug 12, 2023 6:54 pmi have made a new cheat table with your code and it always says lua error at line 2:Failure to determining what CMDcall means. so im still stuck in the romance with wyll (and the offers from gale and halsin) that i never wanted ... if you have an idea that would be great.Thepledge wrote: ↑Sat Aug 12, 2023 3:45 pmI've made a series of console commands for setting and clearing the various isdating flags, and have managed to start the romance paths with everyone but wyll so far in my game by clearing other romances, then trying to trigger the relevant dialog, IE, get approval high with gale, clear all romances, camp, wait til night, get magic lessons, then reset all your romances. probably there will be other conflicts to navigate as time goes on, but working alright so far.
Just copy the below code, then press ctrl v within your cheatengine table
I'm in the same boat, looking for Olodan, can't find her in roottemplates, don't know where else to look. What was your method for spawing NPCs?DoDannyBoy wrote: ↑Sat Aug 12, 2023 7:08 pmHey all! I figured out my previous problem of actually spawning NPCs, but now I need to find the UUID for Dammon. Does anyone have his UUID or could anyone direct me to some list of all NPC UUIDs so I can find his? Thanks!
good idea but that i have tried also xD same error messageThepledge wrote: ↑Sat Aug 12, 2023 7:22 pmI believe that it may need to be pasted into Zanzer's table, in the console sectionWiese2007 wrote: ↑Sat Aug 12, 2023 6:54 pmi have made a new cheat table with your code and it always says lua error at line 2:Failure to determining what CMDcall means. so im still stuck in the romance with wyll (and the offers from gale and halsin) that i never wanted ... if you have an idea that would be great.Thepledge wrote: ↑Sat Aug 12, 2023 3:45 pm
I've made a series of console commands for setting and clearing the various isdating flags, and have managed to start the romance paths with everyone but wyll so far in my game by clearing other romances, then trying to trigger the relevant dialog, IE, get approval high with gale, clear all romances, camp, wait til night, get magic lessons, then reset all your romances. probably there will be other conflicts to navigate as time goes on, but working alright so far.
Just copy the below code, then press ctrl v within your cheatengine table
how do I use this? I'm not used to cheat engine, I normally use a premade cheat tableThepledge wrote: ↑Sat Aug 12, 2023 3:45 pmI've made a series of console commands for setting and clearing the various isdating flags, and have managed to start the romance paths with everyone but wyll so far in my game by clearing other romances, then trying to trigger the relevant dialog, IE, get approval high with gale, clear all romances, camp, wait til night, get magic lessons, then reset all your romances. probably there will be other conflicts to navigate as time goes on, but working alright so far.
Just copy the below code, then press ctrl v within your cheatengine table
Code: Select all
<?xml version="1.0" encoding="utf-8"?> <CheatTable> <CheatEntries> <CheatEntry> <ID>4499</ID> <Description>"Romance Flags"</Description> <LastState Value="" RealAddress="00000000"/> <GroupHeader>1</GroupHeader> <CheatEntries> <CheatEntry> <ID>4507</ID> <Description>"Dating Gale"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "75d0e041-c16c-d089-6d89-64354fa4c9d9" --Debug_SetReallyTagsToo local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("SetFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> <CheatEntry> <ID>4492</ID> <Description>"Dating Wyll"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "f1520748-1d36-4500-9f8a-0da4207f8dd5" -- ORI_State_DatingWithWyll local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("SetFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> <CheatEntry> <ID>4493</ID> <Description>"Dating Astarion"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "ba298c56-26b6-4918-9bd4-616668d369d8" -- ORI_State_DatingAstarion local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("SetFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> <CheatEntry> <ID>4494</ID> <Description>"Dating Shadowheart"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "e87f1e21-a758-47ae-8c0e-9e715eb289b5" -- ORI_State_DatingShadowheart local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("SetFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> <CheatEntry> <ID>4508</ID> <Description>"Dating Lae'zel"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "86eaa84a-350b-401b-8b43-b53eeb534579" -- ORI_State_DatingLaezel local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("SetFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> <CheatEntry> <ID>4509</ID> <Description>"Dating Minthara"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "de1360cd-894b-40ea-95a7-1166d675d040" -- ORI_State_DatingMinthara local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("SetFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> <CheatEntry> <ID>4510</ID> <Description>"Dating Karlach"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "f24c3f3e-7287-4908-84bf-ba314921f5ee" -- ORI_State_DatingKarlach local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("SetFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> <CheatEntry> <ID>4511</ID> <Description>"Dating"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "a3346d5b-c54b-4c73-bf18-0a2bf90c35da" -- ORI_State_Dating local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("SetFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> <CheatEntry> <ID>4500</ID> <Description>"Clear Dating Gale"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "75d0e041-c16c-d089-6d89-64354fa4c9d9" --Debug_SetReallyTagsToo local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("ClearFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> <CheatEntry> <ID>4501</ID> <Description>"Clear Dating Wyll"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "f1520748-1d36-4500-9f8a-0da4207f8dd5" -- ORI_State_DatingWithWyll local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("ClearFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> <CheatEntry> <ID>4502</ID> <Description>"Clear Dating Astarion"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "ba298c56-26b6-4918-9bd4-616668d369d8" -- ORI_State_DatingAstarion local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("ClearFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> <CheatEntry> <ID>4503</ID> <Description>"Clear Dating Shadowheart"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "e87f1e21-a758-47ae-8c0e-9e715eb289b5" -- ORI_State_DatingShadowheart local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("SetFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> <CheatEntry> <ID>4504</ID> <Description>"Clear Dating Lae'zel"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "86eaa84a-350b-401b-8b43-b53eeb534579" -- ORI_State_DatingLaezel local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("ClearFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> <CheatEntry> <ID>4505</ID> <Description>"Clear Dating Minthara"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "de1360cd-894b-40ea-95a7-1166d675d040" -- ORI_State_DatingMinthara local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("ClearFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> <CheatEntry> <ID>4512</ID> <Description>"Clear Dating"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "a3346d5b-c54b-4c73-bf18-0a2bf90c35da" -- ORI_State_Dating local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("ClearFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> <CheatEntry> <ID>4506</ID> <Description>"Clear Dating Karlach"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] {$lua} if syntaxcheck then return end local uuid = "f24c3f3e-7287-4908-84bf-ba314921f5ee" -- ORI_State_DatingKarlach local cmdCall = getAddress("cmdCall") local cmdArgs = getAddress("cmdArgs") local cmdStr1 = getAddress("cmdStr1") local cmdStr2 = getAddress("cmdStr2") PrepareCall("GetHostCharacter") executeCodeEx(0, nil, cmdCall) local player = readPointer(cmdArgs + 0x08) player = readString(player, 256, false) writeString(cmdStr1, player) writeBytes(cmdStr1 + #player, 0) writeString(cmdStr2, uuid) writeBytes(cmdStr2 + #uuid, 0) PrepareCall("ClearFlag") writePointer(cmdArgs + 0x08, cmdStr2) writePointer(cmdArgs + 0x18, cmdStr1) writeQword(cmdArgs + 0x28, 0) writeQword(cmdArgs + 0x38, 1) local result = executeCodeEx(0, nil, cmdCall) print(result == 1 and "success" or "failure") {$asm} [DISABLE] </AssemblerScript> </CheatEntry> </CheatEntries> </CheatEntry> </CheatEntries> </CheatTable>