Page 1 of 6

ELEX Steam + GOG

Posted: Fri Oct 20, 2017 1:47 pm
by dl748
Noninjection script to access pointers in ELEX.

V1.0 includes

Freeze for Health/Stamina/Jetpack

Pointers for
Jetpack/Max
Strength
Constitution
Dexterity
Intelligence
Cunning
XP
Cold Level
Learning Points
Attribute Points
(All Ability Levels)
Charisma
Health/Max
Stamina/Max
Inventory Count Editor (includes Elexit) (uses internal names (It_Val_Elexit = Elexit))

V1.1 added special meter and freeze for it, also added the level of the player

V1.2 Added position (X,Y,Z coords)

V1.3 Moved inventory to a separate script, (it was getting too slow) Adding to inventory (sales price for items and min/max damage for SOME weapons). If you see a weapon that is not showing the damage, post the Type ID of that item.

V1.4 Added a bunch of variables you can set on armor/rings/items (e.g. Set how much health/mana a potion gives you, change armor rating, change max health of ring abilities.

V1.4.1 Added type (0x01 swords) to the inventory list as a weapon (to show damage)

V1.5 Health still went down in certain environments (it keeps separate health for environment health) Poison, Fire(lava), Ice(freezing), and radiation environments will no go down if freeze health is checked.

V1.6 Adding teleporting to some places. Top of the world can be a scary place ;-)

V1.6.1 Added a ton of item bonus properties

V1.6.2 Added more POIs

V1.6.3 Updated Stamina and Special Meters for the new version (both were offset by +8)

V1.7 Credit to UnEx for energy pointer (also added an energy freeze checkbox)

Working with the new 1.1 patch

Re: ELEX Steam + GOG

Posted: Fri Oct 20, 2017 3:04 pm
by LorgrenBenirus
Any options with this script that we can see or choose? Upon opening it there is only one activation option and I can't tell if all of the mentioned features are turned on, or if there is something else I can check or see? Thanks for the script, though :)

Re: ELEX Steam + GOG

Posted: Fri Oct 20, 2017 5:22 pm
by dl748
You need to check the box, the script, and then the options will appear.

Re: ELEX Steam + GOG

Posted: Fri Oct 20, 2017 5:41 pm
by dl748
Very easy game to hack.

Code: Select all

main static + 0x60
  +0x0
    +0x30 (offsets in 0x38)
      +0x1A (offset to inventory)
      +0x4E (offset to main player)
      +0x58 (offset to stamina)
      +0x68 (offset to position)
    +0x38
      (off*8) = mainplayer, stamina, inventory

stamina + 0x280 = float current stamina
inventory
  +0x60 = count
  +0x58 = array addres
    +(index * 0x48) for each item +0x44 = current inv count)
      +8
        +0
          string of item (internal)
          
position
  +0x218
    +0x0
      +0x8
        +0x1D0 (Double) X Position
        +0x1D8 (Double) Z Position
        +0x1E0 (Double) Y Position

mainplayer (basically a series of integers STATIC all *4 + 0x20)
  +1 = strength
  +2 = constitution
  +3 = dex
  +4 = int
  +5 = cun
  +6 = xp
  +7 = cold level
  +8 = Learning Points
  +9 = Attribute points
  +0x21-0x7B = Ability levels
  +0x81 = Charisma
  +0x85 = Max Health
  +0x86 = Health
  +0x89 = Max Stamina
  +0x8A = Level

Re: ELEX Steam + GOG

Posted: Fri Oct 20, 2017 7:07 pm
by Empress_Ravenna
this work for the updated game? GOG 1.1 version released a bit ago

Re: ELEX Steam + GOG

Posted: Fri Oct 20, 2017 7:20 pm
by LorgrenBenirus
dl748 wrote:
Fri Oct 20, 2017 5:22 pm
You need to check the box, the script, and then the options will appear.
Yes, I check the box and that's that, box stays checked and no options appear for my Steam version.

Re: ELEX Steam + GOG

Posted: Fri Oct 20, 2017 8:46 pm
by dl748
You need to make sure you open the correct process... I don't do automatic process matching

Re: ELEX Steam + GOG

Posted: Fri Oct 20, 2017 9:08 pm
by dl748
Empress_Ravenna wrote:
Fri Oct 20, 2017 7:07 pm
this work for the updated game? GOG 1.1 version released a bit ago
Yup, still works for me, no changes needed.

Re: ELEX Steam + GOG

Posted: Sat Oct 21, 2017 12:20 am
by Lordmaddog
LorgrenBenirus wrote:
Fri Oct 20, 2017 7:20 pm
dl748 wrote:
Fri Oct 20, 2017 5:22 pm
You need to check the box, the script, and then the options will appear.
Yes, I check the box and that's that, box stays checked and no options appear for my Steam version.
same here but I'm on GOG. And yes I have the right program selected.

Re: ELEX Steam + GOG

Posted: Sat Oct 21, 2017 12:59 am
by LorgrenBenirus
I have the right program selected. I've been using CE for several years now so I know how to open programs and use tables and search and change some values as well :) In this specific case, with the Steam version, checking the "My Scripts" box opens no options of any kind so it seems like it doesn't work. Other table from another topic does work, though it has its own issues with some options.

Re: ELEX Steam + GOG

Posted: Sat Oct 21, 2017 1:27 am
by dl748
are you using 6.7? because even by default (the aob scans FAIL), the freeze check boxes are added before any memory is read or checked.

Checking My Script will show "Freeze Health" "Freeze Stamina" "Freeze Jet Pack" "Freeze Special Meter" but they won't work.. if you are not seeing ANY options that probably because you are not using CE 6.7 which is required for my tables.

Re: ELEX Steam + GOG

Posted: Sat Oct 21, 2017 2:48 am
by Lordmaddog
Ah I am sorry I didn't know CE updated lol.

THanks man works awesome!

Re: ELEX Steam + GOG

Posted: Sat Oct 21, 2017 3:04 am
by dl748
*bump* updated inventory editor

Re: ELEX Steam + GOG

Posted: Sat Oct 21, 2017 4:47 am
by dl748
Adding more stats to inventory editor.

Re: ELEX Steam + GOG

Posted: Sat Oct 21, 2017 7:12 am
by LorgrenBenirus
That was the reason - I had CE 6.6 installed. As soon as I installed 6.7 and tried it again, boom! Whole slew of options! Amazing! :)

Is it possible to add an option which would increase player damage only? Some fights seem to just drag on, keep chipping away at the mob, but if player damage could be increased it would be less annoying. Or if it is possible, a option to change inventory item details, like damage on a weapon (some weapons seem to have an option to change damage, but some, for example modified weapons, do not).

Also the Freeze Health option seems to not work, or works partly (holds in combat), I was standing on a rock with a height of about 2-story house, jumped off and bam, dead.

EDIT: OK, so this Freeze Health doesn't really freeze it as much as it regenerates it back fast. However, rapid damage or heavy hit received at once will still overpower it and kill the character, thus an actual "freeze of current HP" kind of thing would be better :) Regen is nice but can be overpowered.