Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: UserLoser. on December 17, 2003, 05:19 PM

Title: BNLS Protocol Doc & 0x50
Post by: UserLoser. on December 17, 2003, 05:19 PM
The BNLSProtocolSpec (http://www.valhallalegends.com/yoni/BNLSProtocolSpec.txt) says:
Quote
(DWORD) Locale ID. Value returned by GetSystemDefaultLCID.*
(DWORD) Language ID. Value returned by GetSystemDefaultLangID.*

But, by looking at BroodWar's Battle.snp, shouldn't it be GetUserDefaultLCID and GetUserDefaultLangID?  Or are they both the same?


.text:19016962                 mov     [esp+220h+var_1A0], eax
.text:19016969                 call    ds:GetUserDefaultLCID
.text:1901696F                 mov     [esp+220h+var_19C], eax
.text:19016976                 call    ds:GetUserDefaultLangID
Title: Re:BNLS Protocol Doc & 0x50
Post by: Skywing on December 17, 2003, 08:48 PM
Depends on which game and version you are using.