Page 1 of 1

Terraria

Posted: Fri Apr 07, 2017 5:44 am
by Cowtow
Alright so, I didnt seen the table when i made a quick search, so im posting it here in case anyone wants it.
  • It might be an older version than was previously available, though all codes presently work for me on version 1.3.4.4
  • I All cheats belong to their respective owners, (there were a good few)
  • This may not work for people using AMD (I think that was a problem?)
  • Have Fun

Re: Terraria

Posted: Thu Apr 20, 2017 3:49 pm
by kakunpala
Nice thanks a lot :) Any chance of updated version for 1.3.5? I'm not too good with this stuff but i managed to get code for brightness and maxin out stacks to work:

Code: Select all

// full brightness
define(fullbright2, Terraria.Lighting::doColors_Mode0_Swipe+c2)
//define(fullbright2, Terraria.Lighting::doColors_Mode0_Swipe+15d)
[ENABLE]
assert(fullbright2, D9 46 08 D9 45 C4)
alloc(fullbright_mem2, 1024)
label(fullbright_ret2)

fullbright_mem2:
mov [esi+8],(float)1.0 //lightingstate[thispixel].r
mov [esi+10],(float)1.0 //lightingstate[thispixel].g
mov [esi+18],(float)1.0 //lightingstate[thispixel].b
fld dword ptr [esi+8] //lightingstate[thispixel].r
fld dword ptr [ebp-3c]
jmp fullbright_ret2

fullbright2:
jmp fullbright_mem2
nop
fullbright_ret2:
 
[DISABLE]
dealloc(fullbright_mem2)
fullbright2:
fld dword ptr [esi+8]
fld dword ptr [ebp-3c]

Code: Select all

// full stack with ctrl+f2
[ENABLE]
aobscan(mouseover_aob,83 B9 80 00 00 00 00 0F 8E 42) // should be unique
alloc(newmem,$1000)
alloc(item_ptr, 4)
registersymbol(item_ptr)
label(exit)
label(code)
label(return)

newmem:
code:
  pushad
  push 11
  call GetAsyncKeyState
  shr ax,#15
  cmp ax,1
  popad

  jne exit
  pushad
  push 71
  call GetAsyncKeyState
  shr ax,#15
  cmp ax,1
  popad
  mov [item_ptr], ecx

  jne exit
  mov ebx,[ecx+84]
  mov [ecx+80],ebx

exit:
  cmp dword ptr [ecx+00000080],00
  jmp return

mouseover_aob:
jmp code
nop
nop // needed?
return:
registersymbol(mouseover_aob)


[DISABLE]
mouseover_aob:
  db 83 B9 80 00 00 00 00

unregistersymbol(mouseover_aob)
dealloc(newmem)
dealloc(item_ptr)
unregistersymbol(item_ptr)

Re: Terraria

Posted: Sun Apr 23, 2017 8:07 am
by Cowtow
Alas, i don't have the time to make a 1.3.5 update at the moment. :/

That being said, updating the table shouldnt be the hard for most people who are familiar with dissecting data structures, or just using common sense in the memory viewer. It just takes awhile.