Terraria 1.4 [Steam] [UPDATED]

Upload your cheat tables here (No requests)
wooteevar
Novice Cheater
Novice Cheater
Posts: 17
Joined: Sun Aug 19, 2018 1:51 am
Reputation: 1

Terraria 1.4 [Steam] [UPDATED]

Post by wooteevar »

W0lfy, post: 135774, member: 41617 wrote:
The player Pointer doesnt work for me so i thought fixing it would be nice.

only problem was that a variable wasnt defined. fixed it, if it didnt work before it should now.


Thanks for your update. The craft anything was not working for me on my AMD CPU so I updated it to function by copying the intel table stuff. I'm new to tinkering but this still did the trick!

How to use this cheat table?
  1. Install Cheat Engine
  2. Double-click the .CT file in order to open it.
  3. Click the PC icon in Cheat Engine in order to select the game process.
  4. Keep the list.
  5. Activate the trainer options by checking boxes or setting values from 0 to 1
Attachments
Terraria 1.4 Steam.CT
(668.11 KiB) Downloaded 113 times

User avatar
hal9000
Cheater
Cheater
Posts: 32
Joined: Sun Sep 03, 2017 5:39 am
Reputation: 1

Terraria 1.4 [Steam] [UPDATED]

Post by hal9000 »

Does it work for the GOG version? I can't seem to activate anything...

Edit: Nevermind it was my antivirus false flagging CE *derp
Last edited by hal9000 on Thu Jan 01, 1970 12:00 am, edited 1 time in total.

Robespierre
Noobzor
Noobzor
Posts: 7
Joined: Sun Nov 19, 2017 4:40 pm
Reputation: 0

Terraria 1.4 [Steam] [UPDATED]

Post by Robespierre »

The table works mostly which is awesome. But also why would you include the well fed buff when they added the plenty fed and exquisitely fed buff? They are complete improvements on the well fed buff.

User avatar
Las0mbra
Cheater
Cheater
Posts: 32
Joined: Fri Mar 17, 2017 10:53 am
Reputation: 11

Terraria 1.4 [Steam] [UPDATED]

Post by Las0mbra »

I think I fixed the "Extend Grab Radius (x10)" option. Based on 17606's latest table for Intel.



Debugging assembly gives me headaches. I'm open for any and all complaints.



Just copy and paste the code into your table of choice or merge the attached table.




Code: Select all




  

    

      10940

      "Extend Grab Radius (x10)"

      

      

      000000

      Auto Assembler Script

      define(grabRadius,Terraria.Player::GrabItems+70)

define(grabRadiusAddr,89 45 EC 8D 55 DC)





[ENABLE]



assert(grabRadius,grabRadiusAddr)

alloc(newmem,$1000)

alloc(store_grab_var,64)



label(original_code)

label(return)

label(grab_var)



store_grab_var:

grab_var:

  dd (int)420



newmem:

  mov eax,[grab_var]



original_code:

  mov [ebp-14],eax

  lea edx,[ebp-24]

  jmp return



grabRadius:

  jmp newmem

  nop

return:



registersymbol(grab_var)



[DISABLE]



grabRadius:

  db grabRadiusAddr

  // mov [ebp-14],eax

  // lea edx,[ebp-24]



unregistersymbol(grab_var)

dealloc(store_grab_var)

dealloc(newmem)



{

// ORIGINAL CODE - INJECTION POINT: Terraria.Player::GrabItems+70



2365DA04: 3B 45 F0              -  cmp eax,[ebp-10]

2365DA07: 0F 85 C1 02 00 00     -  jne 2365DCCE

2365DA0D: 8B CE                 -  mov ecx,esi

2365DA0F: 8B D7                 -  mov edx,edi

2365DA11: E8 62 FF FF FF        -  call 2365D978

2365DA16: 85 C0                 -  test eax,eax

2365DA18: 0F 84 B0 02 00 00     -  je 2365DCCE

2365DA1E: 8B CE                 -  mov ecx,esi

2365DA20: 8B D7                 -  mov edx,edi

2365DA22: FF 15 24 F7 0F 09     -  call dword ptr [090FF724]

// ---------- INJECTING HERE ----------

2365DA28: 89 45 EC              -  mov [ebp-14],eax

2365DA2B: 8D 55 DC              -  lea edx,[ebp-24]

// ---------- DONE INJECTING  ----------

2365DA2E: 8B CF                 -  mov ecx,edi

2365DA30: E8 0B 0A DC F1        -  call 1541E440

2365DA35: 8D 55 CC              -  lea edx,[ebp-34]

2365DA38: 8B CE                 -  mov ecx,esi

2365DA3A: E8 01 0A DC F1        -  call 1541E440

2365DA3F: 8D 55 DC              -  lea edx,[ebp-24]

2365DA42: 8B 0A                 -  mov ecx,[edx]

2365DA44: 8B 42 04              -  mov eax,[edx+04]

2365DA47: 89 45 B0              -  mov [ebp-50],eax

2365DA4A: 8B 42 08              -  mov eax,[edx+08]

}



      

        

          10941

          "Grab Radius (Default = 42)"

          4 Bytes

          grab_var

        

      

    

  



Attachments
Terraria Grab Radius.ct
(2.76 KiB) Downloaded 58 times
Last edited by Las0mbra on Thu Jan 01, 1970 12:00 am, edited 1 time in total.

silverd
Novice Cheater
Novice Cheater
Posts: 19
Joined: Thu Jan 24, 2019 9:58 am
Reputation: 12

Terraria 1.4 [Steam] [UPDATED]

Post by silverd »

Made a quick table generally geared towards an easier Master Mode. Only tested on Steam and INTEL



- Half Incoming Damage: Halves damage player is about to receive, before armor reduction takes place.

- Invincible NPCs: town NPCs take 0 damage. Not tested with Wall of Flesh or The Old Man. Shouldn't affect their outcomes, but if something is wonky just disable the script temporarily.

- Normal Debuff Time: Debuffs the player receives do not get prolonged time in Expert/Master modes.

User avatar
TheMenda
Cheater
Cheater
Posts: 26
Joined: Mon Apr 17, 2017 11:19 am
Reputation: 2

Terraria 1.4 [Steam] [UPDATED]

Post by TheMenda »

[QUOTE="Las0mbra, post: 135872, member: 1280"]

I think I fixed the "Extend Grab Radius (x10)" option. Based on [B][USER=17606]okami_x[/USER][/B]'s latest table for Intel.



Debugging assembly gives me headaches. I'm open for any and all complaints.



Just copy and paste the code into your table of choice or merge the attached table.



[SPOILER="Content"]

[CODE=xml]







10940

"Extend Grab Radius (x10)"





000000

Auto Assembler Script

define(grabRadius,Terraria.Player::GrabItems+70)

define(grabRadiusAddr,89 45 EC 8D 55 DC)





[ENABLE]



assert(grabRadius,grabRadiusAddr)

alloc(newmem,$1000)

alloc(store_grab_var,64)



label(original_code)

label(return)

label(grab_var)



store_grab_var:

grab_var:

dd (int)420



newmem:

mov eax,[grab_var]



original_code:

mov [ebp-14],eax

lea edx,[ebp-24]

jmp return



grabRadius:

jmp newmem

nop

return:



registersymbol(grab_var)



[DISABLE]



grabRadius:

db grabRadiusAddr

// mov [ebp-14],eax

// lea edx,[ebp-24]



unregistersymbol(grab_var)

dealloc(store_grab_var)

dealloc(newmem)



{

// ORIGINAL CODE - INJECTION POINT: Terraria.Player::GrabItems+70



2365DA04: 3B 45 F0 - cmp eax,[ebp-10]

2365DA07: 0F 85 C1 02 00 00 - jne 2365DCCE

2365DA0D: 8B CE - mov ecx,esi

2365DA0F: 8B D7 - mov edx,edi

2365DA11: E8 62 FF FF FF - call 2365D978

2365DA16: 85 C0 - test eax,eax

2365DA18: 0F 84 B0 02 00 00 - je 2365DCCE

2365DA1E: 8B CE - mov ecx,esi

2365DA20: 8B D7 - mov edx,edi

2365DA22: FF 15 24 F7 0F 09 - call dword ptr [090FF724]

// ---------- INJECTING HERE ----------

2365DA28: 89 45 EC - mov [ebp-14],eax

2365DA2B: 8D 55 DC - lea edx,[ebp-24]

// ---------- DONE INJECTING ----------

2365DA2E: 8B CF - mov ecx,edi

2365DA30: E8 0B 0A DC F1 - call 1541E440

2365DA35: 8D 55 CC - lea edx,[ebp-34]

2365DA38: 8B CE - mov ecx,esi

2365DA3A: E8 01 0A DC F1 - call 1541E440

2365DA3F: 8D 55 DC - lea edx,[ebp-24]

2365DA42: 8B 0A - mov ecx,[edx]

2365DA44: 8B 42 04 - mov eax,[edx+04]

2365DA47: 89 45 B0 - mov [ebp-50],eax

2365DA4A: 8B 42 08 - mov eax,[edx+08]

}







10941

"Grab Radius (Default = 42)"

4 Bytes

grab_var












[/CODE][/SPOILER]

[/QUOTE]



Can confirm it works fine on Steam 1.4.0.2 with Intel, great work on this fast table updates!





[QUOTE="silverd, post: 135891, member: 26608"]

Made a quick table generally geared towards an easier Master Mode. Only tested on Steam and INTEL



- Half Incoming Damage: Halves damage player is about to receive, before armor reduction takes place.

- Invincible NPCs: town NPCs take 0 damage. Not tested with Wall of Flesh or The Old Man. Shouldn't affect their outcomes, but if something is wonky just disable the script temporarily.

- Normal Debuff Time: Debuffs the player receives do not get prolonged time in Expert/Master modes.

[/QUOTE]



Half damage works nicely but the NPC godmode seems to work on direct damage, but not on damage debuffs.



[CENTER][IMG]https://i.imgur.com/iz6YJDs.png[/IMG][/CENTER]
Last edited by TheMenda on Wed May 20, 2020 6:51 am, edited 2 times in total.

alantrik
What is cheating?
What is cheating?
Posts: 1
Joined: Wed May 20, 2020 7:36 am
Reputation: 0

Terraria 1.4 [Steam] [UPDATED]

Post by alantrik »

Do you think anything can be done with Cheat Engine regarding this stupid new Luck mechanic?

silverd
Novice Cheater
Novice Cheater
Posts: 19
Joined: Thu Jan 24, 2019 9:58 am
Reputation: 12

Terraria 1.4 [Steam] [UPDATED]

Post by silverd »

TheMenda, post: 135935, member: 2385 wrote:




Half damage works nicely but the NPC godmode seems to work on direct damage, but not on damage debuffs.


Image


Oops. I'm not very good at this, thanks. And I'm not that far into Terraria yet to test but I might have fixed it. Lost all my old saves too =(

Please let me know if it works now.
Attachments
Terraria 1.4 Intel_easy.CT
(392.47 KiB) Downloaded 62 times

User avatar
Las0mbra
Cheater
Cheater
Posts: 32
Joined: Fri Mar 17, 2017 10:53 am
Reputation: 11

Terraria 1.4 [Steam] [UPDATED]

Post by Las0mbra »

alantrik, post: 135942, member: 41683 wrote:
Do you think anything can be done with Cheat Engine regarding this stupid new Luck mechanic?


If you need a script that allows you to set your Luck value, than here:


Code: Select all




  

    

      10944

      "Set Luck Value"

      

      

      Auto Assembler Script

      { Game   : Terraria.exe

  Version:

  Date   : 2020-05-20

  Author : OliSt



  This script does blah blah blah

}



define(address,Terraria.Player::RecalculateLuck+42)

define(bytes,D9 9E 70 05 00 00)



[ENABLE]



assert(address,bytes)

alloc(newmem,$1000)

alloc(store_luck_var,64)



label(code)

label(return)

label(luck_var)



store_luck_var:

luck_var:

  dd (float)1



newmem:

code:

  fstp dword ptr [esi+00000570]

  push eax

  mov eax,[luck_var]

  mov dword ptr [esi+00000570],eax

  pop eax

  jmp return



address:

  jmp newmem

  nop

return:



registersymbol(luck_var)



[DISABLE]



address:

  db bytes

  // fstp dword ptr [esi+00000570]



unregistersymbol(luck_var)

dealloc(newmem)

dealloc(store_luck_var)



{

// ORIGINAL CODE - INJECTION POINT: Terraria.Player::RecalculateLuck+42



2839FC37: D8 0D C0 FC 39 28     -  fmul dword ptr [2839FCC0]

2839FC3D: D9 86 68 05 00 00     -  fld dword ptr [esi+00000568]

2839FC43: D8 0D C8 FC 39 28     -  fmul dword ptr [2839FCC8]

2839FC49: DE C1                 -  faddp

2839FC4B: D9 9E 70 05 00 00     -  fstp dword ptr [esi+00000570]

2839FC51: 0F B6 86 D0 05 00 00  -  movzx eax,byte ptr [esi+000005D0]

2839FC58: 89 45 F8              -  mov [ebp-08],eax

2839FC5B: DB 45 F8              -  fild dword ptr [ebp-08]

2839FC5E: D8 0D D0 FC 39 28     -  fmul dword ptr [2839FCD0]

2839FC64: D8 86 70 05 00 00     -  fadd dword ptr [esi+00000570]

// ---------- INJECTING HERE ----------

2839FC6A: D9 9E 70 05 00 00     -  fstp dword ptr [esi+00000570]

// ---------- DONE INJECTING  ----------

2839FC70: 80 3D 85 18 B6 04 00  -  cmp byte ptr [04B61885],00

2839FC77: 75 09                 -  jne 2839FC82

2839FC79: 0F B6 05 84 18 B6 04  -  movzx eax,byte ptr [04B61884]

2839FC80: EB 05                 -  jmp 2839FC87

2839FC82: B8 01 00 00 00        -  mov eax,00000001

2839FC87: 85 C0                 -  test eax,eax

2839FC89: 74 12                 -  je 2839FC9D

2839FC8B: D9 05 D4 FC 39 28     -  fld dword ptr [2839FCD4]

2839FC91: D8 86 70 05 00 00     -  fadd dword ptr [esi+00000570]

2839FC97: D9 9E 70 05 00 00     -  fstp dword ptr [esi+00000570]

}



      

        

          10945

          "Luck Value (Default between -0.7 and +1.0)"

          Float

          luck_var

        

      

    

  



Attachments
Terraria Luck Value.ct
Extention table containing only "Set luck value"
(2.8 KiB) Downloaded 54 times

FOWARDROTARY
Noobzor
Noobzor
Posts: 6
Joined: Wed May 20, 2020 11:43 am
Reputation: 0

Terraria 1.4 [Steam] [UPDATED]

Post by FOWARDROTARY »

[QUOTE="Las0mbra, post: 135961, member: 1280"]

If you need a script that allows you to set your Luck value, than here:



[CODE=xml]







10944

"Set Luck Value"





Auto Assembler Script

{ Game : Terraria.exe

Version:

Date : 2020-05-20

Author : OliSt



This script does blah blah blah

}



define(address,Terraria.Player::RecalculateLuck+42)

define(bytes,D9 9E 70 05 00 00)



[ENABLE]



assert(address,bytes)

alloc(newmem,$1000)

alloc(store_luck_var,64)



label(code)

label(return)

label(luck_var)



store_luck_var:

luck_var:

dd (float)1



newmem:

code:

fstp dword ptr [esi+00000570]

push eax

mov eax,[luck_var]

mov dword ptr [esi+00000570],eax

pop eax

jmp return



address:

jmp newmem

nop

return:



registersymbol(luck_var)



[DISABLE]



address:

db bytes

// fstp dword ptr [esi+00000570]



unregistersymbol(luck_var)

dealloc(newmem)

dealloc(store_luck_var)



{

// ORIGINAL CODE - INJECTION POINT: Terraria.Player::RecalculateLuck+42



2839FC37: D8 0D C0 FC 39 28 - fmul dword ptr [2839FCC0]

2839FC3D: D9 86 68 05 00 00 - fld dword ptr [esi+00000568]

2839FC43: D8 0D C8 FC 39 28 - fmul dword ptr [2839FCC8]

2839FC49: DE C1 - faddp

2839FC4B: D9 9E 70 05 00 00 - fstp dword ptr [esi+00000570]

2839FC51: 0F B6 86 D0 05 00 00 - movzx eax,byte ptr [esi+000005D0]

2839FC58: 89 45 F8 - mov [ebp-08],eax

2839FC5B: DB 45 F8 - fild dword ptr [ebp-08]

2839FC5E: D8 0D D0 FC 39 28 - fmul dword ptr [2839FCD0]

2839FC64: D8 86 70 05 00 00 - fadd dword ptr [esi+00000570]

// ---------- INJECTING HERE ----------

2839FC6A: D9 9E 70 05 00 00 - fstp dword ptr [esi+00000570]

// ---------- DONE INJECTING ----------

2839FC70: 80 3D 85 18 B6 04 00 - cmp byte ptr [04B61885],00

2839FC77: 75 09 - jne 2839FC82

2839FC79: 0F B6 05 84 18 B6 04 - movzx eax,byte ptr [04B61884]

2839FC80: EB 05 - jmp 2839FC87

2839FC82: B8 01 00 00 00 - mov eax,00000001

2839FC87: 85 C0 - test eax,eax

2839FC89: 74 12 - je 2839FC9D

2839FC8B: D9 05 D4 FC 39 28 - fld dword ptr [2839FCD4]

2839FC91: D8 86 70 05 00 00 - fadd dword ptr [esi+00000570]

2839FC97: D9 9E 70 05 00 00 - fstp dword ptr [esi+00000570]

}







10945

"Luck Value (Default between -0.7 and +1.0)"

Float

luck_var












[/CODE]

[/QUOTE]

[QUOTE="Las0mbra, post: 135961, member: 1280"]

If you need a script that allows you to set your Luck value, than here:



[CODE=xml]







10944

"Set Luck Value"





Auto Assembler Script

{ Game : Terraria.exe

Version:

Date : 2020-05-20

Author : OliSt



This script does blah blah blah

}



define(address,Terraria.Player::RecalculateLuck+42)

define(bytes,D9 9E 70 05 00 00)



[ENABLE]



assert(address,bytes)

alloc(newmem,$1000)

alloc(store_luck_var,64)



label(code)

label(return)

label(luck_var)



store_luck_var:

luck_var:

dd (float)1



newmem:

code:

fstp dword ptr [esi+00000570]

push eax

mov eax,[luck_var]

mov dword ptr [esi+00000570],eax

pop eax

jmp return



address:

jmp newmem

nop

return:



registersymbol(luck_var)



[DISABLE]



address:

db bytes

// fstp dword ptr [esi+00000570]



unregistersymbol(luck_var)

dealloc(newmem)

dealloc(store_luck_var)



{

// ORIGINAL CODE - INJECTION POINT: Terraria.Player::RecalculateLuck+42



2839FC37: D8 0D C0 FC 39 28 - fmul dword ptr [2839FCC0]

2839FC3D: D9 86 68 05 00 00 - fld dword ptr [esi+00000568]

2839FC43: D8 0D C8 FC 39 28 - fmul dword ptr [2839FCC8]

2839FC49: DE C1 - faddp

2839FC4B: D9 9E 70 05 00 00 - fstp dword ptr [esi+00000570]

2839FC51: 0F B6 86 D0 05 00 00 - movzx eax,byte ptr [esi+000005D0]

2839FC58: 89 45 F8 - mov [ebp-08],eax

2839FC5B: DB 45 F8 - fild dword ptr [ebp-08]

2839FC5E: D8 0D D0 FC 39 28 - fmul dword ptr [2839FCD0]

2839FC64: D8 86 70 05 00 00 - fadd dword ptr [esi+00000570]

// ---------- INJECTING HERE ----------

2839FC6A: D9 9E 70 05 00 00 - fstp dword ptr [esi+00000570]

// ---------- DONE INJECTING ----------

2839FC70: 80 3D 85 18 B6 04 00 - cmp byte ptr [04B61885],00

2839FC77: 75 09 - jne 2839FC82

2839FC79: 0F B6 05 84 18 B6 04 - movzx eax,byte ptr [04B61884]

2839FC80: EB 05 - jmp 2839FC87

2839FC82: B8 01 00 00 00 - mov eax,00000001

2839FC87: 85 C0 - test eax,eax

2839FC89: 74 12 - je 2839FC9D

2839FC8B: D9 05 D4 FC 39 28 - fld dword ptr [2839FCD4]

2839FC91: D8 86 70 05 00 00 - fadd dword ptr [esi+00000570]

2839FC97: D9 9E 70 05 00 00 - fstp dword ptr [esi+00000570]

}







10945

"Luck Value (Default between -0.7 and +1.0)"

Float

luck_var












[/CODE]

[/QUOTE]

Absolutely loving the activity, might i ask, is there a way you can fix the fishing crates option in the table? or somehow update it? I need it for... obscure reasons, if not, thats quite alright, thanks! (great job on the entire project thus far, keep it up!)

W0lfy
What is cheating?
What is cheating?
Posts: 2
Joined: Tue May 19, 2020 12:35 pm
Reputation: 0

Terraria 1.4 [Steam] [UPDATED]

Post by W0lfy »

can someone explain me how to make a decent script for games like terraria? i would like to start/continue in the table aswell.

User avatar
Las0mbra
Cheater
Cheater
Posts: 32
Joined: Fri Mar 17, 2017 10:53 am
Reputation: 11

Terraria 1.4 [Steam] [UPDATED]

Post by Las0mbra »

FOWARDROTARY, post: 135965, member: 41689 wrote:
Absolutely loving the activity, might i ask, is there a way you can fix the fishing crates option in the table? or somehow update it? I need it for... obscure reasons, if not, thats quite alright, thanks! (great job on the entire project thus far, keep it up!)


It's not quite what you wanted, sorry.



Couldn't get the working like it used to.



But I made a "Set fished Item by ID" script. So I Got That Goin' For Me, Which is Nice



You can look up the IDs on the terraria.gamepedia page. While the script is active all normal fishing attempts will result in the Item with the provided ID. I have't testet the script with the Fishing Quests or during the Blood Moon.




Code: Select all




  

    

      10947

      "Set Fished Item by ID"

      

      

      Auto Assembler Script

      { Game   : Terraria.exe

  Version:

  Date   : 2020-05-20

  Author : OliSt



  This script does blah blah blah

}



define(address,Terraria.Projectile::FishingCheck+9DC)

define(bytes,83 7D EC 00 0F 8E 09 01 00 00)



[ENABLE]



assert(address,bytes)

alloc(newmem,$1000)

alloc(store_fish_var,64)



label(code)

label(return)

label(fish_var)



store_fish_var:

fish_var:

  dd (int)0



newmem:

  push eax

  mov eax,[fish_var]

  mov dword ptr [ebp-14],eax

  pop eax



code:

  cmp dword ptr [ebp-14],00

  jng Terraria.Projectile::FishingCheck+AEF

  jmp return



address:

  jmp newmem

  nop 5

return:



registersymbol(fish_var)



[DISABLE]



address:

  db bytes

  // cmp dword ptr [ebp-14],00

  // jng Terraria.Projectile::FishingCheck+AEF



unregistersymbol(fish_var)

dealloc(store_fish_var)

dealloc(newmem)



{

// ORIGINAL CODE - INJECTION POINT: Terraria.Projectile::FishingCheck+9DC



29636831: 8D 55 9C              -  lea edx,[ebp-64]

29636834: 8B CB                 -  mov ecx,ebx

29636836: FF 15 E8 6C FC 09     -  call dword ptr [09FC6CE8]

2963683C: 8D 55 9C              -  lea edx,[ebp-64]

2963683F: 8B CB                 -  mov ecx,ebx

29636841: FF 15 D0 6C FC 09     -  call dword ptr [09FC6CD0]

29636847: 8D 55 9C              -  lea edx,[ebp-64]

2963684A: 8B CB                 -  mov ecx,ebx

2963684C: FF 15 DC 6C FC 09     -  call dword ptr [09FC6CDC]

29636852: 33 C0                 -  xor eax,eax

// ---------- INJECTING HERE ----------

29636854: 83 7D EC 00           -  cmp dword ptr [ebp-14],00

29636858: 0F 8E 09 01 00 00     -  jng 29636967

// ---------- DONE INJECTING  ----------

2963685E: A1 B4 5C 3D 06        -  mov eax,[063D5CB4]

29636863: 8B 53 7C              -  mov edx,[ebx+7C]

29636866: 3B 50 04              -  cmp edx,[eax+04]

29636869: 0F 83 6C 02 00 00     -  jae 29636ADB

2963686F: 8B 44 90 08           -  mov eax,[eax+edx*4+08]

29636873: 80 B8 E3 05 00 00 00  -  cmp byte ptr [eax+000005E3],00

2963687A: 74 6C                 -  je 296368E8

2963687C: B9 B0 45 FC 09        -  mov ecx,09FC45B0

29636881: E8 42 C8 5B D8        -  call 01BF30C8

29636886: 89 85 64 FF FF FF     -  mov [ebp-0000009C],eax

}



      

        

          10948

          "ItemID"

          4 Bytes

          fish_var

        

      

    

  



Attachments
Terraria Set Fished Items.ct
Extention Table only containing "Set Fished Item by ID"
(2.82 KiB) Downloaded 60 times
Last edited by Las0mbra on Thu Jan 01, 1970 12:00 am, edited 2 times in total.

FOWARDROTARY
Noobzor
Noobzor
Posts: 6
Joined: Wed May 20, 2020 11:43 am
Reputation: 0

Terraria 1.4 [Steam] [UPDATED]

Post by FOWARDROTARY »

[QUOTE="Las0mbra, post: 136002, member: 1280"]

It's not quite what you wanted, sorry.



Couldn't get the working like it used to.



But I made a "Set fished Item by ID" script. [B]So I Got That Goin' For Me, Which is Nice[/B]



You can look up the IDs on the terraria.gamepedia page. While the script is active all normal fishing attempts will result in the Item with the provided ID. I have't testet the script with the Fishing Quests or during the Blood Moon.





[CODE=xml]







10947

"Set Fished Item by ID"





Auto Assembler Script

{ Game : Terraria.exe

Version:

Date : 2020-05-20

Author : OliSt



This script does blah blah blah

}



define(address,Terraria.Projectile::FishingCheck+9DC)

define(bytes,83 7D EC 00 0F 8E 09 01 00 00)



[ENABLE]



assert(address,bytes)

alloc(newmem,$1000)

alloc(store_fish_var,64)



label(code)

label(return)

label(fish_var)



store_fish_var:

fish_var:

dd (int)0



newmem:

push eax

mov eax,[fish_var]

mov dword ptr [ebp-14],eax

pop eax



code:

cmp dword ptr [ebp-14],00

jng Terraria.Projectile::FishingCheck+AEF

jmp return



address:

jmp newmem

nop 5

return:



registersymbol(fish_var)



[DISABLE]



address:

db bytes

// cmp dword ptr [ebp-14],00

// jng Terraria.Projectile::FishingCheck+AEF



unregistersymbol(fish_var)

dealloc(store_fish_var)

dealloc(newmem)



{

// ORIGINAL CODE - INJECTION POINT: Terraria.Projectile::FishingCheck+9DC



29636831: 8D 55 9C - lea edx,[ebp-64]

29636834: 8B CB - mov ecx,ebx

29636836: FF 15 E8 6C FC 09 - call dword ptr [09FC6CE8]

2963683C: 8D 55 9C - lea edx,[ebp-64]

2963683F: 8B CB - mov ecx,ebx

29636841: FF 15 D0 6C FC 09 - call dword ptr [09FC6CD0]

29636847: 8D 55 9C - lea edx,[ebp-64]

2963684A: 8B CB - mov ecx,ebx

2963684C: FF 15 DC 6C FC 09 - call dword ptr [09FC6CDC]

29636852: 33 C0 - xor eax,eax

// ---------- INJECTING HERE ----------

29636854: 83 7D EC 00 - cmp dword ptr [ebp-14],00

29636858: 0F 8E 09 01 00 00 - jng 29636967

// ---------- DONE INJECTING ----------

2963685E: A1 B4 5C 3D 06 - mov eax,[063D5CB4]

29636863: 8B 53 7C - mov edx,[ebx+7C]

29636866: 3B 50 04 - cmp edx,[eax+04]

29636869: 0F 83 6C 02 00 00 - jae 29636ADB

2963686F: 8B 44 90 08 - mov eax,[eax+edx*4+08]

29636873: 80 B8 E3 05 00 00 00 - cmp byte ptr [eax+000005E3],00

2963687A: 74 6C - je 296368E8

2963687C: B9 B0 45 FC 09 - mov ecx,09FC45B0

29636881: E8 42 C8 5B D8 - call 01BF30C8

29636886: 89 85 64 FF FF FF - mov [ebp-0000009C],eax

}







10948

"ItemID"

4 Bytes

fish_var












[/CODE]

[/QUOTE]

Awesome, ill give i a try!

FOWARDROTARY
Noobzor
Noobzor
Posts: 6
Joined: Wed May 20, 2020 11:43 am
Reputation: 0

Terraria 1.4 [Steam] [UPDATED]

Post by FOWARDROTARY »

Works

[QUOTE="Las0mbra, post: 136002, member: 1280"]

It's not quite what you wanted, sorry.



Couldn't get the working like it used to.



But I made a "Set fished Item by ID" script. [B]So I Got That Goin' For Me, Which is Nice[/B]



You can look up the IDs on the terraria.gamepedia page. While the script is active all normal fishing attempts will result in the Item with the provided ID. I have't testet the script with the Fishing Quests or during the Blood Moon.





[CODE=xml]







10947

"Set Fished Item by ID"





Auto Assembler Script

{ Game : Terraria.exe

Version:

Date : 2020-05-20

Author : OliSt



This script does blah blah blah

}



define(address,Terraria.Projectile::FishingCheck+9DC)

define(bytes,83 7D EC 00 0F 8E 09 01 00 00)



[ENABLE]



assert(address,bytes)

alloc(newmem,$1000)

alloc(store_fish_var,64)



label(code)

label(return)

label(fish_var)



store_fish_var:

fish_var:

dd (int)0



newmem:

push eax

mov eax,[fish_var]

mov dword ptr [ebp-14],eax

pop eax



code:

cmp dword ptr [ebp-14],00

jng Terraria.Projectile::FishingCheck+AEF

jmp return



address:

jmp newmem

nop 5

return:



registersymbol(fish_var)



[DISABLE]



address:

db bytes

// cmp dword ptr [ebp-14],00

// jng Terraria.Projectile::FishingCheck+AEF



unregistersymbol(fish_var)

dealloc(store_fish_var)

dealloc(newmem)



{

// ORIGINAL CODE - INJECTION POINT: Terraria.Projectile::FishingCheck+9DC



29636831: 8D 55 9C - lea edx,[ebp-64]

29636834: 8B CB - mov ecx,ebx

29636836: FF 15 E8 6C FC 09 - call dword ptr [09FC6CE8]

2963683C: 8D 55 9C - lea edx,[ebp-64]

2963683F: 8B CB - mov ecx,ebx

29636841: FF 15 D0 6C FC 09 - call dword ptr [09FC6CD0]

29636847: 8D 55 9C - lea edx,[ebp-64]

2963684A: 8B CB - mov ecx,ebx

2963684C: FF 15 DC 6C FC 09 - call dword ptr [09FC6CDC]

29636852: 33 C0 - xor eax,eax

// ---------- INJECTING HERE ----------

29636854: 83 7D EC 00 - cmp dword ptr [ebp-14],00

29636858: 0F 8E 09 01 00 00 - jng 29636967

// ---------- DONE INJECTING ----------

2963685E: A1 B4 5C 3D 06 - mov eax,[063D5CB4]

29636863: 8B 53 7C - mov edx,[ebx+7C]

29636866: 3B 50 04 - cmp edx,[eax+04]

29636869: 0F 83 6C 02 00 00 - jae 29636ADB

2963686F: 8B 44 90 08 - mov eax,[eax+edx*4+08]

29636873: 80 B8 E3 05 00 00 00 - cmp byte ptr [eax+000005E3],00

2963687A: 74 6C - je 296368E8

2963687C: B9 B0 45 FC 09 - mov ecx,09FC45B0

29636881: E8 42 C8 5B D8 - call 01BF30C8

29636886: 89 85 64 FF FF FF - mov [ebp-0000009C],eax

}







10948

"ItemID"

4 Bytes

fish_var












[/CODE]

[/QUOTE]

Works like an absolute charm! That is really good, mabye on improving this (excuse me i have no knowledge of coding of making tables, so if this sounds impossible please forgive me lol) you can set the id values of each crate to override all other catches o that you can only fish crates? i have no idea how this would wok, sorry, but this is really good, thanks for the help and feedback!

Cyan
What is cheating?
What is cheating?
Posts: 1
Joined: Wed May 20, 2020 11:15 pm
Reputation: 0

Terraria 1.4 [Steam] [UPDATED]

Post by Cyan »

Can anyone fix the nice_brightness/fullbright?

Post Reply

Who is online

Users browsing this forum: admantx, DrKazman69, Dwayes, Ezee192, Google Adsense [Bot], Ilya_Rysenkov, Pharells, porkatcho, Seitaer, skeeta69, sub1to, YandexBot