Valhalla Legends Forums Archive | Battle.net Bot Development | 26 Digit StarCraft Cdkeys

AuthorMessageTime
Maide
So, as maybe a few of you might now, StarCraft can now login via the new 26 digit cdkeys you'll get from either the Blizzard online store, or newly shipped copies.  I've done a bit of research (Packet logging *cough*) and it follows the old login format.  Anyone have any ideas how the cdkeys are hashed?
June 17, 2008, 3:15 AM
Myndfyr
Have you *cough* tried using the standard 26-digit hash?

Since you can packet sniff and see the client and server tokens I don't see what the problem is.
June 17, 2008, 4:44 AM
Barabajagal
Er... when did these come into effect?
June 17, 2008, 7:42 AM
Spht
[quote author=Andy link=topic=17523.msg178547#msg178547 date=1213688520]
Er... when did these come into effect?
[/quote]

Over a month ago or so.  they typically issue them if your cdkey has been wrongfully disabled/muted
June 17, 2008, 1:47 PM
Ringo
hmm, makes sence since they can no longer insure a given cdkey has not already been generated and is not inuse. I'm just wundering, whats the product value for the cdkey?

What I dont get, is how SC accepts these cdkeys, last time I installed it, there wasn't room for anything other than a 13 digit cdkey in the "insert you're cdkey here" box's.
June 17, 2008, 2:39 PM
HdxBmx27
Possible that they simply have a new installer? But that wouldn't help people with older cds. Unless when they issue a new CDKey they also send off a new cd... [Never bothered to try it]
You guys know if the 26 char keys are in retail stores? Wondering if I should run over to freddies and pickup a new copy of SC for the key. [Never hurts to use for testing if ever needed]

As for the decode function. Exactly the same? Or did they move over to the wc3 function?
June 17, 2008, 4:22 PM
Barabajagal
Ugh... adding support for this would be a real pain... good thing I'm never gonna get around to it!
June 17, 2008, 5:22 PM
iago
Starcraft's decode function wouldn't work with anything but a numeric key, so I'm guessing they're using the War3 decoder (Starcraft does have the ability to send War3-style keys to Battle.net, the function it uses is based on a strlen() check).

June 17, 2008, 6:54 PM
Maide
[quote author=Hdx link=topic=17523.msg178550#msg178550 date=1213719774]
Possible that they simply have a new installer? But that wouldn't help people with older cds. Unless when they issue a new CDKey they also send off a new cd... [Never bothered to try it]
You guys know if the 26 char keys are in retail stores? Wondering if I should run over to freddies and pickup a new copy of SC for the key. [Never hurts to use for testing if ever needed]

As for the decode function. Exactly the same? Or did they move over to the wc3 function?
[/quote]

They have a bittorrent based digital download now if you register your cdkey with your Blizzard account on their website.

[quote author=Andy link=topic=17523.msg178551#msg178551 date=1213723332]
Ugh... adding support for this would be a real pain... good thing I'm never gonna get around to it!
[/quote]

Well, that's sure a poor attitude.
June 17, 2008, 7:17 PM
HdxBmx27
Well, thats fun.
Seems to use the same exact function as wc3 keys. Just logged into SC using SphtBot. Which I assume does a Len() to determine it [unless it uses bnls where Im SURE it uses len]
Side note: It's a completely new cdkey, not tied to your orig sc key in any way, AE: you can login to both at the same time.
June 17, 2008, 10:20 PM
Barabajagal
[quote author=Maide link=topic=17523.msg178554#msg178554 date=1213730234]
[quote author=Andy link=topic=17523.msg178551#msg178551 date=1213723332]
Ugh... adding support for this would be a real pain... good thing I'm never gonna get around to it!
[/quote]

Well, that's sure a poor attitude.
[/quote]
My bot's set up to be easy to use... meaning it has a specific input type for each game. Makes it a real pain. Luckily, I'm sick of working on it, so it doesn't matter.
June 18, 2008, 3:40 AM
iago
[quote author=Andy link=topic=17523.msg178563#msg178563 date=1213760401]
[quote author=Maide link=topic=17523.msg178554#msg178554 date=1213730234]
[quote author=Andy link=topic=17523.msg178551#msg178551 date=1213723332]
Ugh... adding support for this would be a real pain... good thing I'm never gonna get around to it!
[/quote]

Well, that's sure a poor attitude.
[/quote]
My bot's set up to be easy to use... meaning it has a specific input type for each game. Makes it a real pain. Luckily, I'm sick of working on it, so it doesn't matter.
[/quote]
Just another reason for faithfully following the original client, which uses length checks. :)
June 18, 2008, 3:22 PM
HdxBmx27
[quote author=iago link=topic=17523.msg178567#msg178567 date=1213802556]
[quote author=Andy link=topic=17523.msg178563#msg178563 date=1213760401]
[quote author=Maide link=topic=17523.msg178554#msg178554 date=1213730234]
[quote author=Andy link=topic=17523.msg178551#msg178551 date=1213723332]
Ugh... adding support for this would be a real pain... good thing I'm never gonna get around to it!
[/quote]

Well, that's sure a poor attitude.
[/quote]
My bot's set up to be easy to use... meaning it has a specific input type for each game. Makes it a real pain. Luckily, I'm sick of working on it, so it doesn't matter.[/quote]
Just another reason for faithfully following the original client, which uses length checks. :)[/quote]
hes referring to his config form. He has the input setup spaced out like the original installers.
AE: 4-3-5 or w/e it was
June 18, 2008, 4:15 PM
Barabajagal
SC: 4-5-4
D2/W2: 4-4-4-4
W3: 6-4-6-4-6

Oh, and for reference:

26 digit key for Starcraft Anthology (don't ask, i dunno) Public Value:  0x17
26 digit key for D2DV Public Value: 0x18
26 digit key for D2XP Public Value: 0x19

War2 doesn't get 26 digit keys, and I don't know if there's a difference between SC and SC anthology...
June 18, 2008, 7:21 PM
idiat
Does anyone know if they haven't enabled new Diablo II keys yet? I get wrong product when I try to connect. Starcraft works on the same bot.

[quote]Your new Diablo II game key is valid for online play, and will allow you to download the game when that functionality becomes available.[/quote]

implies that Diablo II keys are valid right now. Maybe not yet?
June 18, 2008, 10:47 PM
HdxBmx27
A quick test says they are not. As as they havent out out a installer that supports 26 chr keys yet. I doubt it will be. It'll probably be activated like a day before they release the installer.

Curious, can more then one 26 chr cdkey be generated from the same SC key?
[they dont seem to be linked beyond inital validation]
June 18, 2008, 10:49 PM
Barabajagal
Got unlazy and added support for the keys. D2 works just fine for me.
June 20, 2008, 3:47 AM
idiat
Well I get wrong product using both BNLS and local CD key decoding with my bot. I also get wrong product with SphtBot, which is supposed to work. On the off chance that it actually is the wrong product, I also tested with Starcraft, Warcraft II, and Warcraft III. Same results. Did Blizzard give me bad keys?
June 20, 2008, 7:24 PM
HdxBmx27
Just tested D2 again, the key they gened worked fine for me. [so they enabled it between my last post and this one]
idiat, IM me your key and i'll test it.
June 20, 2008, 7:35 PM
Barabajagal
If the key you use to get a new key is in use by someone else, the new key is in use, too. They're tied together: the public values are the same. I can't find any correlation between private key values, though.
June 20, 2008, 10:33 PM
HdxBmx27
They must of just changed it. I pointed it out to Marty yesterday.
June 20, 2008, 10:36 PM
Camel
[quote author=Andy link=topic=17523.msg178571#msg178571 date=1213816877]
Oh, and for reference:

26 digit key for Starcraft Anthology (don't ask, i dunno) Public Value:  0x17
26 digit key for D2DV Public Value: 0x18
26 digit key for D2XP Public Value: 0x19
[/quote]

Do you mean product ID? If not, are the product IDs the same?

[edit] Just tested it; that is indeed the product id. It seems silly to me that the changed it, AFAIK there's no reason they couldn't use the old product id with the 26-character key encoder.

Also, I was able to log in the 26-char and the 11-char SC keys that are supposed to be equivalent at the same time. Tomorrow I'll check if the public/private values are the same.
June 23, 2008, 8:47 AM
Barabajagal
Ya, sorry. Dunno why I said public value there. The public values are the same as the ones of the keys you give to get the new ones, but the private values... i dunno. And try getting someone else to log in to your 13 (not 11) char SC key and try getting on your 26 char one.
June 23, 2008, 10:48 AM
Camel
[quote author=Andy link=topic=17523.msg178637#msg178637 date=1214218121]
And try getting someone else to log in to your 13 (not 11) char SC key and try getting on your 26 char one.
[/quote]

Works for me; didn't work for a friend. My guess is my friend screwed up somehow.
July 3, 2008, 10:51 PM
UserLoser
are they the same as the war3 26 digit ckedetys/
July 4, 2008, 9:17 AM
Barabajagal
Exactly the same in every way. The only differentiation is the product values.
July 4, 2008, 9:27 PM
idiat
So apparently Taiwanese is no longer available as a language choice for Diablo II. Does anyone have additional information on this?

[quote]Greetings,

You are receiving this e-mail because you recently purchased a copy of either Diablo II, or the expansion Diablo II: The Lord of Destruction. When you claimed the games in your Blizzard account, you were asked to choose a language. In doing so, you selected the option to have the game in Taiwanese. Unfortunately, this option is currently unavailable.

Due to this error we have de-claimed your key. This simply put, means that you will need to "re-claim" your key, choosing a different language. We apologize for any inconvenience this may have caused.

Thank you for your patience and understanding.

If you have any further questions or concerns regarding the Digital Download option from the Blizzard Online Store, please feel free to reply to this email or contact our Billing and Account Services Department by phone.  Billing representatives are on hand to take your call Monday thru Friday between 8am and 8pm Pacific Time, at 1-800-592-5499.

Andrew P.
Billing & Accounts Services
Blizzard Entertainment[/quote]
July 8, 2008, 9:28 PM

Search