Valhalla Legends Forums Archive | Battle.net Bot Development | MCP_CREATECHAR Flags

AuthorMessageTime
FuzZ
I tried to add a comment and contribute on BnetDocs but, I recieved errors. Thought this might help some people.
These are MCP_CREATECHAR Flags (as the subject says.)
[pre]
Expansion = 0x20
Expansion Ladder = 0x60
Expansion Hardcore = 0x24
Expansion Hardcore Ladder = 0x64
Classic = 0x00
Classic Ladder = 0x40
Classic Hardcore = 0x04
Classic Hardcore Ladder = 0x44
[/pre]

:EDIT: Had Classic HCL wrong. Changed to pre, for *cough* reasons.

[quote]
How about:

Code:

Hardcore = 0x04
Expansion = 0x20
Ladder = 0x40

// or any other combination
MyFlags = (Hardcore Or Ladder Or Expansion

[/quote]
It's not supposed to be variables, just a list of what each flag is. Notice the spaces ?
March 11, 2004, 6:31 PM
K
Whoops, accidentally deleted my post. Anyway what I meant was that you really only need these:

Expansion = 0x20
Ladder = 0x40
Hardcore = 0x04
(Classic = 0x00)

And the rest are combinations of the above.
March 11, 2004, 11:46 PM
Skywing
Classic is defined as !(flags & 0x20), not 0.

March 12, 2004, 1:34 AM

Search