Quote:
Originally Posted by ConnorMcLeod
Why would you need that function ?
|
I want to KNOW, if is posible to "change" the client protocol. Only I want to know this, I donīt want to allow Non Steam players in my server. And principally, I want to learn the module usage
Quote:
Originally Posted by Arkshine
For windows, you have to find the function before. There is a tutorial about that.
|
Iīve already had it:
PHP Code:
signed int __cdecl sub_1D97BD0(const void *a1, signed int a2)
{
void *v2; // eax@5
int v3; // eax@5
unsigned __int8 v4; // zf@5
unsigned __int8 v5; // sf@5
signed int result; // eax@7
if ( !a1 )
sub_1DABC60("SV_CheckProtocol: Null address\n");
if ( a2 == 48 )
{
result = 1;
}
else
{
if ( a2 <= 48 )
{
sub_1D97980(
a1,
"This server is using a newer protocol ( %i ) than your client ( %i ). You should check for updates to your client.\n",
48,
a2);
result = 0;
}
else
{
v3 = sub_1D35480((int)off_1E61DD8);
v4 = v3 == 0;
v5 = v3 < 0;
v2 = off_1E61DD8;
if ( v5 | v4 )
v2 = "(no email address specified)";
sub_1D97980(
a1,
"This server is using an older protocol ( %i ) than your client ( %i ). If you believe this server is outdated, you can contact the server administrator at %s.\n",
48,
a2,
v2);
result = 0;
}
}
return result;
}
// 1E61DD8: using guessed type void *off_1E61DD8;
But in I donīt know what HEX values I must get
[IMG]http://img132.**************/img132/2342/idadis.png[/IMG]
__________________