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 


Singularity v1.0-1.1
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Auto Assemble scripts
View previous topic :: View next topic  
Author Message
_Veggy
Cheater
Reputation: 2

Joined: 30 Apr 2013
Posts: 33
Location: BReWErS rox your dox

PostPosted: Fri Feb 17, 2017 12:10 pm    Post subject: Reply with quote

Just been sniffing through my older source for this game, it was a lovely game to hack, Unreal Engine 3.

It was great to determine how everything could be tied to the 'player' area which saved a lot of injections:

Just for the fun and if everyone wonders:

EXPORT FREW: ; Infinite Health, Teleport, Super Jump, Super Speed ;;

;ECX and EAX are free
pushfd
pushad
mov ebx, [esi+3D0h]
mov [WeaponStruct],ebx
mov ebx, [esi+1058h]
mov [TMDStruct],ebx
mov ebx, [esi+1ECh]
mov [StaminaStruct],ebx
mov ebx, [esi+3D4h]
mov [WeaponIdentifierStruct],ebx
cmp B[HealthFlag],01h
jne >Teleport
mov ebx, [esi+2E8h]
mov [esi+2E4h],ebx
Teleport:
cmp B[SaveFlag],01h
jne >Restore
mov B[SaveFlag],00h
mov ebx, [esi+54h]
mov [Static1],ebx
mov ebx, [esi+58h]
mov [Static2],ebx
mov ebx, [esi+5Ch]
mov [Static3],ebx
Restore:
cmp B[RestoreFlag],01h
jne >Speed
mov B[RestoreFlag],00h
mov ebx, [Static1]
mov [esi+54h],ebx
mov ebx, [Static2]
mov [esi+58h],ebx
mov ebx, [Static3]
mov [esi+5Ch],ebx
Speed:
cmp B[SpeedFlag],01h
jne >OrigSpeed
mov D[esi+8Ch],40200000h
OrigSpeed:
cmp B[SpeedFlag],02h
jne >Jump
mov B[SpeedFlag],00h
mov D[esi+8Ch],3F800000h
Jump:
cmp B[JumpFlag],01h
jne >OrigJump
mov D[esi+2A0h],44960000h
OrigJump:
cmp B[JumpFlag],02h
jne >E99Tech
mov B[JumpFlag],00h
mov D[esi+2A0h],44160000h
E99Tech:
cmp B[E99TechFlag],01h
jne >HealthPacks
mov B[E99TechFlag],00h
mov ebx, [WeaponStruct]
add D[ebx+370h],3E8h
HealthPacks:
cmp B[HealthPacksFlag],01h
jne >WeaponTech
mov B[HealthPacksFlag],00h
mov ebx, [WeaponStruct]
add D[ebx+364h],01h
WeaponTech:
cmp B[WeaponTechFlag],01h
jne >TMDCells
mov B[WeaponTechFlag],00h
mov ebx, [WeaponStruct]
add D[ebx+36Ch],0Ah
TMDCells:
cmp B[TMDCellsFlag],01h
jne >TMDEnergy
mov B[TMDCellsFlag],00h
mov ebx, [WeaponStruct]
add D[ebx+368h],01h
TMDEnergy:
cmp B[TMDEnergyFlag],01h
jne >Stamina
mov ebx, [TMDStruct]
mov D[ebx+38Ch],3F800000h
Stamina:
cmp B[StaminaFlag],01h
jne >Ammo
mov ebx, [StaminaStruct]
mov D[ebx+648h],42C80000h
Ammo:
cmp B[AmmoFlag],01h
jne >TemporalDilation
cmp D[WeaponStruct],0
je >TemporalDilation
cmp D[WeaponIdentifierStruct],0
je >TemporalDilation
mov ebx, [WeaponStruct]
mov edi, [WeaponIdentifierStruct]
movzx eax, B[edi+30Dh]
mov D[ebx+eax*4+1FCh],63h
TemporalDilation:
cmp B[TemporalDilationFlag],01h
jne >Oxygen
mov ebx, [WeaponIdentifierStruct]
mov D[ebx+59Ch],40A00000h
Oxygen:
cmp B[OxygenFlag],01h
jne >EndofHealthRoutine
mov ebx, [esi+2F0h]
mov [esi+2ECh], ebx
EndofHealthRoutine:
popad
popfd
mov eax, [edx+0CA8h]
push [HealthRet]
RET
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Auto Assemble scripts All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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