DarkrimXtrike wrote: ↑Sun Apr 30, 2017 5:25 pm
Hi, I had a question. Changes to the character stay after leaving the game, like changing dexterity points, but, after editing any weapon value (minimun requierement or different scaling, for example), it resets after leaving and coming back to the game.
Is there any way to make those changes permanent?
Thanks a lot
Phokz had an explanation on how to do this, all I can remember is you have to create a script that'll find the ID of the weapon and change the values you want. If you have a search 'round you'll probably find it.
cs6489 wrote: ↑Thu May 04, 2017 4:31 pm
please help me! I want to the bosses to fight with each other. How to do this?
You'll have to go over to DateHacks (run by Whitelord) and become an active member there to receive it, but it isn't fully released yet, some people, like myself, have review copies, but until it is officially released you can't receive it.
El Bibu wrote: ↑Fri May 05, 2017 4:03 am
Errr, sorry to bother you but how am i supose to put that into a script?
Search around for it. Like I said, I don't remember much from what Phokz said. You could potentially go to a Web Back up site and try to find it there.
Posted: Sat Dec 03, 2016 8:55 pm Post subject:
The Black Iron Helm headpiece as any other armor pieces is a part part of the EquipParamProtector so we are going to work with this param. Param is the file where Dark Souls store information about stuff.
Using "Helpers" from the table you are modifying the params (or better say their representation the game memory)
First get the address of the start of the structure for the Black Iron Helm. The addresses will be different for you, but I'll post my just as example.
In my case address is "7FFA13B9B10".
Go to the "Params" and substract the address of the "EquipParamProtector" from the address we got earlier (Use Windows programmer calculator).
7FFA13B9B10 - 7FFA1384100 = 35A10
35A10 is our offset for the Black Iron Helm in the EquipParamProtector. So right click on the param name:
And click Browse This Memory Region
In the memory browse:
Display Type ----> 4 Byte hex
and search for the 35A10 offset:
Will be shown as "00035A10"
On my screen you can see that left column is offsets and right column is IDs (in hex). Remember: first ID and then offset.
055D4A80 is the hex ID we need. Convert it to the decimal and we will get 90000000
So lets get back to the EquipParamProtector Helper.
Effects on Self have offsets 24, 28 and 2C (double click on the address if you want to see the offset):
"Effect" with the offset will be shown.
And poise offset is 110.
Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
{$lua}
if not syntaxcheck then
local Protectors = {
{90000000,0x24,"BB 18 00 00"}, --6331 as Bytes
{90000000,0x28,"A6 CE BF 07"}, --130010790 as Bytes
{90000000,0x2C,"28 6A AD 06"}, --112028200 as Bytes
{90000000,0x110,"00 00 40 3F"}, --"Poise" (0.75 as Bytes)
}
ParamIterator("EquipParamProtector",Protectors,"SomeName") --To save the default values on "Enable"
end
{$asm}
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
{$lua}
if not syntaxcheck then
ParamDepatcher("SomeName") --Restoring default values on "Disable"
end
So we use the ID, offsets and value (in the byte format) in the script for the param patcher.
Last edited by Phokz on Sat Dec 03, 2016 9:47 pm; edited 1 time in total