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 


Delphi Cheat Engine Proctection

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
MrJoe12
Cheater
Reputation: 0

Joined: 21 Nov 2006
Posts: 42

PostPosted: Sun Apr 22, 2007 9:50 am    Post subject: Delphi Cheat Engine Proctection Reply with quote

I was thinking about sharing the source of my engine to a couple of my friends but i was just wondering how i would protect the title so that it cannot be changed and edited.

Thanks
Back to top
View user's profile Send private message
the_undead
Expert Cheater
Reputation: 1

Joined: 12 Nov 2006
Posts: 235
Location: Johannesburg, South Africa

PostPosted: Sun Apr 22, 2007 10:31 am    Post subject: Reply with quote

Nice freinds youve got if you have to worry about them stealing your code.
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Sun Apr 22, 2007 11:59 am    Post subject: Reply with quote

You can't if your going to give them the source.
Back to top
View user's profile Send private message MSN Messenger
MrJoe12
Cheater
Reputation: 0

Joined: 21 Nov 2006
Posts: 42

PostPosted: Sun Apr 22, 2007 12:11 pm    Post subject: Reply with quote

They aren't the brightest of the bunch, they just want to change it for cosmetic reasons. I know there's a way to just block the caption and have a fixed one, could you tell me what it is please?

They are good friends, it's just something i know they would try and do, any help would be appreciated...
Back to top
View user's profile Send private message
the_undead
Expert Cheater
Reputation: 1

Joined: 12 Nov 2006
Posts: 235
Location: Johannesburg, South Africa

PostPosted: Sun Apr 22, 2007 12:21 pm    Post subject: Reply with quote

Of course. Have a section hidden somewhere something like

(in pseudo code):

if ( title NOT EQUAL "My Engine")
then ( title EQUAL "My Engine")

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Sun Apr 22, 2007 2:12 pm    Post subject: Reply with quote

the_undead wrote:
Of course. Have a section hidden somewhere something like

(in pseudo code):

if ( title NOT EQUAL "My Engine")
then ( title EQUAL "My Engine")


I guess that could work, but if they search for "my Engine" they can replace it. So... just give them builded version

_________________
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Sun Apr 22, 2007 2:21 pm    Post subject: Reply with quote

zomgiownyou wrote:
I guess that could work, but if they search for "my Engine" they can replace it. So... just give them builded version


Easily Remedied

Code:

if ( title NOT EQUAL "My Engine")
 then (title EQUAL "my" + "en" + "gi" + "ne")


Last edited by appalsap on Sun Apr 22, 2007 3:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
the_undead
Expert Cheater
Reputation: 1

Joined: 12 Nov 2006
Posts: 235
Location: Johannesburg, South Africa

PostPosted: Sun Apr 22, 2007 2:48 pm    Post subject: Reply with quote

or even better

Code:
if ( title NOT EQUAL "My Engine")
then (title EQUAL chr(77) + chr(89) + chr(32) + chr(69) + chr(78) + chr(71) + chr(73) + chr(78) + chr(69));

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
DeltaFlyer
Grandmaster Cheater
Reputation: 0

Joined: 22 Jul 2006
Posts: 666

PostPosted: Sun Apr 22, 2007 6:11 pm    Post subject: Reply with quote

the_undead wrote:
or even better

Code:
if ( title NOT EQUAL "My Engine")
then (title EQUAL chr(77) + chr(89) + chr(32) + chr(69) + chr(78) + chr(71) + chr(73) + chr(78) + chr(69));


and that would still be killed by a replace all unless you change the comparison to use the concatenation of characters as well.

_________________

Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for?
Back to top
View user's profile Send private message
the_undead
Expert Cheater
Reputation: 1

Joined: 12 Nov 2006
Posts: 235
Location: Johannesburg, South Africa

PostPosted: Sun Apr 22, 2007 6:28 pm    Post subject: Reply with quote

well that is psuedocode. its an example. an idea. nothing affirmative Smile
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
flawedmatrix
Grandmaster Cheater
Reputation: 0

Joined: 21 Jun 2006
Posts: 819
Location: 14598622 for yourself...

PostPosted: Mon Apr 23, 2007 12:43 am    Post subject: Reply with quote

Hmm...
Code:
 
var Halzjeebus: TMainForm;
//Replace Halzjeebus with anything you like but change below also
begin
if not (Halzjeebus.Caption=chr(77) + chr(89) + chr(32) + chr(69) + chr(78) + chr(71) + chr(73) + chr(78) + chr(69)) then
Halzjeebu.Caption:=Halzjeebus.Caption=chr(77) + chr(89) + chr(32) + chr(69) + chr(78) + chr(71) + chr(73) + chr(78) + chr(69);
end;


Lol, now that defeats the Whole Word search and the plain search for "My Engine".

Hmm, if I remember correctly, you can also use #77 instead of chr(77).

_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
the_undead
Expert Cheater
Reputation: 1

Joined: 12 Nov 2006
Posts: 235
Location: Johannesburg, South Africa

PostPosted: Mon Apr 23, 2007 1:14 am    Post subject: Reply with quote

Hah... didnt tknow that
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
pyr0magex
Grandmaster Cheater Supreme
Reputation: 0

Joined: 26 Jun 2006
Posts: 1192
Location: my room

PostPosted: Mon Apr 23, 2007 6:53 pm    Post subject: Reply with quote

the_undead wrote:
or even better

Code:
if ( title NOT EQUAL "My Engine")
then (title EQUAL chr(77) + chr(89) + chr(32) + chr(69) + chr(78) + chr(71) + chr(73) + chr(78) + chr(69));


lol. Yea, I was going to suggest pchar or something of the sort, but this way is more cryptic, so to say.

Btw, instead of the "if (title NOT EQUAL "My Engine") then..." couldn't you pchar it or do chr() just like the 2nd part of the code? Or would that throw off the comparison?

_________________
Back to top
View user's profile Send private message
flawedmatrix
Grandmaster Cheater
Reputation: 0

Joined: 21 Jun 2006
Posts: 819
Location: 14598622 for yourself...

PostPosted: Wed Apr 25, 2007 12:47 am    Post subject: Reply with quote

I think that was to prove that the whole chr() stuff was "My Engine". Even better, you can move the chr stuff to a function or assign it to a variable.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
linden
Master Cheater
Reputation: 0

Joined: 10 Mar 2006
Posts: 319

PostPosted: Sat Apr 28, 2007 9:55 am    Post subject: Reply with quote

It's impossible to stop anyone from changing things if you're going to share the source code.

I suggest you move all the codes you want to protect into a separate file, compile that file as a static link library, and give that static link library to your friends instead of giving away the source codes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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