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 


FAQ for compiling ce
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
codeworm
How do I cheat?
Reputation: 0

Joined: 29 Oct 2009
Posts: 8

PostPosted: Fri Jul 01, 2011 7:33 pm    Post subject: Compilation error Reply with quote

The following file is missing from svn
frmStructPointerRescanUnit.pas(64,4) Fatal: Can't open include file "frmStructPointerRescanUnit.lrs"

Please help to fix.

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

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

PostPosted: Sat Jul 02, 2011 6:32 am    Post subject: Reply with quote

open frmStructPointerRescanUnit.pas and press f12, jiggle the form a bit and save
It will be there now

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

Joined: 29 Oct 2009
Posts: 8

PostPosted: Sat Jul 02, 2011 10:38 am    Post subject: Reply with quote

Thanks got the frmStructPointerRescanUnit.lrs saved.
Still having problem compiling under lazarus 32 bit using current rev932 source
1) Missing DBK64SecondaryLoader.pas in svn
2) vmxfunctions.pas unable to compile in 32 bit mode.

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

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

PostPosted: Sat Jul 02, 2011 8:56 pm    Post subject: Reply with quote

just comment out the code and the uses, those are 64-bit only and I havn't added a ifdef cpu32 yet
_________________
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
n1vX
Advanced Cheater
Reputation: 0

Joined: 27 May 2007
Posts: 61

PostPosted: Mon Jul 04, 2011 1:38 am    Post subject: Reply with quote

I have successfully compile but there is another problem, while I want to run CE, it says "The driver that is currently loaded belongs to a different version of cheat engine. Plase unload this driver or reboot."

I have check that version of CE is :
currentversion=2000013

It is same with the driver
#define dbkversion 2000013

I compiled driver with WDK 7600.16385.1

What must I do ?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Mon Jul 04, 2011 4:01 am    Post subject: Reply with quote

run the kernelmodule unloader or reboot and then build the driver again before you start ce
_________________
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
SER[G]ANT
Expert Cheater
Reputation: 10

Joined: 29 Dec 2005
Posts: 215
Location: Russia

PostPosted: Sat Sep 17, 2011 5:33 pm    Post subject: Reply with quote

Current revision (104x) doesn't compile because scrollTreeView.pas is missing.
_________________
rzndsa
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Sat Sep 17, 2011 6:43 pm    Post subject: Reply with quote

fixed
_________________
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
SER[G]ANT
Expert Cheater
Reputation: 10

Joined: 29 Dec 2005
Posts: 215
Location: Russia

PostPosted: Thu Oct 06, 2011 3:01 am    Post subject: Reply with quote

Cheat Engine rev1064-1067
lazarus 0.9.31 fpc 2.5.1 rev32712
Code:

frmStringMapUnit.pas(31,26) Error: Identifier not found "TREGExprEngine"
frmStringMapUnit.pas(31,26) Error: Error in type definition
frmStringMapUnit.pas(41,146) Error: Identifier not found "TREGExprEngine"
frmStringMapUnit.pas(69,26) Error: Identifier not found "TRegExprEngine"
frmStringMapUnit.pas(69,26) Error: Error in type definition
frmStringMapUnit.pas(85,1) Fatal: There were 5 errors compiling module, stopping

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

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

PostPosted: Thu Oct 06, 2011 5:26 am    Post subject: Reply with quote

I'm not on that revision yet (I'm on 32432), but perhaps it will come back in the next version, or that class has been moved to a different unit, or replaced by a class that supersedes it and made invisible. Or it's package hell. See if you can find it back
_________________
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
ablonevn
Advanced Cheater
Reputation: 1

Joined: 02 Oct 2011
Posts: 59

PostPosted: Mon Oct 10, 2011 12:25 pm    Post subject: Reply with quote

@SER[G]ANT: you download fpc snapshot, it include oldregexpr.pas, just compile it. i wonder to know why darkbyte like programing on IDE at snapshot version so much Very Happy are you leader of fpc ?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Mon Oct 10, 2011 12:40 pm    Post subject: Reply with quote

The 'official' version still contains some bugs I prefer seeing fixed.

( http://bugs.freepascal.org/view_all_set.php?type=1&temporary=y&reporter_id=1608&hide_status=0 for a list of bugs I encountered )

Problem is that sometimes the snapshot I use has a bug too that wasn'tin the previous one, and then I download a new snapshot. And most of the time that's fine, but sometimes that also brings new bugs as well.
(previous one didn't do the history recording when pressing ctrl+arrow key, current one doesn't do autocomplete)

current svn has this updated. I should probably update the code to use the new regexpr instead of the old one

_________________
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
mgr.inz.Player
I post too much
Reputation: 218

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Wed Nov 16, 2011 10:11 am    Post subject: Reply with quote

I'm using Lazarus-0.9.31-33536-fpc-2.4.4-20111115-win32.exe (yesterday build)


frmStringMapUnit.pas
frmStringPointerScanUnit.pas
Quote:
uses
windows, Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, math, ComCtrls, ExtCtrls, StdCtrls,
maps, cefuncproc, memfuncs, newkernelhandler, AvgLvlTree, bigmemallochandler, symbolhandler, oldRegExpr;

It must be changed to RegExpr


LuaRegion.pas
Quote:
c: array of POINT;

It must be changed to TPoint

regionex.pas
search for POINT and replace with TPoint

_________________
Back to top
View user's profile Send private message MSN Messenger
SER[G]ANT
Expert Cheater
Reputation: 10

Joined: 29 Dec 2005
Posts: 215
Location: Russia

PostPosted: Sun Dec 23, 2012 2:07 pm    Post subject: Reply with quote

Error when trying to compile rev1544+
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Sun Dec 23, 2012 2:31 pm    Post subject: Reply with quote

I haven't tried on 32-bit yet

Anyhow, I use fpc 2.6.1. I heard that 2.7.x does not work so stick with 2.6 for now

If that doesn't work you could try changing the for loop to a while loop, but the iterator must stay a qword

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 6 of 9

 
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