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 


syntax error in CE.. need help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
PedraSimon
Master Cheater
Reputation: 0

Joined: 14 Feb 2006
Posts: 368

PostPosted: Mon Feb 20, 2006 1:19 pm    Post subject: syntax error in CE.. need help Reply with quote

I downloaded source from CVS with this command:

Code:
cvs -d :pserver:[email protected]:\CECVS checkout "Cheat Engine Delphi"


when i run "ce.bat" in "windows server 2003 free build" environment. I get the following errors:-

Code:
BUILD: Examining d:\_works~1\cheate~2\cheate~4\dbkker~2 directory for files to compile.
Compiling d:\_works~1\cheate~2\cheate~4\dbkker~2 directory ********************
'nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1'
cl -nologo -Ii386\ -I. -IE:\WINDDK\3790\inc\mfc42 -Iobjfre_wnet_x86\i386 -IE:\WINDDK\3790\inc\wnet -IE:\WINDDK\3790\inc\wnet -IE:\WINDDK\3790\inc\ddk\wnet -IE:\WINDDK\3790\inc\ddk\wdm\wnet -IE:\WINDDK\3790\inc\crt -D_X86_=1 -Di386=1  -DSTD_CALL -DCONDITION_HANDLING=1   -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0502 /DWINVER=0x0502 -D_WIN32_IE=0x0600    -DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=1  -DNDEBUG -D_DLL=1      /c /Zel /Zp8 /Gy /Gi- /Gm- -cbstring /W3 /WX /Gz  /QIfdiv- /G6 /GX-  /GR- /GF /GS -Z7 /Oxs  /Oy   -FIE:\WINDDK\3790\inc\wnet\warning.h   .\dbkdrvr.c .\dbkfunc.c .\rootkit.c .\processlist.c .\memscan.c .\threads.c
dbkdrvr.c
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1738) : error C2146: syntax error : missing ')' before identifier 'PCREATE_THREAD_NOTIFY_ROUTINE'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1738) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1738) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1738) : error C2143: syntax error : missing ')' before 'identifier'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1738) : error C2054: expected '(' to follow 'PSRCTNR'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1738) : error C2059: syntax error : ')'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1738) : error C2085: 'NotifyRoutine' : not in formal parameter list
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1739) : error C2085: 'PsRemoveCreateThreadNotifyRoutine2' : not in formal parameter list
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1741) : error C2146: syntax error : missing ')' before identifier 'PLOAD_IMAGE_NOTIFY_ROUTINE'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1741) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1741) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1741) : error C2143: syntax error : missing ')' before 'identifier'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1741) : error C2085: 'PSRLINR' : not in formal parameter list
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1741) : error C2146: syntax error : missing ',' before identifier 'PLOAD_IMAGE_NOTIFY_ROUTINE'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1741) : error C2146: syntax error : missing ',' before identifier 'NotifyRoutine'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1741) : error C2059: syntax error : ')'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1742) : error C2061: syntax error : identifier 'PSRLINR'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1771) : error C2065: 'PsRemoveCreateThreadNotifyRoutine2' : undeclared identifier
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1771) : warning C4047: '=' : 'int' differs in levels of indirection from 'PVOID'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1774) : error C2065: 'PsRemoveLoadImageNotifyRoutine2' : undeclared identifier
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1774) : warning C4047: '=' : 'int' differs in levels of indirection from 'PVOID'
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1783) : error C2063: 'PsRemoveCreateThreadNotifyRoutine2' : not a function
d:\_workspace\CheatEngine52src\Cheat Engine Delphi\DBKKernel\DBKDrvr.c(1787) : error C2063: 'PsRemoveLoadImageNotifyRoutine2' : not a function
dbkfunc.c
rootkit.c
processlist.c
memscan.c
threads.c
Generating Code...

Stop.


The relevent segment of the dbkdrvr.c is :-
Code:
typedef NTSTATUS (*PSRCTNR)(__in PCREATE_THREAD_NOTIFY_ROUTINE NotifyRoutine);
PSRCTNR PsRemoveCreateThreadNotifyRoutine2;

typedef NTSTATUS (*PSRLINR)(__in PLOAD_IMAGE_NOTIFY_ROUTINE NotifyRoutine);
PSRLINR PsRemoveLoadImageNotifyRoutine2;


Can you help me? I managed to build in the same environment using the rar version of ce source without error.

Did I get the wrong version of source? Or is the error caused by the W2003 environment?

Thanx in advance.

_________________
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Mon Feb 20, 2006 4:32 pm    Post subject: Reply with quote

start the win2k or winxp build environment
_________________
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
PedraSimon
Master Cheater
Reputation: 0

Joined: 14 Feb 2006
Posts: 368

PostPosted: Tue Feb 21, 2006 5:03 am    Post subject: Reply with quote

Thanx, that fixed the problem.

Now 2nd problem:-

I managed to compile all dbk32,dbkkernel,cehook,stealth, directxhook, systemcallretriever

Part A
but i am having problems with standalone\trainerwithassembler.dpr

1st error is delphi cant find autoassembler.dcu. I fix it by adding ".." to the project search path.

then i encountered this :-
Code:

procedure Getjumpandoverwrittenbytes
[Deleted]...
    z:=disassemble(x);


Error: Undeclared identifier: 'disassemble '

This happened in frmautoinjectunit.pas.

This routine (disassemble) can be found in disassembler.pas, but this file was excluded explicitely (#ifndef standalonetrainerwithassembler) in the 'uses' section... so what shld i do?

if I add disassembler.pas to the 'uses', I would then come to the 'semaphore' problem:-

Code:
        WaitForSingleObject(semaphore,infinite);


Error: Undeclared identifier: 'semaphore'

While this problem is already mentioned in another thread, I do not understand the resolution. I placed a dummy trainerwithassembler.exe in the root directory... but it didnt help.

Can you explain again pls.

Part B
I noticed there were labels like label54, label55, 'crash me' in the mainunit form. Can I remove them? I got the files from CVS using the command in the 1st post of this thread.. is this the correct version I should work on?

Part C
I always get "Unable to find Resource Only DLL Projects. Please enter the correct root directory for the parent project". This was also posted in the forum before, but no one answer. Can you explain to me why the msg, and what shld i do? ( So far, I've just hit escape, and ignore the error... but I am not so sure abt that)

Please guide me along..
Thank you in advance for everything

_________________
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Tue Feb 21, 2006 5:43 am    Post subject: Reply with quote

part a:
just place a trainerwithassembler.exe in the root folder and forget about compiling the standalone trainer unless you're in the mood to fix all shared sourcelinks. (This is a cvs snapshot, so work in progress)

b:
The cvs version is usable, it may be buggy at some places though. And you can delete stuff if you don't intend on using it.

c:
Just ignore it. It's just missing a resource file, you'll have to make it yourself or just ignore 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
PedraSimon
Master Cheater
Reputation: 0

Joined: 14 Feb 2006
Posts: 368

PostPosted: Tue Feb 21, 2006 8:26 am    Post subject: Reply with quote

DarkByte, Thanx for your prompt response.

Can you tell me the cvs command to get the source code used for the latest released version of CE

I tried the latest source code, but encountered a lot of problems... null pointers.. Systemcallretriever not working... etc... I'd like to try the released version, so at least i know that if there's a problem, it's mine.. Wink

Thanx

_________________
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Tue Feb 21, 2006 8:38 am    Post subject: Reply with quote

try downloading the cheat engine 5.2 sourcefile. I posted the link somewhere
_________________
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
PedraSimon
Master Cheater
Reputation: 0

Joined: 14 Feb 2006
Posts: 368

PostPosted: Tue Feb 21, 2006 9:51 am    Post subject: Reply with quote

The source you've posted cannot support >1 register change, rite? The dbk32.sys need to be patched. I can use the other modules in the source, but can u tell me where to find the source for the patched dbk32?

I tried to use the dbk32/dbkkernel from the latest source, but it's not working properly. Keep giving me 000-MapleStory.

Thank you for your help

Edit:
Nevermind, I found out the problem already... I use the dbk32/dbkkernel from 12/25/05. All my problems resolved.

_________________
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 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