z Baldur's Gate 3

Upload your cheat tables here (No requests)
Gangsteron
What is cheating?
What is cheating?
Posts: 1
Joined: Sat Sep 09, 2023 7:24 pm
Reputation: 0

Re: z Baldur's Gate 3

Post by Gangsteron »

Hello everyone

Please help me. Dog Scratch disappeared from the camp after a party in act 1. I need a console command to teleport, as is done with Dammon.

Tiffany wrote:
Mon Aug 28, 2023 4:26 am
Is there a TeleportTo or MoveTo or similar call?

There's a bug where if you killed the strange cow in act 1 Dammon will not appear in act 2. The game has a script that will try to move him to the Ox which won't be in Act 2. The code first checks the distance to the ox, which he is 100% further than 1.5 meters so he moves to the ox, probably under the map.

lua code in question in HAV_TieflingSurvivors_Weaponsmith

Code: Select all

nodes.OxReaction = Action {
        function()
            if GetDistanceTo(me, monsterOx) >= 1.5 then
                local moveResult = MoveTo(monsterOx,MovementSpeed.Walk, true, true, 1.0, 1.5, false)
            end
            LookAtEntity(monsterOx, 3.0)
            PlayAnimation(inspectingOxMonsterCorpse, false, true)
            mod.dialog.StartCheckedAutomatedDialogRateLimited(
                reactingToMonsterOx,
                {
                    waitForCompletion = false,
                    minDelay = 7.0,
                },
                me
            )

            Sleep(10.0)
            reactedToOx = true
        end,
        Valid = function()
            return GetFlag(oxMonsterKilled) and not reactedToOx
        end,
        OnLeave = function()
            StopAnimation(me)
        end
    }
The only fix I've found suggests using Norbyte's script extender and these commands:

Move the cow to you by running this command

Code: Select all

Osi.TeleportTo("49eb5b4b-c6ed-4d37-8f68-97b1128b7d56", GetHostCharacter())
Move him to you

Code: Select all

Osi.TeleportTo("e2ad06ec-8034-479a-9f69-b86faea6dc79", GetHostCharacter())
I did try something like this...

Code: Select all

[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "49eb5b4b-c6ed-4d37-8f68-97b1128b7d56"

local cmdCall = getAddress("cmdCall")
local cmdArgs = getAddress("cmdArgs")
local cmdStr1 = getAddress("cmdStr1")
PrepareCall("GetHostCharacter")
executeCodeEx(0, nil, cmdCall)
PrepareCall("GetPosition")
executeCodeEx(0, nil, cmdCall)
PrepareCall("TeleportTo")
writePointer(cmdArgs + 0x08, cmdStr1)
writeString(cmdStr1, uuid)
writeBytes(cmdStr1 + #uuid, 0)
writeQword(cmdArgs + 0x48, 0)
writeQword(cmdArgs + 0x58, 0)
writeQword(cmdArgs + 0x68, 0)
executeCodeEx(0, nil, cmdCall)
{$asm}

[DISABLE]
Though it of course crashed my game.


How to use this cheat table?
  1. Install Cheat Engine
  2. Double-click the .CT file in order to open it.
  3. Click the PC icon in Cheat Engine in order to select the game process.
  4. Keep the list.
  5. Activate the trainer options by checking boxes or setting values from 0 to 1

Savvra
What is cheating?
What is cheating?
Posts: 3
Joined: Sat Sep 09, 2023 6:31 pm
Reputation: 1

Re: z Baldur's Gate 3

Post by Savvra »

Savvra wrote:
Sat Sep 09, 2023 6:40 pm
Hi all,

New here, so please forgive any lack of seemingly obvious knowledge on my part! Though I have to say as my first time using this software and interacting with this community I'm very impressed by what is technically possible.


The issue I'm having is that Rolan (the Tiefling Wizard apprentice character) has left The Last Light Inn of his own accord and ended up getting himself killed. I'm aware that my party must have been in close proximity to his location and so have triggered his fight scene, but unfortunately left him to die alone.

Now, what is interesting is that I have a save just before approaching that area (though I may have already triggered the fight previously, IDK) where as I move towards the location I know he will spawn he and the shadow enemies all pop in simultaneously and I see Rolan receive roughly 20 damage from an attack (the amount changes slightly each time I reload). I've tried using turn-based mode to get closer without him suffering this attack but unfortunately, he takes the damage as soon as he spawns or comes into view.

I have a few questions:
1. Is he already dead and simply appearing to die as I approach the area, and so is already in the permadeath database?
2. Is there a way that I can manually set his health to be high enough to survive the damage?
3. Can I spawn him away from the fight to ensure survival?

I'd be very grateful if anyone can help with this :)
Quick update:

Spawning a new Rolan before the original (imminently dying) Rolan came into View allowed me to talk to him as if I'd just saved him from the shadows. I then continued towards the original Roland, saved him, and repeated the conversation again. After this, there were two Rolans on the map, but upon saving and reloading there now seems to only be one (the original).

As far as I can tell Rolan has been saved and the quest to save his siblings is progressing as normal. I tested this by spawning his siblings and talking to them, which updated the journal as if they and Rolan were alive. Hopefully, there will be no unforeseen issues later on.

Dre_MvD
What is cheating?
What is cheating?
Posts: 2
Joined: Sun Sep 03, 2023 2:39 am
Reputation: 0

Re: z Baldur's Gate 3

Post by Dre_MvD »

Thepledge wrote:
Mon Aug 21, 2023 1:31 am
Sylvar wrote:
Sun Aug 20, 2023 11:28 pm
Okay so for those who have been posting questions about multiple romances, I wanted to share my experience.

There are stages in the romances, i.e. dating, partnered, past partners with etc.

If you have multiple IsDating flags set to = 1 then when one of those origin characters enters a partnership with you, the others who you were dating will give you some form of "I saw you're going steady with so and so" and break things off with you.

However, I have found a separate flag state of "--ORI_State_PartneredWith" and I was doing some testing, I set the flag state of this to = 1 with both Shadowheart and Astarion. So far they are both acting as if they are in a relationship with me, I.e. I can go up to each of them and ask them for a kiss, talk "about us" etc. and doing so with one does not seem to incur any disapproval with the other, even if we're partied up together. They seem to act as if they are oblivious to my partnership with the other.

I haven't noticed any major bugs with this test, the only thing I noticed is when Halsin asks about being with you and asks you to check with your partner, it gives you the option in dialogue to say you'll check with either Shadowheart or Astarion, though you only need to click one of the options to progress dialogue. However, you can go talk to and get consent from both of them to pursue Halsin.

The other thing I noticed is the drow twins seems to default to whomever you were partnered with first, if you try to pick the both option at Sharess' Caress. For me it acts as if Astarion is my partner even if I have Shadowheart in the party instead.

I have yet to complete either of their respective personal quests yet, nor have I gotten Shadowheart's romance scene in act 3, but figured I would share what my testing had resulted in so far!

Hope that this helps!
Great work finding that stuff, I've updated my code to include all the partnered attributes, and by looking into the "Act2_ORI_RomanceConflict.txt" it seems like once the characters are at the partnered state it no longer looks for conflicts. Should mean that if you either use my scripts to selectively disable other romances to see the initiation scenes, or just skip to the partnered states, it might be free and clear. Also seems like halsin has no isdating flag, but skips straight to either partnered or secondary partnered.

Here's the new scripts. as with the old one, needs to be pasted into zanzer's table and the console commands need to be registered.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>4762</ID>
      <Description>"Romance Flags"</Description>
      <Options moHideChildren="1"/>
      <LastState Value="" RealAddress="00000000"/>
      <GroupHeader>1</GroupHeader>
      <CheatEntries>
        <CheatEntry>
          <ID>4763</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>4764</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>4765</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>4766</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>4767</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>4788</ID>
          <Description>"Partnered With Gale"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "e008e20d-d642-42ed-9008-297b6273aa21" --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>4789</ID>
          <Description>"Partnered With Wyll"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "5db4c1b6-3c42-43ae-aa85-1844acbf5a1d" -- 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>4784</ID>
          <Description>"Partnered With Asterion"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "30819c8d-b39d-42e7-acd1-2a8c2c309994" -- 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>4790</ID>
          <Description>"Partnered With Halsin"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "7b53fe60-bb16-48a9-ae5c-9bce1dfac1a9" -- 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>4791</ID>
          <Description>"Partnered With Halsin Secondary"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "6af0be74-d032-4a20-876a-11bab5f86db2" -- 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>4776</ID>
          <Description>"Partnered With Shadowheart"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "3808ae35-ad4e-465b-800b-63d32b77211e" -- 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>4778</ID>
          <Description>"Partnered With Lae'zel"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "d169a786-6e56-4f0d-a2eb-33c48d8d1160" -- 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>4782</ID>
          <Description>"Partnered With Minthara"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "39ac48fa-b440-47e6-a436-6dc9b10058d8" -- 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>4780</ID>
          <Description>"Partnered With Karlach"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "d9ff60fa-0af9-45d7-99b4-bd7c3f80ed12" -- 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>4768</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>4769</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>4770</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>4771</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("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>4772</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>4773</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>4775</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>
        <CheatEntry>
          <ID>4774</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>4786</ID>
          <Description>"Clear Partnered With Gale"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "e008e20d-d642-42ed-9008-297b6273aa21" --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>4787</ID>
          <Description>"Clear Partnered With Wyll"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "5db4c1b6-3c42-43ae-aa85-1844acbf5a1d" -- 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>4785</ID>
          <Description>"Clear Partnered With Asterion"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "30819c8d-b39d-42e7-acd1-2a8c2c309994" -- 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>4779</ID>
          <Description>"Clear Partnered Shadowheart"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "3808ae35-ad4e-465b-800b-63d32b77211e" -- 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>4777</ID>
          <Description>"Clear Partnered Lae'zel"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "d169a786-6e56-4f0d-a2eb-33c48d8d1160" -- 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>4783</ID>
          <Description>"Clear Partnered Minthara"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "39ac48fa-b440-47e6-a436-6dc9b10058d8" -- 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>4781</ID>
          <Description>"Clear Partnered Karlach"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "d9ff60fa-0af9-45d7-99b4-bd7c3f80ed12" -- 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>
Would you be willing to add scripts to toggle the past partners states?

EvenLess
Expert Cheater
Expert Cheater
Posts: 181
Joined: Fri Aug 04, 2023 10:59 pm
Reputation: 207

Re: z Baldur's Gate 3

Post by EvenLess »

The Baldur's Gate 3 Commander
Image

Finally got around to getting a bit more done on the form. I probably won't do much more on it. The Cheat Table is doesn't contain much in itself. It contains Zanzer's Console Commands as the only Memory Records. The rest is handled in the Cheat Table Lua Script, which you will be asked to run when loading the Cheat Table. The script is also partially stripped down (still a lot of orphaned code that I haven't cleaned up). It's essentially just the event handlers for the form, and the timer that handles the auto attaching.

EDIT: Just cleaned out some orphaned code and fixed the autoloading.
Open the Cheat Table before starting the game. Ensure the script is run when you're asked. If you don't trust it, then ask someone you trust to verify before running it, always a good idea, if you can't verify it yourself. Attached the CT to this post mostly for reference.

I recorded a small [Link] (still processing at time of writing). that shows it in action.

The Cheat Table [Link] and the database [Link] have been uploaded to Google Drive. The database must reside in the same folder as the Cheat Table, otherwise you will need to edit the script to add the path.

As I've mentioned in a previous post, I made [Link] to ingest Noway3's JSON dumps, so all the data is taken from his work.

As always, feel free to use it in your own tables.
Attachments
BG3Commander.CT
(241.77 KiB) Downloaded 1415 times
Last edited by EvenLess on Wed Nov 01, 2023 12:04 am, edited 2 times in total.

Babbymode
Expert Cheater
Expert Cheater
Posts: 61
Joined: Sat May 20, 2017 8:45 pm
Reputation: 22

Re: z Baldur's Gate 3

Post by Babbymode »

OtakuGamer wrote:
Fri Sep 08, 2023 3:52 pm
I don't get many crashes with the tables, even with the latest patch, but for some reason the always roll 20 cheat still crashes me at times, even in Act 1. Just today I got a crash at a check when encountering the bloated hyenas, and the previous days I kept crashing when Zevlor argues with Aradin after the first grove fight.

Really odd since the code seems clean:

Code: Select all

AddBoostsToPlayer("MinimumRollResult(RawAbility,20);MinimumRollResult(SkillCheck,20);MinimumRollResult(SavingThrow,20)")
It crashes on very specific triggers that unfortunately make the use of this boost effectively impossible, I have been playing around with conditions to try and mitigate it, but unfortunately it appears to be an actual crash bug with the game and some as yet unknown variable surrounding that function's code itself.

Dark.6083
Noobzor
Noobzor
Posts: 9
Joined: Fri Oct 12, 2018 3:51 am
Reputation: 0

Re: z Baldur's Gate 3

Post by Dark.6083 »

Dark.6083 wrote:
Sun Sep 03, 2023 6:01 am
Does anyone have the UUIDs for the three letters on Gomwick, the dead courier where we pick up Scratch?

I thought I kept the letters, and certainly planned to do so. I only discovered in Act 3 that I had stupidly sold them, and loading a save from before Act 2 revealed that I had sold them to the Grove merchant. Using the "Last Item Dropped UUID" gave me the following for the three letters:

S_FOR_Courier_Letter3_0cca612d-0e08-48fe-8011-ca050aa5569b
S_FOR_Courier_Letter2_c6d04a5f-8624-462f-b0a0-52a61687bb58
S_FOR_Courier_Letter1_e599debc-5e67-4baa-a4da-5cc6c6c64b23

Their template UUIDs were the same: BOOK_Letter_A_e027e262-3707-43c9-b023-d80778956f71

The problem is I can't spawn any of them using the last 36 characters (like "0cca612d-0e08-48fe-8011-ca050aa5569b").
They're not on any UUID list I could find, and I don't think the Last Item Dropped UUID is even the right one to spawn them. I tested the Perfumed Letter, and the UUID used to spawn one isn't the same as the result from when I drop it.

Can somebody help, please?

(The reason I'm looking is because at least the letter from his boss triggers dialogue with his boss. I suspect the others are also relevant to things in the city.)
I haven't heard of any way to get these letters, but was told this flag will unlock the dialogue option to hand over the letter:

WYR_Posthouse_State_PlayerHasCourierLetter_2dbbcfdf-d3e1-49a6-920f-ee34d9dd6422

I have not tried it, I just kind of gave up and moved on.

321123
Expert Cheater
Expert Cheater
Posts: 84
Joined: Mon Feb 26, 2018 9:30 pm
Reputation: 17

Re: z Baldur's Gate 3

Post by 321123 »

EvenLess wrote:
Sat Sep 09, 2023 10:33 pm
The Baldur's Gate 3 Commander
Image

Finally got around to getting a bit more done on the form. I probably won't do much more on it. The Cheat Table is doesn't contain much in itself. It contains Zanzer's Console Commands as the only Memory Records. The rest is handled in the Cheat Table Lua Script, which you will be asked to run when loading the Cheat Table. The script is also partially stripped down (still a lot of orphaned code that I haven't cleaned up). It's essentially just the event handlers for the form, and the timer that handles the auto attaching.

EDIT: Just cleaned out some orphaned code and fixed the autoloading.
Open the Cheat Table before starting the game. Ensure the script is run when you're asked. If you don't trust it, then ask someone you trust to verify before running it, always a good idea, if you can't verify it yourself. Attached the CT to this post mostly for reference.

I recorded a small [Link] (still processing at time of writing). that shows it in action.

The Cheat Table [Link] and the database [Link] have been uploaded to Google Drive. The database must reside in the same folder as the Cheat Table, otherwise you will need to edit the script to add the path.

As I've mentioned in a previous post, I made [Link] to ingest Noway3's JSON dumps, so all the data is taken from his work.

As always, feel free to use it in your own tables.
Let me start by thanking you for the awesome sorting idea,
unfortunately, while the script attaches and turns green, when i click on "restore and show " nothing happens any ideas?
I downloaded the table shared on this post.

momoception
What is cheating?
What is cheating?
Posts: 4
Joined: Fri Nov 26, 2021 3:48 am
Reputation: 0

Re: z Baldur's Gate 3

Post by momoception »

EvenLess wrote:
Sat Sep 09, 2023 10:33 pm
The Baldur's Gate 3 Commander
Image

Finally got around to getting a bit more done on the form. I probably won't do much more on it. The Cheat Table is doesn't contain much in itself. It contains Zanzer's Console Commands as the only Memory Records. The rest is handled in the Cheat Table Lua Script, which you will be asked to run when loading the Cheat Table. The script is also partially stripped down (still a lot of orphaned code that I haven't cleaned up). It's essentially just the event handlers for the form, and the timer that handles the auto attaching.

EDIT: Just cleaned out some orphaned code and fixed the autoloading.
Open the Cheat Table before starting the game. Ensure the script is run when you're asked. If you don't trust it, then ask someone you trust to verify before running it, always a good idea, if you can't verify it yourself. Attached the CT to this post mostly for reference.

I recorded a small [Link] (still processing at time of writing). that shows it in action.

The Cheat Table [Link] and the database [Link] have been uploaded to Google Drive. The database must reside in the same folder as the Cheat Table, otherwise you will need to edit the script to add the path.

As I've mentioned in a previous post, I made [Link] to ingest Noway3's JSON dumps, so all the data is taken from his work.

As always, feel free to use it in your own tables.
I cannot get it to work, following the steps in the video.

Is it compatible with mods?

Dimensionist
Expert Cheater
Expert Cheater
Posts: 176
Joined: Sat Mar 04, 2017 5:04 am
Reputation: 20

Re: z Baldur's Gate 3

Post by Dimensionist »

momoception wrote:
Sun Sep 10, 2023 4:38 am
EvenLess wrote:
Sat Sep 09, 2023 10:33 pm
The Baldur's Gate 3 Commander
Image

Finally got around to getting a bit more done on the form. I probably won't do much more on it. The Cheat Table is doesn't contain much in itself. It contains Zanzer's Console Commands as the only Memory Records. The rest is handled in the Cheat Table Lua Script, which you will be asked to run when loading the Cheat Table. The script is also partially stripped down (still a lot of orphaned code that I haven't cleaned up). It's essentially just the event handlers for the form, and the timer that handles the auto attaching.

EDIT: Just cleaned out some orphaned code and fixed the autoloading.
Open the Cheat Table before starting the game. Ensure the script is run when you're asked. If you don't trust it, then ask someone you trust to verify before running it, always a good idea, if you can't verify it yourself. Attached the CT to this post mostly for reference.

I recorded a small [Link] (still processing at time of writing). that shows it in action.

The Cheat Table [Link] and the database [Link] have been uploaded to Google Drive. The database must reside in the same folder as the Cheat Table, otherwise you will need to edit the script to add the path.

As I've mentioned in a previous post, I made [Link] to ingest Noway3's JSON dumps, so all the data is taken from his work.

As always, feel free to use it in your own tables.
I cannot get it to work, following the steps in the video.

Is it compatible with mods?
Same. Might be a mod issue, but the other cheat table seems to be working fine with my mods.

Babbymode
Expert Cheater
Expert Cheater
Posts: 61
Joined: Sat May 20, 2017 8:45 pm
Reputation: 22

Re: z Baldur's Gate 3

Post by Babbymode »

I have my personal wacky spell/action enhancing function, it combines most metamagic effects and empowers you and pretty much everything you can do. It's a bit janky for some spells and actions but it doesn't break or crash:

All durations are until long rest
Range is increased 10m
Applies or increases an area of effect 3m
+2 targets/casts/projectiles
Verbal component ignored
Action/spell is stealthy
Melee ignored
enemies have disadvantage on their save
allies automatically succeed their save
use costs overridden to using 0 Actions/BAs/Reactions

Code: Select all

{$lua}
if syntaxcheck then return end
[ENABLE]
boosts = "UnlockSpellVariant(IsSpell() or not IsSpell(),ModifySpellRoll('not SavingThrow','SpellAutoResolveOnAlly'),ModifyStatusDuration(Override,-1),ModifySummonDuration(Override,-1),ModifySurfaceDuration(Override,-1),ModifyTargetRadius(AdditiveBase,10),ModifyAreaRadius(AdditiveBase,3),ModifyNumberOfTargets(AdditiveBase,2),ModifyMaximumTargets(AdditiveBase,2),ModifySpellFlags(Verbal,0),ModifySpellFlags(Stealth,1),ModifySpellFlags(Melee,0),ModifySavingThrowDisadvantage(),ModifyUseCosts(Override,ActionPoint,0,0),ModifyUseCosts(Override,BonusActionPoint,0,0),ModifyUseCosts(Override,ReactionActionPoint,0,0),ModifyTooltipDescription())"
AddBoostsToPlayer(boosts)
[DISABLE]

windgale
Novice Cheater
Novice Cheater
Posts: 24
Joined: Thu Nov 23, 2017 1:43 am
Reputation: 2

Re: z Baldur's Gate 3

Post by windgale »

321123 wrote:
Sun Sep 10, 2023 3:10 am
Let me start by thanking you for the awesome sorting idea,
unfortunately, while the script attaches and turns green, when i click on "restore and show " nothing happens any ideas?
I downloaded the table shared on this post.
momoception wrote:
Sun Sep 10, 2023 4:38 am
I cannot get it to work, following the steps in the video.

Is it compatible with mods?
Dimensionist wrote:
Sun Sep 10, 2023 5:59 am
Same. Might be a mod issue, but the other cheat table seems to be working fine with my mods.
So I was going to post the same except I didn't have mods installed on my game, so I started messing around in my settings on CE. I toggled the option to have CE show all open windows in the Task Bar and when I looked it said that the Commander window was open but I couldn't actually pop it up.

From what I figured out it looks like it opens up minimized or at the very least extremely small, and in my case it was behind my game window. I opened up my Task Manager and expanded the CE processes and selected the Commander window and Right-Clicked, hit Maximize and it worked for me. You may also have to bring to front first via the same method, not sure.

Hope this helps!

User avatar
AkimboDK
Expert Cheater
Expert Cheater
Posts: 167
Joined: Tue Jan 23, 2018 7:57 pm
Reputation: 23

Re: z Baldur's Gate 3

Post by AkimboDK »

Babbymode wrote:
Sun Sep 10, 2023 8:06 am
I have my personal wacky spell/action enhancing function, it combines most metamagic effects and empowers you and pretty much everything you can do. It's a bit janky for some spells and actions but it doesn't break or crash:

All durations are until long rest
Range is increased 10m
Applies or increases an area of effect 3m
+2 targets/casts/projectiles
Verbal component ignored
Action/spell is stealthy
Melee ignored
enemies have disadvantage on their save
allies automatically succeed their save
use costs overridden to using 0 Actions/BAs/Reactions

Code: Select all

{$lua}
if syntaxcheck then return end
[ENABLE]
boosts = "UnlockSpellVariant(IsSpell() or not IsSpell(),ModifySpellRoll('not SavingThrow','SpellAutoResolveOnAlly'),ModifyStatusDuration(Override,-1),ModifySummonDuration(Override,-1),ModifySurfaceDuration(Override,-1),ModifyTargetRadius(AdditiveBase,10),ModifyAreaRadius(AdditiveBase,3),ModifyNumberOfTargets(AdditiveBase,2),ModifyMaximumTargets(AdditiveBase,2),ModifySpellFlags(Verbal,0),ModifySpellFlags(Stealth,1),ModifySpellFlags(Melee,0),ModifySavingThrowDisadvantage(),ModifyUseCosts(Override,ActionPoint,0,0),ModifyUseCosts(Override,BonusActionPoint,0,0),ModifyUseCosts(Override,ReactionActionPoint,0,0),ModifyTooltipDescription())"
AddBoostsToPlayer(boosts)
[DISABLE]
OMG DUUUDE!! This one is so much better than Twinned Spell HOLY shit, I can cast 3 disintegrates niiice!
although I added the line Removeboostfromplayer because if you disabled it and enabled it it will multiply and they are permanent, which can mess up the save.
Last edited by AkimboDK on Sun Sep 10, 2023 12:30 pm, edited 1 time in total.

User avatar
BrutalBirdie
What is cheating?
What is cheating?
Posts: 4
Joined: Thu Aug 31, 2023 7:56 pm
Reputation: 1

Re: z Baldur's Gate 3

Post by BrutalBirdie »

windgale wrote:
Sun Sep 10, 2023 11:10 am
So I was going to post the same except I didn't have mods installed on my game, so I started messing around in my settings on CE. I toggled the option to have CE show all open windows in the Task Bar and when I looked it said that the Commander window was open but I couldn't actually pop it up.

From what I figured out it looks like it opens up minimized or at the very least extremely small, and in my case it was behind my game window. I opened up my Task Manager and expanded the CE processes and selected the Commander window and Right-Clicked, hit Maximize and it worked for me. You may also have to bring to front first via the same method, not sure.

Hope this helps!
Yes this helped! Thank you very much.

Dahata
What is cheating?
What is cheating?
Posts: 3
Joined: Sun Sep 03, 2023 6:33 am
Reputation: 0

Re: z Baldur's Gate 3

Post by Dahata »

Has anyone figured out how to unlock all waypoints or specific ones?
Maybe teleport to specific areas?
Missed the entirety of the Underdark in ACT 1 and it's locked by now.

User avatar
AkimboDK
Expert Cheater
Expert Cheater
Posts: 167
Joined: Tue Jan 23, 2018 7:57 pm
Reputation: 23

Re: z Baldur's Gate 3

Post by AkimboDK »

Is there any code for this that "if" spend a action, spell, then ResetCoolDown or something? that would be really cool for some certain actions that require you to wait a turn or make a long rest.

Post Reply