Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Search for offsets main 1.04e or 1.04d  (Visto 972 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline realman Posteado: December 17, 2021, 10:41:15 AM | Modificado: December 17, 2021, 01:20:56 PM by realman

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 107
  • Gracias recibida: 1200
  • md
to main 1.04e or 1.04d

need to find this
#define MAX_SENDBUF      8192
#define MAX_RECVBUF      8192
#define MAX_SPE_BUFFERSIZE   ( 2048)
#define MAX_SPE_BUFFERSIZE_   ( 2048)
look for this in original main source

need to change this value in all places that use in code

Contact me $$

Discord: mercurialxen
Final

Offline louis #1 Posteado: December 17, 2021, 12:55:27 PM

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • C++ Coder
  • +11 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 844
  • Gracias recibida: 36868
  • br
this isn't a offset bro, in the case is the same value on both versions.

Update 36 is ready!!!

Gracias:


Offline realman #2 Posteado: December 17, 2021, 01:16:39 PM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 107
  • Gracias recibida: 1200
  • md
this isn't a offset bro, in the case is the same value on both versions.
yes, i need to change this value in all places that use in code

Discord: mercurialxen
Final

Offline louis #3 Posteado: December 17, 2021, 01:43:39 PM

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • C++ Coder
  • +11 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 844
  • Gracias recibida: 36868
  • br
this isn't a offset bro, in the case is the same value on both versions.
yes, i need to change this value in all places that use in code

sorry for the question, but why you need to increase the max packet size? oO

Update 36 is ready!!!

Gracias:


Offline realman #4 Posteado: December 17, 2021, 02:46:31 PM | Modificado: December 17, 2021, 03:23:59 PM by realman

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 107
  • Gracias recibida: 1200
  • md
this isn't a offset bro, in the case is the same value on both versions.
yes, i need to change this value in all places that use in code

sorry for the question, but why you need to increase the max packet size? oO

this will fix the ancient problem of the game, when you freeze, the animation of skills does not work and you cannot exit the switch
this bug is on all seasons till 8


in gs i have extended sizes:
#define MAX_EXSENDBUF_SIZE      32767
#define MAX_IO_BUFFER_SIZE      65535

if gs or the client receives a packet larger than the buffer, the GIOCP connection is closed,ckeck the gs and main code
and when the GIOCP connection is closed, you look like it is frozen in the game and the client does not respond to packets and actions

so i need to increase value it on main side

here is this lag




this freeze lag fix only when you make manual reconnect(Create new socket connect)
i hunt for this bug about 7 years, its 100% him

Discord: mercurialxen
Final

Offline takumi12 #5 Posteado: December 17, 2021, 03:24:57 PM | Modificado: December 17, 2021, 03:27:38 PM by takumi12

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • Php Coder
  • +11 puntos por ventas
  • *
  • *
  • Rank: Puto amo
  • Posts: 1.310
  • Gracias recibida: 40195
  • mx
this isn't a offset bro, in the case is the same value on both versions.
yes, i need to change this value in all places that use in code

sorry for the question, but why you need to increase the max packet size? oO

this will fix the ancient problem of the game, when you freeze, the animation does not work and you cannot exit the switch
this bug is on all seasons till 8


in gs i have extended sizes:
#define MAX_EXSENDBUF_SIZE      32767
#define MAX_IO_BUFFER_SIZE      65535

if gs or the client receives a packet larger than the buffer, the GIOCP connection is closed,ckeck the gs and main code
and when the GIOCP connection is closed, you look like it is frozen in the game and the client does not respond to packets and actions

so i need to increase value it on main side

here is this lag




this freeze lag fix only when you make manual reconnect(Create new socket connect)
i hunt for this bug about 7 years, its 100% him


entiendo una parte de lo que dices, pero bueno no es tan fácil como buscar un par de offset, al menos lo que puedo ver se tiene que rearmar un sisteam de structuras en este caso en main.dll porque por lo que veo lo buscas para trabajarlo por main.dll ya que pides offset.

SetDword(0x0063A5FC + 2, 8192);
SetDword(0x0063A5FC + 1, 8192);

esas dos offset cambiarian esto MAX_RECVBUF en las partes donde se utilizan, pero dejame decirte que no es suficiente, ya que lo que se necesita modifical es la memoria virual del array porque se inicializa dentro de una class, bueno no se si me estoy explicando correctamente. necesitaras mas que usar solo estas offset para lograr lo que necesitas




Code: [Select]
//----- (0063A180) --------------------------------------------------------
signed int __usercall sub_63A180@<eax>(int a1@<ecx>, FARPROC (__stdcall *a2)(HMODULE hModule, LPCSTR lpProcName)@<ebx>, int a3@<edi>, int a4@<esi>)
{
  int v4; // ST14_4@8
  int v6; // [sp+0h] [bp-Ch]@1
  char optval[2]; // [sp+8h] [bp-4h]@3
  __int16 v8; // [sp+Ah] [bp-2h]@3

  v6 = a1;
  if ( *(DWORD *)(a1 + 4) )
    dword_8793704 = 0;
  strcpy(optval, "\x01");
  v8 = 0;
  if ( setsockopt(*(DWORD *)(a1 + 12), 0xFFFF, 128, optval, 4) == -1 )
    WSAGetLastError();
  sub_9CF630((char *)(v6 + 8212), 0, 4);
  sub_9CF630((char *)(v6 + 16), 0, 4);
  *(DWORD *)(v6 + 8208) = 0;
  *(DWORD *)(v6 + 16404) = 0;
  while ( !sub_63AC10(*(void **)(v6 + 16416)) )
    sub_63ABC0(*(DWORD *)(v6 + 16416), a2, a3, a4);
  sub_96AF10(a3, a4, (int)&unk_E8C5D8, (int)"[Socket Closed][Clear PacketQueue]\r\n", v6);
  closesocket(*(DWORD *)(v4 + 12));
  *(DWORD *)(v4 + 12) = -1;
  return 1;
}
// 8793704: using guessed type int dword_8793704;


Code: [Select]
//----- (0063A5F0) --------------------------------------------------------
signed int __usercall sub_63A5F0@<eax>(int a1@<ecx>, FARPROC (__stdcall *a2)(HMODULE hModule, LPCSTR lpProcName)@<ebx>, int a3@<edi>, int a4@<esi>)
{
  signed int result; // eax@2
  int v5; // [sp+0h] [bp-18h]@1
  int v6; // [sp+Ch] [bp-Ch]@3
  int v7; // [sp+10h] [bp-8h]@9
  signed int v8; // [sp+14h] [bp-4h]@12

  v5 = a1;
  if ( *(DWORD *)(a1 + 16404) < 0x2000 )
  {
    v6 = recv(*(DWORD *)(a1 + 12), (char *)(a1 + *(DWORD *)(a1 + 16404) + 8212), 0x2000 - *(DWORD *)(a1 + 16404), 0);
    if ( v6 )
    {
      if ( v6 == -1 )
      {
        WSAGetLastError();
        result = 1;
      }
      else
      {
        *(DWORD *)(v5 + 16404) += v6;
        if ( *(DWORD *)(v5 + 16404) >= 3 )
        {
          v7 = 0;
          while ( 1 )
          {
            if ( *(BYTE *)(v7 + v5 + 8212) != 193 && *(BYTE *)(v7 + v5 + 8212) != 195 )
            {
              if ( *(BYTE *)(v7 + v5 + 8212) != 194 && *(BYTE *)(v7 + v5 + 8212) != 196 )
              {
                *(DWORD *)(v5 + 16404) = 0;
                return 0;
              }
              v8 = *(BYTE *)(v5 + v7 + 8214) + (*(BYTE *)(v5 + v7 + 8213) << 8);
            }
            else
            {
              v8 = *(BYTE *)(v5 + v7 + 8213);
            }
            if ( v8 <= 0 )
              return 0;
            if ( v8 > *(DWORD *)(v5 + 16404) )
              break;
            sub_63AC30(v5, *(DWORD *)(v5 + 16416), a2, a3, (const void *)(v5 + v7 + 8212), v8);
            v7 += v8;
            *(DWORD *)(v5 + 16404) -= v8;
            if ( *(DWORD *)(v5 + 16404) <= 0 )
              goto LABEL_25;
          }
          if ( v7 > 0 && *(DWORD *)(v5 + 16404) >= 1 )
            sub_9CF1C0((char *)(v5 + 8212), (const void *)(v5 + v7 + 8212), *(DWORD *)(v5 + 16404));
LABEL_25:
          sub_63AA50(*(DWORD *)(v5 + 16416), a2, a3, a4);
          result = 0;
        }
        else
        {
          result = 3;
        }
      }
    }
    else
    {
      result = 1;
    }
  }
  else
  {
    sub_96AF10(a3, a4, (int)&unk_E8C5D8, (int)&unk_D41828, a1);
    result = 1;
  }
  return result;
}


el apuntador de que necesitas verificar es el siguiente
Code: [Select]
 + 16
 + 8212


Las offset no se crea, ni se destruye, solo se transforma

Gracias:


Offline realman #6 Posteado: December 17, 2021, 03:29:20 PM | Modificado: December 17, 2021, 03:37:51 PM by realman

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 107
  • Gracias recibida: 1200
  • md
this isn't a offset bro, in the case is the same value on both versions.
yes, i need to change this value in all places that use in code

sorry for the question, but why you need to increase the max packet size? oO

this will fix the ancient problem of the game, when you freeze, the animation does not work and you cannot exit the switch
this bug is on all seasons till 8


in gs i have extended sizes:
#define MAX_EXSENDBUF_SIZE      32767
#define MAX_IO_BUFFER_SIZE      65535

if gs or the client receives a packet larger than the buffer, the GIOCP connection is closed,ckeck the gs and main code
and when the GIOCP connection is closed, you look like it is frozen in the game and the client does not respond to packets and actions

so i need to increase value it on main side

here is this lag




this freeze lag fix only when you make manual reconnect(Create new socket connect)
i hunt for this bug about 7 years, its 100% him


entiendo una parte de lo que dices, pero bueno no es tan fácil como buscar un par de offset, al menos lo que puedo ver se tiene que rearmar un sisteam de structuras en este caso en main.dll porque por lo que veo lo buscas para trabajarlo por main.dll ya que pides offset.

SetDword(0x0063A5FC + 2, 8192);
SetDword(0x0063A5FC + 1, 8192);

esas dos offset cambiarian esto MAX_RECVBUF en las partes donde se utilizan, pero dejame decirte que no es suficiente, ya que lo que se necesita modifical es la memoria virual del array porque se inicializa dentro de una class, bueno no se si me estoy explicando correctamente. necesitaras mas que usar solo estas offset para lograr lo que necesitas

i need to find someone who can do it right and fully

Discord: mercurialxen
Final

Offline realman #7 Posteado: December 18, 2021, 05:33:15 AM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 107
  • Gracias recibida: 1200
  • md
Discord: mercurialxen
Final

Offline realman #8 Posteado: December 18, 2021, 11:44:04 AM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 107
  • Gracias recibida: 1200
  • md
Discord: mercurialxen
Final

Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
3 Replies
2383 Views
Last post July 03, 2019, 11:20:58 PM
by besiktas
3 Replies
2141 Views
Last post February 16, 2020, 09:47:28 AM
by modaxd
5 Replies
1118 Views
Last post June 22, 2020, 08:19:53 AM
by bimaloha
1 Replies
765 Views
Last post November 14, 2020, 11:38:45 AM
by Tester1838a
1 Replies
433 Views
Last post February 02, 2023, 01:32:54 AM
by takumi12