Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Ayudame con los puños RF  (Visto 902 veces)

0 Miembros and 1 Guest are viewing this topic.

Online c4nhsatcodong Posteado: October 05, 2019, 12:29:43 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 361
  • Gracias recibida: 1839
  • vn
Mi imagen cuando se agregó con éxito



pero tiene una falla en el cuello



Yo uso este codigo :

#define sub_50D810_Addr      ((int(__thiscall*)(int a1, int a2, int a3, int a4)) 0x50D810)
#define sub_512D50_Addr      ((void*(__thiscall*)(void* a1)) 0x512D50)
#define sub_513C60_Addr      ((char*(__thiscall*)(char *This, void *a2, int a3)) 0x513C60)
#define sub_5135F0_Addr      ((char*(__thiscall*)(DWORD *This, int a2, int a3)) 0x5135F0)
#define sub_512D60_Addr      ((void(*)()) 0x512D60)

void GlovesAssoc(char *This)
{
   sub_50D810_Addr((int)(This + 92), ITEM2(0, 50), GLOV2, GLOV1);
   void* v2 = sub_512D50_Addr(This + 92);
   char* v3 = sub_513C60_Addr(This, v2, (int)(This + 92));
   sub_5135F0_Addr((DWORD *)This + 15, (int)This, (int)v3);
   sub_512D60_Addr();

   sub_50D810_Addr((int)(This + 92), ITEM2(0, 51), GLOV4, GLOV3);
   v2 = sub_512D50_Addr(This + 92);
   v3 = sub_513C60_Addr(This, v2, (int)(This + 92));
   sub_5135F0_Addr((DWORD *)This + 15, (int)This, (int)v3);
   sub_512D60_Addr();
}

void __declspec (naked) BattleGloveGlow()
{
    static DWORD dwBattleGlovesGlow_Pointer;
    static DWORD dwBattleGlovesGlow_Buffer;
    static DWORD dwBattleGlovesNewGlow_Buffer;
    static DWORD dwBattleGlovesGlow_Jump = 0x005F94E8;

    static BOOL bBattleGlovesGlow_Switcher = FALSE;

    _asm
   {
        MOV dwBattleGlovesGlow_Pointer, EAX
    }

    if ( dwBattleGlovesGlow_Pointer == ITEM2 ( 0, 35 ) )
   {
        bBattleGlovesGlow_Switcher = TRUE;
    }

    else if ( dwBattleGlovesGlow_Pointer == ITEM2 ( 0, 50 ) || dwBattleGlovesGlow_Pointer == ITEM2 ( 0, 51 ))
   {
        bBattleGlovesGlow_Switcher = FALSE;

        _asm
      {
            MOV DWORD PTR SS:[EBP-0x4], 0x2C
            JMP dwBattleGlovesGlow_Jump
        }
    }

    if ( bBattleGlovesGlow_Switcher == TRUE )
   {
        _asm
      {
            MOV dwBattleGlovesGlow_Buffer, 0x005F91C9
            JMP dwBattleGlovesGlow_Buffer
        }
    }
    else
   {
        _asm
      {
            MOV dwBattleGlovesGlow_Buffer, 0x005F91D5
            JMP dwBattleGlovesGlow_Buffer
        }
    }
}

__declspec(naked) void RFItemAddInventoryPos()
{
   static DWORD IsRFItem = 0;
    static DWORD RFPosition = 0x005CD084;
    static DWORD NextRFPosition = 0x005CD086;

    _asm
   {
        mov ecx, dword ptr ss : [ebp + 0x8]
        mov dword ptr ss : [ebp + 0x8], ecx
        mov IsRFItem, ecx
    }

    if ( IsRFItem == 0x04B3 )
   {
        _asm {jmp RFPosition}
    }
    //else if ( IsRFItem == ITEM2 ( 0, 114 ) )
   else if ( IsRFItem == ITEM2 ( 0, 50 ) || IsRFItem == ITEM2 ( 0, 51 ))
   {
        _asm {jmp RFPosition}
    }
    else
   {
        _asm {jmp NextRFPosition}
    }
}

Te agradezco TSM

Publicar un anuncio Mu Online gratis - Mu Online Community GRATIS.
Post free Mu Online ads - FREE Mu Online Community
https://www.facebook.com/groups/274190243227367/


Offline NasLy #1 Posteado: October 05, 2019, 12:59:11 PM

  • Colaborador
  • 0 puntos por ventas
  • *
  • *
  • Rank: Puto amo
  • Posts: 441
  • Gracias recibida: 12118
  • ar
Usa esta Source. Esta casi al 100% (Acomodar los codigos).

http://tuservermu.com.ve/index.php?topic=20466.0

Nunca es tarde para ser lo que podias haber sido.

Online c4nhsatcodong #2 Posteado: October 06, 2019, 05:49:38 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 361
  • Gracias recibida: 1839
  • vn
Usa esta Source. Esta casi al 100% (Acomodar los codigos).

http://tuservermu.com.ve/index.php?topic=20466.0

También estoy usando esa fuente, pero uso el desplazamiento principal 1.04D #define oBattleGlove_Texture 0x0050E043
me hizo sufrir de Crash Main

Publicar un anuncio Mu Online gratis - Mu Online Community GRATIS.
Post free Mu Online ads - FREE Mu Online Community
https://www.facebook.com/groups/274190243227367/


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
Puños RG

Started by unico Swords

7 Replies
4327 Views
Last post April 01, 2020, 10:20:03 PM
by Hoangsy99
3 Replies
1232 Views
Last post October 06, 2017, 04:23:03 PM
by edpa
0 Replies
621 Views
Last post May 21, 2018, 10:47:25 PM
by c4nhsatcodong
0 Replies
350 Views
Last post March 14, 2020, 07:17:03 PM
by Tomy
3 Replies
1208 Views
Last post November 03, 2022, 12:27:41 AM
by Thormat