z Baldur's Gate 3

Upload your cheat tables here (No requests)
EvenLess
Expert Cheater
Expert Cheater
Posts: 181
Joined: Fri Aug 04, 2023 10:59 pm
Reputation: 209

Re: z Baldur's Gate 3

Post by EvenLess »

321123 wrote:
Sun Sep 10, 2023 3:10 am
EvenLess wrote:
Sat Sep 09, 2023 10:33 pm
The Baldur's Gate 3 Commander
Image
...
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.
All but actually adding/removing should work without the game being launched, attached or anything. My best guess is that the Window position might have been saved into the form, and so the Window might be opened at a position outside your screen.

I've made a few modificiations, and added a small script to reset form position. The updated table are uploaded to [Link] and attached to this post.

The script will simply move the form to top/left corner of main display, resize to minimum size (1280x720) and bring to front. You can also just copy/paste this snippet into the existing table to add just the script.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>5</ID>
      <Description>"Reset Form Position"</Description>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript Async="1">[ENABLE]
{$lua}
if syntaxcheck then return end
FormBG3Commander.Top = 0
FormBG3Commander.Left = 0
FormBG3Commander.Width = 1280
FormBG3Commander.Height = 720
FormBG3Commander.show()
FormBG3Commander.bringToFront()
{$asm}
nop
[DISABLE]
          
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>
Dimensionist wrote:
Sun Sep 10, 2023 5:59 am
momoception wrote:
Sun Sep 10, 2023 4:38 am
EvenLess wrote:
Sat Sep 09, 2023 10:33 pm
The Baldur's Gate 3 Commander
...
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.
I haven't used any mods, so I have no idea about compatibility issues, if any. I don't see why there should be any compatibility issues with mods though.


While at it, I put all the BG3 crap in a folder and [Link].

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
Attachments
BG3Commander.CT
(242.71 KiB) Downloaded 1127 times

RamRanch
What is cheating?
What is cheating?
Posts: 4
Joined: Sat Jun 29, 2019 12:16 am
Reputation: 0

Re: z Baldur's Gate 3

Post by RamRanch »

EvenLess wrote:
Sun Sep 10, 2023 2:06 pm
321123 wrote:
Sun Sep 10, 2023 3:10 am
EvenLess wrote:
Sat Sep 09, 2023 10:33 pm
The Baldur's Gate 3 Commander
Image
...
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.
All but actually adding/removing should work without the game being launched, attached or anything. My best guess is that the Window position might have been saved into the form, and so the Window might be opened at a position outside your screen.

I've made a few modificiations, and added a small script to reset form position. The updated table are uploaded to [Link] and attached to this post.

The script will simply move the form to top/left corner of main display, resize to minimum size (1280x720) and bring to front. You can also just copy/paste this snippet into the existing table to add just the script.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>5</ID>
      <Description>"Reset Form Position"</Description>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript Async="1">[ENABLE]
{$lua}
if syntaxcheck then return end
FormBG3Commander.Top = 0
FormBG3Commander.Left = 0
FormBG3Commander.Width = 1280
FormBG3Commander.Height = 720
FormBG3Commander.show()
FormBG3Commander.bringToFront()
{$asm}
nop
[DISABLE]
          
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>
Dimensionist wrote:
Sun Sep 10, 2023 5:59 am
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?
Same. Might be a mod issue, but the other cheat table seems to be working fine with my mods.
I haven't used any mods, so I have no idea about compatibility issues, if any. I don't see why there should be any compatibility issues with mods though.


While at it, I put all the BG3 crap in a folder and [Link].
Yeah I can also confirm the BG3 Commander window does not appear for me either, I opened it before launching the game as instructed however the Commander menu still doesn't display when I press Show/Hide. Never downloaded any Mods for the game.

Babbymode
Expert Cheater
Expert Cheater
Posts: 64
Joined: Sat May 20, 2017 8:45 pm
Reputation: 30

Re: z Baldur's Gate 3

Post by Babbymode »

PrinceRevivalDK wrote:
Sun Sep 10, 2023 12:13 pm
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.
Thank Zanzer for the original code he dropped a couple times in this post now, but I went through pretty much everything that that command has and am still currently trying to expand it to do things, like changing concentration or other flags

Ashmodel
Novice Cheater
Novice Cheater
Posts: 15
Joined: Sat Mar 04, 2017 7:24 pm
Reputation: 12

Re: z Baldur's Gate 3

Post by Ashmodel »

I've downloaded the commander script and the bg3data sqlite3 from the google driver and placed them together in a folder. They attach to the game fine and once the console commands and registered commands are both green I click to show the commander form. It does open another window but that window simply says placeholder and has no functionality. Not sure what I'm doing wrong.



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.

User avatar
Deviljho
Cheater
Cheater
Posts: 43
Joined: Wed Oct 31, 2018 10:48 am
Reputation: 5

Re: z Baldur's Gate 3

Post by Deviljho »

So, is there still no way to add spells to a class spellbook instead of the common one? Legal spells for that class too.

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

Re: z Baldur's Gate 3

Post by EvenLess »

Ashmodel wrote:
Sun Sep 10, 2023 7:22 pm
EvenLess wrote:
Sat Sep 09, 2023 10:33 pm
The Baldur's Gate 3 Commander
Image
...
I've downloaded the commander script and the bg3data sqlite3 from the google driver and placed them together in a folder. They attach to the game fine and once the console commands and registered commands are both green I click to show the commander form. It does open another window but that window simply says placeholder and has no functionality. Not sure what I'm doing wrong.
Ah, then it loads. I have experienced the same. Unsure why it does that. I might be missing something on how to really initialize the form window.

When this happens to me, I usually just close the window and do a Restore/show again.

Caeliat
What is cheating?
What is cheating?
Posts: 3
Joined: Sun Sep 10, 2023 8:46 pm
Reputation: 2

Re: z Baldur's Gate 3

Post by Caeliat »

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.
I have been using Thepledge's table, but I ran into an issue where, probably my own fault when registering commands, Shadowheart was marked as both being a former partner and a current partner. For the curious, this means she gets a "former flame" dialog opener, and yet the dialog tree offers her full romance dialog (quite a few mixed signals there...). So I went looking for the full list of WasPartneredWithX flags and added it to the scripts, and cleaned up some labels so it's easier to Ctrl+F through the file (Asterion became Astarion, some Partnered flags were mislabeled as Dating, Halsin didn't have clear flags entries for his partner states, etc).

This is my updated Romance Scripts file, to be used in the same way as Thepledge's file.

It includes:
Dating flags for Gale, Wyll, Astarion, Shadowheart, Lae'zel, Minthara, Karlach
Partner flags for Gale, Wyll, Astarion, Halsin, Halsin Secondary, Shadowheart, Lae'zel, Minthara, Karlach
Clear flags for both Dating (act 1 cutscenes) and Partner (act 2 cutscenes) for the above
Clear flags for Former Partner (WasPartneredWith) for Gale, Wyll, Astarion, Halsin, Shadowheart, Lae'zel, Minthara, Karlach

There is one state I didn't include, which is setting flags for becoming Former Partners with any of them, but it seems to be a trivial addition I can add if anyone wants it.

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" -- ORI_State_DatingGale

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>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" -- ORI_State_PartneredWithGale

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_PartneredWithWyll

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 Astarion"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "30819c8d-b39d-42e7-acd1-2a8c2c309994" -- ORI_State_PartneredWithAstarion


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_PartneredWithHalsin


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_PartneredWithHalsinSecondary


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_PartneredWithShadowheart


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_PartneredWithLaezel


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_PartneredWithMinthara


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_PartneredWithKarlach


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" -- ORI_State_DatingGale

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>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" --ORI_State_PartneredWithGale

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_PartneredWithWyll

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 Astarion"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "30819c8d-b39d-42e7-acd1-2a8c2c309994" -- ORI_State_PartneredWithAstarion


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>4800</ID>
          <Description>"Clear 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_PartneredWithHalsin


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>4801</ID>
          <Description>"Clear 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_PartneredWithHalsinSecondary


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_PartneredWithShadowheart


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_PartneredWithLaezel


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_PartneredWithMinthara


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_PartneredWithKarlach


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>4792</ID>
          <Description>"Clear Was Partnered With Gale"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "60e14eb3-cce6-43c3-b893-b9b687e3d88f" -- ORI_State_WasPartneredWithGale


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>4793</ID>
          <Description>"Clear Was Partnered With Wyll"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "2652ff35-a62d-4947-b14b-11050ccfd329" -- ORI_State_WasPartneredWithWyll


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>4794</ID>
          <Description>"Clear Was Partnered With Astarion"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "5a60943f-979b-4120-9b60-9e9b29529402" -- ORI_State_WasPartneredWithAstarion


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>4795</ID>
          <Description>"Clear Was Partnered With Karlach"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "48f2a4d4-23f4-4514-b894-e225152d7a48" -- ORI_State_WasPartneredWithKarlach


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>4796</ID>
          <Description>"Clear Was Partnered With Shadowheart"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "542e6cf4-bfd1-471d-b4b5-693d630376cb" -- ORI_State_WasPartneredWithShadowheart


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>4797</ID>
          <Description>"Clear Was Partnered With Lae'zel"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "6d402d9b-7af9-43ea-b0eb-98e9612dde27" -- ORI_State_WasPartneredWithLaezel


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>4798</ID>
          <Description>"Clear Was Partnered With Minthara"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "8d0460d6-b00a-4947-bbd0-ad0c085a530f" -- ORI_State_WasPartneredWithMinthara


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>4799</ID>
          <Description>"Clear Was Partnered With Halsin"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

local uuid = "ee6b727d-243e-4189-b572-1d782ea78df8" -- ORI_State_WasPartneredWithHalsin


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>

Caeliat
What is cheating?
What is cheating?
Posts: 3
Joined: Sun Sep 10, 2023 8:46 pm
Reputation: 2

Re: z Baldur's Gate 3

Post by Caeliat »

Dre_MvD wrote:
Sat Sep 09, 2023 7:54 pm
Would you be willing to add scripts to toggle the past partners states?
As it turned out, I was working on this issue exactly, or at least half of it. Do you need the Former Partners ON toggle (set flag), or just the Former Partners removal (clear flag)? If the latter, my post above includes it; if the former, just let me know and I'll add the Set Flag as well.

ptyler
Noobzor
Noobzor
Posts: 7
Joined: Tue Feb 28, 2023 6:39 pm
Reputation: 0

Re: z Baldur's Gate 3

Post by ptyler »

EvenLess wrote:
Sun Sep 10, 2023 8:40 pm
Ashmodel wrote:
Sun Sep 10, 2023 7:22 pm
EvenLess wrote:
Sat Sep 09, 2023 10:33 pm
The Baldur's Gate 3 Commander
Image
...
I've downloaded the commander script and the bg3data sqlite3 from the google driver and placed them together in a folder. They attach to the game fine and once the console commands and registered commands are both green I click to show the commander form. It does open another window but that window simply says placeholder and has no functionality. Not sure what I'm doing wrong.
Ah, then it loads. I have experienced the same. Unsure why it does that. I might be missing something on how to really initialize the form window.

When this happens to me, I usually just close the window and do a Restore/show again.
can confirm that doing this does finally make it work. I downloaded the whole folder repo you linked to further up the page and once loaded into the game i closed the console window that says the script is executed and then did the 'Restore and Show' option to finally make the window appear. thank you!

trevox
Noobzor
Noobzor
Posts: 5
Joined: Thu Mar 03, 2022 11:01 am
Reputation: 0

Re: z Baldur's Gate 3

Post by trevox »

Prism13 wrote:
Fri Sep 08, 2023 5:41 am
Is it possible to spawn enemies ?
never even crossed my mind, but now a seed is planted.

xRigellx
Noobzor
Noobzor
Posts: 8
Joined: Thu Aug 31, 2023 12:52 am
Reputation: 1

Re: z Baldur's Gate 3

Post by xRigellx »

Deviljho wrote:
Sun Sep 10, 2023 7:28 pm
So, is there still no way to add spells to a class spellbook instead of the common one? Legal spells for that class too.
Crazy how no one was able to crack this one yet.

lowkey
What is cheating?
What is cheating?
Posts: 1
Joined: Mon Sep 11, 2023 4:27 am
Reputation: 0

Re: z Baldur's Gate 3

Post by lowkey »

hey, awsome job, thx for sharing
is there anyway to add astarion vampiric bite (improved) skill on a custom character? such u did with race passives?

User avatar
Deviljho
Cheater
Cheater
Posts: 43
Joined: Wed Oct 31, 2018 10:48 am
Reputation: 5

Re: z Baldur's Gate 3

Post by Deviljho »

xRigellx wrote:
Mon Sep 11, 2023 3:39 am
Deviljho wrote:
Sun Sep 10, 2023 7:28 pm
So, is there still no way to add spells to a class spellbook instead of the common one? Legal spells for that class too.
Crazy how no one was able to crack this one yet.
I know. It's legit annoying. The add all adds too many spells. Many of which don't fit in the class, and it also lags the game. I would just like to know how to add all cantrips to the wizard spellbook for example. There are no scrolls for every cantrip either. Just the basic elemental ones like Shocking Grasp.

User avatar
OtakuGamer
Cheater
Cheater
Posts: 48
Joined: Tue Jul 11, 2017 5:44 pm
Reputation: 11

Re: z Baldur's Gate 3

Post by OtakuGamer »

trevox wrote:
Mon Sep 11, 2023 1:53 am
Prism13 wrote:
Fri Sep 08, 2023 5:41 am
Is it possible to spawn enemies ?
never even crossed my mind, but now a seed is planted.
What would really be cool is a sort of telekinesis like in the old Original Sin games. picking up a ton of stuff is kinda boring in BG3. IIRC with telekinesis in Original Sin 1 you could quickly grab stuff from far away as well.
xRigellx wrote:
Mon Sep 11, 2023 3:39 am
Deviljho wrote:
Sun Sep 10, 2023 7:28 pm
So, is there still no way to add spells to a class spellbook instead of the common one? Legal spells for that class too.
Crazy how no one was able to crack this one yet.
Closest thing I found was using UnlockSpell with AddChildren. For example:

Code: Select all

AddBoostsToPlayer("UnlockSpell(Target_Sleep,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
Creates a spell that's functionally identical to a sorcerer sleep spell, except that it's in the common tab, and doesn't overwrite the sorcerer tab one, so you end up with two identical ones. Plus it's a boost, so it doesn't survive a load game.

knightjedi
Cheater
Cheater
Posts: 36
Joined: Thu Aug 10, 2023 10:43 pm
Reputation: 7

Re: z Baldur's Gate 3

Post by knightjedi »

Babbymode wrote:
Sun Sep 10, 2023 6:04 pm
PrinceRevivalDK wrote:
Sun Sep 10, 2023 12:13 pm
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.
Thank Zanzer for the original code he dropped a couple times in this post now, but I went through pretty much everything that that command has and am still currently trying to expand it to do things, like changing concentration or other flags
is this still work when i save and load the game?or it is permanent?

Post Reply

Who is online

Users browsing this forum: _Eagle_, admantx, Google [Bot], Jsdf1995, Majestic-12 [Bot], ReplacingYou