Could any1 tell me if this is possible and meybe an idea of how u would go about coding preferably in php. -Thx
"checking keys"?
I do not know what you mean, buts I am pretty sure its not possible. Php is server side and it is not run by the browser. This means you cannot get computer information such as resolution, system time, or play with the browser or keyboard. You are probably looking for something more... java script.
I think he may mean bnet keys, if so there is some documentation on connecting on the forums.
Yes i did mean bnet keys. Also, u said there was some info on the forums. I searched but couldnt find anything so if u could point me there or something that would be great. -Thx
Um the info is about checking stats, I cant bebothered to check each page of the web section sorry, but im tired. It was done by Kyro or someone like that. It has the connection sequence there. It may help you.
K, thx for the help.
..and that is a CHAT connection not a Binary one.
You could check if a key was syntactically valid (ie, decodes correctly) but not if it was valid on Battle.net.
I wrote a software application that generates random cdkeys then trys them on bnet, with an interval and it also swiches servers. If someone gave me the anog for generating proper cdkeys, it might work better -.-......
Who ever comes up with the correct algoritham is definately not going to release it. That's an infinite amount of cdkey's, think of the possibilities.
No one knows the correct algorithm except blizzard. If you're generating random keys, you should make sure your product number is correct and then make random product/private values within the correct ranges, and then Then encode the key and compute the check digit. It's highly unlikely that the key will work on Battle.net, but you would be able to use it to install whichever game the key was for.
The code that one of the cdkeys generators gave me actually worked... if only I could get the code they used... and add it to yaesu...
Quote from: Arta[vL] on August 11, 2004, 09:34 PMYou could check if a key was syntactically valid (ie, decodes correctly) but not if it was valid on Battle.net.
All he'd have to do to check if it's valid on Battle.net would be to connect to Battle.net and go through the version hashing and CD key sequence. Kyro was kind enough to prove that connecting onto a CHAT connection to check a user's stats is possible. Something so simple as checking a CD key using PHP should not only be possible, but perhaps even useful. Using BNLS, no CheckRevision would be necessary... no CDKeyDecode would be necessary... and then once you've checked the CD key, you can then report to the user as to whether or not the key is good.
I'm sure it can be done with PHP; it just hasn't yet.
The only problem is that it could easily be used for harvesting CD keys :(
Quote from: tA-Kane on August 12, 2004, 01:05 PM
The only problem is that it could easily be used for harvesting CD keys :(
The problem is that after a few invalid cd keys, the web server will be ip banned from battle.net...
Have the webserver use proxies?
Quote from: Kk)Blaze(kK on August 12, 2004, 12:19 PM
The code that one of the cdkeys generators gave me actually worked... if only I could get the code they used... and add it to yaesu...
What is it written in? Perhaps it can be decompiled or you could check it in Hex Workshop? It wouldn't be impossible.
Here's some code I wrote not too long ago that will check for a correct D2 Classic key or LoD key. It probably needs some work.
http://mousepad-d2.com/phpBB2/viewtopic.php?t=8030
It was either in vb or C... looks more vb to me.
Heres a link to the one that I got a valid one from..
http://star.craft.by/esoft/files/?id=4
edit:
Quote from: tA-Kane on August 12, 2004, 02:36 PM
Have the webserver use proxies?
If somebody does do this, and then they spam invalid keys, that would spoil the proxies for everyone...
force the user to input their own proxies?
That actually might solve that problem... Good Thinking...