Page 8 of 11

Re: [COMPLETED] Noita [Early Access]

Posted: Fri Oct 04, 2019 2:34 am
by BlazesRus
Found flask content address #1 (seems to store item type and percent in same address) Address 2D9F101C
Edit: Seems to not be linked to slot number(switching flasks won't update new flask moved into slot). 100% value seems to be equal to about a little less than 4.5 float. Transforming seems to reset address linked to flask value(address value changed to zero after transforming).
Edit#2: For flask #2 found at address 2FDE4BBC with value 5.0 setting flask percent to 205% (though likely to slightly change address based on character etc). Value 6.0 sets percentage at 820% with extreme flask spray range:)
Update#1:Found over one hundred pointers for flask amount that added to table that lasted through game restart(can't decide which one to use so just kept all that had matching value and just placed under cheat entry list)

Re: [COMPLETED] Noita [Early Access]

Posted: Sat Oct 05, 2019 3:05 pm
by cfemen
Updated table and fixed GodMode script, its now working with newest update!

viewtopic.php?f=2&t=10353&p=105128#p105128

Re: [COMPLETED] Noita [Early Access]

Posted: Sun Oct 06, 2019 1:56 pm
by cfemen
Logorrhea wrote:
Fri Sep 27, 2019 10:47 pm
I'm enjoying this game, but It's a little too rogue-like. I feel like I'll get tired of it WAY before I beat it.

I'd love to be able to tweak the game a bit, without going full cheat...
like maybe... gold pickup multiplier.
picking up gold also heals you.
toggle slow-motion
i added a script "Gold Heals" to updated table :mrgreen:

Re: [COMPLETED] Noita [Early Access]

Posted: Mon Oct 07, 2019 4:37 am
by Erkor
cfemen wrote:
Sat Oct 05, 2019 3:05 pm
Updated table and fixed GodMode script, its now working with newest update!

viewtopic.php?f=2&t=10353&p=105128#p105128
can you actually fix the god mode script? i've messed around with the table considerably now and the godmode script doesn't even activate; editing the script to remove the piece that makes it not launch instantly crashes the game still

the full health script works, sure, but that's not god mode. you get instakilled by anything that deals enough damage. the actual godmode script let you survive literally anything, including a holy bomb, glass cannon bombs, and even the ending when you use The Work

Re: [COMPLETED] Noita [Early Access]

Posted: Mon Oct 07, 2019 7:51 am
by Nopedx
I've been playing the game with the table and the most annoying part of the game is the hitstun. Whenever anything hits you, you can't levitate until you fall all the way to the ground. I found a 1 byte value that, if frozen at 0, lets you ignore the stun. From that I made a Remove Hit Stun code: (Edit: Forgot to make the mov set the value to 0 when I commented out the cmp, je.)
Remove Hit Stun

Code: Select all

[ENABLE]

aobscanmodule(aobHitstun,noita.exe,C6 87 08 01 00 00 01 8B 81) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

newmem:
code:
  //cmp [edi+0014],#16776961
  //je return
  mov byte ptr [edi+00000108],0
  jmp return

aobHitstun:
  jmp newmem
  nop 2
return:
registersymbol(aobHitstun)

[DISABLE]

aobHitstun:
  db C6 87 08 01 00 00 01

unregistersymbol(aobHitstun)
dealloc(newmem)
The problem with it is the code accesses every enemy as well. I commented out the cmp because sometimes those values change for the player. I think the player and enemies are all stored in one array of "Physics Objects."
Could someone please help me find a way to make the code only affect the player? I did a structure dissect and found a structure that is 652 bytes long, and starts with a pointer to strings (strings describing some of the fields, I think).
Here's the structure, I've commented what some of the fields are:
NoitaPhysicsEntity.rar
password: noita
(39.37 KiB) Downloaded 40 times

Re: [COMPLETED] Noita [Early Access]

Posted: Mon Oct 07, 2019 10:19 am
by cfemen
Erkor wrote:
Mon Oct 07, 2019 4:37 am
cfemen wrote:
Sat Oct 05, 2019 3:05 pm
Updated table and fixed GodMode script, its now working with newest update!

viewtopic.php?f=2&t=10353&p=105128#p105128
can you actually fix the god mode script? i've messed around with the table considerably now and the godmode script doesn't even activate; editing the script to remove the piece that makes it not launch instantly crashes the game still

the full health script works, sure, but that's not god mode. you get instakilled by anything that deals enough damage. the actual godmode script let you survive literally anything, including a holy bomb, glass cannon bombs, and even the ending when you use The Work
God script is working, which version/build of the game you have?
and are you using newest Cheat Engine 7.0?
which piece of the code does prevent activating?
Nopedx wrote:
Mon Oct 07, 2019 7:51 am
I've been playing the game with the table and the most annoying part of the game is the hitstun. Whenever anything hits you, you can't levitate until you fall all the way to the ground. I found a 1 byte value that, if frozen at 0, lets you ignore the stun. From that I made a Remove Hit Stun code:
Remove Hit Stun

Code: Select all

[ENABLE]

aobscanmodule(aobHitstun,noita.exe,C6 87 08 01 00 00 01 8B 81) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

newmem:
code:
 //cmp [edi+0014],#16776961
 //je return
 mov byte ptr [edi+00000108],1
 jmp return

aobHitstun:
 jmp newmem
 nop 2
return:
registersymbol(aobHitstun)

[DISABLE]

aobHitstun:
 db C6 87 08 01 00 00 01

unregistersymbol(aobHitstun)
dealloc(newmem)
The problem with it is the code accesses every enemy as well. I commented out the cmp because sometimes those values change for the player. I think the player and enemies are all stored in one array of "Physics Objects."
Could someone please help me find a way to make the code only affect the player? I did a structure dissect and found a structure that is 652 bytes long, and starts with a pointer to strings (strings describing some of the fields, I think).
Here's the structure, I've commented what some of the fields are:
NoitaPhysicsEntity.rar
EDI or the other registers may have the Base Player Pointer in the struct.
Its only a guess right now, i didnt checked it by myself.

Re: [COMPLETED] Noita [Early Access]

Posted: Mon Oct 07, 2019 12:05 pm
by Erkor
cfemen wrote:
Mon Oct 07, 2019 10:19 am
Erkor wrote:
Mon Oct 07, 2019 4:37 am
cfemen wrote:
Sat Oct 05, 2019 3:05 pm
Updated table and fixed GodMode script, its now working with newest update!

viewtopic.php?f=2&t=10353&p=105128#p105128
can you actually fix the god mode script? i've messed around with the table considerably now and the godmode script doesn't even activate; editing the script to remove the piece that makes it not launch instantly crashes the game still

the full health script works, sure, but that's not god mode. you get instakilled by anything that deals enough damage. the actual godmode script let you survive literally anything, including a holy bomb, glass cannon bombs, and even the ending when you use The Work
God script is working, which version/build of the game you have?
and are you using newest Cheat Engine 7.0?
which piece of the code does prevent activating?

So it turns out my cheat engine version was the reason some of the options didn't work. Updating to 7.0 fixed it. Deepest apologies, I didn't want to come over as rude!

Re: [COMPLETED] Noita [Early Access]

Posted: Mon Oct 07, 2019 9:54 pm
by BlazesRus
Add
<CheatEntry>
<ID>106</ID>
<Description>"Max HpHP(0.04 per point)"</Description>
<VariableType>Float</VariableType>
<Address>[pBase]+34</Address>
</CheatEntry>
to table for Max Hp editing (40 gives 1k hp)

P.S. Although freezing this cheatentry can cause nearby enemies to have their max hp also set to this value.

Re: [COMPLETED] Noita [Early Access]

Posted: Sat Oct 12, 2019 1:19 am
by mojao
Hi, mr.cfeman.
your cheat is almost working at 20191012update, but recharge cheat is not working.
i love this cheat, could you fix it ?
thanks.

Re: [COMPLETED] Noita [Early Access]

Posted: Sat Oct 12, 2019 1:27 am
by cfemen
mojao wrote:
Sat Oct 12, 2019 1:19 am
Hi, mr.cfeman.
your cheat is almost working at 20191012update, but recharge cheat is not working.
i love this cheat, could you fix it ?
thanks.
i will look for it if i have time, but this weekend im very busy :/

Re: [COMPLETED] Noita [Early Access]

Posted: Sat Oct 12, 2019 1:52 am
by TemptingIcarus
cfemen wrote:
Sat Oct 12, 2019 1:27 am
mojao wrote:
Sat Oct 12, 2019 1:19 am
Hi, mr.cfeman.
your cheat is almost working at 20191012update, but recharge cheat is not working.
i love this cheat, could you fix it ?
thanks.
i will look for it if i have time, but this weekend im very busy :/

Can we get a cheat for Endless Potion use? Also did you look at the Alchemy video on Noita yet? Could potentially make a pointer that changes the contents of a flask/potion.

Re: [COMPLETED] Noita [Early Access]

Posted: Sat Oct 12, 2019 3:29 am
by mojao
cfemen wrote:
Sat Oct 12, 2019 1:27 am
mojao wrote:
Sat Oct 12, 2019 1:19 am
Hi, mr.cfeman.
your cheat is almost working at 20191012update, but recharge cheat is not working.
i love this cheat, could you fix it ?
thanks.
i will look for it if i have time, but this weekend im very busy :/
hi mr, thanks a lot!
very glad.

Re: [COMPLETED] Noita [Early Access]

Posted: Sat Oct 12, 2019 12:00 pm
by cfemen
TemptingIcarus wrote:
Sat Oct 12, 2019 1:52 am
cfemen wrote:
Sat Oct 12, 2019 1:27 am
mojao wrote:
Sat Oct 12, 2019 1:19 am
Hi, mr.cfeman.
your cheat is almost working at 20191012update, but recharge cheat is not working.
i love this cheat, could you fix it ?
thanks.
i will look for it if i have time, but this weekend im very busy :/

Can we get a cheat for Endless Potion use? Also did you look at the Alchemy video on Noita yet? Could potentially make a pointer that changes the contents of a flask/potion.
nope i didnt see the Alchemy video, but i will look for it and for the potions :)

Re: [COMPLETED] Noita [Early Access]

Posted: Sat Oct 12, 2019 6:49 pm
by I-EXIST
Hi there,
Hope i'm in the right thread, although I think I am based on first impressions. I've been watching Wanderbots on YouTube play Noita (freakin sweet game). He has found a mod/script to have the HP regen +2 every second or so. Does anyone here know how to do that please?? Oh, and apologies if it's already been explained in this thread, I've just not had time to go through it, sorry!

Re: [COMPLETED] Noita [Early Access]

Posted: Sat Oct 12, 2019 7:02 pm
by cfemen
I-EXIST wrote:
Sat Oct 12, 2019 6:49 pm
Hi there,
Hope i'm in the right thread, although I think I am based on first impressions. I've been watching Wanderbots on YouTube play Noita (freakin sweet game). He has found a mod/script to have the HP regen +2 every second or so. Does anyone here know how to do that please?? Oh, and apologies if it's already been explained in this thread, I've just not had time to go through it, sorry!
Use my Table:

Copy this:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>97</ID>
      <Description>"Reg. HP"</Description>
      <Options moHideChildren="1"/>
      <LastState Activated="1"/>
      <Color>C08000</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{$lua}

if synxtaxcheck then return end
[ENABLE]

htimer = createTimer()
htimer.setInterval(1000)
htimer.onTimer = function(phealth)

health = readFloat('[pBase]+30')
max = readFloat('[pBase]+34')
reg = readFloat('hpReg')
reg=reg/25
health=health+reg
if health &gt; max then
health = max
end

writeFloat('[pBase]+30',health)
end
[DISABLE]

htimer.destroy()
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>98</ID>
          <Description>"Reg Amount "</Description>
          <LastState Value="1" RealAddress="0BF70035"/>
          <VariableType>Float</VariableType>
          <Address>hpReg</Address>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
</CheatTable>

Ctrl+V in the table
its 1 second = 1 HP.
you can adjust the amount per sec.

and copy this into the Main Script:

Code: Select all

{ Game   : noita.exe
  Version: 
  Date   : 2019-09-25
  Author : cfe

  This script does blah blah blah
}

[ENABLE]

aobscanmodule(aobPoint,noita.exe,F3 0F 10 48 30 F3 0F 10 05) // should be unique
alloc(newmem,$1000)

label(code)
label(pBase)
registersymbol(pBase)
label(infH)
registersymbol(infH)
label(hpReg)
registersymbol(hpReg)
label(return)

newmem:

code:
  pushf
  mov [pBase],eax
  cmp dword ptr [infH],1
  jne @f
  push ebx
  mov ebx,[eax+34]
  movss xmm1,[eax+34]
  mov [eax+30],ebx
  pop ebx
  @@:
  movss xmm1,[eax+30]
  popf
  jmp return
pBase:
dd 0
infH:
dd 0
hpReg:
dd (float)1
aobPoint:
  jmp newmem
return:
registersymbol(aobPoint)

[DISABLE]

aobPoint:
  db F3 0F 10 48 30

unregistersymbol(aobPoint)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "noita.exe"+B2EBF4

"noita.exe"+B2EBCE: 33 C0                             -  xor eax,eax
"noita.exe"+B2EBD0: C7 84 24 C0 02 00 00 FF FF FF FF  -  mov [esp+000002C0],FFFFFFFF
"noita.exe"+B2EBDB: A3 C0 A6 76 01                    -  mov [noita.exe+136A6C0],eax
"noita.exe"+B2EBE0: FF 36                             -  push [esi]
"noita.exe"+B2EBE2: 8B C8                             -  mov ecx,eax
"noita.exe"+B2EBE4: E8 37 7C 52 FF                    -  call noita.exe+56820
"noita.exe"+B2EBE9: 8B C8                             -  mov ecx,eax
"noita.exe"+B2EBEB: E8 49 CE 50 FF                    -  call noita.exe+3BA39
"noita.exe"+B2EBF0: 85 C0                             -  test eax,eax
"noita.exe"+B2EBF2: 74 4D                             -  je noita.exe+B2EC41
// ---------- INJECTING HERE ----------
"noita.exe"+B2EBF4: F3 0F 10 48 30                    -  movss xmm1,[eax+30]
// ---------- DONE INJECTING  ----------
"noita.exe"+B2EBF9: F3 0F 10 05 68 64 71 01           -  movss xmm0,[noita.exe+1316468]
"noita.exe"+B2EC01: 0F 2F C1                          -  comiss xmm0,xmm1
"noita.exe"+B2EC04: 0F 97 C0                          -  seta al
"noita.exe"+B2EC07: 84 C0                             -  test al,al
"noita.exe"+B2EC09: 74 36                             -  je noita.exe+B2EC41
"noita.exe"+B2EC0B: F3 0F 5E C8                       -  divss xmm1,xmm0
"noita.exe"+B2EC0F: 8D 44 24 38                       -  lea eax,[esp+38]
"noita.exe"+B2EC13: 8D 4C 24 4C                       -  lea ecx,[esp+4C]
"noita.exe"+B2EC17: F3 0F 10 05 E0 1B 49 01           -  movss xmm0,[noita.exe+1091BE0]
"noita.exe"+B2EC1F: F3 0F 5C C1                       -  subss xmm0,xmm1
}
then activate Main and the HP Reg script and its done.
on next update i will add this feature to the table :)

edit : and yes -> viewtopic.php?f=2&t=10353&start=75#p105609
i already posted a method for HP Regeneration.

edit 2 :
@TemptingIcarus

hehe i have seen the video :D thats so cool, and yeah i will look for pointers if its not too much time consuming :)

for Inf. Potion:

Code: Select all

[ENABLE]

aobscanmodule(aobPotion,noita.exe,F2 0F 11 04 D8 E8)

aobPotion:
  db 90 90 90 90 90

registersymbol(aobPotion)

[DISABLE]

aobPotion:
  db F2 0F 11 04 D8

unregistersymbol(aobPotion)
i will soon release it all combined as table for Update #4
-Inf Potion
-HP Regeneration
-Instant Recharge(Fixed)