Page 3 of 13

Re: The Long Dark (Steam/JLee3D)

Posted: Thu Feb 06, 2020 11:38 am
by Esca
Thanks for the update.

Re: The Long Dark (Steam/JLee3D)

Posted: Sat Feb 08, 2020 11:14 am
by nyancat36
Thanks for dealing with 1.74.
But seems that "Craft Anywhere" can't be checked.

Re: The Long Dark (Steam/JLee3D)

Posted: Sun Feb 09, 2020 6:54 am
by JLee3D
nyancat36 wrote:
Sat Feb 08, 2020 11:14 am
Thanks for dealing with 1.74.
But seems that "Craft Anywhere" can't be checked.
Thanks for letting me know.

It appears to be an issue with the older Cheat Engine versions but is working with CE v7.0 which is the latest at the moment. Tried it with CE v6.8.3 and it does not work like you said.

Or you can edit the script (double-click "<script>" in CE for [Crafting] Craft Anywhere only) to keep using your version of CE. Look for:

Code: Select all

  address:
    jmp newmem
    nop 5
  return:
And replace that with this:

Code: Select all

  address:
    jmp newmem
    nop
    nop
    nop
    nop
    nop
  return:

Re: The Long Dark (Steam/JLee3D)

Posted: Sun Feb 09, 2020 2:58 pm
by nyancat36
Yes, my version was CE v6.8.2. And update to CE v7.
And, Thanks for the detailed commentary.

Re: The Long Dark (Steam/JLee3D)

Posted: Sun Mar 08, 2020 4:59 am
by diappa
Hi. Is it possible to do a player speed hack to walk and run faster? thx

Re: The Long Dark (Steam/JLee3D)

Posted: Sun Mar 22, 2020 8:40 pm
by ryuunosuke
Hi. The table is great. but i wonder can you add EDIT carry weight? I dont want to use infinite carry. i just want editing like 50-60 kg thanks in advance :D

Re: The Long Dark (Steam/JLee3D)

Posted: Tue Mar 24, 2020 12:35 am
by JLee3D
ryuunosuke wrote:
Sun Mar 22, 2020 8:40 pm
Hi. The table is great. but i wonder can you add EDIT carry weight? I dont want to use infinite carry. i just want editing like 50-60 kg thanks in advance :D
Cannot really work on this right now, so this might be a quick fix.

Open up the script, this is the hardcoded value for the zero weight. Just change dd 0.

Code: Select all

zero:
  dd 0
50 => 0x32 => dd 32
60 => 0x3C => dd 60

Did not test this as I am currently working.

Re: The Long Dark (Steam/JLee3D)

Posted: Tue Mar 24, 2020 12:36 am
by JLee3D
diappa wrote:
Sun Mar 08, 2020 4:59 am
Hi. Is it possible to do a player speed hack to walk and run faster? thx
I tried last weekend, and the other weekends before that with no luck yet.

Re: The Long Dark (Steam/JLee3D)

Posted: Wed Mar 25, 2020 5:24 am
by ryuunosuke
JLee3D wrote:
Tue Mar 24, 2020 12:35 am
ryuunosuke wrote:
Sun Mar 22, 2020 8:40 pm
Hi. The table is great. but i wonder can you add EDIT carry weight? I dont want to use infinite carry. i just want editing like 50-60 kg thanks in advance :D
Cannot really work on this right now, so this might be a quick fix.

Open up the script, this is the hardcoded value for the zero weight. Just change dd 0.

Code: Select all

zero:
  dd 0
50 => 0x32 => dd 32
60 => 0x3C => dd 60

Did not test this as I am currently working.

didnt work. i think not working because code is editing how much we carry. if u look at the backpack ull know what i mean. if i carry 5kg it seems 5/30 then i check zero backpack option then its 0/30. code changing left side i think right side is different location on the codes.

Re: The Long Dark (Steam/JLee3D)

Posted: Wed Mar 25, 2020 12:51 pm
by JLee3D
ryuunosuke wrote:
Wed Mar 25, 2020 5:24 am
didnt work. i think not working because code is editing how much we carry. if u look at the backpack ull know what i mean. if i carry 5kg it seems 5/30 then i check zero backpack option then its 0/30. code changing left side i think right side is different location on the codes.
Sorry, you are right and I wasn't thinking. Should be carry capacity instead of carried weight.

It seems this is a default property and could not be changed directly, so it will take lots of manual scans / testing to isolate the codes responsible. Also checking out functions with carry capacity buffs, never seen it get triggered on breakpoints during debugging.

I probably cannot do this at my level but perhaps someone else can contribute.

Re: The Long Dark (Steam/JLee3D)

Posted: Mon Apr 06, 2020 11:22 am
by liebe_lily
Hi, I'm thrilled to find your table, thanks for the work you put in making it! But I am having some problems using it for my game, and I hope you can intrust me on how to solve them.

I'm new to CE and cheat tables, so I may be doing it wrong... It seems that I can't check all these options, and I don't know what to do. I looked up for some tutorials and tried to check them while I open my backpack and maps, but they still can't be checked. I'm using macOS and my game version is 1.74. I am also using the latest CE.

I'm totally confused and wish to get your help, thanks!

Re: The Long Dark (Steam/JLee3D)

Posted: Sat Apr 11, 2020 8:41 am
by JLee3D
liebe_lily wrote:
Mon Apr 06, 2020 11:22 am
I'm using macOS and my game version is 1.74. I am also using the latest CE.
Sorry, but I do not have a MAC to update the scripts. :(
I also cannot get out of the house if ever I needed to buy one. :?
But stay home and be safe!

Re: The Long Dark (Steam/JLee3D)

Posted: Tue Apr 21, 2020 6:10 pm
by Disillusioned
The carry weight limit edit would be great, especially now that they destroyed mods.

Re: The Long Dark (Steam/JLee3D)

Posted: Mon Apr 27, 2020 6:43 pm
by Siniestro
can you please please pretty please add god mod, speed hack (this is more important) and fly mod? i was doing the archivist challenge and died twice near the end of the challenge i want to hammer my balls and really don't want to do it all over again.

thanks btw for the table works like a charm.

thanks

Re: The Long Dark (Steam/JLee3D)

Posted: Mon Apr 27, 2020 8:09 pm
by SvT
How did you actually find the code that accesses the map reveal radius?
I found a similar AOB on a different version of the game but after modifications of the script it still isn't working.

Code: Select all

define(address,"d3d12.dll"+1F2F0)
define(bytes,4C 8B DC 57 41 56 41 57 48 81 EC A0)

[ENABLE]
assert(address,bytes)
alloc(newmem,$1000,"d3d12.dll"+1F2F0)

label(code)
label(return)

newmem:
  movss xmm1,[revealRadius]

code:
  mov r11,rsp
  push rdi
  push r14
  jmp return

revealRadius:
  dd (float)150000.0

address:
  jmp newmem
  nop
return:

[DISABLE]

address:
  db bytes
  // mov r11,rsp
  // push rdi
  // push r14

dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "d3d12.dll"+1F2F0

"d3d12.dll"+1F2E6: CC                          -  int 3 
"d3d12.dll"+1F2E7: CC                          -  int 3 
"d3d12.dll"+1F2E8: CC                          -  int 3 
"d3d12.dll"+1F2E9: CC                          -  int 3 
"d3d12.dll"+1F2EA: CC                          -  int 3 
"d3d12.dll"+1F2EB: CC                          -  int 3 
"d3d12.dll"+1F2EC: CC                          -  int 3 
"d3d12.dll"+1F2ED: CC                          -  int 3 
"d3d12.dll"+1F2EE: CC                          -  int 3 
"d3d12.dll"+1F2EF: CC                          -  int 3 
// ---------- INJECTING HERE ----------
"d3d12.dll"+1F2F0: 4C 8B DC                    -  mov r11,rsp
"d3d12.dll"+1F2F3: 57                          -  push rdi
"d3d12.dll"+1F2F4: 41 56                       -  push r14
// ---------- DONE INJECTING  ----------
"d3d12.dll"+1F2F6: 41 57                       -  push r15
"d3d12.dll"+1F2F8: 48 81 EC A0 00 00 00        -  sub rsp,000000A0
"d3d12.dll"+1F2FF: 48 C7 44 24 20 FE FF FF FF  -  mov qword ptr [rsp+20],FFFFFFFFFFFFFFFE
"d3d12.dll"+1F308: 49 89 5B 10                 -  mov [r11+10],rbx
"d3d12.dll"+1F30C: 49 89 73 18                 -  mov [r11+18],rsi
"d3d12.dll"+1F310: 48 8B FA                    -  mov rdi,rdx
"d3d12.dll"+1F313: 48 8B F1                    -  mov rsi,rcx
"d3d12.dll"+1F316: 33 DB                       -  xor ebx,ebx
"d3d12.dll"+1F318: 89 5A 44                    -  mov [rdx+44],ebx
"d3d12.dll"+1F31B: 41 89 5B E0                 -  mov [r11-20],ebx
}