CheatingPotato wrote: ↑Fri Oct 02, 2020 5:17 pm
Hello ,
how far are you in the planned scripts ?
I have made my own table and it has some in battle functionality that you have mentioned in planned (also some item world pointers)
highlighted enemy in battle :
injecting in
"Disgaea4pc.exe"+1A38A9 will make it possible to store the address to it (rcx should hold it)
some offsets :
+0x8 - float value of x coordinates (left/right - B key setting - at stage starting orientation
+0x10 - float value of y coordinates
+0x1F0 - is pointer to associated character data (data itself is 0x2800)
*so its possible to edit in battle hp / copy items / while char
or even copy Baal raw data and paste on one of your chars
+0x5c5 - is owner id : 0/1/2 - player/enemy/neutral - you can turn control over to yourself , the unit does not persist after battle.
+0x5c6 - movement : status 0/1/2 - fresh / moved/ done
+0x5x7 - action status : 0/1/2 - fresh / waiting to execute / done
base enemy in battle address should be
Disgaea4pc.exe+F78D30 , and each struct is 0x7D0
so it allows to kill/set to 1 hp each enemy on hotkey using lua.
inanimate objects as boxes also take space so some battles may have up to 110+ units
I will attach the table in case you want to add anything .
each injection has comment saying where it should occur , though feel free to ask about any of them .
constant addresses are defined and commented as well .
detailed scripts available in my table :
Disgaea4pc Table by potato :
Hotkeys :
F1 - Fill/Empty bonus gauge - when on bonus gauge starts at 9 each battle
F2 - Store highlighted item raw data - copy
F3 - Save stored raw data in highlighted - paste
F4 - Flip Item rarity - common -> rare -> lege -> common ...
in battle: flip all items on highlighted unit
F5 - tame all innocents of highlighted item
- inside toggle to max their lvl as well
F6 - "kill" highlighted not allied unit
inside there is a toggle for killing all enemies on F6 press
F7 - smack all enemies to 1 hp
F8/L - "Flying" - basically gives u upward speed while u press
- for those pesky treasure side areas in item world
F9 - in battle - save highlighted unit (well be using it to teleport)
F10 - teleport saved unit to cursor
F11 - on/off - infinite battle turns and movement
F12 - on/off - max lvl skill in 1 use - should not lvl enemies
Non Hot keyed
Cheat shop % override - for HL/exp/Mana - with desired % from 0 to 32767
- yes u can do 0 exp gain run if you wish so
Item World/Pirating:
Freeze Time
Infinite Commands
There are also pointers and explanation on them inside the table
notable though are:
item world - stage , and some other current run values
highlighted battle unit struct
inside item pointer - flags to reverse pirating done
Have a good weekend , potato