Cheat Engine Spawn Script

Posts 1–6 of 6 · Page 1 of 1
Cheat Engine Spawn Script
NOT MADE BY ME

1. Download the file

2. Place it on your desktop or somewhere

3. Replace .txt with .ct

4. Open it and tick the box next to SpawnItem and enable Spawnitem (Should see two Spawnitem boxes tick them both)

5. Then to the right of " new Item Type " you will see 1 and change that to the item id you want to spawn in the trash.

6. Tick the " new Item Type " box then go back to Terraria and check the trash

I will upload pictures to help since I can't get it to show in a line.



<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>3</ID>
<Description>"SpawnItem"</Description>
<Options moHideChildren="1"/>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
alloc(newMemory,256)
registersymbol(newMemory)
label(newItemType)
registersymbol(newItemType)
newMemory:
push eax //Pushing eax for our usage
push edx //pushing edx for our usage
call Terraria.Main::get_LocalPlayer //After this function is our PlayerBase saved in eax
push ecx //pushing for our usage
push 0 //Passing false as parameter for SetDefaults
mov ecx,[eax+a8] // We want to put the addr of our trashitem in here, eax = localPlayer
mov edx,[newItemType]// Passing our second parameter for the function
call Terraria.Item::SetDefaults // calling the function
pop eax
pop edx
pop ecx
ret
newItemType:
dd 1
[DISABLE]
dealloc(newMemory)
unregistersymbol(newMemory)
unregistersymbol(newItemType)

//TrashItem is the itemspace we want to use, you could use other inventory slots too
//TrashItem is located at LocalPlayer+A8
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>4</ID>
<Description>"new Item Type"</Description>
<VariableType>4 Bytes</VariableType>
<Address>newItemType</Address>
</CheatEntry>
<CheatEntry>
<ID>5</ID>
<Description>"Spawnitem"</Description>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
CreateThread(newMemory)
[DISABLE]
</AssemblerScript>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>
Spawn Items out of trash.txt2 KB · 107 downloads Clean
What it looks like when you changed the value.png6 KB · 35 downloads Before you changed the value.png6 KB · 48 downloads Change the value then tick the box.png1 KB · 8 downloads
Quote Originally Posted by BuccManCream View Post
Wheres the file?
Updated it so you wont have to wait.
Good post! Thanks a lot!
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us