Terraria Item Spawner

Posts 1–15 of 56 · Page 1 of 4
Terraria Item Spawner
Cheat Table for spawning an Item by ID out of the trash. Works in Single- and Multiplayer.


How to:
Cheat Table:
1.Copy the whole code underneath and save it as <name>.ct

1.[Terraria] Go ingame
2.[Cheat Engine] Activate "Get Playerbase"
3.[Cheat Engine] Activate "Spawn Item out of trash"
4.[Cheat Engine] Write an ID of an Item into the address "ItemID"
5.[Terraria] Select any Item and move it into the trash slot
6.[Terraria] You are holding your desired Item

Cheat Table Code:
Code:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="19">
  <CheatEntries>
    <CheatEntry>
      <ID>5</ID>
      <Description>"Hook"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscan(BaseAddress,DB 86 18 03 00 00) // should be unique
alloc(Base_Address_Hook,32)
globalalloc(t_BaseAddress,4)
label(return)

Base_Address_Hook:
  fild dword ptr [esi+00000318]
  mov [t_BaseAddress],esi
  jmp return
BaseAddress:
  jmp Base_Address_Hook
  nop
return:
registersymbol(BaseAddress)
[DISABLE]
BaseAddress:
  db DB 86 18 03 00 00
unregistersymbol(BaseAddress)
dealloc(newmem)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>6</ID>
          <Description>"BaseAddress"</Description>
          <LastState Value="1C5362AC" RealAddress="03B60000"/>
          <ShowAsHex>1</ShowAsHex>
          <VariableType>4 Bytes</VariableType>
          <Address>t_baseaddress</Address>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
    <CheatEntry>
      <ID>19</ID>
      <Description>"Spawn Item out of trash"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscan(qwewq,89 51 6C 5D C3) // should be unique
alloc(newmem,$1000)
label(ItemID)
registersymbol(ItemID)
label(code)
label(return)

newmem:
  push eax
  mov eax,[t_baseaddress]
  add eax,98
  cmp ecx,[eax]
  pop eax
  jne code
  mov edx,[ItemID]
  jmp code
code:
  mov [ecx+6c],edx
  pop ebp
  ret 
  jmp return
ItemID:
dd 0
qwewq:
  jmp newmem
return:
registersymbol(qwewq)

[DISABLE]

qwewq:
  db 89 51 6C 5D C3

unregistersymbol(qwewq)
unregistersymbol(ItemID)
dealloc(newmem)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>3</ID>
          <Description>"ItemID"</Description>
          <LastState Value="0" RealAddress="01060029"/>
          <VariableType>4 Bytes</VariableType>
          <Address>ItemID</Address>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols>
    <SymbolEntry>
      <Name>t_BaseAddress</Name>
      <Address>03B60000</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>INJECTt</Name>
      <Address>37994ED2</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>BaseAddress</Name>
      <Address> 03B70000</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>ItemID</Name>
      <Address>01060029</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>qwewq</Name>
      <Address> 15BBC360</Address>
    </SymbolEntry>
  </UserdefinedSymbols>
</CheatTable>
Seem's useful,
Could you update it for 1.3.1?
Terraria Spawn Items out of Trash 1.3.0.1
Cheat Table for 1.3.1 :
Download the txt and change the extension to .ct


Or Copy the Code below and save it as .ct:

Code:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="19">
  <CheatEntries>
    <CheatEntry>
      <ID>5</ID>
      <Description>"Hook"</Description>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscan(BaseAddress,DB 86 2C 03 00 00 D9 9D 60)
alloc(Base_Address_Hook,32)
globalalloc(t_BaseAddress,4)
label(return)

Base_Address_Hook:
  fild dword ptr [esi+0000032C]
  mov [t_BaseAddress],esi
  jmp return
BaseAddress:
  jmp Base_Address_Hook
  nop
return:
registersymbol(BaseAddress)
[DISABLE]
BaseAddress:
  db DB 86 2C 03 00 00 D9 9D 60
unregistersymbol(BaseAddress)
dealloc(newmem)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>6</ID>
          <Description>"BaseAddress"</Description>
          <ShowAsHex>1</ShowAsHex>
          <VariableType>4 Bytes</VariableType>
          <Address>t_baseaddress</Address>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
    <CheatEntry>
      <ID>19</ID>
      <Description>"Spawn Item out of trash"</Description>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscan(qwewq,89 51 6C 5D C3)
alloc(newmem,$1000)
label(ItemID)
label(ItemID_Quan)
label(ItemID_Quan_Flag)
registersymbol(ItemID_Quan)
registersymbol(ItemID_Quan_Flag)
registersymbol(ItemID)
label(code)
label(return)

newmem:
  push eax
  mov eax,[t_baseaddress]
  add eax,a8
  cmp ecx,[eax]
  pop eax
  jne code
  mov edx,[ItemID]
  cmp [ItemID_Quan_Flag],1
  jne code
  push eax
  mov eax,[ItemID_Quan]
  mov [ecx+80],eax
  pop eax
  jmp code
code:
  mov [ecx+6c],edx
  pop ebp
  ret 
  jmp return
ItemID:
dd 0
ItemID_Quan:
dd 1
ItemID_Quan_Flag:
dd 0
qwewq:
  jmp newmem
return:
registersymbol(qwewq)

[DISABLE]

qwewq:
  db 89 51 6C 5D C3

unregistersymbol(qwewq)
unregistersymbol(ItemID)
unregistersymbol(ItemID_Quan)
unregistersymbol(ItemID_Quan_Flag)
dealloc(newmem)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>26</ID>
          <Description>"Modify Quantity"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
 ItemID_Quan_Flag:
 dd 01
[DISABLE]
ItemID_Quan_Flag:
dd 00
</AssemblerScript>
          <CheatEntries>
            <CheatEntry>
              <ID>27</ID>
              <Description>"Quantity"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>ItemID_Quan</Address>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>3</ID>
          <Description>"ItemID"</Description>
          <VariableType>4 Bytes</VariableType>
          <Address>ItemID</Address>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols>
    <SymbolEntry>
      <Name>t_BaseAddress</Name>
      <Address>36C90000</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>INJECTt</Name>
      <Address>37994ED2</Address>
    </SymbolEntry>
  </UserdefinedSymbols>
</CheatTable>
TerrariaT - Kopie.txt3 KB · 578 downloads Clean
Can you make a Video Tutorial? i can't seem to understand .-.
Quote Originally Posted by Unvarying View Post
Can you make a Video Tutorial? i can't seem to understand .-.
Delete all spaces[5] :
www . youtube . com/ watch?v=hViV_z8GEkY
thanks for your time and Vouch.

- - - Updated - - -

Edit:The game crashes when im trying to click the item and transfer to trash icon.

- - - Updated - - -

is this working on a Crack Version?
Quote Originally Posted by Unvarying View Post
thanks for your time and Vouch.

- - - Updated - - -

Edit:The game crashes when im trying to click the item and transfer to trash icon.

- - - Updated - - -

is this working on a Crack Version?
1. Thank you ^^
2. Maybe the address for the base is wrong, just check the Get Playerbase once and uncheck it (might prevent crash) | Which Version of Terraria do you use ?
3. It should work if the cracked Version has the same version as original Terraria (1.3.1)
Hey, this table looks awesome, but when i place the item in the trash icon, my game crashes. I'm playing on the official steam release, version 1.3.1.1

EDIT: I forgot to enable the hook allowing the PlayerBase to work, doing this allowed the Table to function as intended
Hey, the game is instantly crashing when i try to activate the ''Spawn item out of trash'' can you help me pls?
Did you pressed "Get Playerbase" before ?
For anyone wondering, it's still working in 1.3.2.1. Huge thanks for the table tho ^^
Does this work in 1.3.3?
Update for 1.3.3.2
Code:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="21">
  <CheatEntries>
    <CheatEntry>
      <ID>5</ID>
      <Description>"Hook"</Description>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscan(BaseAddress,DB 82 34030000)
alloc(Base_Address_Hook,32)
globalalloc(t_BaseAddress,4)
label(return)

Base_Address_Hook:
  fild dword ptr [edx+00000334]
  mov [t_BaseAddress],edx
  jmp return
BaseAddress:
  jmp Base_Address_Hook
  nop
return:
registersymbol(BaseAddress)
[DISABLE]
BaseAddress:
  db DB 82 34030000
unregistersymbol(BaseAddress)
dealloc(newmem)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>6</ID>
          <Description>"BaseAddress"</Description>
          <ShowAsHex>1</ShowAsHex>
          <VariableType>4 Bytes</VariableType>
          <Address>t_baseaddress</Address>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
    <CheatEntry>
      <ID>19</ID>
      <Description>"Spawn Item out of trash"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscan(qwewq,89 51 6C 5D C3)
alloc(newmem,$1000)
label(ItemID)
label(ItemID_Quan)
label(ItemID_Quan_Flag)
registersymbol(ItemID_Quan)
registersymbol(ItemID_Quan_Flag)
registersymbol(ItemID)
label(code)
label(return)

newmem:
  push eax
  mov eax,[t_baseaddress]
  add eax,a8
  cmp ecx,[eax]
  pop eax
  jne code
  mov edx,[ItemID]
  cmp [ItemID_Quan_Flag],1
  jne code
  push eax
  mov eax,[ItemID_Quan]
  mov [ecx+80],eax
  pop eax
  jmp code
code:
  mov [ecx+6c],edx
  pop ebp
  ret 
  jmp return
ItemID:
dd 0
ItemID_Quan:
dd 1
ItemID_Quan_Flag:
dd 0
qwewq:
  jmp newmem
return:
registersymbol(qwewq)

[DISABLE]

qwewq:
  db 89 51 6C 5D C3

unregistersymbol(qwewq)
unregistersymbol(ItemID)
unregistersymbol(ItemID_Quan)
unregistersymbol(ItemID_Quan_Flag)
dealloc(newmem)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>26</ID>
          <Description>"Modify Quantity"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
 ItemID_Quan_Flag:
 dd 01
[DISABLE]
ItemID_Quan_Flag:
dd 00
</AssemblerScript>
          <CheatEntries>
            <CheatEntry>
              <ID>27</ID>
              <Description>"Quantity"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>ItemID_Quan</Address>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>3</ID>
          <Description>"ItemID"</Description>
          <VariableType>4 Bytes</VariableType>
          <Address>ItemID</Address>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols>
    <SymbolEntry>
      <Name>t_BaseAddress</Name>
      <Address>00D30000</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>INJECTt</Name>
      <Address>37994ED2</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>ItemID_Quan</Name>
      <Address>00D50047</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>ItemID_Quan_Flag</Name>
      <Address>00D5004B</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>ItemID</Name>
      <Address>00D50043</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>qwewq</Name>
      <Address> 1B7CC310</Address>
    </SymbolEntry>
  </UserdefinedSymbols>
</CheatTable>
Posts 1–15 of 56 · Page 1 of 4

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us