Page 13 of 15

Re: Octopath Traveler (Steam)

Posted: Tue Jul 14, 2020 11:29 pm
by TheBlitzAce
I'm trying to activate the JP and EXP modifier's but I keep getting this error: Error:[string "local syntaxcheck,memrec=...
..."]:42: attempt to perform arithmetic on a nil value (local 'JPMult')

Any idea on how to fix it?

Re: Octopath Traveler (Steam)

Posted: Thu Jul 23, 2020 3:42 am
by darkarmada
I think an update got pushed today. None of the cheats seem to be working after the update (was fine yesterday). Was good while it lasted!

Re: Octopath Traveler (Steam)

Posted: Thu Jul 23, 2020 10:59 am
by shadowxc
Please update :)

Re: Octopath Traveler (Steam)

Posted: Fri Jul 24, 2020 7:02 pm
by dragon011
Hope for update last table not more work

Re: Octopath Traveler (Steam)

Posted: Sun Jul 26, 2020 8:48 pm
by sonycman
It seems MainBaseAddr have been changed due to update, no scripts or pointers works anymore... :(

Re: Octopath Traveler (Steam)

Posted: Mon Jul 27, 2020 3:47 am
by penguinicus
Hello all! After a little bit of messing around I think I've figured out the new base addresses. The base offsets seem to have shifted backwards by 7680 (0x1e00).

If you:
  1. BACK UP YOUR .CT FILE
  2. Right-click on the "Enable" entry
  3. Click "Change script"
  4. Hit CTRL+F and search for MainBaseAddr:
  5. Replace the section that looks like this:

    Code: Select all

    "Octopath_Traveler-Win64-Shipping.exe"+0289EA48:
    MainBaseAddr:
    
    "Octopath_Traveler-Win64-Shipping.exe"+0289E9C8:
    BattleMainBaseAddr:
    
    "Octopath_Traveler-Win64-Shipping.exe"+029E7CE8:
    NoEncounterBaseAddr:
    
    with this:

    Code: Select all

    //"Octopath_Traveler-Win64-Shipping.exe"+0289EA48:
    "Octopath_Traveler-Win64-Shipping.exe"+0289CC48:
    MainBaseAddr:
    
    //"Octopath_Traveler-Win64-Shipping.exe"+0289E9C8:
    "Octopath_Traveler-Win64-Shipping.exe"+0289CBC8:
    BattleMainBaseAddr:
    
    //"Octopath_Traveler-Win64-Shipping.exe"+029E7CE8:
    "Octopath_Traveler-Win64-Shipping.exe"+029E5EE8:
    NoEncounterBaseAddr:
    
  6. Click "OK"
This seems to fix the pointers (in-battle and out) and no encounter scripts, so as long as the other scripts are implemented in terms of these addresses I think it fixes the table!

Re: Octopath Traveler (Steam)

Posted: Mon Jul 27, 2020 7:43 am
by Fardalius
penguinicus wrote:
Mon Jul 27, 2020 3:47 am
Hello all! After a little bit of messing around I think I've figured out the new base addresses. The base offsets seem to have shifted backwards by 7680.

If you:
  1. BACK UP YOUR .CT FILE
  2. Right-click on the "Enable" entry
  3. Click "Change script"
  4. Hit CTRL+F and search for MainBaseAddr:
  5. Replace the section that looks like this:

    Code: Select all

    "Octopath_Traveler-Win64-Shipping.exe"+0289EA48:
    MainBaseAddr:
    
    "Octopath_Traveler-Win64-Shipping.exe"+0289E9C8:
    BattleMainBaseAddr:
    
    "Octopath_Traveler-Win64-Shipping.exe"+029E7CE8:
    NoEncounterBaseAddr:
    
    with this:

    Code: Select all

    //"Octopath_Traveler-Win64-Shipping.exe"+0289EA48:
    "Octopath_Traveler-Win64-Shipping.exe"+0289CC48:
    MainBaseAddr:
    
    //"Octopath_Traveler-Win64-Shipping.exe"+0289E9C8:
    "Octopath_Traveler-Win64-Shipping.exe"+0289CBC8:
    BattleMainBaseAddr:
    
    //"Octopath_Traveler-Win64-Shipping.exe"+029E7CE8:
    "Octopath_Traveler-Win64-Shipping.exe"+029E5EE8:
    NoEncounterBaseAddr:
    
  6. Click "OK"
This seems to fix the pointers (in-battle and out) and no encounter scripts, so as long as the other scripts are implemented in terms of these addresses I think it fixes the table!
You legend!! I'm not a code writer but been mucking around with one of the scripts and found that some addresses have moved up by 16F0. For the 100% steal/scrutinize/etc... script I'm confident i've managed to find the addresses. However, they're not working and the game crashes when I disable the script. Can someone check it over for me and clean it up? the addresses should be fine now but maybe i've messed one up.
Spoiler

Code: Select all

[ENABLE]

aobscanmodule(8PathSteal,Octopath_Traveler-Win64-Shipping.exe,E8 60EA6401) // should be unique
alloc(newmem,$1000,8PathSteal)

label(scrutinize)
label(allure)
label(thieving)
label(inquiry)
label(lvl99)
label(newvalue)
label(code)
label(return)

newmem:
  call Octopath_Traveler-Win64-Shipping.exe+19B7340
  push rbx
  mov rbx,Octopath_Traveler-Win64-Shipping.exe+0289CC48
  mov rbx,[rbx]
  cmp r14d,#1
  jne code
  cmp r8d,#4
  jne code
  mov rbx,[rbx+370]
  mov rbx,[rbx+1C8]
  cmp [rdx-4],#3
  je scrutinize
  cmp [rdx-4],#4
  je allure
  cmp [rdx-4],#6
  je thieving
  cmp [rdx-4],#8
  je inquiry
  jmp code
scrutinize:
  lea rbx,[rbx+194]
  cmp rdx,rbx
  jne code
  cmp r15,8BF9A8 //8C7028
  je lvl99
  cmp r15,8C6E08 //8CE488
  je lvl99
  jmp code
allure:
  lea rbx,[rbx+25C]
  cmp rdx,rbx
  jne code
  cmp r15,8C6798 //8CDE18  //subnemu
  je lvl99
  cmp r15,8BEF78 //8C65F8  //action
  je lvl99
  jmp code
thieving:
  lea rbx,[rbx+3EC]
  cmp rdx,rbx
  jne code
  cmp r15,8C67C8 //8CDE48
  je newvalue
  jmp code
inquiry:
  lea rbx,[rbx+57C]
  cmp rdx,rbx
  jne code
  cmp r15,8C4D68 //8CC3E8 //field commands preview
  je newvalue
  cmp r15,8C6968 //8CDFE8 //submenu
  je newvalue
  cmp r15,8BEA88 //8C6108 //inquiry
  je newvalue
  jmp code
lvl99:
  cmp [rdx],#0
  jl code
  cmp [rdx],#99
  jg code
  mov ecx,#99
  mov [rax],#99
  jmp code
newvalue:
  cmp [rdx],#0
  jl code
  cmp [rdx],#99
  jg code
  mov ecx,#200
  mov [rax],#200
code:
  pop rbx
  jmp return

8PathSteal:
  jmp newmem
return:
registersymbol(8PathSteal)

[DISABLE]

8PathSteal:
  db E8 60EA6401

unregistersymbol(8PathSteal)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "Octopath_Traveler-Win64-Shipping.exe"+3671EB

"Octopath_Traveler-Win64-Shipping.exe"+3671CB: 4E 8D 14 39                       -  lea r10,[rcx+r15]
"Octopath_Traveler-Win64-Shipping.exe"+3671CF: 4C 3B D2                          -  cmp r10,rdx
"Octopath_Traveler-Win64-Shipping.exe"+3671D2: 74 34                             -  je Octopath_Traveler-Win64-Shipping.exe+367208 > 3688F8
"Octopath_Traveler-Win64-Shipping.exe"+3671D4: 8B 46 38                          -  mov eax,[rsi+38]
"Octopath_Traveler-Win64-Shipping.exe"+3671D7: 48 0F BA E0 1E                    -  bt rax,1E
"Octopath_Traveler-Win64-Shipping.exe"+3671DC: 73 14                             -  jae Octopath_Traveler-Win64-Shipping.exe+3671F2 > 3688E2
"Octopath_Traveler-Win64-Shipping.exe"+3671DE: 8B 46 34                          -  mov eax,[rsi+34]
"Octopath_Traveler-Win64-Shipping.exe"+3671E1: 49 8B CA                          -  mov rcx,r10
"Octopath_Traveler-Win64-Shipping.exe"+3671E4: 0F AF 46 30                       -  imul eax,[rsi+30]
"Octopath_Traveler-Win64-Shipping.exe"+3671E8: 4C 63 C0                          -  movsxd  r8,eax
// ---------- INJECTING HERE ----------
"Octopath_Traveler-Win64-Shipping.exe"+3671EB: E8 90 F9 64 01                    -  call Octopath_Traveler-Win64-Shipping.exe+19B6B80 > 19B7340
// ---------- DONE INJECTING  ----------
"Octopath_Traveler-Win64-Shipping.exe"+3671F0: EB 16                             -  jmp Octopath_Traveler-Win64-Shipping.exe+367208 > 3688F8
"Octopath_Traveler-Win64-Shipping.exe"+3671F2: 48 8B 06                          -  mov rax,[rsi]
"Octopath_Traveler-Win64-Shipping.exe"+3671F5: 4C 8B C2                          -  mov r8,rdx
"Octopath_Traveler-Win64-Shipping.exe"+3671F8: 44 8B 4E 30                       -  mov r9d,[rsi+30]
"Octopath_Traveler-Win64-Shipping.exe"+3671FC: 49 8B D2                          -  mov rdx,r10
"Octopath_Traveler-Win64-Shipping.exe"+3671FF: 48 8B CE                          -  mov rcx,rsi
"Octopath_Traveler-Win64-Shipping.exe"+367202: FF 90 98 02 00 00                 -  call qword ptr [rax+00000298]
"Octopath_Traveler-Win64-Shipping.exe"+367208: 49 03 DC                          -  add rbx,r12
"Octopath_Traveler-Win64-Shipping.exe"+36720B: 49 83 EE 01                       -  sub r14,01
"Octopath_Traveler-Win64-Shipping.exe"+36720F: 75 AF                             -  jne Octopath_Traveler-Win64-Shipping.exe+3671C0 > 3688BO
"NEW ARRAY = E8 60EA6401"
}
____

The new array for the actions should be: E8 60EA6401 which will also help you find where the code gets injected.

___

Okay. guessing I shouldn't have just winged it for some of the codes in the middle. doesn't actually go anywhere it's supposed to by looks of it. Anywhere where you see an address followed by // ********* another address in that style is likely very wrong. the address after // are the originals.
eg: cmp r15,8C6968 //8CDFE8 //submenu :: 8CDFE8 is the original.

okays. no idea what I'm doing :3 at the least I found the array for aob. I also did manage to (i'm hoping) correctly map out some of the call addresses. I'm calling it quits before I bluescreen myself. good luck :3


___

never mind. just read back on all the comments and just using the 'lock reputation method. Thanks for the update penguinicus!

Re: Octopath Traveler (Steam)

Posted: Mon Jul 27, 2020 1:17 pm
by Sweetez
just enable unrandomizer and go steal/scrutinize. Don't forget to disable before going for random encounter since you'll always get the same set of monsters and Cait with attack first.

Re: Octopath Traveler (Steam)

Posted: Mon Jul 27, 2020 11:57 pm
by BlackMonster
penguinicus wrote:
Mon Jul 27, 2020 3:47 am
Hello all! After a little bit of messing around I think I've figured out the new base addresses. The base offsets seem to have shifted backwards by 7680 (0x1e00).

If you:
  1. BACK UP YOUR .CT FILE
  2. Right-click on the "Enable" entry
  3. Click "Change script"
  4. Hit CTRL+F and search for MainBaseAddr:
  5. Replace the section that looks like this:

    Code: Select all

    "Octopath_Traveler-Win64-Shipping.exe"+0289EA48:
    MainBaseAddr:
    
    "Octopath_Traveler-Win64-Shipping.exe"+0289E9C8:
    BattleMainBaseAddr:
    
    "Octopath_Traveler-Win64-Shipping.exe"+029E7CE8:
    NoEncounterBaseAddr:
    
    with this:

    Code: Select all

    //"Octopath_Traveler-Win64-Shipping.exe"+0289EA48:
    "Octopath_Traveler-Win64-Shipping.exe"+0289CC48:
    MainBaseAddr:
    
    //"Octopath_Traveler-Win64-Shipping.exe"+0289E9C8:
    "Octopath_Traveler-Win64-Shipping.exe"+0289CBC8:
    BattleMainBaseAddr:
    
    //"Octopath_Traveler-Win64-Shipping.exe"+029E7CE8:
    "Octopath_Traveler-Win64-Shipping.exe"+029E5EE8:
    NoEncounterBaseAddr:
    
  6. Click "OK"
This seems to fix the pointers (in-battle and out) and no encounter scripts, so as long as the other scripts are implemented in terms of these addresses I think it fixes the table!
any chance to just post a downl link of updated table , i sux with these type of things pls.

Re: Octopath Traveler (Steam)

Posted: Tue Jul 28, 2020 1:33 am
by DrummerIX
Sorry, I've been busy with other things to update this, but thanks to penguinicus for his findings. I actually haven't tested it, but I assume things will work with it. Let me know otherwise.

I've added EDIT 7.5 update with his new offsets.

Re: Octopath Traveler (Steam)

Posted: Tue Jul 28, 2020 11:02 am
by sonycman
Thanks, DrummerIX.
Scripts By TheByteSize still do not work (except for Inf Haanit Summon QTY).

Re: Octopath Traveler (Steam)

Posted: Tue Jul 28, 2020 11:52 pm
by h188cm
yes,can not enable 100% Steal, Scrutinize and Inquire.

Re: Octopath Traveler (Steam)

Posted: Wed Jul 29, 2020 1:19 am
by DrummerIX
I didn't make those, so TheByteSize will have to update it if he wants; otherwise, use other means to accomplish this such as change your level in town or unrandomizer, perhaps.

Re: Octopath Traveler (Steam)

Posted: Wed Jul 29, 2020 7:20 pm
by rudm09
I also would like an update to 100% Steal, Scrutinize and Inquire if someone could do it!
Edit:Also would like a 100%steal on battle and 100% capture!

Re: Octopath Traveler (Steam)

Posted: Mon Aug 03, 2020 7:46 am
by von
Newbie question, How can I max out one item in my inventory, I already tried both the item replacement and the set item quantitu but still not working. Should I restart the game after I enabled it? Sorry im so noob on this. Not sure if Im doing it right. I jist played the game and open cheat engine and load the .ct and enabled the cheats. But its not working