Back to legacygamers.net
WARPGATE

ClientInfo

XML loading/parsing, SelectClientInfo, SetOption

Functions 18Code 10 KBAddresses 0x0059E950 to 0x00A98A50
18 functions
AddressSizeNameDescription
0x0059E950659CUserConfig__SaveSettingsSerializes user configuration (hotkeys, whisper blocklist, emotions) to file/registry with XML-like structure.
0x005C39C0378CServiceType__ConstructorInitializes CServiceType object with vtable, three std::strings (first="unknown", others empty), and sets success flag to true.
0x005C3DB0480CServiceType__GetInstanceSingleton factory that creates and initializes a CServiceType instance with vtable, three std::strings, storing it in global DAT_012517a8.
0x00A7141016FindClientInfoElementFinds and returns the root "clientinfo" XML element from the global XML document DOM tree.
0x00A716D0775InitClientInfoInitializes client configuration based on service type (Korea/subservers), sets version/server addresses, populates admin/yellow lists from clientinfo.xml
0x00A71D10306LoadLoadingImagesLoads loading screen images via ResourceManager based on ServiceType (1-12 files depending on region/server type).
0x00A71F30515InitClientInfoPreInitializes client info by loading etcinfo.txt, parsing loadingscreen and event entries, populating loading images.
0x00A72440852InitClientInfoPostInitializes locale-specific codepage, language ID, and string tables based on g_serviceType; registers four static CEditCtrl objects with atexit handlers.
0x00A728203stub_return_zeroStub function returning zero; likely disabled security or permission check between admin and yellow name validation.
0x00A728601332SelectClientInfo_DefaultParses clientinfo.xml connection element; populates server address, domain, version, language type, and admin/yellow player lists.
0x00A72DA0772SelectClientInfoParses clientinfo.xml connection entry; extracts server address, domain, TA address, version, language type, registration URL, admin and yellow lists.
0x00A732B02734SetOptionParses clientinfo XML element to set g_serviceType and g_serverSubType based on servicetype child value (korea/america).
0x00A7418053set_chat_filter_flagsSets region-specific chat filter flags for kRO, sakRO, bRO, and service 12 based on two boolean parameters.
0x00A7525036ShowServiceTypeErrorDisplays error MessageBox after restoring renderer display mode, used for ServiceType validation failures in clientinfo.
0x00A9840086XMLElement_FindChildByNameSearches first child element's name against param_2; returns match or calls NextSibling to continue search
0x00A9846084XMLElement_NextSiblingIterates XML element siblings via offset 0x24, comparing element names at offset 0x0 against input, returns matching sibling or NULL
0x00A984C0445XMLElement_GetValueExtracts and decodes text content from XML element, handling entity references (&) and whitespace normalization.
0x00A98A50114XMLDocument_ReadDocumentLoads XML document from memory buffer, allocates null-terminated copy, parses into tree, returns success if root element created.