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 


Compiling & Building

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

Joined: 29 Mar 2006
Posts: 5

PostPosted: Wed May 10, 2006 11:35 pm    Post subject: Compiling & Building Reply with quote

Jut need a little help, if someone can provide me with some clue. I got this when I try to compile the trainer with assembler.

[Error] frmautoinjectunit.pas(332): Undeclared identifier: 'disassemble'

Now, I looked at the source, and I saw "($ifndef trainerwithassembler)" under the "uses" directive. But then why exactly doesn't it find disassembler function? Also, if I manually add the "uses disassembler" directive, now I get a "($ifndef net)" portion under the disassembler.pas.

Someone please help, even a small clue'll help. Thanks.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Thu May 11, 2006 12:57 am    Post subject: Reply with quote

$ifndef trainerwithassembler means " If it's NOT the standalonetrainer then include the disassembler, else skip it"
_________________
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
PixelaseR
How do I cheat?
Reputation: 0

Joined: 29 Mar 2006
Posts: 5

PostPosted: Thu May 11, 2006 2:16 am    Post subject: Reply with quote

Dark Byte wrote:
$ifndef trainerwithassembler means " If it's NOT the standalonetrainer then include the disassembler, else skip it"


Hi DB, are you sure? I read the help, shouldn't that mean "if trainerwithassembler is not a defined directive, then include the disassembler, otherwise skip it"? So if I am compiling "trainerwithassembler.dpr" that would mean that it wouldn't include the disassembler right?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Thu May 11, 2006 3:06 am    Post subject: Reply with quote

yes
_________________
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
PixelaseR
How do I cheat?
Reputation: 0

Joined: 29 Mar 2006
Posts: 5

PostPosted: Thu May 11, 2006 3:51 am    Post subject: Reply with quote

Dark Byte wrote:
yes


Well DB, here's the problem, I "am" compiling trainerwithassembler and thus it defines "trainerwithassembler". Therefore, it skips "disassembler". And because of that, I am getting that error posted above.

The same problem happened in many other places. For example, that "($ifndef net)" in the disassembler.pas. I am getting compile errors that says "semaphore" and "debugthread" are not declared.

Seriously, these problems are hard to fix. Sad
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Thu May 11, 2006 4:29 am    Post subject: Reply with quote

no need to compile the standalone trainer, there are lots of bugs I need to fix in it before release. (and besides, it's detected, so you'll first have to make that undetected as well)

Also, are you sure trainerwithassembler is defined in the project settings ? (e.g renaming the dpr but not the other files will cause all settings to be reset causing that define to be gone)

_________________
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
PixelaseR
How do I cheat?
Reputation: 0

Joined: 29 Mar 2006
Posts: 5

PostPosted: Thu May 11, 2006 8:48 am    Post subject: Reply with quote

Dark Byte wrote:
no need to compile the standalone trainer, there are lots of bugs I need to fix in it before release. (and besides, it's detected, so you'll first have to make that undetected as well)

Also, are you sure trainerwithassembler is defined in the project settings ? (e.g renaming the dpr but not the other files will cause all settings to be reset causing that define to be gone)


Hi DB, simply put, all I did was download source from CVS and compile. No change has been done to the source code. I would assume that if I can't even compile the original source, there's no point moving on since changing code would not make any difference. And I can see "trainerwithassembler" under project settings but as I said, since I am compiling trainerwithassembler, the definition directive would "not" load disassembler right (since it's $ifndef trainerwithassembler)?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Thu May 11, 2006 8:50 am    Post subject: Reply with quote

you can just ignore the trainer not compiling.
just place a empty file called trainerwithassembler.exe in the same folder as ce and ce will compile without a problem

you just wont be able to make a trainer.

_________________
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
mAgiK
Cheater
Reputation: 0

Joined: 29 Apr 2006
Posts: 40
Location: SG

PostPosted: Thu May 25, 2006 7:27 am    Post subject: Reply with quote

Dark Byte wrote:
you can just ignore the trainer not compiling.
just place a empty file called trainerwithassembler.exe in the same folder as ce and ce will compile without a problem

you just wont be able to make a trainer.


Will I run into probs if I use the trainerwithassembler.exe that's compiled from the standalone folder?

Dankzegging DB! Logeren Amsterdam? Smile
Back to top
View user's profile Send private message
kiwi47
Cheater
Reputation: 0

Joined: 07 May 2006
Posts: 32

PostPosted: Sat May 27, 2006 3:36 am    Post subject: Reply with quote

when i install DDK there are some error here

but it still complete setup
and when i open DDK to compile it shows


not like the picture of tut
then i compile it show that



what is the problem, can any1 tell me pls
Back to top
View user's profile Send private message
kiwi47
Cheater
Reputation: 0

Joined: 07 May 2006
Posts: 32

PostPosted: Sat May 27, 2006 1:43 pm    Post subject: Reply with quote

DarkByte can u tell me how to solve my problem pls (above post)
thx
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source 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