| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| DeccaUK How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 14 Oct 2025
 Posts: 4
 Location: England
 
 | 
			
				|  Posted: Tue Oct 14, 2025 2:56 pm    Post subject: Newby struggling with simple things |   |  
				| 
 |  
				| Try to create a script for Defense Grid The Awakening to lock the resource. 
 First try was to set a fixed value of 500:
 
 Original code:
 movss [edx+10],xmm0
 
 Add the following:
 mov [edx+10],float(500.0)
 
 Error "This instruction can't be compiled"
 
 I don't understand why not. I got this exact mod from a You Tube video!
 
 
 
 
	
		
	 
		| Description: |  |  
		| Filesize: | 13.68 KB |  
		| Viewed: | 706 Time(s) |  
		| 
  
 
 |  
 _________________
 
 I don't know as much as I would like |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 | 
			
				|  Posted: Tue Oct 14, 2025 3:48 pm    Post subject: |   |  
				| 
 |  
				| it's more like a C typecast than a pascal typecast, so do 
  	  | Code: |  	  | mov [edx+10],(float)500
 
 | 
 _________________
 
 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 |  | 
	
		|  | 
	
		| DeccaUK How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 14 Oct 2025
 Posts: 4
 Location: England
 
 | 
			
				|  Posted: Tue Oct 14, 2025 4:41 pm    Post subject: |   |  
				| 
 |  
				|  	  | Dark Byte wrote: |  	  | it's more like a C typecast than a pascal typecast, so do 
  	  | Code: |  	  | mov [edx+10],(float)500
 
 | 
 | 
 
 Gives the same error. I've seen that sort of code in other scripts so the syntax looks ok. I'm doing something wrong...
 _________________
 
 I don't know as much as I would like |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 | 
			
				|  Posted: Tue Oct 14, 2025 4:53 pm    Post subject: |   |  
				| 
 |  
				| got a screenshot of that error? _________________
 
 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 |  | 
	
		|  | 
	
		| DeccaUK How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 14 Oct 2025
 Posts: 4
 Location: England
 
 | 
			
				|  Posted: Wed Oct 15, 2025 1:10 am    Post subject: |   |  
				| 
 |  
				|  	  | Dark Byte wrote: |  	  | got a screenshot of that error? | 
 
 Sure
 
 
 
 
	
		
	 
		| Description: |  |  
		| Filesize: | 223.94 KB |  
		| Viewed: | 639 Time(s) |  
		| 
  
 
 |  
 _________________
 
 I don't know as much as I would like |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 | 
			
				|  Posted: Wed Oct 15, 2025 3:29 am    Post subject: |   |  
				| 
 |  
				| it's not 
 it's
 
 _________________
 
 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 |  | 
	
		|  | 
	
		| DeccaUK How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 14 Oct 2025
 Posts: 4
 Location: England
 
 | 
			
				|  Posted: Wed Oct 15, 2025 4:21 am    Post subject: |   |  
				| 
 |  
				|  	  | Dark Byte wrote: |  	  | it's not 
 it's
 
 | 
 
 That's it - thank you!
 
 I'm an old school software developer, and just assumed every parameter is always in brackets.
 
 ... and I've been fiddling with this for hours - doh...
 
 
 On a side issue, why are these screen captures displayed here so LARGE?
 _________________
 
 I don't know as much as I would like |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| C1aref5 Cheater
 
 ![]() Reputation: 0 
 Joined: 20 Feb 2025
 Posts: 32
 
 
 | 
			
				|  Posted: Thu Oct 23, 2025 3:43 pm    Post subject: |   |  
				| 
 |  
				| That’s actually just how the phpBB forum engine (used by the Cheat Engine forums) handles inline image tags. By default, images are shown at their original resolution, with no auto-scaling applied. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |