unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials > First-Person Shooters > Other FPS Games

- Sponsored Advertisement -
http://www.myfpscheats.com/


Reply
 
Thread Tools Display Modes
  #1  
Old 08-09-2010, 01:42 PM
shad0w_ shad0w_ is offline
Junior Member
 
Join Date: Aug 2010
Posts: 16
Default Arma2 Window Mode

Original Thread: http://www.uc-forum.com/forum/arma-a...ndow-mode.html

By King-OrgY



its quick easy

we need just to find
Code:
void __cdecl sub_951840(char *a1, int a2)
{
  char *v2; // edi@5
  int v3; // [sp-4h] [bp-10h]@14
  int v4; // [sp-4h] [bp-10h]@48

  if ( (char *)a2 != a1 )
  {
    if ( *a1 != 45 && *a1 != 47 )
    {
      strncpy(&byte_B81AF8, a1, a2 - (_DWORD)a1);
      *(_BYTE *)(&byte_B81AF8 - a1 + a2) = 0;
      return;
    }
    v2 = a1 + 1;
    if ( (unsigned __int8)sub_94CFFF(a1 + 1, "x=") )
    {
      dword_B851FC = j__atol(a1 + 3);
      return;
    }
    if ( (unsigned __int8)sub_94CFFF(v2, "y=") )
    {
      dword_B85200 = j__atol(a1 + 3);
      return;
    }
and

Code:
if ( (unsigned __int8)sub_94CFC9(v2, a2, "window") )
{
      byte_B85134 = 1;
      return;
}
Code:
void ( *orig_LocalPlayerInfo)( char *a1, int a2 );
void LocalPlayerInfo ( char *a1, int a2 )
{
    *(int *)0xB85134 = 1;

    orig_LocalPlayerInfo( a1, a2 );

}


    
        DetourFunction( ( PBYTE )0x951840, ( PBYTE )&LocalPlayerInfo );
        __asm mov [ orig_LocalPlayerInfo ], eax;
enjoy.
Reply With Quote
Reply

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit

Tags
arma2, mode, window

Thread Tools
Display Modes

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



All times are GMT. The time now is 08:40 AM.