Ya, I think it's B0095 (surroundings should read 66 C7 40 08 01 00). The 01
is what you want to change. Anyways, if I'm wrong again, email my off list
and I'll figure it out for certain.

-----Original Message-----
From: hlds-boun...@list.valvesoftware.com
[mailto:hlds-boun...@list.valvesoftware.com] On Behalf Of Jarno Veuger
Sent: Tuesday, February 17, 2009 3:25 AM
To: Half-Life dedicated Win32 server mailing list
Subject: Re: [hlds] (no subject)

Hi,

I could write a quick tool for it. However, I can't find that on B1095 
in my server.dll (TF2). All I get is a 0xC0 value.

We might want to split this topic from the main topic.

Ywa

Tony Paloma wrote:
> 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.


_______________________________________________
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

Reply via email to