Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Hi all, I would like someone to correct this code

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
winyxi
How do I cheat?
Reputation: 0

Joined: 15 Feb 2025
Posts: 1

PostPosted: Sat Feb 15, 2025 2:17 am    Post subject: Hi all, I would like someone to correct this code Reply with quote

Code:
define(address, Terraria.GameContent.Creative.ItemsSacrificedUnlocksTracker::FillListOfItemsThatCanBeObtainedInfinitely)
define(bytes, 55 8B EC 57 56)

[ENABLE]

assert(address, bytes)

alloc(newmem, $10000)

newmem:
  // INJECTION CODE HERE ->
  // Literally fills list from ID 0 to Last ITEM ID ( Defined bellow )
  push ebp
  mov ebp,esp
  push edi
  push esi
  mov edi,edx
  xor esi,esi
  db EB 0C
  mov ecx,edi
  mov edx,esi
  cmp [ecx],ecx
  call mscorlib.ni.dll+3E2B60
  inc esi
  cmp esi,#5455              // Last ITEM ID
  setle al
  movzx eax,al
  test eax,eax
  db 75 E4
  pop esi
  pop edi
  pop ebp
  ret

address:
  jmp newmem
return:

[DISABLE]

address:
  db bytes
  {push ebp
  mov ebp,esp
  push edi
  push esi}

dealloc(*)


When this code is activated, the game crashes, most likely due to the fact that a lot of items are loaded at one time. Can someone help me to make the items load gradually?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 467

Joined: 09 May 2003
Posts: 25678
Location: The netherlands

PostPosted: Sat Feb 15, 2025 2:31 am    Post subject: Reply with quote

likely the culprit is "call mscorlib.ni.dll+3E2B60" good luck fixing that as I have no idea what it was pointing at originally
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites