Raised This Month: $ Target: $400
 0% 

Orpheu: Problems getting SV_CheckProtocol function


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
S34Qu4K3
Veteran Member
Join Date: Jan 2010
Location: Galicia
Old 03-30-2011 , 05:24   Re: Orpheu: Problems getting SV_CheckProtocol function
Reply With Quote #4

Quote:
Originally Posted by ConnorMcLeod View Post
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 View Post
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 *a1signed 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]
__________________

- ASM2SMA: Experimental AMXX Assembly encoder

- Defuse Bar Fix

Quote:
Originally Posted by Arkshine
I DON'T WANT TO SEE NOOOOOOOOOOOOOOO AHHHHH. MY EYES ARE ALREADY HURT.

Last edited by S34Qu4K3; 03-30-2011 at 05:32.
S34Qu4K3 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode