Noticias:

SMF - Just Installed!

Menú principal

Chat Position System

Publicado por Dakosmu, Abr 10, 2025, 10:50 PM

Tema anterior - Siguiente tema

Dakosmu

Chat Position System

YO UTILISO ESO EN MIS BOTONES Y LA PRESION DEL CLICK ES MAS EXACTA

//========================================================================================================
//-- Chat Position System
//-- Activado/Desactivado el movimiento del Chat Centrandolo mas abajo del Cliente
//-- 0 - Desactiva | 1 - Activa
//========================================================================================================
ChatPosition = 1

// BUG - visualmente en la interface se ve los chat pero cuando apretas F4 no aparece ai los chats
// se deberia arreglar la presion del click en los botones custom Attack, y otros q al darle varios click recien reacciona los botones

OFFSETS
#define   PrecionClicIzq   (BYTE*)0x81B95A8 //99B - 99.28
#define   A_pCursorX            *(int*)0x81B9560 //99B  - 99.28
#define   A_pCursorY            *(int*)0x81B955C //99B  - 99.28

FUNCION
bool CheckClickCoords(int X, int Y, int Ancho, int Alto)
{
   if (!PrecionClicIzq) return false;
   bool Click = false;
   if (A_pCursorX > X  && A_pCursorX < X + Ancho)
   {
      if (A_pCursorY > Y && A_pCursorY < Y + Alto)
      {
         Click = true;
      }
   }
   return Click;
}

//PRESION DE CLICK

if(CheckClickCoords(15, 3, 16, 16) == true && PrecionClicIzq == 1)
      {
         
      }



Creditos
dreikfranco
Bon Dia

🡱 🡳