Loading...

Sweet Terraria Hacks

35,675 views

Loading...

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jul 4, 2011

Here are some of the sweet terraria hacks I've made.
It includes God Mode, Speed Attack, Infinite Mana, One-Hit Kill, Mouse Fly and more...

Since Terraria was coded in C#, everything is dynamically loaded - every assembly, every class, every function - so you have to look for Array of Bytes every time, there's no common base like module or anything.
Before scanning, you must load the assembly into memory - meaning, if you're looking for God Mode for example, gotta access health-related functions such as getting hit, healing and so on...

Here are a few AoBs I saved:

God Mode:
29 86 0C 01 00 00 (NOP)
and infinite breath: 83 80 0C 01 00 00 FE (NOP)

Fast Attack:
89 82 84 00 00 00 A1 ?? ?? ?? ?? DB (NOP)

One-Hit Kill:
F2 0F 2C C0 29 46 50 (MOV [ESI+50], 0)

Infinite Items:
FF 48 3C 8B 85 B0 FB FF FF (NOP)

Character Position:
F3 0F 7E 06 66 0F D6 07 8B 85 84 F9 FF FF D9 80 98 01 00 00 D9 05 (Enable Mouse-Fly Script)

And the Mouse-Fly script (now works underwater too):
[Enable]
Alloc(MouseVac, 128)
Alloc(MousePos, 8)
Alloc(MouseFloatX, 4)
Alloc(MouseFloatY, 4)

CharPos-2D4:
db 90 0E9

CharPos:
call MouseVac
nop
nop
nop

MouseVac:
pushad
push MousePos
call GetCursorPos

push MousePos
call GetForegroundWindow
push eax
call ScreenToClient

mov eax, MousePos
sub dword ptr ds:[eax], #400
sar dword ptr ds:[eax], 2 //Sensetivity (0-Very High, 4-Very Low)
fild dword ptr ds:[eax]
fstp dword ptr ds:[MouseFloatX]

add eax, 4
sub dword ptr ds:[eax], #300
sar dword ptr ds:[eax], 2 //Sensetivity (0-Very High, 4-Very Low)
fild dword ptr ds:[eax]
fstp dword ptr ds:[MouseFloatY]

fld dword ptr ds:[esi]
fadd dword ptr ds:[MouseFloatX]
fstp dword ptr ds:[edi]

add esi, 4
add edi, 4

fld dword ptr ds:[esi]
fadd dword ptr ds:[MouseFloatY]
fstp dword ptr ds:[edi]
popad
retn

[Disable]
CharPos: //Original code
db 0F3 0F 7E 06
db 66 0F 0D6 07
//movq xmm0,[esi]
//movq [edi],xmm0

CharPos-2D4:
db 0F 84

Dealloc(MouseVac)
Dealloc(MousePos)
Dealloc(MouseFloatX)
Dealloc(MouseFloatY)

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...