Page 117 of 465

Re: z Baldur's Gate 3

Posted: Tue Aug 08, 2023 9:05 am
by oilnarak01
Hinki wrote:
Tue Aug 08, 2023 1:04 am
BourbieSpeedrun wrote:
Mon Aug 07, 2023 9:08 pm
Does someone find out about having unplayable character as ally/hero ? :(

Code: Select all

[ENABLE]
{$lua}
if syntaxcheck then return end
local uuid = "S_DEN_CapturedGoblin_783d7572-a846-455f-b686-247a95263ebb"
local cmdCall = getAddress("cmdCall")
local cmdArgs = getAddress("cmdArgs")
local cmdStr1 = getAddress("cmdStr1")
local cmdStr2 = getAddress("cmdStr2")
local cmdStr3 = getAddress("cmdStr3")
PrepareCall("GetHostCharacter")
executeCodeEx(0, nil, cmdCall)

local player = readPointer(cmdArgs + 0x08)
player = readString(player, 256, false)

local cmdStr2 = getAddress("cmdStr2")
writeString(cmdStr2, player)
writeBytes(cmdStr2 + #player, 0)
executeCodeEx(0, nil, cmdCall)
PrepareCall("RegisterAsCompanion")
writePointer(cmdArgs + 0x08, cmdStr2)
writePointer(cmdArgs + 0x18, cmdStr1)
writeString(cmdStr1, uuid)
writeBytes(cmdStr1 + #uuid, 0)
executeCodeEx(0, nil, cmdCall)
PrepareCall("MakePlayer")
writePointer(cmdArgs + 0x08, cmdStr2)
writeString(cmdStr2, uuid)
writeBytes(cmdStr2 + #uuid, 0)
executeCodeEx(0, nil, cmdCall)
PrepareCall("AssignToUser")
writeInteger(cmdArgs + 0x08, 65537)
writePointer(cmdArgs + 0x18, cmdStr1)
writeString(cmdStr1, uuid)
writeBytes(cmdStr1 + #uuid, 0)
executeCodeEx(0, nil, cmdCall)
local result = executeCodeEx(0, nil, cmdCall)
print(result == 1 and "success" or "failure")
{$asm}
assert(true)
[DISABLE]
that's the best I've mustered, can't edit their inventory though and causes issues when resting, you can always just use

Code: Select all

[ENABLE]
{$lua}
if syntaxcheck then return end
local uuid = "S_DEN_CapturedGoblin_783d7572-a846-455f-b686-247a95263ebb"
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)

local cmdStr2 = getAddress("cmdStr2")
writeString(cmdStr2, player)
writeBytes(cmdStr2 + #player, 0)
executeCodeEx(0, nil, cmdCall)
PrepareCall("AddPartyFollower")
writePointer(cmdArgs + 0x18, cmdStr2)
writePointer(cmdArgs + 0x08, cmdStr1)
writeString(cmdStr1, uuid)
writeBytes(cmdStr1 + #uuid, 0)
executeCodeEx(0, nil, cmdCall)
local result = executeCodeEx(0, nil, cmdCall)
print(result == 1 and "success" or "failure")
{$asm}
assert(true)
[DISABLE]
for making them a follower instead
Hello , Could you tell us where did you found those name & u id ? been looking in Shared & Gustav but didn't found that name

Re: z Baldur's Gate 3

Posted: Tue Aug 08, 2023 9:13 am
by Intricacy
Does anyone have the UUID of "Selune's Spear of Night"? It didn't drop for me when you're supposed to get it, so I'd love to be able to remedy that

Otherwise, could anyone post the weapon.txt as a data dump, so I could look through it myself?

Re: z Baldur's Gate 3

Posted: Tue Aug 08, 2023 9:38 am
by EvenLess
pachar wrote:
Tue Aug 08, 2023 4:18 am
Not sure if you got confirmation from anyone but you did give the right UUIDs for infernal iron there.

Would you be so kind as to let me know the same id for infernal alloy? i tried to follow your instruction but i dont have tools and i've been told to go to larian discord for that or something, tried to google it and yolo, download unrealpak : it doesnot work

i made some imporvement by unpacking with exported tools but i still cant look inside the .loca file

EDIT2 : i found the contentuid code for it i think : hc4400856geeb4g4b2cgb151g8dc08cc9714e

no clue how to link that to the Useful UUID
The UUID you posted, looks like the ID for the localized string. Then you use the Multitool and search for that string, which will find the files containing that string. In this case only the localization-file and one more actually contains that.
Gustav\Mods\Gustav\Levels\WLD_Main_A\Items\_merged.lsf
This file is binary, so it's pretty annoying to read, which is why it can be a good idea to convert it to a non-binary format (I prefer the lsj (JSON) format).
Now it looks like that file contains more than 1 item, so again, using the localization id/handle you found, I can search for that within the file, which gives me this result:

Code: Select all

"DisplayName": {
	"type": 28,
	"version": 1,
	"handle": "hc4400856geeb4g4b2cgb151g8dc08cc9714e"
},
Within that same json dict (indent level), I can see the UUID (MapKey):

Code: Select all

"MapKey": {
	"type": 22,
	"value": "28722ffc-9261-4f8b-ad7b-3f7bcd1ad54a"
},
I have updated my original post with pictures so it should be more explanatory.

Re: z Baldur's Gate 3

Posted: Tue Aug 08, 2023 9:39 am
by EvenLess
pachar wrote:
Tue Aug 08, 2023 4:58 am
xenxes wrote:
Tue Aug 08, 2023 4:47 am
Has anyone found the UUIDs for quest items? Been browsing through all the lsf and txts and nothing so far... looking for a locked "Caravan Strongbox" with the iron flask inside ;)

how do you get to see the lsf and txts even? been up all night trying to figure out the UUID of that one quest item too, infernal alloy but i just dont see the same folder and files. I unpacked the localization pack and got some useless weird .loca files, cannot find the other places
I replied with details on your other post. But I have updated my original post with pictures so it should be more explanatory.

Re: z Baldur's Gate 3

Posted: Tue Aug 08, 2023 9:40 am
by EvenLess
kicker04 wrote:
Tue Aug 08, 2023 6:40 am
The "Always Win Rolls" still seems to be broken. :ph34r:
Use the Dice Cheats. They work. There are several, and I don't know for certain which ones does what. One of them always rolls 20, so...

Re: z Baldur's Gate 3

Posted: Tue Aug 08, 2023 9:42 am
by EvenLess
Intricacy wrote:
Tue Aug 08, 2023 9:13 am
Does anyone have the UUID of "Selune's Spear of Night"? It didn't drop for me when you're supposed to get it, so I'd love to be able to remedy that

Otherwise, could anyone post the weapon.txt as a data dump, so I could look through it myself?
Download the bg3_items_v2.txt from my original post. It is probably the most complete dump so far. I've also added a guide in my post that explains how to unpack and look for UUIDs yourself.

Re: z Baldur's Gate 3

Posted: Tue Aug 08, 2023 9:47 am
by a2yorha
has anyone found matching pieces, or pieces that look nice with the elven chain? 391bccb7-8199-41e3-9aa3-261def2ebf26

Re: z Baldur's Gate 3

Posted: Tue Aug 08, 2023 9:49 am
by EvenLess
Tassyr wrote:
Tue Aug 08, 2023 4:59 am
Hey, so this is probably the most random thing I've asked here but I can't find it- has anyone found a way to use the item spawner to spawn dye? I can't believe how hard it is to find black dye! I'm playing a rogue, I'm contractually obligated to wear black!

I found the item lists, but I don't know how to work that into the spawner.
Zanzer added some very nice tricks to his latest cheat table. You can spawn a sack containing all the dyes.

Re: z Baldur's Gate 3

Posted: Tue Aug 08, 2023 9:50 am
by WeisseSoldat
Still cannot find that passive (Bound Weapon): Image
Can any help?

p.s Dagger - Blade of the first blood

Re: z Baldur's Gate 3

Posted: Tue Aug 08, 2023 9:52 am
by fakey
Hello!

I made an update to the table by adding 2 scripts to clear/set the [ILLITHID] dialgue checks. This will allow you to use them multiple times a day if you want.

:!: Remember to set the flags before sleep if you used them during the day! This will prevent unforeseen bugs with the player's progression! :!:

I'm putting the `lua` code here for those who do not want to dl the new version, or if OP wants to update his own table directly.

EDIT: It seems I need to activate the console commands from this table before using my scripts. I will look into it later. As of now, this is fixed by nesting the scripts inside Console Commands -> Register Commands

Clear [ILLITHID] flags

Code: Select all

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

local tadpole1 = "GLO_Tadpoled_UsedToday1_36d218ea-3eab-481f-fdaa-4ee185e76c25"
local tadpole2 = "GLO_Tadpoled_UsedToday2_b9d51e70-8963-e27f-a1fe-db5b9cfb3b1d"
local nulluuid = "NULL_00000000-0000-0000-0000-000000000000"

local cmdCall = getAddress("cmdCall")
local cmdArgs = getAddress("cmdArgs")
local cmdStr1 = getAddress("cmdStr1")
local cmdStr2 = getAddress("cmdStr2")

-- Get player UUID
PrepareCall("GetHostCharacter")
executeCodeEx(0, nil, cmdCall)

local player = readPointer(cmdArgs + 0x08)
player = readString(player, 256, false)

-- Clear Tadpole1 Flag
PrepareCall("ClearFlag")
writeString(cmdStr1, tadpole1)
writeBytes(cmdStr1 + #tadpole1, 0)
writeString(cmdStr2, player)
writeBytes(cmdStr2 + #player, 0)
writeQword(cmdArgs + 0x28, 0)

writePointer(cmdArgs + 0x08, cmdStr1)
writePointer(cmdArgs + 0x18, cmdStr2)

local result = executeCodeEx(0, nil, cmdCall)
print(result == 1 and "Tadpole flag1 success" or "Tadpole flag1 failure")

-- Clear Tadpole2 Flag
PrepareCall("ClearFlag")
writeString(cmdStr1, tadpole2)
writeBytes(cmdStr1 + #tadpole2, 0)
writeString(cmdStr2, player)
writeBytes(cmdStr2 + #player, 0)
writeQword(cmdArgs + 0x28, 0)

writePointer(cmdArgs + 0x08, cmdStr1)
writePointer(cmdArgs + 0x18, cmdStr2)

local result = executeCodeEx(0, nil, cmdCall)
print(result == 1 and "Tadpole flag2 success" or "Tadpole flag2 failure")
{$asm}

[DISABLE]
Set [ILLITHID] flags before sleep

Code: Select all

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

local tadpole1 = "GLO_Tadpoled_UsedToday1_36d218ea-3eab-481f-fdaa-4ee185e76c25"
local tadpole2 = "GLO_Tadpoled_UsedToday2_b9d51e70-8963-e27f-a1fe-db5b9cfb3b1d"

local cmdCall = getAddress("cmdCall")
local cmdArgs = getAddress("cmdArgs")
local cmdStr1 = getAddress("cmdStr1")
local cmdStr2 = getAddress("cmdStr2")

-- Get player UUID
PrepareCall("GetHostCharacter")
executeCodeEx(0, nil, cmdCall)

local player = readPointer(cmdArgs + 0x08)
player = readString(player, 256, false)

-- Set Tadpole1 Flag
PrepareCall("SetFlag")
writeString(cmdStr1, tadpole1)
writeBytes(cmdStr1 + #tadpole1, 0)
writeString(cmdStr2, player)
writeBytes(cmdStr2 + #player, 0)
writeQword(cmdArgs + 0x28, 0)

writePointer(cmdArgs + 0x08, cmdStr1)
writePointer(cmdArgs + 0x18, cmdStr2)

local result = executeCodeEx(0, nil, cmdCall)
print(result == 1 and "Tadpole flag1 success" or "Tadpole flag1 failure")

-- Set Tadpole2 Flag
PrepareCall("SetFlag")
writeString(cmdStr1, tadpole2)
writeBytes(cmdStr1 + #tadpole2, 0)
writeString(cmdStr2, player)
writeBytes(cmdStr2 + #player, 0)
writeQword(cmdArgs + 0x28, 0)

writePointer(cmdArgs + 0x08, cmdStr1)
writePointer(cmdArgs + 0x18, cmdStr2)

local result = executeCodeEx(0, nil, cmdCall)
print(result == 1 and "Tadpole flag2 success" or "Tadpole flag2 failure")
{$asm}

[DISABLE]

Re: z Baldur's Gate 3

Posted: Tue Aug 08, 2023 9:54 am
by a2yorha
when using the "set custom trade treasure" command in the newest table i just get "command failed" lua engine popup, is there anything i'm missing? i just interacted with a trader and it's definitely populated with them

Re: z Baldur's Gate 3

Posted: Tue Aug 08, 2023 9:55 am
by a2yorha
in fact, all of the last trade vendor gives me command failed

Re: z Baldur's Gate 3

Posted: Tue Aug 08, 2023 10:22 am
by IDubsty
Can someone please tell me where this "shared/generated..." folder is? I've looked through all the files and can't find anything even remotely similar.

Re: z Baldur's Gate 3

Posted: Tue Aug 08, 2023 10:25 am
by Verlock
IDubsty wrote:
Tue Aug 08, 2023 10:22 am
Can someone please tell me where this "shared/generated..." folder is? I've looked through all the files and can't find anything even remotely similar.
Steam\steamapps\common\Baldurs Gate 3\Data\ unpack some of those .pak files with appropriete tool and u have it

Re: z Baldur's Gate 3

Posted: Tue Aug 08, 2023 10:28 am
by IDubsty
Verlock wrote:
Tue Aug 08, 2023 10:25 am
IDubsty wrote:
Tue Aug 08, 2023 10:22 am
Can someone please tell me where this "shared/generated..." folder is? I've looked through all the files and can't find anything even remotely similar.
Steam\steamapps\common\Baldurs Gate 3\Data\ unpack some of those .pak files with appropriete tool and u have it
I tried that exactly. It just says the files are too big to open and it won't let me