• Welcome to Valhalla Legends Archive.
 

Help with initial logon sequence and message 0x50 (C++)

Started by Win32, May 27, 2006, 08:38 AM

Previous topic - Next topic

shout

Quote from: Win32 on May 27, 2006, 10:30 PM

Packet.dwPlatformId      = '68XI';
Packet.dwProductId       = 'RATS';

Should be:

Packet.dwPlatformId      = 'IX86';
Packet.dwProductId       = 'STAR';


[Could be wrong]
Multi character literals are reversed by the compiler/preprocessor.
[/Could be wrong]

MyndFyre

QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Win32

Quote
Try that, also supply packet capture.  Who knows what exacty sizeof is returning.  All I know, it's most likely a bad idea using sizeof to specify length when there are variable length strings in the message
Well, the character arrays are of a static length, and I always make sure that 'sizeof' returns the proper length. But thanks for the advice anyway.


-Matt