i was wondering what is ment by CDKey Decoding
i wanna make war3 keygen that genrates keys valid for install purpose but export the results (ex: 1000 cdkey ) to
txt file
is what im looking for is CDKey Decoding or the Installer Cdkey algorithm
thnx in advance
Why were you wandering?
Quote from: Shout on March 10, 2006, 12:58 PM
Why were you wandering?
so you just came here and see my post without helping
i saw your post here
http://forum.valhallalegends.com/index.php?topic=14086.msg145156#msg145156
seems you know how to or what is cdkey decoding
but you prefered not to tell me
thnx
anyone around here may help !!!???
Spamming the forum with your topics is not going to get you help. And from your posts, I think it is safe to conclude that you have very little programming experience, hence making a CD-Key generator (especially for War3) which generates installer-valid keys is quite out of your capabilities.
sry for double posting
yes i have very little programming experience
can you tell me at least what is cdkey decoding
(from posts i red here i think it's the code that validating the key for installation)
Quote from: root on March 10, 2006, 05:41 PM
sry for double posting
yes i have very little programming experience
can you tell me at least what is cdkey decoding
(from posts i red here i think it's the code that validating the key for installation)
no and no
Quote from: root on March 10, 2006, 05:41 PM
sry for double posting
yes i have very little programming experience
can you tell me at least what is cdkey decoding
(from posts i red here i think it's the code that validating the key for installation)
Cdkey decoding is a process which in simpler terms converts a cdkey to its decoded state. The key you receive in your game's cd-case you can call encoded. The decoding process is done by means of a certain algorithm. You can find an algorithm online, in fact on these forums. I've seen one (on these forums) written in C/++, Java, Python, and LISP.
thnx very much for your reply Yegg
then after decodeing my cdkey
how i'm be sure that it's valid for installing ???
Quote from: root on March 11, 2006, 05:48 AM
thnx very much for your reply Yegg
then after decodeing my cdkey
how i'm be sure that it's valid for installing ???
I believe the following code I wrote should be fine.
int CheckKey(char *key) {
int i, n, v = 3;
for (i = 0; i < 12; i++) {
n = num_val(key[i]);
n ^= (v * 2);
v += n;
}
if (key[12] == hex_val(v % 10)) return 1;
return 0;
}
Yes, it's not very clean C, so don't mention it. On success (or valid key), 1 is returned, otherwise 0 is returned.
If I'm wrong on this, someone correct me.
Note: You'll also need these two functions.
char hex_val(int v) {
v &= 0xF;
if (v < 10) return v + 0x30;
else return v + 0x37;
}
int num_val(char c) {
c = toupper(c);
if (isdigit(c)) return c - 0x30;
else return c - 0x37;
}
thnx thnx thnx Yegg
i will try to type my code and see whats wrong with it
but for war 3 it's 24 char and your loop only 12
for (i = 0; i < 12; i++)
mmm
and another question
does i, n, v for getting the product and public/private decoded values ??!!
Oops, I didn't realize you mentioned Warcraft 3. My code will work only for Starcraft, Diablo, or Warcraft. Warcraft 3 is a different process.
mmmm
how can i get product ,private values for war3
can i make keygen without thes values
Quote from: root on March 12, 2006, 01:51 AM
mmmm
how can i get product ,private values for war3
can i make keygen without thes values
You can get all the values for any key by decoding the form presented on the jewel case. Creating a keygen only requires knowing what algorithm(s) the installer uses to validate the key, so that you can create a key which satisfies the constraints imposed by those algorithms. That said, there's really no value to having the type of keygen you want, since it is only useful with stolen copies of the game and then can only be used for offline play. Give up on this and go find something useful to contribute.
thnx Kp