[ENABLE]
{$lua}
if syntaxcheck then return end
local boost = "Alert"
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, boost)
writeBytes(cmdStr2 + #boost, 0)
PrepareCall("AddPassive")
writePointer(cmdArgs + 0x08, cmdStr1)
writePointer(cmdArgs + 0x18, cmdStr2)
writeQword(cmdArgs + 0x28, 0)
writeQword(cmdArgs + 0x38, 0)
executeCodeEx(0, nil, cmdCall)
{$asm}
assert(true)
[DISABLE]
Update: Works for other passives too.I have a human character with Draconic resistence now
I get an error when I try to execute this, for 'unexpected symbols'... maybe I'm just not doing it right?
When you copied the code, did the website attach anything to the end? Sometimes when I copy something, it will add to the bottom [Top] or something like that
Nope, nothing added in... maybe I'm doing it wrong. I copy/paste into Lua script: Cheat Table. Is that right?
I get an error when I try to execute this, for 'unexpected symbols'... maybe I'm just not doing it right?
When you copied the code, did the website attach anything to the end? Sometimes when I copy something, it will add to the bottom [Top] or something like that
Nope, nothing added in... maybe I'm doing it wrong. I copy/paste into Lua script: Cheat Table. Is that right?
I just copied and pasted the heavy armor entry on the list so that it was in the same place. The updated table also has the code under passive/feats
Nope, nothing added in... maybe I'm doing it wrong. I copy/paste into Lua script: Cheat Table. Is that right?
Its AA format.
Remove the [ENABLE] and [DISABLE] and {$asm} = you can execute it as Lua.
Otherwise use Memory View > Auto Assembler to paste the whole script.
Edit:
my bad {$lua} needs also to be removed, its an AA command!
So I tried redoing the script in Lua and got an error back, saying that it didn't know what cmdCall means... tried it via Auto Assemble and got an error saying the same thing.
So I tried redoing the script in Lua and got an error back, saying that it didn't know what cmdCall means... tried it via Auto Assemble and got an error saying the same thing.
Don't know what I'm doing wrong.
You need to have Zanzer's table enabled -> Console Commands & Register Commands
I found Class Features in SharedDev\Stats\Generated\Data\Passive.txt UPDATE: More Class Features found in Public-Shared\Stats\Generated\Data\Passive.txt
Not sure if it's all of them though. Some are just Spells and need to be added with Add Spells
It would be nice if all of this was in one place
Also, if adding a feat crashes the game, it might actually be multiple passives that need to be added
For example: Adding Athlete crashes the game, you have to add Athlete_PassiveBonuses and Athlete_StandUp instead
Last edited by Ckeylos on Sat Aug 05, 2023 1:56 am, edited 3 times in total.
OK cool. Another question, I found the Add 100 XP button. But, I need, like, an Add 1000 XP button. The later levels are taking ages to click to lol.
10000 experience
[ENABLE]
{$lua}
if syntaxcheck then return end
local cmdCall = getAddress("cmdCall")
local cmdArgs = getAddress("cmdArgs")
PrepareCall("GetHostCharacter")
executeCodeEx(0, nil, cmdCall)
PrepareCall("AddExplorationExperience")
writeInteger(cmdArgs + 0x18, 10000)
executeCodeEx(0, nil, cmdCall)
{$asm}
assert(true)
[DISABLE]
Er thanks but I'm gonna need an explanation on how to plug this into CE, never done it before lol
Bro, pull it all up and goto where you would click to add the 100XP, double click the <script> look where it says 100 and add two 0's then click at the bottom to get back to the screen. Done.
So I tried redoing the script in Lua and got an error back, saying that it didn't know what cmdCall means... tried it via Auto Assemble and got an error saying the same thing.
Don't know what I'm doing wrong.
You need to have Zanzer's table enabled -> Console Commands & Register Commands
So I tried redoing the script in Lua and got an error back, saying that it didn't know what cmdCall means... tried it via Auto Assemble and got an error saying the same thing.
Don't know what I'm doing wrong.
You need to have Zanzer's table enabled -> Console Commands & Register Commands
OH, duh. Thanks for putting up with my noobiness.
How would I go about adding martial proficiency?
The Martial Weapons Proficiency? That is added through AddBoost
where do i find class/subclass actions and features like barb´s RAGE ? i cant find it in the data dump
I would love to do table with everything each class has (since we cant have 12 classes at max level) similarly how its done with the passives/feats but i cant find class/subclass actions and features like barb´s RAGE in the data dump
help pls ?