z Baldur's Gate 3

Upload your cheat tables here (No requests)
browdybrembo
Expert Cheater
Expert Cheater
Posts: 64
Joined: Wed Jun 13, 2018 1:53 pm
Reputation: 7

Re: z Baldur's Gate 3

Post by browdybrembo »

does anyone know what all the abbreviations mean like ARM, COL, etc...or which page is it on? Ive gone through soo many pages now cant seem to find it

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

Ontos
Expert Cheater
Expert Cheater
Posts: 101
Joined: Sat Apr 22, 2017 6:58 pm
Reputation: 3

Re: z Baldur's Gate 3

Post by Ontos »

EvenLess wrote:
Sun Aug 13, 2023 8:47 pm
Ontos wrote:
Sun Aug 13, 2023 1:44 pm
Is the table compatible with mods? I want to try some, from nexus_mods. Specifically, Full Release Mod Fixer, Books Notes Zero Weight, More Actions.
All those links give me a page not found?
Because this site replaces links to nexus_mods (even the name if I didn't put a lower dash) with the site name, fearlessrevolution. I don't know why this is done.
Replace it with nexus_mods (without the dash) and the links will work.

Felel
What is cheating?
What is cheating?
Posts: 1
Joined: Mon Aug 14, 2023 2:26 am
Reputation: 0

Re: z Baldur's Gate 3

Post by Felel »

hi. I have a huge problem, game progress is simply locked because if that
So I released a pixie from a lantern and she gave me buff and item named "Filigreed Feywild Bell" that I can use to reapply this buff. later before ending act 2, I switched to act 1 and sold this item to vendor, then killed the vendor few hours later. now I can't finish act 2

I tried summoning this item with cheatengine, it was summoned but I can't use it. nothing happens. it is not usable
So I really don't know what to do. may be I can somehow resurrect the NPC I sold Filigreed Feywild Bell to (probably won't even work because this npc is hostile to me because of my actions)? may be I can track the exact unique id of original item somehow?

YkirMor
Noobzor
Noobzor
Posts: 5
Joined: Mon Aug 14, 2023 2:29 am
Reputation: 0

Re: z Baldur's Gate 3

Post by YkirMor »

Hey everyone. I made an account specifically because i cant seem to find a way to remove my brothers custom character from the game after searching all day long. He wants to remake his entire character without taking up a party slot with his old creation. I know you can change tags/give race bonuses/etc, but he is also unhappy with his characters looks so i have no other way around completely remaking it somehow. Please help in any way possible even if it isn't possible through CE.

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 »

Hacked a script together, that will read a list from a text file (placed in the same folder as the Cheat Table) and execute commands using that list.

The example I've made so far, is essentially Dildes SpellList that I have reformatted and pasted into a text file, and then rewrote the script that Zanzer/Dilde wrote, to use the external file instead.

The idea is that it will be easier to update lists of spells, boosts, items and whatnot, f.ex. creating a wizardSpells.txt list, and then using that in a script just for adding all wizard spells.

Simply change the fileName variable to the textfile to be used.
Replace AddSpell with RemoveSpell to remove the list instead, i.e. create two scripts, one for adding and one for removing.

Attached to this post is a spellList.txt for reference.

Code: Select all

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

local fileName= "spellList.txt"

local cmdCall = getAddress("cmdCall")
local cmdArgs = getAddress("cmdArgs")
local cmdStr1 = getAddress("cmdStr1")
PrepareCall("GetHostCharacter")
executeCodeEx(0, nil, cmdCall)

PrepareCall("AddSpell")
writePointer(cmdArgs + 0x18, cmdStr1)
writeQword(cmdArgs + 0x28, 0)
writeQword(cmdArgs + 0x38, 0)

for spell in io.lines(fileName) do
  writeString(cmdStr1, spell)
  writeBytes(cmdStr1 + #spell, 0)
  local result = executeCodeEx(0, nil, cmdCall)
  print(result == 1
    and string.format("ADD SUCCESS! %s.", spell)
     or string.format("ADD FAILURE! %s", spell))
end
{$asm}
assert(true)
[DISABLE]
Attachments
spellList.txt
(5.99 KiB) Downloaded 341 times

Zanzer
RCE Fanatics
RCE Fanatics
Posts: 1104
Joined: Fri Mar 03, 2017 10:48 pm
Reputation: 3575

Re: z Baldur's Gate 3

Post by Zanzer »

Someone who has another player's character in their party will have to test these out.

Select the character you want gone and try some of these scripts.

May need to try them in different orders. May need to kill the character afterwards.

No clue, don't have the problem.

Code: Select all

-- Select the character you want gone and execute
local player = GetHostCharacter()
SetArgToString(0, player)
-- Then select your main character and execute
local player = GetHostCharacter()
SetArgToString(1, player)
ExecuteCall("RemovePartyFollower")

Code: Select all

local player = GetHostCharacter()
SetArgToString(0, player)
ExecuteCall("UnregisterAsCompanion")

Code: Select all

local player = GetHostCharacter()
SetArgToString(0, player)
SetArgToLong(1, 0)
ExecuteCall("SetBlockDismiss")

Code: Select all

local player = GetHostCharacter()
SetArgToString(0, player)
ExecuteCall("MakeNPC")

yaodm2020
Expert Cheater
Expert Cheater
Posts: 50
Joined: Mon Mar 09, 2020 12:31 am
Reputation: 8

Re: z Baldur's Gate 3

Post by yaodm2020 »

I would like to ask a question, how to not apply the mod method of unpacking and packing, but only use ce to realize the ability to customize spells.

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 »

RogueTech wrote:
Mon Aug 14, 2023 12:08 am
Zanzer wrote:
Sun Aug 13, 2023 11:14 pm
I rewrote a lot of the console commands so that the scripts can appear more streamlined.

Also added a new Weapon Enchantments section to the console to start apply stats to your gear.
Such as thrown weapons automatically returning to you.
@Zanzer, Sincerely, thanks for all these updates. But I'm going to ask this anyway. With this constantly be updated, how is one to know what version of the game it is for when every file is simply named the same [bg3.CT]? Is there a reason when a update is released, it does not contain the game version in the name, along with a "count (i.e. bg3-4.1.1.3636828-(6))? I'm not being a "pick your derogatory word", it just seems ato me that would be something so simple, and remove all confusion. Thanks in advance.

I'm assuming this latest copy released around 7:30pm EST on Aug 13th, 2023 is for game version 4.1.1.3636828 (Aug 11, 2023) - Hotfix #3 - Build ID: 11923859
I see Zanzer changed the first post to no include every version. Most likely because several people couldn't figure out to read the added comment below each of the bg3.CT attachment and kept asking which was the latest (even though they were sorted with latest added at the top).

Anyhow, now that they are all gone from the first post, I second this. Whether it's added to the filename, a comment on the attachment, a header entry in the cheat table, doesn't really matter to me. I just like to hoard old versions, to use as reference :)

YkirMor
Noobzor
Noobzor
Posts: 5
Joined: Mon Aug 14, 2023 2:29 am
Reputation: 0

Re: z Baldur's Gate 3

Post by YkirMor »

Zanzer wrote:
Mon Aug 14, 2023 3:06 am
Someone who has another player's character in their party will have to test these out.

Select the character you want gone and try some of these scripts.

May need to try them in different orders. May need to kill the character afterwards.

No clue, don't have the problem.

Code: Select all

-- Select the character you want gone and execute
local player = GetHostCharacter()
SetArgToString(0, player)
-- Then select your main character and execute
local player = GetHostCharacter()
SetArgToString(1, player)
ExecuteCall("RemovePartyFollower")

Code: Select all

local player = GetHostCharacter()
SetArgToString(0, player)
ExecuteCall("UnregisterAsCompanion")

Code: Select all

local player = GetHostCharacter()
SetArgToString(0, player)
SetArgToLong(1, 0)
ExecuteCall("SetBlockDismiss")

Code: Select all

local player = GetHostCharacter()
SetArgToString(0, player)
ExecuteCall("MakeNPC")
If someone is able to help me with these i would appreciate it. I am new to CE and dont really know how to input them.

Wisnumurti
Novice Cheater
Novice Cheater
Posts: 18
Joined: Wed Apr 11, 2018 3:05 am
Reputation: 3

Re: z Baldur's Gate 3

Post by Wisnumurti »

Zanzer wrote:
Sun Aug 13, 2023 11:14 pm
I rewrote a lot of the console commands so that the scripts can appear more streamlined.

Also added a new Weapon Enchantments section to the console to start apply stats to your gear.
Such as thrown weapons automatically returning to you.
Want to know about companion cheats which includes attitude and approval. The cheat add 100 attitude and approval, will this skip companion event? for example Gale approval from neutral to fair , and then Gale have some ! mark and I can initiate new conversation event with Gale about his condition.

Wiese2007
Noobzor
Noobzor
Posts: 5
Joined: Fri Jan 28, 2022 4:54 pm
Reputation: 0

Re: z Baldur's Gate 3

Post by Wiese2007 »

eylirria wrote:
Mon Aug 14, 2023 1:50 am
Thepledge wrote:
Sat Aug 12, 2023 3:45 pm
echovald wrote:
Sat Aug 12, 2023 2:33 pm
Any updates on romance flags or how exactly to use the IsDating flag?
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

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>
Weird.
I think there's something wrong with my game state.
I'm partnered with Shadowheart, and clearing her dating doesn't seem to do anything. It just... goes back to being dating again the moment I talk to her again.

I tried clearing dating, cleared dating individually with everyone, and then tried adding dating to other characters but they all turn me down instantly "say something about 'oh yeah we had something but we didn't go for it'" ... I'm at a loss. I'm happy this seems to work for others.
thanks! so its not my charma xDDD

Zer0x4A7
What is cheating?
What is cheating?
Posts: 1
Joined: Mon Aug 14, 2023 3:52 am
Reputation: 4

Re: z Baldur's Gate 3

Post by Zer0x4A7 »

Just a head's up, in line 61 of "Register Commands" Script, there's a typo, "function SetArgToIntger(i, value)" which should be "function SetArgToInteger(i, value)" and it causes some scripts to fail as it is because the later code like "Restore Action Points" tries to call the properly spelled function name.

This comment is in regards to the version linked in this comment:
Zanzer wrote:
Sun Aug 13, 2023 11:14 pm
I rewrote a lot of the console commands so that the scripts can appear more streamlined.

Also added a new Weapon Enchantments section to the console to start apply stats to your gear.
Such as thrown weapons automatically returning to you.

Otherwise, thanks so much for this, it's great. Other than a few hiccups with this single function call, this table works very well.
Last edited by Zer0x4A7 on Mon Aug 14, 2023 4:11 am, edited 2 times in total.

gammawx
What is cheating?
What is cheating?
Posts: 1
Joined: Tue Jun 20, 2017 2:00 pm
Reputation: 0

Re: z Baldur's Gate 3

Post by gammawx »

Zanzer wrote:
Sun Aug 13, 2023 11:14 pm
I rewrote a lot of the console commands so that the scripts can appear more streamlined.

Also added a new Weapon Enchantments section to the console to start apply stats to your gear.
Such as thrown weapons automatically returning to you.
Hi! Thank you <3

Question: which game version you test this table? :3

DMDMDM
Noobzor
Noobzor
Posts: 14
Joined: Mon Oct 11, 2021 10:31 pm
Reputation: 5

Re: z Baldur's Gate 3

Post by DMDMDM »

Greetings Everyone,
I have a technical question, how do I spawn several items in one container?
Example: several potions, misc items and food

i tried looking at some of the spawn item commands in the table but got myself confused, I would appreciate any help provided.

Zanzer
RCE Fanatics
RCE Fanatics
Posts: 1104
Joined: Fri Mar 03, 2017 10:48 pm
Reputation: 3575

Re: z Baldur's Gate 3

Post by Zanzer »

Zer0x4A7 wrote:
Mon Aug 14, 2023 4:04 am
Just a head's up, in line 61 of "Register Commands" Script, there's a typo, "function SetArgToIntger(i, value)" which should be "function SetArgToInteger(i, value)" and it causes some scripts to fail as it is because the later code like "Restore Action Points" tries to call the properly spelled function name.

This comment is in regards to the version linked in this comment:
Zanzer wrote:
Sun Aug 13, 2023 11:14 pm
I rewrote a lot of the console commands so that the scripts can appear more streamlined.

Also added a new Weapon Enchantments section to the console to start apply stats to your gear.
Such as thrown weapons automatically returning to you.

Otherwise, thanks so much for this, it's great. Other than a few hiccups with this single function call, this table works very well.
Good catch. Fixed it.
Attachments
bg3.CT
--- Game v4.1.1.3636828 --- Table v2 ---
(393.23 KiB) Downloaded 55862 times

Post Reply

Who is online

Users browsing this forum: aawsomeaj, Baidu [Spider], Google [Bot], mightyelite, onipuck, rinkuze, sosoveam, thanhkhai01, timechaos69