Page 36 of 68

Terraria 1.4 [Steam] [UPDATED]

Posted: Fri Jun 19, 2020 4:58 pm
by Birthdayboy
"Craft anything" doesn't seem to work for me, is this the case for anyone else? Any idea how i can workaround this? I'm on CE v. 7.1

Terraria 1.4 [Steam] [UPDATED]

Posted: Fri Jun 19, 2020 8:22 pm
by GhostNT
[QUOTE="Birthdayboy, post: 140099, member: 43344"]

"Craft anything" doesn't seem to work for me, is this the case for anyone else? Any idea how i can workaround this? I'm on CE v. 7.1

[/QUOTE]

1. Do you use the latest table for your processor? (Version for AMD from me or for INTEL from okami_x, some scripts do not work simultaneously on both types without making corrections.)

2. Does the game version match? (1.4.0.5 Steam)

3. You can’t activate this script, or it seems to you that it doesn’t work? (The script should make it possible to create all items with a recipe. If you need to create non-recipe items, use the Duplication Menu in the Journey menu.)

4. Do the other options work?

Terraria 1.4 [Steam] [UPDATED]

Posted: Sat Jun 20, 2020 6:02 pm
by Tekrom0
So can there be an option added to unlock all accessory slots no matter what difficulty you are playing on? and maybe add more than the usual max slots? I remember there being an option for this before, but I haven't seen it lately.

Terraria 1.4 [Steam] [UPDATED]

Posted: Sun Jun 21, 2020 10:18 am
by Birthdayboy
[QUOTE="GhostNT, post: 140112, member: 42037"]

1. Do you use the latest table for your processor? (Version for AMD from me or for INTEL from okami_x, some scripts do not work simultaneously on both types without making corrections.)

2. Does the game version match? (1.4.0.5 Steam)

3. You can’t activate this script, or it seems to you that it doesn’t work? (The script should make it possible to create all items with a recipe. If you need to create non-recipe items, use the Duplication Menu in the Journey menu.)

4. Do the other options work?

[/QUOTE]

1. I'm using the Intel version because it's the only one I found, I'll try looking for your AMD version but could you please link it just in case? Thank you in advance!

2. Yes, the versions do indeed match

3. Didn't try that feature yet, I'll give it a shot but I've used the "Craft anything" script on a previous build around a year ago albeit it was the AMD version but the Duplication Menu suggestion is a very nice one and I'll try it out for sure asap :)

4. Haven't tried other solutions

Terraria 1.4 [Steam] [UPDATED]

Posted: Sun Jun 21, 2020 11:43 am
by GhostNT
[QUOTE="Birthdayboy, post: 140288, member: 43344"]

1. I'm using the Intel version because it's the only one I found, I'll try looking for your AMD version but could you please link it just in case? Thank you in advance!

2. Yes, the versions do indeed match

3. Didn't try that feature yet, I'll give it a shot but I've used the "Craft anything" script on a previous build around a year ago albeit it was the AMD version but the Duplication Menu suggestion is a very nice one and I'll try it out for sure asap :)

4. Haven't tried other solutions

[/QUOTE]

Here is the link to my post.

[QUOTE="GhostNT, post: 139176, member: 42037"]

Update table for AMD

[/QUOTE]

Terraria 1.4 [Steam] [UPDATED]

Posted: Sun Jun 21, 2020 10:12 pm
by Birthdayboy
[QUOTE="GhostNT, post: 140301, member: 42037"]

Here is the link to my post.

[/QUOTE]

Thank you so much!

Terraria 1.4 [Steam] [UPDATED]

Posted: Mon Jun 22, 2020 6:18 am
by GarnetAnimations
[QUOTE="GhostNT, post: 139911, member: 42037"]

Place the desired item in 1 slot, then go to Player-> LocalPlayer-> My Player-> Item-> Slot 1 (change item power, speed, value, etc) -> Use Time (Speed) in the table and change it to 1.

[/QUOTE]

That is a good work around, though is it possible to have it so no matter what I have that speed of block placement / mining speed?

Terraria 1.4 [Steam] [UPDATED]

Posted: Tue Jun 23, 2020 1:18 pm
by GhostNT
[QUOTE="GarnetAnimations, post: 140375, member: 42243"]

That is a good work around, though is it possible to have it so no matter what I have that speed of block placement / mining speed?

[/QUOTE]

No, I think this is unlikely. The player’s structure has an itemTime field responsible for the delay between uses of items. When using any item player.itemTime = Item.useTime. The problem is that you cannot change it only selectively for blocks / mining tools, it will affect all items. This will entail the fact that some items will stop working since they have conditions for applying the effects itemTime == 2 or itemTime == 20, etc.

[automerge]1592920632[/automerge]

[QUOTE="okami_x, post: 139824, member: 17606"]

Small update for the Intel 1.4.0.5 table



Fixed:

MouseOver NPC Pointer (offsets updated)



New:

Enable Auto Reuse for all weapons

[/QUOTE]

Auto-use of items for which this is not provided causes problems. Here is a demo of this with Terraria Tweaker 2 [URL]https://forums.terraria.org/index.php?threads/patcher-terraria-tweaker-2-supercharge-your-terraria-1-4-compatible.59796/page-40#post-1998252[/URL].

Terraria 1.4 [Steam] [UPDATED]

Posted: Thu Jun 25, 2020 1:15 pm
by codexch123
how to make script unlimited buff slot??

Terraria 1.4 [Steam] [UPDATED]

Posted: Thu Jun 25, 2020 6:07 pm
by GhostNT
[QUOTE="codexch123, post: 140692, member: 43604"]

how to make script unlimited buff slot??

[/QUOTE]

1. Decompile the application.

2. See how and where buff slots are used to see where you need to be injected.

3. Think of a way to not spoil the save, as buffs are saved to a file.

4. Launch the game and find the targeted injection points in memory.

5. Write a script.

Re: Terraria 1.4 [Steam] [UPDATED]

Posted: Tue Jun 30, 2020 3:15 pm
by okami_x
Update for Steam 1.4.0.5 Intel table

Updated:
-Journey mode GodMode ->Godmode (Found in Player)

New scripts:
-No RespawnTime
-Get Last Fired Projectile
-All projectiles pass through tiles
-All projectiles penetrate unlimited targets
-All Projectiles Hostile (Damage to Town NPC/Player?) (I have not tested if this makes damage to players that have PVP disabled).
-All Projectiles Friendly (Damage to Enemy)
-All projectiles Ignore Water (Ignore water physics)

Re: Terraria 1.4 [Steam] [UPDATED]

Posted: Wed Jul 01, 2020 4:58 am
by sho1sato
okami_x wrote:
Tue Jun 30, 2020 3:15 pm
Update for Steam 1.4.0.5 Intel table

Updated:
-Journey mode GodMode ->Godmode (Found in Player)

New scripts:
-No RespawnTime
-Get Last Fired Projectile
-All projectiles pass through tiles
-All projectiles penetrate unlimited targets
-All Projectiles Hostile (Damage to Town NPC/Player?) (I have not tested if this makes damage to players that have PVP disabled).
-All Projectiles Friendly (Damage to Enemy)
-All projectiles Ignore Water (Ignore water physics)
I tried this on GOG version and it didn't work. Are there any working tables for GOG version right now?

Edit: I use AMD. Tried the AMD table and it's also not working

Re: Terraria 1.4 [Steam] [UPDATED]

Posted: Wed Jul 01, 2020 10:40 am
by okami_x
sho1sato wrote:
Wed Jul 01, 2020 4:58 am
I tried this on GOG version and it didn't work. Are there any working tables for GOG version right now?

Edit: I use AMD. Tried the AMD table and it's also not working
What version are you using?
-The table is for version 1.4.0.5

Is your "QuickLaunch" setting set to false?
-You can find it in C:\Users\%USERNAME%\Documents\My Games\Terraria\config.json

Re: Terraria 1.4 [Steam] [UPDATED]

Posted: Thu Jul 02, 2020 7:17 am
by sho1sato
okami_x wrote:
Wed Jul 01, 2020 10:40 am
What version are you using?
-The table is for version 1.4.0.5

Is your "QuickLaunch" setting set to false?
-You can find it in C:\Users\%USERNAME%\Documents\My Games\Terraria\config.json
I use the latest version which is indeed 1.4.0.5 and also use CE 7.1

My "QuickLaunch" is false already

Re: Terraria 1.4 [Steam] [UPDATED]

Posted: Thu Jul 09, 2020 12:05 pm
by Compeador
IDK whether it's been posted, I made a cheat that allows you to unlock any chest without keys, good treasure hunting in dungeons everyone (just copy paste the code below in CE)

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>15528</ID>
      <Description>"Picklock Chest"</Description>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>define(INJ_CHEST_KEY,Terraria.Player::TileInteractionsUse+33B1)
define(INJ_CHEST_KEY_PASS,Terraria.Chest::Unlock+17A)
define(INJ_CHEST_FREE_KEY,Terraria.Player::TileInteractionsUse+3415)

[ENABLE]
assert(INJ_CHEST_KEY,3B 85 78 FE FF FF 0F 85)
alloc(newmem,$1000)

label(code)
label(return)

newmem:
  mov eax,[ebp-188]
  jmp code

code:
  cmp eax,[ebp-00000188]
  jmp return

INJ_CHEST_KEY:
  jmp newmem
  nop
return:

// ==============================
assert(INJ_CHEST_KEY_PASS,75 07 33 C0 E9 50 01 00 00 C7) // should be unique
alloc(newmem2,$1000)

label(code2)
label(return2)

newmem2:
  jmp Terraria.Chest::Unlock+183
  jmp return2

code2:
  jne Terraria.Chest::Unlock+183
  xor eax,eax
  jmp Terraria.Chest::Unlock+2D3
  jmp return2

INJ_CHEST_KEY_PASS:
  jmp newmem2
  nop 4
return2:

// ==============================
assert(INJ_CHEST_FREE_KEY,FF 88 A4 00 00 00)
INJ_CHEST_FREE_KEY:
  nop
  nop
  nop
  nop
  nop
  nop


[DISABLE]

INJ_CHEST_KEY:
  db 3B 85 78 FE FF FF

dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: 288533F1

288533B9: C7 85 78 FE FF FF 6A 12 00 00  -  mov [ebp-00000188],0000126A
288533C3: C7 85 80 FE FF FF 01 00 00 00  -  mov [ebp-00000180],00000001
288533CD: 33 DB                          -  xor ebx,ebx
288533CF: 83 FB 3A                       -  cmp ebx,3A
288533D2: 0F 8D 3B 01 00 00              -  jnl 28853513
288533D8: 8B 86 C4 00 00 00              -  mov eax,[esi+000000C4]
288533DE: 3B 58 04                       -  cmp ebx,[eax+04]
288533E1: 0F 83 FE 03 00 00              -  jae 288537E5
288533E7: 8B 44 98 08                    -  mov eax,[eax+ebx*4+08]
288533EB: 8B 80 90 00 00 00              -  mov eax,[eax+00000090]
// ---------- INJECTING HERE ----------
288533F1: 3B 85 78 FE FF FF              -  cmp eax,[ebp-00000188]
// ---------- DONE INJECTING  ----------
288533F7: 0F 85 0C 01 00 00              -  jne 28853509
288533FD: 8B 86 C4 00 00 00              -  mov eax,[esi+000000C4]
28853403: 3B 58 04                       -  cmp ebx,[eax+04]
28853406: 0F 83 D9 03 00 00              -  jae 288537E5
2885340C: 8B 44 98 08                    -  mov eax,[eax+ebx*4+08]
28853410: 83 B8 A4 00 00 00 00           -  cmp dword ptr [eax+000000A4],00
28853417: 0F 8E EC 00 00 00              -  jng 28853509
2885341D: 8B 8D 90 FE FF FF              -  mov ecx,[ebp-00000170]
28853423: 8B 95 8C FE FF FF              -  mov edx,[ebp-00000174]
28853429: E8 B2 EE AA F3                 -  call 1C3022E0
}
INJ_CHEST_KEY_PASS:
  db 75 07 33 C0 E9 50 01 00 00

dealloc(newmem2)

{
// ORIGINAL CODE - INJECTION POINT: 1C30245A

1C30241B: FF 24 95 C8 25 30 1C  -  jmp dword ptr [edx*4+1C3025C8]
1C302422: C7 45 E8 24 00 00 00  -  mov [ebp-18],00000024
1C302429: C7 45 E4 0B 00 00 00  -  mov [ebp-1C],0000000B
1C302430: B9 13 00 00 00        -  mov ecx,00000013
1C302435: FF 15 EC 2C 10 1C     -  call dword ptr [1C102CEC]
1C30243B: E9 95 00 00 00        -  jmp 1C3024D5
1C302440: C7 45 E8 24 00 00 00  -  mov [ebp-18],00000024
1C302447: C7 45 E4 0B 00 00 00  -  mov [ebp-1C],0000000B
1C30244E: E9 82 00 00 00        -  jmp 1C3024D5
1C302453: 80 3D 04 0A 12 07 00  -  cmp byte ptr [07120A04],00
// ---------- INJECTING HERE ----------
1C30245A: 75 07                 -  jne 1C302463
1C30245C: 33 C0                 -  xor eax,eax
1C30245E: E9 50 01 00 00        -  jmp 1C3025B3
// ---------- DONE INJECTING  ----------
1C302463: C7 45 E8 B4 00 00 00  -  mov [ebp-18],000000B4
1C30246A: C7 45 E4 0B 00 00 00  -  mov [ebp-1C],0000000B
1C302471: B9 14 00 00 00        -  mov ecx,00000014
1C302476: FF 15 EC 2C 10 1C     -  call dword ptr [1C102CEC]
1C30247C: EB 57                 -  jmp 1C3024D5
1C30247E: C7 45 E8 24 00 00 00  -  mov [ebp-18],00000024
1C302485: C7 45 E4 0B 00 00 00  -  mov [ebp-1C],0000000B
1C30248C: EB 47                 -  jmp 1C3024D5
1C30248E: 33 C0                 -  xor eax,eax
1C302490: E9 1E 01 00 00        -  jmp 1C3025B3
}
INJ_CHEST_FREE_KEY:
  db FF 88 A4 00 00 00


{
// ORIGINAL CODE - INJECTION POINT: 28853455

28853423: 8B 95 8C FE FF FF              -  mov edx,[ebp-00000174]
28853429: E8 B2 EE AA F3                 -  call 1C3022E0
2885342E: 85 C0                          -  test eax,eax
28853430: 0F 84 D3 00 00 00              -  je 28853509
28853436: 81 BD 78 FE FF FF 49 01 00 00  -  cmp [ebp-00000188],00000149
28853440: 74 6F                          -  je 288534B1
28853442: 8B 86 C4 00 00 00              -  mov eax,[esi+000000C4]
28853448: 3B 58 04                       -  cmp ebx,[eax+04]
2885344B: 0F 83 94 03 00 00              -  jae 288537E5
28853451: 8B 44 98 08                    -  mov eax,[eax+ebx*4+08]
// ---------- INJECTING HERE ----------
28853455: FF 88 A4 00 00 00              -  dec [eax+000000A4]
// ---------- DONE INJECTING  ----------
2885345B: 8B 86 C4 00 00 00              -  mov eax,[esi+000000C4]
28853461: 3B 58 04                       -  cmp ebx,[eax+04]
28853464: 0F 83 7B 03 00 00              -  jae 288537E5
2885346A: 8B 44 98 08                    -  mov eax,[eax+ebx*4+08]
2885346E: 83 B8 A4 00 00 00 00           -  cmp dword ptr [eax+000000A4],00
28853475: 7F 3A                          -  jg 288534B1
28853477: B9 AC 4F 74 07                 -  mov ecx,07744FAC
2885347C: E8 47 FC 0C D9                 -  call 019230C8
28853481: 89 85 70 FD FF FF              -  mov [ebp-00000290],eax
28853487: 8B 86 C4 00 00 00              -  mov eax,[esi+000000C4]
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>