Re: z Baldur's Gate 3
Posted: Fri Dec 01, 2023 4:27 am
Anyone have the item code for Orin's armor that was added this patch?
Community Cheat Tables of Cheat Engine
https://fearlessrevolution.com/
Item: MAG_Orin_Cloth_643d5d2e-9ccc-e3e2-c364-f205653d2de9hightechartist wrote: ↑Fri Dec 01, 2023 4:27 amAnyone have the item code for Orin's armor that was added this patch?
No, you have to learn CE, assembler, debugging and bunch of other stuff. Then you will understand both - CE command and assembler instructions bellow that command.mermaabs wrote: ↑Fri Dec 01, 2023 10:53 amis this like a fill in the blanks scenario? should i substitute the ?? with the code in the bottom?
Code: Select all
"aobscanmodule(saveLevel,$process,48 83 ?? ?? 48 8B ?? ?? 45 33 C0 48 8B ?? ?? E8 ?? ?? ?? ?? 8B 00 48 83 ?? ?? C3)" "// ORIGINAL CODE - INJECTION POINT: bg3.exe+8D9834 bg3.exe+8D9812: 0F 57 C0 - xorps xmm0,xmm0 bg3.exe+8D9815: 48 8B 5C 24 68 - mov rbx,[rsp+68] bg3.exe+8D981A: 48 83 C4 40 - add rsp,40 bg3.exe+8D981E: 5F - pop rdi bg3.exe+8D981F: C3 - ret bg3.exe+8D9820: 48 83 EC 28 - sub rsp,28 bg3.exe+8D9824: 48 8B 51 28 - mov rdx,[rcx+28] bg3.exe+8D9828: 45 33 C0 - xor r8d,r8d bg3.exe+8D982B: 48 8B 49 30 - mov rcx,[rcx+30] bg3.exe+8D982F: E8 2C 83 FF FF - call bg3.exe+8D1B60 // ---------- INJECTING HERE ---------- bg3.exe+8D9834: 8B 00 - mov eax,[rax] // ---------- DONE INJECTING ---------- bg3.exe+8D9836: 48 83 C4 28 - add rsp,28 bg3.exe+8D983A: C3 - ret bg3.exe+8D983B: CC - int 3 bg3.exe+8D983C: CC - int 3 bg3.exe+8D983D: CC - int 3 bg3.exe+8D983E: CC - int 3 bg3.exe+8D983F: CC - int 3 bg3.exe+8D9840: 48 8B C4 - mov rax,rsp bg3.exe+8D9843: 48 89 58 20 - mov [rax+20],rbx bg3.exe+8D9847: 55 - push rbp"
the ?? are variables, they could be anything and used for aobscans incase bytes change when games update, they also help when searching for byte patterns manually. unfortunately the entire function changed for "Force a Level Up When You Save" option on the CE table. i have spent considerable time myself trying to fix it and failed. so someone with more skill than me hopefully will help. pleasemermaabs wrote: ↑Fri Dec 01, 2023 10:53 amis this like a fill in the blanks scenario? should i substitute the ?? with the code in the bottom?
Spoiler
"aobscanmodule(saveLevel,$process,48 83 ?? ?? 48 8B ?? ?? 45 33 C0 48 8B ?? ?? E8 ?? ?? ?? ?? 8B 00 48 83 ?? ?? C3)"
"// ORIGINAL CODE - INJECTION POINT: bg3.exe+8D9834
bg3.exe+8D9812: 0F 57 C0 - xorps xmm0,xmm0
bg3.exe+8D9815: 48 8B 5C 24 68 - mov rbx,[rsp+68]
bg3.exe+8D981A: 48 83 C4 40 - add rsp,40
bg3.exe+8D981E: 5F - pop rdi
bg3.exe+8D981F: C3 - ret
bg3.exe+8D9820: 48 83 EC 28 - sub rsp,28
bg3.exe+8D9824: 48 8B 51 28 - mov rdx,[rcx+28]
bg3.exe+8D9828: 45 33 C0 - xor r8d,r8d
bg3.exe+8D982B: 48 8B 49 30 - mov rcx,[rcx+30]
bg3.exe+8D982F: E8 2C 83 FF FF - call bg3.exe+8D1B60
// ---------- INJECTING HERE ----------
bg3.exe+8D9834: 8B 00 - mov eax,[rax]
// ---------- DONE INJECTING ----------
bg3.exe+8D9836: 48 83 C4 28 - add rsp,28
bg3.exe+8D983A: C3 - ret
bg3.exe+8D983B: CC - int 3
bg3.exe+8D983C: CC - int 3
bg3.exe+8D983D: CC - int 3
bg3.exe+8D983E: CC - int 3
bg3.exe+8D983F: CC - int 3
bg3.exe+8D9840: 48 8B C4 - mov rax,rsp
bg3.exe+8D9843: 48 89 58 20 - mov [rax+20],rbx
bg3.exe+8D9847: 55 - push rbp"
mermaabs wrote: ↑Fri Dec 01, 2023 10:53 amis this like a fill in the blanks scenario? should i substitute the ?? with the code in the bottom?
Spoiler
"aobscanmodule(saveLevel,$process,48 83 ?? ?? 48 8B ?? ?? 45 33 C0 48 8B ?? ?? E8 ?? ?? ?? ?? 8B 00 48 83 ?? ?? C3)"
"// ORIGINAL CODE - INJECTION POINT: bg3.exe+8D9834
bg3.exe+8D9812: 0F 57 C0 - xorps xmm0,xmm0
bg3.exe+8D9815: 48 8B 5C 24 68 - mov rbx,[rsp+68]
bg3.exe+8D981A: 48 83 C4 40 - add rsp,40
bg3.exe+8D981E: 5F - pop rdi
bg3.exe+8D981F: C3 - ret
bg3.exe+8D9820: 48 83 EC 28 - sub rsp,28
bg3.exe+8D9824: 48 8B 51 28 - mov rdx,[rcx+28]
bg3.exe+8D9828: 45 33 C0 - xor r8d,r8d
bg3.exe+8D982B: 48 8B 49 30 - mov rcx,[rcx+30]
bg3.exe+8D982F: E8 2C 83 FF FF - call bg3.exe+8D1B60
// ---------- INJECTING HERE ----------
bg3.exe+8D9834: 8B 00 - mov eax,[rax]
// ---------- DONE INJECTING ----------
bg3.exe+8D9836: 48 83 C4 28 - add rsp,28
bg3.exe+8D983A: C3 - ret
bg3.exe+8D983B: CC - int 3
bg3.exe+8D983C: CC - int 3
bg3.exe+8D983D: CC - int 3
bg3.exe+8D983E: CC - int 3
bg3.exe+8D983F: CC - int 3
bg3.exe+8D9840: 48 8B C4 - mov rax,rsp
bg3.exe+8D9843: 48 89 58 20 - mov [rax+20],rbx
bg3.exe+8D9847: 55 - push rbp"
Off the top of my head there are two ways to add spells.Sabatino69 wrote: ↑Fri Dec 01, 2023 1:52 pmHi guys,
FIrst of all thank you for your amazing work.
I have just one question,
Did someone of you find away for add spells that are not just actions ?
That you can upcast and ecc...
i want add more spells to my sorcerer but not all spells are scrolls too so i can not only use the learn any wizard scrolls cheat
thank you
p.s.
even if there is any mod that le you select more that one o two spells when you level up
it would be wonderful *_*
Code: Select all
{$lua}
if syntaxcheck then return end
spell = {
"Target_Light",
"Target_MinorIllusion",
"Target_MageHand",
--------------------------
"Target_Longstrider_6"
}
[ENABLE]
AddSpellToPlayer(spell)
[DISABLE]
Code: Select all
AddBoostsToPlayer("UnlockSpell(Zone_BurningHands,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
I never did understand what the learn any wizard scrolls cheat did. I used to use the addspells thing for my sorc, even used a mod for a while, but now I just use vanilla and saved scripts like this to use everytime I load:Sabatino69 wrote: ↑Fri Dec 01, 2023 1:52 pmi want add more spells to my sorcerer but not all spells are scrolls too so i can not only use the learn any wizard scrolls cheat
Code: Select all
[ENABLE]
{$lua}
if syntaxcheck then return end
---- LEVEL 1
AddBoostsToPlayer("UnlockSpell(Projectile_WitchBolt,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
AddBoostsToPlayer("UnlockSpell(Shout_DisguiseSelf,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
AddBoostsToPlayer("UnlockSpell(Zone_Thunderwave,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
AddBoostsToPlayer("UnlockSpell(Projectile_IceKnife,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
AddBoostsToPlayer("UnlockSpell(Projectile_MagicMissile,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
--AddBoostsToPlayer("UnlockSpell(Shout_FalseLife,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
--AddBoostsToPlayer("UnlockSpell(Shout_FeatherFall,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
AddBoostsToPlayer("UnlockSpell(Shout_Shield_Wizard,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
--AddBoostsToPlayer("UnlockSpell(Target_Jump,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
--AddBoostsToPlayer("UnlockSpell(Target_Longstrider,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
--AddBoostsToPlayer("UnlockSpell(Target_MageArmor,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
AddBoostsToPlayer("UnlockSpell(Target_Sleep,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
AddBoostsToPlayer("UnlockSpell(Zone_BurningHands,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
---- LEVEL 2
AddBoostsToPlayer("UnlockSpell(Projectile_ScorchingRay,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)")
AddBoostsToPlayer("UnlockSpell(Shout_MirrorImage,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)")
AddBoostsToPlayer("UnlockSpell(Shout_SeeInvisibility,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)")
AddBoostsToPlayer("UnlockSpell(Target_CloudOfDaggers,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)")
--AddBoostsToPlayer("UnlockSpell(Target_Darkness,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)")
--AddBoostsToPlayer("UnlockSpell(Target_Darkvision,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)")
AddBoostsToPlayer("UnlockSpell(Target_HoldPerson,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)")
AddBoostsToPlayer("UnlockSpell(Target_Invisibility,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)")
--AddBoostsToPlayer("UnlockSpell(Target_MistyStep,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)")
AddBoostsToPlayer("UnlockSpell(Target_Shatter,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)")
--AddBoostsToPlayer("UnlockSpell(Target_Silence,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)")
{$asm}
[DISABLE]
I tested this and it appears to work. with the existing Zanzer (sp?) CTRachter wrote: ↑Fri Dec 01, 2023 5:51 pmI'm getting:
Error:[string "local syntaxcheck,memrec=...
..."]:135: attempt to get length of a nil value (local 'value')
When I try to add any spell using the AddSpellToPlayer command, this is my first time trying. Is it the Patch #5 that broke it or am I doing something wrong?
EDIT: Ok I figured out the problem with the syntaxcheck error. But I see what the problem is with add spell it doesnt use spell slots and its just free. So no way to use Boosts permanently?
thank you for all helpOtakuGamer wrote: ↑Fri Dec 01, 2023 5:20 pmOff the top of my head there are two ways to add spells.Sabatino69 wrote: ↑Fri Dec 01, 2023 1:52 pmHi guys,
FIrst of all thank you for your amazing work.
I have just one question,
Did someone of you find away for add spells that are not just actions ?
That you can upcast and ecc...
i want add more spells to my sorcerer but not all spells are scrolls too so i can not only use the learn any wizard scrolls cheat
thank you
p.s.
even if there is any mod that le you select more that one o two spells when you level up
it would be wonderful *_*
EXAMPLE 1
This is permanent (survives loading a save game), produces an icon in the common tab of your spellbook, and doesn't cost spell slots (not an issue for cantrips). It also doesn't produce upcastable versions. For example, the Longstrider you see is the maximum upcast, but doesn't produce other level versions. Using "Target_Longstrider" instead would only add the 1st level spell.Code: Select all
{$lua} if syntaxcheck then return end spell = { "Target_Light", "Target_MinorIllusion", "Target_MageHand", -------------------------- "Target_Longstrider_6" } [ENABLE] AddSpellToPlayer(spell) [DISABLE]
EXAMPLE 2
This one doesn't survive loading, but it adds the spell a lot better. AddChildren means it will add upcast versions. The hex code means it uses non-warlock spell slots, Charisma is what spell modifier it uses. Now that I think about it, I'm not sure which modifiers the addspell spells use...Code: Select all
AddBoostsToPlayer("UnlockSpell(Zone_BurningHands,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)")
You can omit the hex code if you want the spell to not use slots.
Credits and more info:
viewtopic.php?p=310442#p310442
viewtopic.php?p=318297#p318297
viewtopic.php?p=313782#p313782
viewtopic.php?p=306872#p306872
viewtopic.php?p=313219#p313219
Hope this helps.
I never did understand what the learn any wizard scrolls cheat did. I used to use the addspells thing for my sorc, even used a mod for a while, but now I just use vanilla and saved scripts like this to use everytime I load:Sabatino69 wrote: ↑Fri Dec 01, 2023 1:52 pmi want add more spells to my sorcerer but not all spells are scrolls too so i can not only use the learn any wizard scrolls cheat
Code: Select all
[ENABLE] {$lua} if syntaxcheck then return end ---- LEVEL 1 AddBoostsToPlayer("UnlockSpell(Projectile_WitchBolt,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)") AddBoostsToPlayer("UnlockSpell(Shout_DisguiseSelf,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)") AddBoostsToPlayer("UnlockSpell(Zone_Thunderwave,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)") AddBoostsToPlayer("UnlockSpell(Projectile_IceKnife,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)") AddBoostsToPlayer("UnlockSpell(Projectile_MagicMissile,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)") --AddBoostsToPlayer("UnlockSpell(Shout_FalseLife,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)") --AddBoostsToPlayer("UnlockSpell(Shout_FeatherFall,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)") AddBoostsToPlayer("UnlockSpell(Shout_Shield_Wizard,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)") --AddBoostsToPlayer("UnlockSpell(Target_Jump,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)") --AddBoostsToPlayer("UnlockSpell(Target_Longstrider,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)") --AddBoostsToPlayer("UnlockSpell(Target_MageArmor,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)") AddBoostsToPlayer("UnlockSpell(Target_Sleep,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)") AddBoostsToPlayer("UnlockSpell(Zone_BurningHands,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,Charisma)") ---- LEVEL 2 AddBoostsToPlayer("UnlockSpell(Projectile_ScorchingRay,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)") AddBoostsToPlayer("UnlockSpell(Shout_MirrorImage,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)") AddBoostsToPlayer("UnlockSpell(Shout_SeeInvisibility,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)") AddBoostsToPlayer("UnlockSpell(Target_CloudOfDaggers,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)") --AddBoostsToPlayer("UnlockSpell(Target_Darkness,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)") --AddBoostsToPlayer("UnlockSpell(Target_Darkvision,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)") AddBoostsToPlayer("UnlockSpell(Target_HoldPerson,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)") AddBoostsToPlayer("UnlockSpell(Target_Invisibility,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)") --AddBoostsToPlayer("UnlockSpell(Target_MistyStep,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)") AddBoostsToPlayer("UnlockSpell(Target_Shatter,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)") --AddBoostsToPlayer("UnlockSpell(Target_Silence,AddChildren,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)") {$asm} [DISABLE]
Thank you, you are the bestSenseiDakara wrote: ↑Fri Dec 01, 2023 6:43 amMAG_Orin_Clothhightechartist wrote: ↑Fri Dec 01, 2023 4:27 amAnyone have the item code for Orin's armor that was added this patch?
0629b687-0f66-4555-9612-0a787e14545c
So, oddly, that item id causes the game to crash if I put it into the item spawner.hightechartist wrote: ↑Sat Dec 02, 2023 12:24 amThank you, you are the bestSenseiDakara wrote: ↑Fri Dec 01, 2023 6:43 amMAG_Orin_Clothhightechartist wrote: ↑Fri Dec 01, 2023 4:27 amAnyone have the item code for Orin's armor that was added this patch?
0629b687-0f66-4555-9612-0a787e14545c
Added both UUID things i got from the CT Item Drop command. The second one is the one I think ur supposed to use but ur saying ur game is crashing so idk lol.hightechartist wrote: ↑Sat Dec 02, 2023 12:45 amSo, oddly, that item id causes the game to crash if I put it into the item spawner.
However, MAG_Orin_Cloth works in the item spawner mod I use when I don't know the item id number.