Actually, it seems the change from STEAM_0 to STEAM_1 is more or less meaningless. The CBaseClient::GetNetworkID() function is hardcoded to place a 1 there. text:0009E8F0 public CBaseClient::GetNetworkID() const text:0009E8F0 mov edx, [esp+8] text:0009E8F4 mov eax, [esp+4] text:0009E8F8 mov edx, [edx+59h] text:0009E8FB mov dword ptr [eax], 1 text:0009E901 mov word ptr [eax+4], 1 text:0009E907 mov ecx, edx text:0009E909 and ecx, 1 text:0009E90C shr edx, 1 text:0009E90E mov [eax+0Ch], ecx text:0009E911 mov [eax+8], edx text:0009E914 retn 4
For example, changing: text:0009E901 mov word ptr [eax+4], 1 To: text:0009E901 mov word ptr [eax+4], 0 Will give old STEAM_0 numbers back. The function returns a proprietary USERID_t structure and two of the bytes are the '1'. If someone really wants their STEAM_0 back, open server.dll, go to B1095 and change 0x01 to 0x00. Likewise, for Linux, go to 9E90E and change 0x01 to 0x00. -----Original Message----- From: hlds-boun...@list.valvesoftware.com [mailto:hlds-boun...@list.valvesoftware.com] On Behalf Of David Cousins Sent: Monday, February 16, 2009 10:43 PM To: Half-Life dedicated Win32 server mailing list Subject: Re: [hlds] Valve: Plans to migrate all Steam IDs to the new format? I guess that this is all related to using Steam "cloud", so whenever this is added to another game you can assume the I'd's will change with no warning from valve. Yay, go go communications! On 17 Feb 2009, at 03:59, "Andrew Armstrong" <and...@mammoth.com.au> wrote: > Hi, > > > > I just wanted to ask whether there were plans to migrate the IDs to > the new > format for all existing games (such as CS/Hl1 based games and their > mods)? > > > > Any info would be appreciated; myself and others no doubt store > these IDs > for some reason or another and it would be good to know whether we > will need > to make changes to such systems to view IDs with STEAM_0 and STEAM_1 > as the > same or not. > > > > If you are planning/close to migrating your older games to the new > format as > well, it would be good to know so we can just wait for the update > instead. > > > > Cheers, > > Andrew > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list > archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds