Page 45 of 77

Re: Nioh: Complete Edition

Posted: Fri Dec 01, 2017 6:06 pm
by headshot0052
Difficulty unlocker and Current Difficulty fixed now?

Re: Nioh: Complete Edition

Posted: Fri Dec 01, 2017 6:12 pm
by AllIWantToKnow
zachillios wrote:
Fri Dec 01, 2017 4:57 pm
xfaustx wrote:
Fri Dec 01, 2017 4:10 pm
Guys is there a way to set rarity to only ethereal items?
No.

And I'll edit the OP in a bit. I'm a little confused as well which table is currently the most updated one. I'll look into in a bit though.
Yeah, things got a little messy. But if I'm not mistaken, none of the 1.21.03 CTs contain new features. All that has to be done is fixing broken scripts and maybe overall CT cleanup/sorting. Every single table is using different layout (tabs, names, custom colors etc.), but they are sharing same exact functions. It would be good to make a proper template so everyone who would like to contribute could use it and enrich with new options. Doing so would make it easier to merge everything together. I could take care of it, but I need up-to-date CT for that, since I'm a Noobzor and I don't want to break anything.

ImageThis is what I'm talking about. First from the left is the Nioh-1.21.02U2 from OP. The next three were made for 1.21.03 by different users.

Re: Nioh: Complete Edition

Posted: Fri Dec 01, 2017 6:29 pm
by zachillios
AllIWantToKnow wrote:
Fri Dec 01, 2017 6:12 pm
zachillios wrote:
Fri Dec 01, 2017 4:57 pm
xfaustx wrote:
Fri Dec 01, 2017 4:10 pm
Guys is there a way to set rarity to only ethereal items?
No.

And I'll edit the OP in a bit. I'm a little confused as well which table is currently the most updated one. I'll look into in a bit though.
Yeah, things got a little messy. But if I'm not mistaken, none of the 1.21.03 CTs contain new features. All that has to be done is fixing broken scripts and maybe overall CT cleanup/sorting. Every single table is using different layout (tabs, names, custom colors etc.), but they are sharing same exact functions. It would be good to make a proper template so everyone who would like to contribute could use it and enrich with new options. Doing so would make it easier to merge everything together. I could take care of it, but I need up-to-date CT for that, since I'm a Noobzor and I don't want to break anything.

ImageThis is what I'm talking about. First from the left is the Nioh-1.21.02U2 from OP. The next three were made for 1.21.03 by different users.
Yeah, there's also revisions of it for the pirated copies, and some for the steam version which adds to the confusion as well. If someone wants to determine which is which I'd be happy to add them to the OP, until then I think people are gonna have to scrounge lol.

Re: Nioh: Complete Edition

Posted: Fri Dec 01, 2017 10:51 pm
by CoffeeKitty
zachillios wrote:
Fri Dec 01, 2017 6:29 pm
AllIWantToKnow wrote:
Fri Dec 01, 2017 6:12 pm
zachillios wrote:
Fri Dec 01, 2017 4:57 pm


No.

And I'll edit the OP in a bit. I'm a little confused as well which table is currently the most updated one. I'll look into in a bit though.
Yeah, things got a little messy. But if I'm not mistaken, none of the 1.21.03 CTs contain new features. All that has to be done is fixing broken scripts and maybe overall CT cleanup/sorting. Every single table is using different layout (tabs, names, custom colors etc.), but they are sharing same exact functions. It would be good to make a proper template so everyone who would like to contribute could use it and enrich with new options. Doing so would make it easier to merge everything together. I could take care of it, but I need up-to-date CT for that, since I'm a Noobzor and I don't want to break anything.

ImageThis is what I'm talking about. First from the left is the Nioh-1.21.02U2 from OP. The next three were made for 1.21.03 by different users.
Yeah, there's also revisions of it for the pirated copies, and some for the steam version which adds to the confusion as well. If someone wants to determine which is which I'd be happy to add them to the OP, until then I think people are gonna have to scrounge lol.
the one i uploaded is mostly QOL changes to an updated RF reftable, and a merger of working scripts to the new pointers, as soon as a better table gets thrown out mine won't have a purpose, the formatting changes was just what i personally use, my table is functionally identical to Monkfishy's table.

to better elaborate, mine is the "most up to date"

nevermind, lol

but there are still several broken functions that i do not have the knowledge to be able to fix

these include: item rarity mod, last selected equipment menu (that was fixed on another table but the pointer segregation of +1000/-1000 for different players on the same steam release is very weird, so that fix doesn't work for me)

Re: Nioh: Complete Edition

Posted: Fri Dec 01, 2017 11:46 pm
by LCHLH
CoffeeKitty wrote:
Fri Dec 01, 2017 10:51 pm
(that was fixed on another table but the pointer segregation of +1000/-1000 for different players on the same steam release is very weird, so that fix doesn't work for me)
See if this works for you; if not, I can only assume I need your exe to try and figure it out.

EDIT: table worthless, removed.

Re: Nioh: Complete Edition

Posted: Sat Dec 02, 2017 12:11 am
by KS212
Ok this has got me curious now.... LCHLH what version is your game?

Re: Nioh: Complete Edition

Posted: Sat Dec 02, 2017 12:20 am
by CoffeeKitty
LCHLH wrote:
Fri Dec 01, 2017 11:46 pm
CoffeeKitty wrote:
Fri Dec 01, 2017 10:51 pm
(that was fixed on another table but the pointer segregation of +1000/-1000 for different players on the same steam release is very weird, so that fix doesn't work for me)
See if this works for you; if not, I can only assume I need your exe to try and figure it out.
no dice, won't activate under any condition, equip menu, item menu, equip selected, nothing selected, etc.

Code: Select all

{ Game   : nioh.exe
  Version: 
  Date   : 2017-11-12
  Author : SenorPlebeian

  This script does blah blah blah
}

[ENABLE]

aobscanmodule(FINDITEM,nioh.exe,8B 17 48 89 5C 24 30 48 8B 48 20 41 83 C8 FF 48 8B 99 28 04 00 00 48 8B 0D D5) // should be unique
alloc(newmem,$1000,"nioh.exe"+8EF48E)
alloc(itembase, 8)
registersymbol(itembase)
label(code)
label(originalcode)
label(return)

newmem:

code:
  mov [itembase], rdi

originalcode:
  mov edx,[rdi]
  mov [rsp+30],rbx
  jmp return

FINDITEM:
  jmp newmem
  nop
  nop
return:
registersymbol(FINDITEM)

[DISABLE]

FINDITEM:
  db 8B 17 48 89 5C 24 30

unregistersymbol(FINDITEM)
unregistersymbol(itembase)
unregistersymbol(itemindex)
dealloc(itembase)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "nioh.exe"+8EF48E

"nioh.exe"+8EF46B: 4C 8B F1              -  mov r14,rcx
"nioh.exe"+8EF46E: E8 90 2B 77 FF        -  call nioh.exe+62003
"nioh.exe"+8EF473: 48 8B F8              -  mov rdi,rax
"nioh.exe"+8EF476: 48 85 C0              -  test rax,rax
"nioh.exe"+8EF479: 75 0C                 -  jne nioh.exe+8EF487
"nioh.exe"+8EF47B: 48 8B 7C 24 40        -  mov rdi,[rsp+40]
"nioh.exe"+8EF480: 48 83 C4 20           -  add rsp,20
"nioh.exe"+8EF484: 41 5E                 -  pop r14
"nioh.exe"+8EF486: C3                    -  ret 
"nioh.exe"+8EF487: 48 8B 05 0A D3 77 01  -  mov rax,[nioh.exe+206C798]
// ---------- INJECTING HERE ----------
"nioh.exe"+8EF48E: 8B 17                 -  mov edx,[rdi]
"nioh.exe"+8EF490: 48 89 5C 24 30        -  mov [rsp+30],rbx
// ---------- DONE INJECTING  ----------
"nioh.exe"+8EF495: 48 8B 48 20           -  mov rcx,[rax+20]
"nioh.exe"+8EF499: 41 83 C8 FF           -  or r8d,-01
"nioh.exe"+8EF49D: 48 8B 99 28 04 00 00  -  mov rbx,[rcx+00000428]
"nioh.exe"+8EF4A4: 48 8B 0D 95 5C 7D 01  -  mov rcx,[nioh.exe+20C5140]
"nioh.exe"+8EF4AB: E8 E2 75 75 FF        -  call nioh.exe+46A92
"nioh.exe"+8EF4B0: 83 F8 FF              -  cmp eax,-01
"nioh.exe"+8EF4B3: 0F 84 A4 00 00 00     -  je nioh.exe+8EF55D
"nioh.exe"+8EF4B9: 3B 43 04              -  cmp eax,[rbx+04]
"nioh.exe"+8EF4BC: 0F 83 9B 00 00 00     -  jae nioh.exe+8EF55D
"nioh.exe"+8EF4C2: 48 98                 -  cdqe 
}
This code for last selected ITEM works just fine, though.

Re: Nioh: Complete Edition

Posted: Sat Dec 02, 2017 2:18 am
by LCHLH
KS212 wrote:
Sat Dec 02, 2017 12:11 am
Ok this has got me curious now.... LCHLH what version is your game?
Steam Version 1.21.0.3, and apparently a black sea local version or something. Here I was thinking I lived in the EU, but apparently no.
CoffeeKitty wrote:
Sat Dec 02, 2017 12:20 am
LCHLH wrote:
Fri Dec 01, 2017 11:46 pm
CoffeeKitty wrote:
Fri Dec 01, 2017 10:51 pm
(that was fixed on another table but the pointer segregation of +1000/-1000 for different players on the same steam release is very weird, so that fix doesn't work for me)
See if this works for you; if not, I can only assume I need your exe to try and figure it out.
no dice, won't activate under any condition, equip menu, item menu, equip selected, nothing selected, etc.

Code: Select all

...
This code for last selected ITEM works just fine, though.
Thought so; no point even trying without your exe, since I can't just pull addresses out of my ass. And I can't fix what I can't test.

Here's the differences between your item thing and mine:
8B 17 48 89 5C 24 30 48 8B 48 20 41 83 C8 FF 48 8B 99 28 04 00 00 48 8B 0D 55
8B 17 48 89 5C 24 30 48 8B 48 20 41 83 C8 FF 48 8B 99 28 04 00 00 48 8B 0D D5
8FB3CE
8EF48E

If you wanna fix the equipment finder yourself, find what accesses an armor's fixed base address (search for the item ID pairs, then hover over the item while the scanner's waiting), do an AOB inject there, and replace the values for the scanmodule, newmem, code, and EQPMTPTR.

Re: Nioh: Complete Edition

Posted: Sat Dec 02, 2017 3:00 am
by zypher159
I am using the legit steam version and basically none of it works for me for the 1.21.03 update. In particular the item rarity, amrita, and gold one definitely don't work. Inf item still does, but that is one of the few that still does. Im no good at this kinda thing, i can barely use CE to find and edit specific values when its simple. Any help?

Re: Nioh: Complete Edition

Posted: Sat Dec 02, 2017 3:06 am
by SenorPlebeian
If it helps at all, in my case for the last patch, I didn't need to update the Last Selected Item Script, but I did need to make a small change for the Last Selected Equipment, so maybe this version of the script may work?

Code: Select all

{ Game   : nioh.exe
  Version: 
  Date   : 2017-11-12
  Author : SenorPlebeian

  This script does blah blah blah
}

[ENABLE]

aobscanmodule(EQPMTPTR,nioh.exe,8B 11 48 8B 0D 7B B4 7F 01) // should be unique
alloc(newmem,$1000,"nioh.exe"+8FDABC)
alloc(equipptr, 8)
registersymbol(equipptr)
label(code)
label(return)

newmem:

code:
  mov [equipptr], rcx
  mov edx,[rcx]
  mov rcx,[nioh.exe+20F8F40]
  jmp return

EQPMTPTR:
  jmp newmem
  nop
  nop
  nop
  nop
return:
registersymbol(EQPMTPTR)

[DISABLE]

EQPMTPTR:
  db 8B 11 48 8B 0D 7B B4 7F 01

unregistersymbol(EQPMTPTR)
unregistersymbol(equipptr)
dealloc(equipptr)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "nioh.exe"+8F1B5C

"nioh.exe"+8F1B3C: CC                    -  int 3 
"nioh.exe"+8F1B3D: CC                    -  int 3 
"nioh.exe"+8F1B3E: CC                    -  int 3 
"nioh.exe"+8F1B3F: CC                    -  int 3 
"nioh.exe"+8F1B40: 40 53                 -  push rbx
"nioh.exe"+8F1B42: 48 83 EC 20           -  sub rsp,20
"nioh.exe"+8F1B46: 48 8B 05 4B AC 77 01  -  mov rax,[nioh.exe+206C798]
"nioh.exe"+8F1B4D: 41 83 C8 FF           -  or r8d,-01
"nioh.exe"+8F1B51: 48 8B 50 20           -  mov rdx,[rax+20]
"nioh.exe"+8F1B55: 48 8B 9A 28 04 00 00  -  mov rbx,[rdx+00000428]
// ---------- INJECTING HERE ----------
"nioh.exe"+8F1B5C: 8B 11                 -  mov edx,[rcx]
"nioh.exe"+8F1B5E: 48 8B 0D DB 35 7D 01  -  mov rcx,[nioh.exe+20C5140]
// ---------- DONE INJECTING  ----------
"nioh.exe"+8F1B65: E8 28 4F 75 FF        -  call nioh.exe+46A92
"nioh.exe"+8F1B6A: 83 F8 FF              -  cmp eax,-01
"nioh.exe"+8F1B6D: 74 21                 -  je nioh.exe+8F1B90
"nioh.exe"+8F1B6F: 3B 43 04              -  cmp eax,[rbx+04]
"nioh.exe"+8F1B72: 73 1C                 -  jae nioh.exe+8F1B90
"nioh.exe"+8F1B74: 48 98                 -  cdqe 
"nioh.exe"+8F1B76: 48 8D 4B 08           -  lea rcx,[rbx+08]
"nioh.exe"+8F1B7A: 48 69 C0 30 01 00 00  -  imul rax,rax,00000130
"nioh.exe"+8F1B81: 48 03 C8              -  add rcx,rax
"nioh.exe"+8F1B84: 74 0A                 -  je nioh.exe+8F1B90
}

Re: Nioh: Complete Edition

Posted: Sat Dec 02, 2017 4:31 am
by PhoenixFlare
I can confirm at least that LCHLH's R10 Last Item Selected script works for me, so I guess that means our version's the same (are your stat pointers and statics shifted by 1000 as well from dec1337's?), and I live in SEA.

Re: Nioh: Complete Edition

Posted: Sat Dec 02, 2017 4:36 am
by LCHLH
PhoenixFlare wrote:
Sat Dec 02, 2017 4:31 am
I can confirm at least that LCHLH's R10 Last Item Selected script works for me, so I guess that means our version's the same (are your stat pointers and statics shifted by 1000 as well from dec1337's?), and I live in SEA.
Wait, Last Item works but Last Equipment doesn't? and yes, values were shifted by 1000, though I used another person's table to check those. Also, those scripts are SenorPlebian's, I just update/share them since I still play the game; sadly I can't help anyone with a "different" exe version...

(what's SEA? S-E Asia?)

Re: Nioh: Complete Edition

Posted: Sat Dec 02, 2017 4:38 am
by LCHLH
wth did I double-post, I need a delete post button...

Re: Nioh: Complete Edition

Posted: Sat Dec 02, 2017 4:54 am
by KS212
Aha, ok, SEA version... meaning (potentially) the difference is one ver just has support for East Asian multibyte characters and the US/EU ver does not, which is enough to cause a code difference. In this day and age tho that's simply stupid.... they should just build one version that has multibyte support out of the box or what not...

I wonder if there's a 3rd version for Eastern European/Middle East languages that has yet another difference...

Re: Nioh: Complete Edition

Posted: Sat Dec 02, 2017 5:32 am
by LCHLH
KS212 wrote:
Sat Dec 02, 2017 4:54 am
Aha, ok, SEA version... meaning (potentially) the difference is one ver just has support for East Asian multibyte characters and the US/EU ver does not, which is enough to cause a code difference. In this day and age tho that's simply stupid.... they should just build one version that has multibyte support out of the box or what not...

I wonder if there's a 3rd version for Eastern European/Middle East languages that has yet another difference...
That's the thing though, I'm from RO (which, last I checked, was part of the EU), so there should be no SEA version for me unless Steam screwed up somehow...