MantisBT - Cheat Engine
View Issue Details
0000131Cheat Enginepublic2009-07-24 02:232009-09-25 22:04
Assigned ToDark Byte 
PlatformOSOS Version
Summary0000131: CE 5.5 does not accept certain defines
DescriptionCE does not accept this code:

db 1

db 0

I understand the address is not quite usual, but still - if I know what I am doing...
Additional InformationBTW: the error message CE gives is incorrect - there is nothing wrong with the address.

Let me know if you need more info to fix this.
TagsNo tags attached.
Attached Files

Dark Byte   
2009-07-25 16:03   
I can't think of one reason you'd want to use a define as a address, but yes, it's current;y not supported

(You do know you can put calculations as address as well right? e.g [00401234]+15: would access a pointer location)
2009-07-27 22:00   
(Last edited: 2009-07-28 01:29)
To initialize default values when the trainer is enabled/disabled.
This way, I do not need to write extra code that sets the default and remembers that it has been set.

Dark Byte   
2009-09-24 21:08   
this already works in ce 5.5
I don't know what error you got

note: remove the lines saying ...
2009-09-25 00:16   
Actually, I think it has something to do with issue 0000116 .
I could not define global constants (outside [enable] and [disable]), so I assumed it should work under [enable]. However, that define is not valid in the scope of [disable] - and this causes the error.
I think fixing 0000116 will take care of this.

Issue History
2009-07-24 02:23CsimbiNew Issue
2009-07-25 16:03Dark ByteNote Added: 0000265
2009-07-25 16:03Dark ByteStatusnew => confirmed
2009-07-27 22:00CsimbiNote Added: 0000267
2009-07-28 01:29CsimbiNote Edited: 0000267
2009-09-24 21:08Dark ByteNote Added: 0000294
2009-09-24 21:08Dark ByteStatusconfirmed => resolved
2009-09-24 21:08Dark ByteResolutionopen => fixed
2009-09-24 21:08Dark ByteAssigned To => Dark Byte
2009-09-25 00:16CsimbiNote Added: 0000302
2009-09-25 00:16CsimbiStatusresolved => feedback
2009-09-25 00:16CsimbiResolutionfixed => reopened
2009-09-25 22:04Dark ByteStatusfeedback => resolved
2009-09-25 22:04Dark ByteResolutionreopened => duplicate