Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-12-2007, 01:26 PM
RiverFenix RiverFenix is offline
Senior Member
 
Join Date: Dec 2004
Location: IM FROM THE GHETTO HOMIE
Posts: 3,029
Default Is it possible to protect poker programs from decompiling?

Ive written a few basic ahk scripts for my own use but I'm working on something that I may want to eventually make commercial. Is using afk viable for this? The language certainly makes the coding easier but I dont want write something new that someone else can just decompile and steal. I know you can lock afk scripts - if I do that and then throw it into the exe compiler is that sufficent protection? I'm sort of lost on this end of it and any help would be appreciated.
Reply With Quote
  #2  
Old 04-12-2007, 01:41 PM
MSPChris MSPChris is offline
Member
 
Join Date: Mar 2005
Posts: 70
Default Re: Is it possible to protect poker programs from decompiling?

Disclaimer: I'm not a programmer -- I do a lot of database work and a lot of design work, but my coding skills are pretty limited.

That's one of the reasons I like AHK so much -- ease of use.

One of the more experienced AHK programmers can comment also, but I think the ease of use leads to trade-offs with sophistication and the amount of functionality you can put into a script.

Not slamming AHK at all -- but depending on what you have in mind there is only so much that you can do with AHK.

So if you're planning a commercial product, imo I think you'd want to use something besides AHK.
Reply With Quote
  #3  
Old 04-12-2007, 01:42 PM
MSPChris MSPChris is offline
Member
 
Join Date: Mar 2005
Posts: 70
Default Re: Is it possible to protect poker programs from decompiling?

I really hope Juk or Roland comment. I'd love it for them to tell me I'm wrong -- I'll start studying AHK more seriously myself!!!
Reply With Quote
  #4  
Old 04-12-2007, 01:43 PM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: Is it possible to protect poker programs from decompiling?

[ QUOTE ]
Ive written a few basic ahk scripts for my own use but I'm working on something that I may want to eventually make commercial. Is using afk viable for this? The language certainly makes the coding easier but I dont want write something new that someone else can just decompile and steal. I know you can lock afk scripts - if I do that and then throw it into the exe compiler is that sufficent protection? I'm sort of lost on this end of it and any help would be appreciated.

[/ QUOTE ]
I've never tried with compiled AHK scripts, but compiled AutoIt EXEs are very easy to rip the source from. Basically AutoIt just includes the plain-text source along with a run-time interpreter and if you break-point the interpreter at the point where it is just about to start executing the script you can dump it.

You can try to protect it as best you can yourself or you could invest in something like Armadillo, but when it comes down to it then however hard you try to protect your software somebody will be smart enough to crack it.

On the other hand, I doubt anybody would be too interested in cracking your software though, and if you are regularly updating it because of changes in poker sites then it makes cracking it less worthwhile.

Juk [img]/images/graemlins/smile.gif[/img]
Reply With Quote
  #5  
Old 04-12-2007, 01:47 PM
TheIrishThug TheIrishThug is offline
Senior Member
 
Join Date: Jan 2005
Location: Belligerent and numerous
Posts: 1,819
Default Re: Is it possible to protect poker programs from decompiling?

ahk2exe
[ QUOTE ]
If you plan to distribute your EXE and don't want anyone to be able to view the source code of your script, you get the maximum protection by compiling at the command line with the /NoDecompile switch, and also specifying a long, elaborate password. A password's maximum length is 64 characters.

[/ QUOTE ]
Reply With Quote
  #6  
Old 04-12-2007, 01:51 PM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: Is it possible to protect poker programs from decompiling?

[ QUOTE ]
I really hope Juk or Roland comment. I'd love it for them to tell me I'm wrong -- I'll start studying AHK more seriously myself!!!

[/ QUOTE ]
Roland knows much more about AHK than I do, but it was his scripts that convinced me that AHK could do alot more than I realized and is pretty much a fully fledged language.

I think if you wanted to do anything computationally expensive or create a very large project then it might not be a good choice, but again Roland has been creating some pretty nice modular scripts lately (eg: TableNavigator) and it looks like good coding practices can allow you to create large scripts without ending up in a real mess (ala BASIC name-space nightmares).

Where AHK really comes into it's own is when you want to interact with other applications, as otherwise you have to spend hours reading through the MSDN docs to do what could be done easily in 1/2 AHK commands...

Juk [img]/images/graemlins/smile.gif[/img]
Reply With Quote
  #7  
Old 04-12-2007, 02:06 PM
RiverFenix RiverFenix is offline
Senior Member
 
Join Date: Dec 2004
Location: IM FROM THE GHETTO HOMIE
Posts: 3,029
Default Re: Is it possible to protect poker programs from decompiling?

[ QUOTE ]
ahk2exe
[ QUOTE ]
If you plan to distribute your EXE and don't want anyone to be able to view the source code of your script, you get the maximum protection by compiling at the command line with the /NoDecompile switch, and also specifying a long, elaborate password. A password's maximum length is 64 characters.

[/ QUOTE ]

[/ QUOTE ]

Yeah I tested this program on some ahk exes and it works really well which is what concerned me about all of this.

I know someone will be able to always crack it and i think itll take only once since the benefit of the script lies in some gui improvements, new interactions, and overlay stuff which would all be pointless if cracked once. I havent written them yet but it would be something that Id like to at least make some $ off of before I released a library or anything like that.

Thanks for the help so far. And yeah, looking through your scripts Juk and some of rolands AHK is capable of a lot more than I thought which spurred all of this.
Reply With Quote
  #8  
Old 04-12-2007, 02:35 PM
Roland Roland is offline
Senior Member
 
Join Date: Mar 2005
Location: Norwich, UK
Posts: 2,703
Default Re: Is it possible to protect poker programs from decompiling?

[ QUOTE ]
[ QUOTE ]
ahk2exe
[ QUOTE ]
If you plan to distribute your EXE and don't want anyone to be able to view the source code of your script, you get the maximum protection by compiling at the command line with the /NoDecompile switch, and also specifying a long, elaborate password. A password's maximum length is 64 characters.

[/ QUOTE ]

[/ QUOTE ]

Yeah I tested this program on some ahk exes and it works really well which is what concerned me about all of this.

[/ QUOTE ]

[img]/images/graemlins/confused.gif[/img]
What works really well? Ahk2Exe? Why would that concern you?

[ QUOTE ]
I know someone will be able to always crack it

[/ QUOTE ]

I really don't know anything about cracking passwords etc... how much safer would it be if you write it in some other language?
Reply With Quote
  #9  
Old 04-12-2007, 02:46 PM
RiverFenix RiverFenix is offline
Senior Member
 
Join Date: Dec 2004
Location: IM FROM THE GHETTO HOMIE
Posts: 3,029
Default Re: Is it possible to protect poker programs from decompiling?

Opps, I misread that. There is an exetoahk program which is what concerns me!
Reply With Quote
  #10  
Old 04-12-2007, 02:50 PM
Roland Roland is offline
Senior Member
 
Join Date: Mar 2005
Location: Norwich, UK
Posts: 2,703
Default Re: Is it possible to protect poker programs from decompiling?

Obviously AHK has it's limitations. Like Juk pointed out, if for instance you wanted to do some simulations or something, AHK isn't the language you're looking for. And then of course, it will only run on Windows...

However, I can't see why that means that you can't use it for a commercial product?

Also,

[ QUOTE ]
I think the ease of use leads to trade-offs with sophistication and the amount of functionality you can put into a script.


[/ QUOTE ]

Why? If by ease-of-use you mean that it's easier to use AHK's convenient window- and control-manipulating commands than, to quote Juk again, 'spending hours reading through the MSDN docs', the opposite should be true?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.