Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Interface Season3 na Season6  (Visto 41068 veces)

0 Miembros and 2 Guests are viewing this topic.

Offline Kapocha33 #60 Posteado: July 12, 2019, 08:06:49 PM

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • 3D Maker
  • 0 puntos por ventas
  • *
  • *
  • Rank: Puto amo
  • Posts: 804
  • Gracias recibida: 99145
  • ar
Ahora creo que esta terminado la barra exp jajaja

Code: [Select]
//EXP
__declspec(naked) void EXP1()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXP1_buff = 0x00811408;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD DWORD PTR SS:[EBP-0x1B0]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXP1_buff]
}
}

__declspec(naked) void EXP2()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXP2_buff = 0x00811552;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD DWORD PTR SS:[EBP-0x1C4]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXP2_buff]
}
}

__declspec(naked) void EXP3()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXP3_buff = 0x00811719;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD DWORD PTR SS:[EBP-0x1B0]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXP3_buff]
}
}

__declspec(naked) void EXP4()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXP4_buff = 0x0081181F;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
FLD QWORD PTR SS:[EBP-0x20]
jmp [EXP4_buff]
}
}

//EXP MASTER
__declspec(naked) void EXPMASTER1()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXPMASTER1_buff = 0x00810B6E;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD QWORD PTR SS:[EBP-0x58]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXPMASTER1_buff]
}
}

__declspec(naked) void EXPMASTER2()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXPMASTER2_buff = 0x00810CB5;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD QWORD PTR SS:[EBP-0x88]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXPMASTER2_buff]
}
}

__declspec(naked) void EXPMASTER3()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXPMASTER3_buff = 0x00810E79;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD QWORD PTR SS:[EBP-0x58]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXPMASTER3_buff]
}
}

__declspec(naked) void EXPMASTER4()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXPMASTER4_buff = 0x00810F73;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXPMASTER4_buff]
}
}

Code: [Select]
//EXP
SetRange((LPVOID)0x008113DE, 5, ASM::NOP);
SetOp((LPVOID)0x008113DE, (LPVOID)EXP1, ASM::JMP);
SetRange((LPVOID)0x00811528, 5, ASM::NOP);
SetOp((LPVOID)0x00811528, (LPVOID)EXP2, ASM::JMP);
SetRange((LPVOID)0x008116EF, 5, ASM::NOP);
SetOp((LPVOID)0x008116EF, (LPVOID)EXP3, ASM::JMP);
SetRange((LPVOID)0x008117F8, 5, ASM::NOP);
SetOp((LPVOID)0x008117F8, (LPVOID)EXP4, ASM::JMP);
//EXPMASTER
SetRange((LPVOID)0x00810B47, 5, ASM::NOP);
SetOp((LPVOID)0x00810B47, (LPVOID)EXPMASTER1, ASM::JMP);
SetRange((LPVOID)0x00810C8B, 5, ASM::NOP);
SetOp((LPVOID)0x00810C8B, (LPVOID)EXPMASTER2, ASM::JMP);
SetRange((LPVOID)0x00810E52, 5, ASM::NOP);
SetOp((LPVOID)0x00810E52, (LPVOID)EXPMASTER3, ASM::JMP);
SetRange((LPVOID)0x00810F4F, 5, ASM::NOP);
SetOp((LPVOID)0x00810F4F, (LPVOID)EXPMASTER4, ASM::JMP);

Consultas al Discord: Kapocha33

Gracias:


Offline onlinezajzaj #61 Posteado: July 13, 2019, 08:01:47 AM

  • MAESTRO

  • US. DE HONOR

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 662
  • Gracias recibida: 20047
  • vn
Ahora creo que esta terminado la barra exp jajaja

Code: [Select]
//EXP
__declspec(naked) void EXP1()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXP1_buff = 0x00811408;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD DWORD PTR SS:[EBP-0x1B0]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXP1_buff]
}
}

__declspec(naked) void EXP2()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXP2_buff = 0x00811552;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD DWORD PTR SS:[EBP-0x1C4]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXP2_buff]
}
}

__declspec(naked) void EXP3()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXP3_buff = 0x00811719;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD DWORD PTR SS:[EBP-0x1B0]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXP3_buff]
}
}

__declspec(naked) void EXP4()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXP4_buff = 0x0081181F;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
FLD QWORD PTR SS:[EBP-0x20]
jmp [EXP4_buff]
}
}

//EXP MASTER
__declspec(naked) void EXPMASTER1()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXPMASTER1_buff = 0x00810B6E;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD QWORD PTR SS:[EBP-0x58]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXPMASTER1_buff]
}
}

__declspec(naked) void EXPMASTER2()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXPMASTER2_buff = 0x00810CB5;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD QWORD PTR SS:[EBP-0x88]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXPMASTER2_buff]
}
}

__declspec(naked) void EXPMASTER3()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXPMASTER3_buff = 0x00810E79;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD QWORD PTR SS:[EBP-0x58]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXPMASTER3_buff]
}
}

__declspec(naked) void EXPMASTER4()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXPMASTER4_buff = 0x00810F73;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXPMASTER4_buff]
}
}

Code: [Select]
//EXP
SetRange((LPVOID)0x008113DE, 5, ASM::NOP);
SetOp((LPVOID)0x008113DE, (LPVOID)EXP1, ASM::JMP);
SetRange((LPVOID)0x00811528, 5, ASM::NOP);
SetOp((LPVOID)0x00811528, (LPVOID)EXP2, ASM::JMP);
SetRange((LPVOID)0x008116EF, 5, ASM::NOP);
SetOp((LPVOID)0x008116EF, (LPVOID)EXP3, ASM::JMP);
SetRange((LPVOID)0x008117F8, 5, ASM::NOP);
SetOp((LPVOID)0x008117F8, (LPVOID)EXP4, ASM::JMP);
//EXPMASTER
SetRange((LPVOID)0x00810B47, 5, ASM::NOP);
SetOp((LPVOID)0x00810B47, (LPVOID)EXPMASTER1, ASM::JMP);
SetRange((LPVOID)0x00810C8B, 5, ASM::NOP);
SetOp((LPVOID)0x00810C8B, (LPVOID)EXPMASTER2, ASM::JMP);
SetRange((LPVOID)0x00810E52, 5, ASM::NOP);
SetOp((LPVOID)0x00810E52, (LPVOID)EXPMASTER3, ASM::JMP);
SetRange((LPVOID)0x00810F4F, 5, ASM::NOP);
SetOp((LPVOID)0x00810F4F, (LPVOID)EXPMASTER4, ASM::JMP);

Você tem Fix Exp Bar para Interface Ex700? magia


Offline Jhonny Sales #62 Posteado: July 13, 2019, 11:49:59 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 9
  • Gracias recibida: 3
  • br
Ahora creo que esta terminado la barra exp jajaja

Code: [Select]
//EXP
__declspec(naked) void EXP1()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXP1_buff = 0x00811408;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD DWORD PTR SS:[EBP-0x1B0]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXP1_buff]
}
}

__declspec(naked) void EXP2()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXP2_buff = 0x00811552;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD DWORD PTR SS:[EBP-0x1C4]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXP2_buff]
}
}

__declspec(naked) void EXP3()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXP3_buff = 0x00811719;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD DWORD PTR SS:[EBP-0x1B0]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXP3_buff]
}
}

__declspec(naked) void EXP4()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXP4_buff = 0x0081181F;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
FLD QWORD PTR SS:[EBP-0x20]
jmp [EXP4_buff]
}
}

//EXP MASTER
__declspec(naked) void EXPMASTER1()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXPMASTER1_buff = 0x00810B6E;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD QWORD PTR SS:[EBP-0x58]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXPMASTER1_buff]
}
}

__declspec(naked) void EXPMASTER2()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXPMASTER2_buff = 0x00810CB5;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD QWORD PTR SS:[EBP-0x88]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXPMASTER2_buff]
}
}

__declspec(naked) void EXPMASTER3()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXPMASTER3_buff = 0x00810E79;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD QWORD PTR SS:[EBP-0x58]
FMUL QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXPMASTER3_buff]
}
}

__declspec(naked) void EXPMASTER4()
{
static double Ancho = 221.0f;
static double Alto = 435.0f;
static double AnchoTex = 198.0f;
static double AltoTex = 4.0f;
static DWORD EXPMASTER4_buff = 0x00810F73;
_asm
{
FLD QWORD PTR DS:[Ancho]
FSTP QWORD PTR SS:[EBP-0x10]
FLD QWORD PTR DS:[Alto]
FSTP QWORD PTR SS:[EBP-0x8]
FLD QWORD PTR DS:[AnchoTex]
FSTP QWORD PTR SS:[EBP-0x28]
FLD QWORD PTR DS:[AltoTex]
FSTP QWORD PTR SS:[EBP-0x20]
jmp [EXPMASTER4_buff]
}
}

Code: [Select]
//EXP
SetRange((LPVOID)0x008113DE, 5, ASM::NOP);
SetOp((LPVOID)0x008113DE, (LPVOID)EXP1, ASM::JMP);
SetRange((LPVOID)0x00811528, 5, ASM::NOP);
SetOp((LPVOID)0x00811528, (LPVOID)EXP2, ASM::JMP);
SetRange((LPVOID)0x008116EF, 5, ASM::NOP);
SetOp((LPVOID)0x008116EF, (LPVOID)EXP3, ASM::JMP);
SetRange((LPVOID)0x008117F8, 5, ASM::NOP);
SetOp((LPVOID)0x008117F8, (LPVOID)EXP4, ASM::JMP);
//EXPMASTER
SetRange((LPVOID)0x00810B47, 5, ASM::NOP);
SetOp((LPVOID)0x00810B47, (LPVOID)EXPMASTER1, ASM::JMP);
SetRange((LPVOID)0x00810C8B, 5, ASM::NOP);
SetOp((LPVOID)0x00810C8B, (LPVOID)EXPMASTER2, ASM::JMP);
SetRange((LPVOID)0x00810E52, 5, ASM::NOP);
SetOp((LPVOID)0x00810E52, (LPVOID)EXPMASTER3, ASM::JMP);
SetRange((LPVOID)0x00810F4F, 5, ASM::NOP);
SetOp((LPVOID)0x00810F4F, (LPVOID)EXPMASTER4, ASM::JMP);

@Kapocha33 voce pode me disponibilizar o fiz dos botoes da interface que nao abrem?


Offline Yalc #63 Posteado: July 13, 2019, 01:12:10 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 230
  • Gracias recibida: 6533
  • ve

Gracias:


Offline Shaman #64 Posteado: July 15, 2019, 06:03:07 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 67
  • Gracias recibida: 3194
  • ir
me anda perfecto todo

pero queria saber si tienen idea o algunos code bien de los botones o me digan como solucionar ninguno de los botonos funcionan bien incluyendo el cashshop por favor
-.- -.- -.- -.- -.- -.- -.- -.- -.- -.- -.- -.-

Gracias:


Offline Lude #65 Posteado: July 15, 2019, 07:06:58 PM

  • MAESTRO

  • US. DE HONOR

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 392
  • Gracias recibida: 21369
  • us
me anda perfecto todo

pero queria saber si tienen idea o algunos code bien de los botones o me digan como solucionar ninguno de los botonos funcionan bien incluyendo el cashshop por favor
-.- -.- -.- -.- -.- -.- -.- -.- -.- -.- -.- -.-

Declaraste el EventMenuBotton en Controller.cpp?


Offline Shaman #66 Posteado: July 15, 2019, 10:29:49 PM | Modificado: July 15, 2019, 10:44:29 PM by Shaman

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 67
  • Gracias recibida: 3194
  • ir
me anda perfecto todo

pero queria saber si tienen idea o algunos code bien de los botones o me digan como solucionar ninguno de los botonos funci trollonan bien incluyendo el cashshop por favor
-.- -.- -.- -.- -.- -.- -.- -.- -.- -.- -.- -.-

Declaraste el EventMenuBotton en Controller.cpp?

Hola @Lude Espero Estes Muy Bien Y Si Obviamente añadi pero estan como desordenados los botones es decir preciono uno y se selecciona el de arlado nose si me explico bien!! de igual modo el cashshop boton no marca !!


Offline Lude #67 Posteado: July 15, 2019, 11:15:03 PM

  • MAESTRO

  • US. DE HONOR

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 392
  • Gracias recibida: 21369
  • us
me anda perfecto todo

pero queria saber si tienen idea o algunos code bien de los botones o me digan como solucionar ninguno de los botonos funci trollonan bien incluyendo el cashshop por favor
-.- -.- -.- -.- -.- -.- -.- -.- -.- -.- -.- -.-

Declaraste el EventMenuBotton en Controller.cpp?

Hola @Lude Espero Estes Muy Bien Y Si Obviamente añadi pero estan como desordenados los botones es decir preciono uno y se selecciona el de arlado nose si me explico bien!! de igual modo el cashshop boton no marca !!


Tu problema se debe a las siguientes razones:

1) el boton del FastMenu salen unas ''rayas raras'' al presionarlo porque no esta bien ubicado (sus coordenadas en el source)
2) el boton del cash shop no funciona porque no esta declarado en el EventMenuButton, lo mismo pasa con el del Guild (las 2 espadas debajo del Friend)
3) El del friend no sabria decirte exactamente porque no funciona ya que con el source aportado funciona bien.


Offline Yalc #68 Posteado: July 15, 2019, 11:27:49 PM | Modificado: July 16, 2019, 02:35:08 PM by Yalc

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 230
  • Gracias recibida: 6533
  • ve
Se me avía olvidado, Acá dejo lo que falta.

Interface.h
Code: [Select]
		eCharacter,
eInventory,
eParty,
eFriend,
eFastMenu,
eShop,
eGuild,


Interface.cpp
Code: [Select]

this->BindObject(eParty, iNewParty, 25, 25, 348, 449);
this->BindObject(eCharacter, iNewCharacter, 25, 25, 379, 449);
this->BindObject(eInventory, iNewInventory, 25, 25, 409, 449);
this->BindObject(eShop, 0x908, 25, 25, 440, 449);
this->BindObject(eFriend, iNewWinpush, 54, 20, 581, 432);
this->BindObject(eFastMenu, iNewFastMenu, 55, 21, 5, 432);
this->BindObject(eGuild, 0x904, 54, 20, 581, 454);


pLoadImage("Interface\\Custom\\MenuS3_left.jpg", 31292, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\MenuS3_middle.jpg", 31293, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\MenuS3_right.jpg", 31294, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\none.tga", 31295, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\MenuS3_Red.jpg", 0x7A42, GL_LINEAR, GL_CLAMP, 1, 0);//replace
pLoadImage("Interface\\Custom\\MenuS3_Green.jpg", 0x7A41, GL_LINEAR, GL_CLAMP, 1, 0);//replace
pLoadImage("Interface\\Custom\\MenuS3_Blue.jpg", 0x7A40, GL_LINEAR, GL_CLAMP, 1, 0);//replace
pLoadImage("Interface\\Custom\\MenuS3_Inventory.jpg", iNewInventory, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_Character.jpg", iNewCharacter, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_Party.jpg", iNewParty, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_friend.jpg", iNewWinpush, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_fastmenu.jpg", iNewFastMenu, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_ChasShop.jpg", 0x908, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_Guild.jpg", 0x904, GL_LINEAR, GL_CLAMP, 1, 0);



void Interface::DrawMenuButton()
{
if (IsWorkZone(eParty))
{
this->DrawToolTip(345, 420, "Party");
}
if (this->CheckWindow(Party))
{
gInterface.DrawButton(eParty, 348, 449, 0.0, 0.0);
}
if (IsWorkZone(eCharacter))
{
this->DrawToolTip(375, 420, "Character");
}
if (this->CheckWindow(Character))
{
gInterface.DrawButton(eCharacter, 378.5f, 449, 0.0, 0.0);
}
if (IsWorkZone(eInventory))
{
this->DrawToolTip(405, 420, "Inventory");
}
if (this->CheckWindow(Inventory))
{
gInterface.DrawButton(eInventory, 409, 449, 0.0, 0.0);
}
if (IsWorkZone(eShop))
{
this->DrawToolTip(430, 420, "CashShop");
}
if (this->CheckWindow(CashShop))
{
gInterface.DrawButton(eShop, 439.5f, 449, 0.0, 0.0);
}
if (IsWorkZone(eFriend))
{
this->DrawToolTip(580, 420, "Friends");
}
if (this->CheckWindow(FriendList))
{
gInterface.DrawButton(eFriend, 581, 432, 0.0, 0.0);
}
if (IsWorkZone(eGuild))
{
this->DrawToolTip(580, 444, "Guild");
}
if (this->CheckWindow(Guild))
{
gInterface.DrawButton(eGuild, 581, 454, 0.0, 0.0);
}
if (IsWorkZone(eFastMenu))
{
this->DrawToolTip(13, 420, "System");
}
if (this->CheckWindow(FastMenu))
{
gInterface.DrawButton(eFastMenu, 5, 432, 0.0, 0.0);
}

}

void Interface::EventMenuButton(DWORD Event)
{
DWORD CurrentTick = GetTickCount();
if (this->CheckWindow(ChaosBox))
{
return;
}

if (IsWorkZone(eFastMenu))
{
DWORD Delay = (CurrentTick - this->Data[eFastMenu].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eFastMenu].OnClick = true;
return;
}
this->Data[eFastMenu].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eFastMenu].EventTick = GetTickCount();
if (this->CheckWindow(FastMenu)) {
this->CloseWindow(FastMenu);
}
else {
this->OpenWindow(FastMenu);
}
}
else if (IsWorkZone(eParty))
{
DWORD Delay = (CurrentTick - this->Data[eParty].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eParty].OnClick = true;
return;
}
this->Data[eParty].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eParty].EventTick = GetTickCount();
if (this->CheckWindow(Party)) {
this->CloseWindow(Party);
}
else {
this->OpenWindow(Party);
}
}

else if (IsWorkZone(eCharacter))
{
DWORD Delay = (CurrentTick - this->Data[eCharacter].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eCharacter].OnClick = true;
return;
}
this->Data[eCharacter].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eCharacter].EventTick = GetTickCount();
if (this->CheckWindow(Character)) {
this->CloseWindow(Character);
}
else {
this->OpenWindow(Character);
}
}
else if (IsWorkZone(eInventory))
{
DWORD Delay = (CurrentTick - this->Data[eInventory].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eInventory].OnClick = true;
return;
}
this->Data[eInventory].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eInventory].EventTick = GetTickCount();
if (this->CheckWindow(Inventory)) {
this->CloseWindow(Inventory);
}
else {
this->OpenWindow(Inventory);
}
}
else if (IsWorkZone(eShop))
{
DWORD Delay = (CurrentTick - this->Data[eFriend].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eShop].OnClick = true;
return;
}
this->Data[eShop].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eShop].EventTick = GetTickCount();
if (this->CheckWindow(CashShop)) {
this->CloseWindow(CashShop);
}
else {
this->OpenWindow(CashShop);
}
}
else if (IsWorkZone(eFriend))
{
DWORD Delay = (CurrentTick - this->Data[eFriend].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eFriend].OnClick = true;
return;
}
this->Data[eFriend].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eFriend].EventTick = GetTickCount();
if (this->CheckWindow(FriendList)) {
this->CloseWindow(FriendList);
}
else {
this->OpenWindow(FriendList);
}
}
else if (IsWorkZone(eGuild))
{
DWORD Delay = (CurrentTick - this->Data[eGuild].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eGuild].OnClick = true;
return;
}
this->Data[eGuild].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eGuild].EventTick = GetTickCount();
if (this->CheckWindow(Guild)) {
this->CloseWindow(Guild);
}
else {
this->OpenWindow(Guild);
}
}
}

Gracias:


Offline Jhonny Sales #69 Posteado: July 16, 2019, 07:58:34 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 9
  • Gracias recibida: 3
  • br
Se me avía olvidado, Acá dejo lo que falta.

Interface.h
Code: [Select]
		eCharacter,
eInventory,
eParty,
eFriend,
eFastMenu,
eShop,
eGuild,


Interface.cpp
Code: [Select]

this->BindObject(eParty, iNewParty, 25, 25, 348, 449);
this->BindObject(eCharacter, iNewCharacter, 25, 25, 379, 449);
this->BindObject(eInventory, iNewInventory, 25, 25, 409, 449);
this->BindObject(eShop, 0x908, 25, 25, 440, 449);
this->BindObject(eFriend, iNewWinpush, 54, 20, 581, 432);
this->BindObject(eFastMenu, iNewFastMenu, 55, 21, 5, 432);
this->BindObject(eGuild, 0x904, 54, 20, 581, 454);


pLoadImage("Interface\\Custom\\MenuS3_left.jpg", 31292, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\MenuS3_middle.jpg", 31293, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\MenuS3_right.jpg", 31294, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\none.tga", 31295, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\MenuS3_Red.jpg", 0x7A42, GL_LINEAR, GL_CLAMP, 1, 0);//replace
pLoadImage("Interface\\Custom\\MenuS3_Green.jpg", 0x7A41, GL_LINEAR, GL_CLAMP, 1, 0);//replace
pLoadImage("Interface\\Custom\\MenuS3_Blue.jpg", 0x7A40, GL_LINEAR, GL_CLAMP, 1, 0);//replace
pLoadImage("Interface\\Custom\\MenuS3_Inventory.jpg", iNewInventory, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_Character.jpg", iNewCharacter, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_Party.jpg", iNewParty, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_friend.jpg", iNewWinpush, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_fastmenu.jpg", iNewFastMenu, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_ChasShop.jpg", 0x908, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_Guild.jpg", 0x904, GL_LINEAR, GL_CLAMP, 1, 0);



void Interface::DrawMenuButton()
{
if (IsWorkZone(eParty))
{
this->DrawToolTip(345, 420, "Party");
}
if (this->CheckWindow(Party))
{
gInterface.DrawButton(eParty, 348, 449, 0.0, 0.0);
}
if (IsWorkZone(eCharacter))
{
this->DrawToolTip(375, 420, "Character");
}
if (this->CheckWindow(Character))
{
gInterface.DrawButton(eCharacter, 378.5f, 449, 0.0, 0.0);
}
if (IsWorkZone(eInventory))
{
this->DrawToolTip(405, 420, "Inventory");
}
if (this->CheckWindow(Inventory))
{
gInterface.DrawButton(eInventory, 409, 449, 0.0, 0.0);
}
if (IsWorkZone(eShop))
{
this->DrawToolTip(430, 420, "CashShop");
}
if (this->CheckWindow(CashShop))
{
gInterface.DrawButton(eShop, 439.5f, 449, 0.0, 0.0);
}
if (IsWorkZone(eFriend))
{
this->DrawToolTip(580, 420, "Friends");
}
if (this->CheckWindow(FriendList))
{
gInterface.DrawButton(eFriend, 581, 432, 0.0, 0.0);
}
if (IsWorkZone(eGuild))
{
this->DrawToolTip(580, 444, "Guild");
}
if (this->CheckWindow(Guild))
{
gInterface.DrawButton(eGuild, 581, 454, 0.0, 0.0);
}
if (IsWorkZone(eFastMenu))
{
this->DrawToolTip(13, 420, "System");
}
if (this->CheckWindow(FastMenu))
{
gInterface.DrawButton(eFastMenu, 5, 432, 0.0, 0.0);
}

}

void Interface::EventMenuButton(DWORD Event)
{
DWORD CurrentTick = GetTickCount();
if (this->CheckWindow(ChaosBox))
{
return;
}

if (IsWorkZone(eFastMenu))
{
DWORD Delay = (CurrentTick - this->Data[eFastMenu].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eFastMenu].OnClick = true;
return;
}
this->Data[eFastMenu].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eFastMenu].EventTick = GetTickCount();
if (this->CheckWindow(FastMenu)) {
this->CloseWindow(FastMenu);
}
else {
this->OpenWindow(FastMenu);
}
}
else if (IsWorkZone(eParty))
{
DWORD Delay = (CurrentTick - this->Data[eParty].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eParty].OnClick = true;
return;
}
this->Data[eParty].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eParty].EventTick = GetTickCount();
if (this->CheckWindow(Party)) {
this->CloseWindow(Party);
}
else {
this->OpenWindow(Party);
}
}

else if (IsWorkZone(eCharacter))
{
DWORD Delay = (CurrentTick - this->Data[eCharacter].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eCharacter].OnClick = true;
return;
}
this->Data[eCharacter].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eCharacter].EventTick = GetTickCount();
if (this->CheckWindow(Character)) {
this->CloseWindow(Character);
}
else {
this->OpenWindow(Character);
}
}
else if (IsWorkZone(eInventory))
{
DWORD Delay = (CurrentTick - this->Data[eInventory].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eInventory].OnClick = true;
return;
}
this->Data[eInventory].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eInventory].EventTick = GetTickCount();
if (this->CheckWindow(Inventory)) {
this->CloseWindow(Inventory);
}
else {
this->OpenWindow(Inventory);
}
}
else if (IsWorkZone(eShop))
{
DWORD Delay = (CurrentTick - this->Data[eShop].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eShop].OnClick = true;
return;
}
this->Data[eShop].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eShop].EventTick = GetTickCount();
CashShopSwitchState();
}
else if (IsWorkZone(eFriend))
{
DWORD Delay = (CurrentTick - this->Data[eFriend].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eFriend].OnClick = true;
return;
}
this->Data[eFriend].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eFriend].EventTick = GetTickCount();
if (this->CheckWindow(FriendList)) {
this->CloseWindow(FriendList);
}
else {
this->OpenWindow(FriendList);
}
}
else if (IsWorkZone(eGuild))
{
DWORD Delay = (CurrentTick - this->Data[eGuild].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eGuild].OnClick = true;
return;
}
this->Data[eGuild].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eGuild].EventTick = GetTickCount();
if (this->CheckWindow(Guild)) {
this->CloseWindow(Guild);
}
else {
this->OpenWindow(Guild);
}
}
}


pode me ajudar estou come sse erro no cashshop

https://imgur.com/a/i75Ti17


Offline spartacus #70 Posteado: July 20, 2019, 05:06:24 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 265
  • Gracias recibida: 127
  • cl


@Kapocha33 o alguien que entienda el tema, puede ayudarme a dejar esta barra de XP en el color correcto?
porque ella esta consiguiendo ese extraño color


Offline MaxVoll #71 Posteado: July 22, 2019, 03:51:28 PM | Modificado: July 23, 2019, 05:26:58 PM by MaxVoll

  • C++ Coder
  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 276
  • Gracias recibida: 6063
  • ve
para colocar las coordenadas del personaje en la interface s3 aca les dejo el codigo

up

modificado para usar con el source del post.. :)



Offline spartacus #72 Posteado: July 22, 2019, 05:01:37 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 265
  • Gracias recibida: 127
  • cl
Muy bien lo necesitaba @MaxVoll , muchas gracias!
podría decirme cómo solucionar mi problema allí con la barra de herramientas de XP?


Offline mu-dev #73 Posteado: July 22, 2019, 05:07:43 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 1
  • Gracias recibida: 0
  • br
para colocar las coordenadas del personaje en la interface s3 aca les dejo el codigo
 

quando vou utilizar esse codigo ele remove completamente meu EXP  SetCompleteHook(0xE8, 0x0080F865, &DrawCoord);


E TAMBEM NAO CONSIGO MUDAR A COR DAS CORDENADAS


Offline spartacus #74 Posteado: July 22, 2019, 05:54:07 PM | Modificado: July 22, 2019, 05:56:33 PM by spartacus

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 265
  • Gracias recibida: 127
  • cl
Está dando este error cuando intento compilar añadiendo esta linea
SetCompleteHook(0xE8, 0x0080F865,&DrawCoord);


Offline spartacus #75 Posteado: July 23, 2019, 09:45:08 PM | Modificado: July 23, 2019, 09:53:59 PM by spartacus

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 265
  • Gracias recibida: 127
  • cl


@MaxVoll Hice de acuerdo con la actualización que hiciste en la publicación y aún tengo problemas con xp que no muestra más ni el número ni la barra.



Offline PhantomKr #76 Posteado: July 27, 2019, 10:10:13 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 219
  • Gracias recibida: 2572
  • pe

Hello, does anyone know how to fix this error?

enum iInterface
{
   iNewCharacter = 0x7A48,
   iNewInventory = 0x7A49,
   iNewWinpush = 0x7A4A,
   iNewFastMenu = 0x7A4B,
   iNewSkillBox = 0x7A50,
};
hola a mi me falta estos me podrias ayudar
iDragonLeft
iDragonRight
iNewParty
te agradeceria mucho

Discord: JeanMois#3323

Offline Shaman #77 Posteado: July 28, 2019, 07:49:00 PM | Modificado: July 29, 2019, 11:31:10 AM by Shaman

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 67
  • Gracias recibida: 3194
  • ir
Alguien Podria Porfavor Reordenar Y Limpiar El Tema, Para Mejor Calidad Y Comodidad!!
@ZabiinoOo @MaxVoll @Kapocha33 @Yalc

Gracias:


Offline Alexander #78 Posteado: August 01, 2019, 10:34:52 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 340
  • Gracias recibida: 104
  • bo
Alguien que Ordene esta Source Porfavor, se lo agradeceriamos mucho :(

Gracias:


Offline AreS #79 Posteado: August 01, 2019, 11:57:11 AM

  • Diseñador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 358
  • Gracias recibida: 5091
  • bo
Sera posible que alguien lo pueda ordenar? Para ver como lo hacen.
ya que ando practicando Con las Sources de Mu y algunos somos nuevos en esto. :D

Gracias:


Offline Yalc #80 Posteado: August 01, 2019, 04:49:29 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 230
  • Gracias recibida: 6533
  • ve

Hello, does anyone know how to fix this error?

enum iInterface
{
   iNewCharacter = 0x7A48,
   iNewInventory = 0x7A49,
   iNewWinpush = 0x7A4A,
   iNewFastMenu = 0x7A4B,
   iNewSkillBox = 0x7A50,
};
hola a mi me falta estos me podrias ayudar
iDragonLeft
iDragonRight
iNewParty
te agradeceria mucho

enum iInterface
{
   iNewCharacter = 0x7A48,
   iNewInventory = 0x7A49,
   iNewWinpush = 0x7A4A,
   iNewFastMenu = 0x7A4B,
   iNewSkillBox = 0x7A50,
   iNewParty = 0x910,
};

Gracias:


Offline Yalc #81 Posteado: August 01, 2019, 05:13:54 PM | Modificado: August 04, 2019, 06:14:25 PM by Yalc

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 230
  • Gracias recibida: 6533
  • ve
Para quienes lo querían ordenado, si falta algo avisen que en cuento pueda lo coloco aca

Funciona en main 1.04e (Muemu)

Los detalles que faltaban también los dejo acá

El dragon a los lados no lo pidan que no lo tengo

Inter3.h
Code: [Select]
#pragma once

#define pDrawInterfaceNumBer   ((double(__stdcall*)(float X, float Y, int num, float size)) 0x854FE0)

enum iInterface
{
   iNewCharacter = 0x7A48,
   iNewInventory = 0x7A49,
   iNewWinpush = 0x7A4A,
   iNewFastMenu = 0x7A4B,
   iNewSkillBox = 0x7A50,
   iNewParty = 0x910,
};

void InitInter3();
static void DrawCoord();

Inter3.cpp
Code: [Select]
#include "stdafx.h"
#include "Inter3.h"
#include "Defines.h"
#include "TMemory.h"
#include "User.h"
#include "Offset.h"
#include "Import.h"

__declspec(naked) void AGPosition()
{
static float AGPositionW = 13.0f;
static float AGPositionH = 39.0f;
static float AGPositionX = 552.0f;
static float AGPositionY = 435.0f;
static DWORD AGPosition_buff = 0x008102AD;
_asm
{
FLD DWORD PTR DS:[AGPositionW]
FSTP DWORD PTR SS:[EBP-0x18]
FLD DWORD PTR DS:[AGPositionH]
FSTP DWORD PTR SS:[EBP-0x14]
FLD DWORD PTR DS:[AGPositionX]
FSTP DWORD PTR SS:[EBP-0x10]
FLD DWORD PTR DS:[AGPositionY]
FSTP DWORD PTR SS:[EBP-0x0C]
jmp [AGPosition_buff]
}
}
__declspec(naked) void SDPosition()
{
static float SDPositionW = 14.0f;
static float SDPositionH = 39.0f;
static float SDPositionX = 73.0f;
static float SDPositionY = 435.0f;
static DWORD SDPosition_buff = 0x0081057D;
_asm
{
FLD DWORD PTR DS:[SDPositionW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[SDPositionH]
FSTP DWORD PTR SS:[EBP-0x1C]
FLD DWORD PTR DS:[SDPositionX]
FSTP DWORD PTR SS:[EBP-0x10]
FLD DWORD PTR DS:[SDPositionY]
FSTP DWORD PTR SS:[EBP-0x0C]
jmp [SDPosition_buff]
}
}
__declspec(naked) void MANAPosition()
{
static float MANAPositionW = 52.0f;
static float MANAPositionX = 489.0f;
static float MANAPositionH = 48.0f;
static float MANAPositionY = 429.0f;
static DWORD MANAPosition_buff = 0x0080FFD0;
_asm
{
FLD DWORD PTR DS:[MANAPositionW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[MANAPositionX]
FSTP DWORD PTR SS:[EBP-0x0C]
FLD DWORD PTR DS:[MANAPositionH]
FSTP DWORD PTR SS:[EBP-0x1C]
FLD DWORD PTR DS:[MANAPositionY]
FSTP DWORD PTR SS:[EBP-0x8]
jmp [MANAPosition_buff]
}
}
__declspec(naked) void HPPosition()
{
static float HPPositionW = 52.0f;
static float HPPositionX = 98.0f;
static float HPPositionH = 48.0f;
static float HPPositionY = 429.0f;
static DWORD HPPosition_buff = 0x0080FD7C;
_asm
{             
FLD DWORD PTR DS:[HPPositionW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[HPPositionX]
FSTP DWORD PTR SS:[EBP-0x0C]
FLD DWORD PTR DS:[HPPositionH]
FSTP DWORD PTR SS:[EBP-0x1C]
FLD DWORD PTR DS:[HPPositionY]
FSTP DWORD PTR SS:[EBP-0x8]
jmp [HPPosition_buff]
}
}

__declspec(naked) void UsingSkillPosition()
{
static float UsingSkillPositionX = 311.0f;
static float UsingSkillPositionY = 448.0f;
static float UsingSkillPositionW = 20.0f;
static float UsingSkillPositionH = 28.0f;
static DWORD UsingSkillPosition_buff = 0x00813900;
_asm
{
FLD DWORD PTR DS:[UsingSkillPositionX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[UsingSkillPositionY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[UsingSkillPositionW]
FSTP DWORD PTR SS:[EBP-0x18]
FLD DWORD PTR DS:[UsingSkillPositionH]
FSTP DWORD PTR SS:[EBP-0x14]
jmp [UsingSkillPosition_buff]
}
}
__declspec(naked) void SkillClickPosition()
{
static float SkillClickPositionX = 310.0f;
static float SkillClickPositionY = 431.0f;
static float SkillClickPositionW = 32.0f;
static float SkillClickPositionH = 38.0f;
static DWORD SkillClickPosition_buff = 0x00812734;
_asm
{
FLD DWORD PTR DS:[SkillClickPositionX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[SkillClickPositionY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[SkillClickPositionW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[SkillClickPositionH]
FSTP DWORD PTR SS:[EBP-0x1C]
jmp [SkillClickPosition_buff]
}
}
__declspec(naked) void SkillBarDrawPosition()
{
static float SkillBarDrawPositionX = 222.0f;
static float SkillBarDrawPositionY = 480.0f;
static float SkillBarDrawPositionW = 160.0f;
static float SkillBarDrawPositionH = 38.0f;
static DWORD SkillBarDrawPosition_buff = 0x00812968;
_asm
{
FLD DWORD PTR DS:[SkillBarDrawPositionX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[SkillBarDrawPositionY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[SkillBarDrawPositionW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[SkillBarDrawPositionH]
FSTP DWORD PTR SS:[EBP-0x1C]
jmp [SkillBarDrawPosition_buff]
}
}
__declspec(naked) void SkillSwitchDraw()
{
static float SkillSwitchDrawX = 385.0f;
static float SkillSwitchDrawY = 380.0f;
static float SkillSwitchDrawW = 32.0f;
static float SkillSwitchDrawH = 38.0f;
static float SkillSwitchDrawMW = 385.0f;
static DWORD SkillSwitchDraw_buff = 0x008139CA;
_asm
{
FLD DWORD PTR DS:[SkillSwitchDrawX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[SkillSwitchDrawY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[SkillSwitchDrawW]
FSTP DWORD PTR SS:[EBP-0x18]
FLD DWORD PTR DS:[SkillSwitchDrawH]
FSTP DWORD PTR SS:[EBP-0x14]
FLD DWORD PTR DS:[SkillSwitchDrawMW]
FSTP DWORD PTR SS:[EBP-0x24]
jmp [SkillSwitchDraw_buff]
}
}
__declspec(naked) void SkillSwitchClick()
{
static float SkillSwitchDrawX = 385.0f;
static float SkillSwitchDrawY = 380.0f;
static float SkillSwitchDrawW = 32.0f;
static float SkillSwitchDrawH = 38.0f;
static float SkillSwitchDrawMW = 385.0f;
static DWORD SkillSwitchClick_buff = 0x00812D69;
_asm
{
FLD DWORD PTR DS:[SkillSwitchDrawX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[SkillSwitchDrawY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[SkillSwitchDrawW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[SkillSwitchDrawH]
FSTP DWORD PTR SS:[EBP-0x1C]
FLD DWORD PTR DS:[SkillSwitchDrawMW]
FSTP DWORD PTR SS:[EBP-0x14]
jmp [SkillSwitchClick_buff]
}
}
__declspec(naked) void QPosition1()
{
static float BarNumberY = 445.0f;
static DWORD QPosition1_buff = 0x00895A4F;
_asm
{
FLD DWORD PTR DS:[BarNumberY]
FSTP DWORD PTR SS:[ESP]
jmp [QPosition1_buff]
}
}
__declspec(naked) void QPosition2()
{
static float QPosition2X = 227.0f;
static DWORD QPosition2_buff = 0x00895A59;
_asm
{
FLD DWORD PTR DS:[QPosition2X]
FSTP DWORD PTR SS:[ESP]
jmp [QPosition2_buff]
}
}
__declspec(naked) void QPosition3()
{
static float BarPotionY = 453.0f;
static DWORD QPosition3_buff = 0x00895A63;
_asm
{
FLD DWORD PTR DS:[BarPotionY]
FSTP DWORD PTR SS:[ESP]
jmp [QPosition3_buff]
}
}
__declspec(naked) void QPosition4()
{
static float QPosition4X = 210.0f;
static DWORD QPosition4_buff = 0x00895A6D;
_asm
{
FLD DWORD PTR DS:[QPosition4X]
FSTP DWORD PTR SS:[ESP]
jmp [QPosition4_buff]
}
}
__declspec(naked) void WPosition1()
{
static float BarNumberY = 445.0f;
static DWORD WPosition1_buff = 0x00895AC4;
_asm
{
FLD DWORD PTR DS:[BarNumberY]
FSTP DWORD PTR SS:[ESP]
jmp [WPosition1_buff]
}
}
__declspec(naked) void WPosition2()
{
static float WPosition2X = 257.0f;
static DWORD WPosition2_buff = 0x00895ACE;
_asm
{
FLD DWORD PTR DS:[WPosition2X]
FSTP DWORD PTR SS:[ESP]
jmp [WPosition2_buff]
}
}
__declspec(naked) void WPosition3()
{
static float BarPotionY = 453.0f;
static DWORD WPosition3_buff = 0x00895AD8;
_asm
{
FLD DWORD PTR DS:[BarPotionY]
FSTP DWORD PTR SS:[ESP]
jmp [WPosition3_buff]
}
}
__declspec(naked) void WPosition4()
{
static float WPosition4X = 240.0f;
static DWORD WPosition4_buff = 0x00895AE2;
_asm
{
FLD DWORD PTR DS:[WPosition4X]
FSTP DWORD PTR SS:[ESP]
jmp [WPosition4_buff]
}
}
__declspec(naked) void EPosition1()
{
static float BarNumberY = 445.0f;
static DWORD EPosition1_buff = 0x00895B39;
_asm
{
FLD DWORD PTR DS:[BarNumberY]
FSTP DWORD PTR SS:[ESP]
jmp [EPosition1_buff]
}
}
__declspec(naked) void EPosition2()
{
static float EPosition2X = 287.0f;
static DWORD EPosition2_buff = 0x00895B43;
_asm
{
FLD DWORD PTR DS:[EPosition2X]
FSTP DWORD PTR SS:[ESP]
jmp [EPosition2_buff]
}
}
__declspec(naked) void EPosition3()
{
static float BarPotionY = 453.0f;
static DWORD EPosition3_buff = 0x00895B4D;
_asm
{
FLD DWORD PTR DS:[BarPotionY]
FSTP DWORD PTR SS:[ESP]
jmp [EPosition3_buff]
}
}
__declspec(naked) void EPosition4()
{
static float EPosition4X = 270.0f;
static DWORD EPosition4_buff = 0x00895B57;
_asm
{
FLD DWORD PTR DS:[EPosition4X]
FSTP DWORD PTR SS:[ESP]
jmp [EPosition4_buff]
}
}
__declspec(naked) void NopRShortKey()
{
static DWORD RButtonAddress = 0x00895C0C;
_asm{jmp RButtonAddress}
}
__declspec(naked) void HPNumberPosition()
{
DrawCoord();
static float HPNumberPositionX = 45.0f;
static DWORD HPNumberPosition_buff = 0x0080FF1E;
_asm
{
FADD DWORD PTR DS:[HPNumberPositionX]
FSTP DWORD PTR SS:[EBP-0x19C]
FLD DWORD PTR SS:[EBP-0x19C]
jmp [HPNumberPosition_buff]
}
}
__declspec(naked) void MasterButton()
{
static DWORD MasterButtonAddress1 = 0x0077ED20;
_asm
{
jmp [MasterButtonAddress1]
}
}
__declspec(naked) void HelperAll()
{
static DWORD HelperStopAddress1 = 0x007D28B4;
_asm
{
jmp [HelperStopAddress1]
}
}

//EXP
__declspec(naked) void EXP1()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXP1_buff = 0x00811408;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD DWORD PTR SS:[EBP-0x1B0]
   FMUL QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   jmp [EXP1_buff]
   }
}

__declspec(naked) void EXP2()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXP2_buff = 0x00811552;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD DWORD PTR SS:[EBP-0x1C4]
   FMUL QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   jmp [EXP2_buff]
   }
}

__declspec(naked) void EXP3()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXP3_buff = 0x00811719;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD DWORD PTR SS:[EBP-0x1B0]
   FMUL QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   jmp [EXP3_buff]
   }
}

__declspec(naked) void EXP4()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXP4_buff = 0x0081181F;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   FLD QWORD PTR SS:[EBP-0x20]
   jmp [EXP4_buff]
   }
}

//EXP MASTER
__declspec(naked) void EXPMASTER1()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXPMASTER1_buff = 0x00810B6E;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD QWORD PTR SS:[EBP-0x58]
   FMUL QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   jmp [EXPMASTER1_buff]
   }
}

__declspec(naked) void EXPMASTER2()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXPMASTER2_buff = 0x00810CB5;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD QWORD PTR SS:[EBP-0x88]
   FMUL QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   jmp [EXPMASTER2_buff]
   }
}

__declspec(naked) void EXPMASTER3()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXPMASTER3_buff = 0x00810E79;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD QWORD PTR SS:[EBP-0x58]
   FMUL QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   jmp [EXPMASTER3_buff]
   }
}

__declspec(naked) void EXPMASTER4()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXPMASTER4_buff = 0x00810F73;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   jmp [EXPMASTER4_buff]
   }
}

void DrawCoord()
{

lpCharObj lpObj = (lpCharObj)oUserObjectStruct;

if (*(DWORD*)MAIN_SCREEN_STATE == 5)
{

glColor3f(1.0f, 1.0f, 1.0f);
pDrawInterfaceNumBer(23, 460, gObjUser.lpViewPlayer->MapPosX, 1);
pDrawInterfaceNumBer(46, 460, gObjUser.lpViewPlayer->MapPosY, 1);

}
}

void InitInter3()
{
SetRange((LPVOID)0x0080F270, 0x4D1, ASM::NOP);//-> Interface -> Draw Button
//-
SetByte((PVOID)(0x008137AF + 3), 0);
SetByte((PVOID)(0x008119A7), 0xEB);
SetRange((LPVOID)0x00811AC0, 0xAC, ASM::NOP);
//-
SetRange((LPVOID)0x0081028C, 0x24, ASM::NOP);
SetOp((LPVOID)0x0081028C, (LPVOID)AGPosition, ASM::JMP);
//-
SetRange((LPVOID)0x0081055C, 0x24, ASM::NOP);
SetOp((LPVOID)0x0081055C, (LPVOID)SDPosition, ASM::JMP);
//-
SetRange((LPVOID)0x0080FFAF, 0x24, ASM::NOP);
SetOp((LPVOID)0x0080FFAF, (LPVOID)MANAPosition, ASM::JMP);
//-
SetRange((LPVOID)0x0080FD5B, 0x24, ASM::NOP);
SetOp((LPVOID)0x0080FD5B, (LPVOID)HPPosition, ASM::JMP);
//-
SetRange((LPVOID)0x008138DF, 0x24, ASM::NOP);
SetOp((LPVOID)0x008138DF, (LPVOID)UsingSkillPosition, ASM::JMP);
//-
SetRange((LPVOID)0x00812713, 0x24, ASM::NOP);
SetOp((LPVOID)0x00812713, (LPVOID)SkillClickPosition, ASM::JMP);
//-
SetRange((LPVOID)0x00812947, 0x24, ASM::NOP);
SetOp((LPVOID)0x00812947, (LPVOID)SkillBarDrawPosition, ASM::JMP);
//-
SetRange((LPVOID)0x008139A0, 0x2D, ASM::NOP);
SetOp((LPVOID)0x008139A0, (LPVOID)SkillSwitchDraw, ASM::JMP);
//-
SetRange((LPVOID)0x00812D3F, 0x2D, ASM::NOP);
SetOp((LPVOID)0x00812D3F, (LPVOID)SkillSwitchClick, ASM::JMP);
//-
SetRange((LPVOID)0x0080FF12, 0x12, ASM::NOP);
SetOp((LPVOID)0x0080FF12, (LPVOID)HPNumberPosition, ASM::JMP);
//-
SetRange((LPVOID)0x0077EC97, 0x88, ASM::NOP);
SetOp((LPVOID)0x0077EC97, (LPVOID)MasterButton, ASM::JMP);
//-
//->Q
SetRange((LPVOID)0x00895A49, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895A49, (LPVOID)QPosition1, ASM::JMP);
//-
SetRange((LPVOID)0x00895A53, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895A53, (LPVOID)QPosition2, ASM::JMP);
//-
SetRange((LPVOID)0x00895A5D, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895A5D, (LPVOID)QPosition3, ASM::JMP);
//-
SetRange((LPVOID)0x00895A67, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895A67, (LPVOID)QPosition4, ASM::JMP);
//->W
SetRange((LPVOID)0x00895ABE, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895ABE, (LPVOID)WPosition1, ASM::JMP);
//-
SetRange((LPVOID)0x00895AC8, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895AC8, (LPVOID)WPosition2, ASM::JMP);
//-
SetRange((LPVOID)0x00895AD2, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895AD2, (LPVOID)WPosition3, ASM::JMP);
//-
SetRange((LPVOID)0x00895ADC, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895ADC, (LPVOID)WPosition4, ASM::JMP);
//-
//->E
SetRange((LPVOID)0x00895B33, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895B33, (LPVOID)EPosition1, ASM::JMP);
//-
SetRange((LPVOID)0x00895B3D, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895B3D, (LPVOID)EPosition2, ASM::JMP);
//-
SetRange((LPVOID)0x00895B47, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895B47, (LPVOID)EPosition3, ASM::JMP);
//-
SetRange((LPVOID)0x00895B51, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895B51, (LPVOID)EPosition4, ASM::JMP);
//-
//->R
SetRange((LPVOID)0x00895B8D, 0x7E, ASM::NOP);
SetOp((LPVOID)0x00895B8D, (LPVOID)NopRShortKey, ASM::JMP);

/*SetRange((LPVOID)0x007D25C3, 0x2F0, ASM::NOP);
SetOp((LPVOID)0x007D25C3, (LPVOID)HelperAll, ASM::JMP);*/

//EXP
    SetRange((LPVOID)0x008113DE, 5, ASM::NOP);
    SetOp((LPVOID)0x008113DE, (LPVOID)EXP1, ASM::JMP);
    SetRange((LPVOID)0x00811528, 5, ASM::NOP);
    SetOp((LPVOID)0x00811528, (LPVOID)EXP2, ASM::JMP);
    SetRange((LPVOID)0x008116EF, 5, ASM::NOP);
    SetOp((LPVOID)0x008116EF, (LPVOID)EXP3, ASM::JMP);
    SetRange((LPVOID)0x008117F8, 5, ASM::NOP);
    SetOp((LPVOID)0x008117F8, (LPVOID)EXP4, ASM::JMP);

//EXPMASTER
    SetRange((LPVOID)0x00810B47, 5, ASM::NOP);
  SetOp((LPVOID)0x00810B47, (LPVOID)EXPMASTER1, ASM::JMP);
    SetRange((LPVOID)0x00810C8B, 5, ASM::NOP);
    SetOp((LPVOID)0x00810C8B, (LPVOID)EXPMASTER2, ASM::JMP);
    SetRange((LPVOID)0x00810E52, 5, ASM::NOP);
    SetOp((LPVOID)0x00810E52, (LPVOID)EXPMASTER3, ASM::JMP);
    SetRange((LPVOID)0x00810F4F, 5, ASM::NOP);
    SetOp((LPVOID)0x00810F4F, (LPVOID)EXPMASTER4, ASM::JMP);

//Posicion Numero Exp
SetDouble((PVOID)(0x00D461C0), 425);
SetDouble((PVOID)(0x00D461B8), 431);
}

Import.h
Code: [Select]
//CashShop
#define sub_944E50_Addr ((char(*)()) 0x944E50)
#define sub_93F370_Addr ((void*(*)()) 0x93F370)
#define sub_93FCA0_Addr ((bool(__thiscall*)(int a1)) 0x93FCA0)
#define sub_93F600_Addr ((char(__thiscall*)(char* a1)) 0x93F600)
#define sub_93FD10_Addr ((bool(__thiscall*)(int a1)) 0x93FD10)
#define sub_93F950_Addr ((char(__thiscall*)(char* a1)) 0x93F950)
#define sub_941030_Addr ((int(__thiscall*)(BYTE* a1)) 0x941030)
#define sub_941000_Addr ((int(__thiscall*)(BYTE* a1)) 0x941000)
#define sub_944FE0_Addr ((void(__thiscall*)(BYTE *This, int a2, BYTE *a3)) 0x944FE0)
#define sub_9406C0_Addr ((char(__thiscall*)(BYTE* a1)) 0x9406C0)
#define sub_9406A0_Addr ((BYTE*(__thiscall*)(BYTE* a1, char a2)) 0x9406A0)
#define sub_8611E0_Addr ((int(__thiscall*)(DWORD* a1)) 0x8611E0)
#define sub_815130_Addr ((int(__thiscall*)(char *This, int a2, char a3)) 0x815130)
#define sub_861900_Addr ((int(__thiscall*)(int This)) 0x861900)

Protocol.h
Code: [Select]
bool CashShopSwitchState();

Protocol.cpp
Code: [Select]
Debe incluir Import.h

//Cashshop Fix
struct PMSG_CASH_SHOP_OPEN_RECV
{
#pragma pack(1)
PSBMSG_HEAD header; // C1:D2:02
BYTE OpenType;
#pragma pack()
};

void OpenCashShopSend(BYTE type)
{
PMSG_CASH_SHOP_OPEN_RECV pMsg;
pMsg.OpenType = type;
pMsg.header.set(0xD2,0x02,sizeof(pMsg));
DataSend((BYTE*)&pMsg,sizeof(pMsg));
}

bool CashShopSwitchState()
{
sub_861900_Addr((int)pWindowThis());

if ( !sub_944E50_Addr() )
return 0;

void* v48 = sub_93F370_Addr();

if ( sub_93FCA0_Addr((int)v48) == 1 )
{
if ( !sub_93F600_Addr((CHAR *)sub_93F370_Addr()) )
return 0;
}

if ( sub_93FD10_Addr((int)sub_93F370_Addr()) == 1 )
{
if ( sub_93F950_Addr((CHAR *)sub_93F370_Addr()) == 1 )
{
BYTE* v53 = (BYTE *)sub_941030_Addr((BYTE*)sub_93F370_Addr());
int v55 = sub_941000_Addr((BYTE*)sub_93F370_Addr());
BYTE* v57 = (BYTE *)sub_861900_Addr((int)pWindowThis());
sub_944FE0_Addr(v57, v55, v53);
}
}

if ( pCheckWindow(pWindowThis(), 65) )
{
OpenCashShopSend(1);
pCloseWindow(pWindowThis(), 65);
}
else
{
if ( !sub_9406C0_Addr((BYTE*)sub_93F370_Addr()) )
{
OpenCashShopSend(0);
sub_9406A0_Addr((BYTE*)sub_93F370_Addr(), 1);
char* v62 = (char *)sub_8611E0_Addr((DWORD*)pWindowThis());
sub_815130_Addr(v62, 0, 1);
}
}
}

Interface.cpp
Code: [Select]
	
En void Interface::Load() agregan

this->BindObject(eParty, iNewParty, 25, 25, 348, 449);
this->BindObject(eCharacter, iNewCharacter, 25, 25, 379, 449);
this->BindObject(eInventory, iNewInventory, 25, 25, 409, 449);
this->BindObject(eShop, 0x908, 25, 25, 440, 449);
this->BindObject(eFriend, iNewWinpush, 54, 20, 581, 432);
this->BindObject(eFastMenu, iNewFastMenu, 55, 21, 5, 432);
this->BindObject(eGuild, 0x904, 54, 20, 581, 454);

//=================

En void Interface::LoadImages() agregan

        pLoadImage("Interface\\Custom\\MenuS3_left.jpg", 31292, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\MenuS3_middle.jpg", 31293, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\MenuS3_right.jpg", 31294, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\none.tga", 31295, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\MenuS3_Red.jpg", 0x7A42, GL_LINEAR, GL_CLAMP, 1, 0);//replace
pLoadImage("Interface\\Custom\\MenuS3_Green.jpg", 0x7A41, GL_LINEAR, GL_CLAMP, 1, 0);//replace
pLoadImage("Interface\\Custom\\MenuS3_Blue.jpg", 0x7A40, GL_LINEAR, GL_CLAMP, 1, 0);//replace
pLoadImage("Interface\\Custom\\MenuS3_Inventory.jpg", iNewInventory, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_Character.jpg", iNewCharacter, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_Party.jpg", iNewParty, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_friend.jpg", iNewWinpush, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_fastmenu.jpg", iNewFastMenu, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_CashShop.jpg", 0x908, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_Guild.jpg", 0x904, GL_LINEAR, GL_CLAMP, 1, 0);

//=================

En Work() agregar

gInterface.DrawMenuButton();

//=================

void Interface::DrawMenuButton()
{
if (IsWorkZone(eParty))
{
this->DrawToolTip(345, 420, "Party");
}
if (this->CheckWindow(Party))
{
gInterface.DrawButton(eParty, 348, 449, 0.0, 0.0);
}
if (IsWorkZone(eCharacter))
{
this->DrawToolTip(375, 420, "Character");
}
if (this->CheckWindow(Character))
{
gInterface.DrawButton(eCharacter, 378.5f, 449, 0.0, 0.0);
}
if (IsWorkZone(eInventory))
{
this->DrawToolTip(405, 420, "Inventory");
}
if (this->CheckWindow(Inventory))
{
gInterface.DrawButton(eInventory, 409, 449, 0.0, 0.0);
}
if (IsWorkZone(eShop))
{
this->DrawToolTip(430, 420, "CashShop");
}
if (this->CheckWindow(CashShop))
{
gInterface.DrawButton(eShop, 439.5f, 449, 0.0, 0.0);
}
if (IsWorkZone(eFriend))
{
this->DrawToolTip(580, 420, "Friends");
}
if (this->CheckWindow(FriendList))
{
gInterface.DrawButton(eFriend, 581, 432, 0.0, 0.0);
}
if (IsWorkZone(eGuild))
{
this->DrawToolTip(580, 444, "Guild");
}
if (this->CheckWindow(Guild))
{
gInterface.DrawButton(eGuild, 581, 454, 0.0, 0.0);
}
if (IsWorkZone(eFastMenu))
{
this->DrawToolTip(13, 420, "System");
}
if (this->CheckWindow(FastMenu))
{
gInterface.DrawButton(eFastMenu, 5, 432, 0.0, 0.0);
}

}

//=================

void Interface::EventMenuButton(DWORD Event)
{
DWORD CurrentTick = GetTickCount();
if (this->CheckWindow(ChaosBox))
{
return;
}

if (IsWorkZone(eFastMenu))
{
DWORD Delay = (CurrentTick - this->Data[eFastMenu].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eFastMenu].OnClick = true;
return;
}
this->Data[eFastMenu].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eFastMenu].EventTick = GetTickCount();
if (this->CheckWindow(FastMenu)) {
this->CloseWindow(FastMenu);
}
else {
this->OpenWindow(FastMenu);
}
}
else if (IsWorkZone(eParty))
{
DWORD Delay = (CurrentTick - this->Data[eParty].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eParty].OnClick = true;
return;
}
this->Data[eParty].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eParty].EventTick = GetTickCount();
if (this->CheckWindow(Party)) {
this->CloseWindow(Party);
}
else {
this->OpenWindow(Party);
}
}

else if (IsWorkZone(eCharacter))
{
DWORD Delay = (CurrentTick - this->Data[eCharacter].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eCharacter].OnClick = true;
return;
}
this->Data[eCharacter].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eCharacter].EventTick = GetTickCount();
if (this->CheckWindow(Character)) {
this->CloseWindow(Character);
}
else {
this->OpenWindow(Character);
}
}
else if (IsWorkZone(eInventory))
{
DWORD Delay = (CurrentTick - this->Data[eInventory].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eInventory].OnClick = true;
return;
}
this->Data[eInventory].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eInventory].EventTick = GetTickCount();
if (this->CheckWindow(Inventory)) {
this->CloseWindow(Inventory);
}
else {
this->OpenWindow(Inventory);
}
}
else if (IsWorkZone(eShop))
{
DWORD Delay = (CurrentTick - this->Data[eFriend].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eShop].OnClick = true;
return;
}
this->Data[eShop].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eShop].EventTick = GetTickCount();
CashShopSwitchState();
}
else if (IsWorkZone(eFriend))
{
DWORD Delay = (CurrentTick - this->Data[eFriend].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eFriend].OnClick = true;
return;
}
this->Data[eFriend].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eFriend].EventTick = GetTickCount();
if (this->CheckWindow(FriendList)) {
this->CloseWindow(FriendList);
}
else {
this->OpenWindow(FriendList);
}
}
else if (IsWorkZone(eGuild))
{
DWORD Delay = (CurrentTick - this->Data[eGuild].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eGuild].OnClick = true;
return;
}
this->Data[eGuild].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eGuild].EventTick = GetTickCount();
if (this->CheckWindow(Guild)) {
this->CloseWindow(Guild);
}
else {
this->OpenWindow(Guild);
}
}
}


Interface.h
Code: [Select]
En enum ObjectID agregan

eSkillBox,
eDragonLeft,
eDragonRight,
eCharacter,
eInventory,
eParty,
eFriend,
eFastMenu,
eShop,
eGuild,

//=================
En class Interface en lo public agregan

void EventMenuButton(DWORD Event);
void DrawMenuButton();

Controller.cpp
Code: [Select]
En LRESULT Controller::Mouse agregan

gInterface.EventMenuButton(wParam);


Main.cpp
Code: [Select]
InitInter3();

Archivos de la interface

Password
tuservermu.com.ve


Offline AreS #82 Posteado: August 03, 2019, 11:00:33 AM

  • Diseñador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 358
  • Gracias recibida: 5091
  • bo
Citar
En void Interface::LoadImages() agregan

        pLoadImage("Interface\\Custom\\MenuS3_left.jpg", 31292, GL_LINEAR, GL_CLAMP, 1, 0); //replace
   pLoadImage("Interface\\Custom\\MenuS3_middle.jpg", 31293, GL_LINEAR, GL_CLAMP, 1, 0); //replace
   pLoadImage("Interface\\Custom\\MenuS3_right.jpg", 31294, GL_LINEAR, GL_CLAMP, 1, 0); //replace
   pLoadImage("Interface\\Custom\\none.tga", 31295, GL_LINEAR, GL_CLAMP, 1, 0); //replace
   pLoadImage("Interface\\Custom\\MenuS3_Red.jpg", 0x7A42, GL_LINEAR, GL_CLAMP, 1, 0);//replace
   pLoadImage("Interface\\Custom\\MenuS3_Green.jpg", 0x7A41, GL_LINEAR, GL_CLAMP, 1, 0);//replace
   pLoadImage("Interface\\Custom\\MenuS3_Blue.jpg", 0x7A40, GL_LINEAR, GL_CLAMP, 1, 0);//replace
   pLoadImage("Interface\\Custom\\MenuS3_Inventory.jpg", iNewInventory, GL_LINEAR, GL_CLAMP, 1, 0);
   pLoadImage("Interface\\Custom\\MenuS3_Character.jpg", iNewCharacter, GL_LINEAR, GL_CLAMP, 1, 0);
   pLoadImage("Interface\\Custom\\MenuS3_Party.jpg", iNewParty, GL_LINEAR, GL_CLAMP, 1, 0);
   pLoadImage("Interface\\Custom\\MenuS3_friend.jpg", iNewWinpush, GL_LINEAR, GL_CLAMP, 1, 0);
   pLoadImage("Interface\\Custom\\MenuS3_fastmenu.jpg", iNewFastMenu, GL_LINEAR, GL_CLAMP, 1, 0);
   pLoadImage("Interface\\Custom\\MenuS3_ChasShop.jpg", 0x908, GL_LINEAR, GL_CLAMP, 1, 0);
   pLoadImage("Interface\\Custom\\MenuS3_Guild.jpg", 0x904, GL_LINEAR, GL_CLAMP, 1, 0);

Que Interface estas usando ahi? podrias agregarlas eso mas xfa. :V


Offline PhantomKr #83 Posteado: August 03, 2019, 03:14:53 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 219
  • Gracias recibida: 2572
  • pe
Citar
En void Interface::LoadImages() agregan

        pLoadImage("Interface\\Custom\\MenuS3_left.jpg", 31292, GL_LINEAR, GL_CLAMP, 1, 0); //replace
   pLoadImage("Interface\\Custom\\MenuS3_middle.jpg", 31293, GL_LINEAR, GL_CLAMP, 1, 0); //replace
   pLoadImage("Interface\\Custom\\MenuS3_right.jpg", 31294, GL_LINEAR, GL_CLAMP, 1, 0); //replace
   pLoadImage("Interface\\Custom\\none.tga", 31295, GL_LINEAR, GL_CLAMP, 1, 0); //replace
   pLoadImage("Interface\\Custom\\MenuS3_Red.jpg", 0x7A42, GL_LINEAR, GL_CLAMP, 1, 0);//replace
   pLoadImage("Interface\\Custom\\MenuS3_Green.jpg", 0x7A41, GL_LINEAR, GL_CLAMP, 1, 0);//replace
   pLoadImage("Interface\\Custom\\MenuS3_Blue.jpg", 0x7A40, GL_LINEAR, GL_CLAMP, 1, 0);//replace
   pLoadImage("Interface\\Custom\\MenuS3_Inventory.jpg", iNewInventory, GL_LINEAR, GL_CLAMP, 1, 0);
   pLoadImage("Interface\\Custom\\MenuS3_Character.jpg", iNewCharacter, GL_LINEAR, GL_CLAMP, 1, 0);
   pLoadImage("Interface\\Custom\\MenuS3_Party.jpg", iNewParty, GL_LINEAR, GL_CLAMP, 1, 0);
   pLoadImage("Interface\\Custom\\MenuS3_friend.jpg", iNewWinpush, GL_LINEAR, GL_CLAMP, 1, 0);
   pLoadImage("Interface\\Custom\\MenuS3_fastmenu.jpg", iNewFastMenu, GL_LINEAR, GL_CLAMP, 1, 0);
   pLoadImage("Interface\\Custom\\MenuS3_ChasShop.jpg", 0x908, GL_LINEAR, GL_CLAMP, 1, 0);
   pLoadImage("Interface\\Custom\\MenuS3_Guild.jpg", 0x904, GL_LINEAR, GL_CLAMP, 1, 0);

Que Interface estas usando ahi? podrias agregarlas eso mas xfa. :V
te recomiendo sacarlo de la carpeta interface del cliente de xmu y solo comparas lineas y nombres de las imagenes

Discord: JeanMois#3323

Offline Yalc #84 Posteado: August 04, 2019, 01:25:58 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 230
  • Gracias recibida: 6533
  • ve
@AreS listo bro, dejo todo ordenado con sus respectivos archivos :D

Gracias:


Offline seedmaker #85 Posteado: August 04, 2019, 05:24:33 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 138
  • Gracias recibida: 701
  • ph
Para quienes lo querían ordenado, si falta algo avisen que en cuento pueda lo coloco aca

Los detalles que faltaban también los dejo acá

El dragon a los lados no lo pidan que no lo tengo

Inter3.h
Code: [Select]
#pragma once

#define pDrawInterfaceNumBer   ((double(__stdcall*)(float X, float Y, int num, float size)) 0x854FE0)

enum iInterface
{
   iNewCharacter = 0x7A48,
   iNewInventory = 0x7A49,
   iNewWinpush = 0x7A4A,
   iNewFastMenu = 0x7A4B,
   iNewSkillBox = 0x7A50,
   iNewParty = 0x910,
};

void InitInter3();
static void DrawCoord();

Inter3.cpp
Code: [Select]
#include "stdafx.h"
#include "Inter3.h"
#include "Defines.h"
#include "TMemory.h"
#include "User.h"
#include "Offset.h"
#include "Import.h"

__declspec(naked) void AGPosition()
{
static float AGPositionW = 13.0f;
static float AGPositionH = 39.0f;
static float AGPositionX = 552.0f;
static float AGPositionY = 435.0f;
static DWORD AGPosition_buff = 0x008102AD;
_asm
{
FLD DWORD PTR DS:[AGPositionW]
FSTP DWORD PTR SS:[EBP-0x18]
FLD DWORD PTR DS:[AGPositionH]
FSTP DWORD PTR SS:[EBP-0x14]
FLD DWORD PTR DS:[AGPositionX]
FSTP DWORD PTR SS:[EBP-0x10]
FLD DWORD PTR DS:[AGPositionY]
FSTP DWORD PTR SS:[EBP-0x0C]
jmp [AGPosition_buff]
}
}
__declspec(naked) void SDPosition()
{
static float SDPositionW = 14.0f;
static float SDPositionH = 39.0f;
static float SDPositionX = 73.0f;
static float SDPositionY = 435.0f;
static DWORD SDPosition_buff = 0x0081057D;
_asm
{
FLD DWORD PTR DS:[SDPositionW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[SDPositionH]
FSTP DWORD PTR SS:[EBP-0x1C]
FLD DWORD PTR DS:[SDPositionX]
FSTP DWORD PTR SS:[EBP-0x10]
FLD DWORD PTR DS:[SDPositionY]
FSTP DWORD PTR SS:[EBP-0x0C]
jmp [SDPosition_buff]
}
}
__declspec(naked) void MANAPosition()
{
static float MANAPositionW = 52.0f;
static float MANAPositionX = 489.0f;
static float MANAPositionH = 48.0f;
static float MANAPositionY = 429.0f;
static DWORD MANAPosition_buff = 0x0080FFD0;
_asm
{
FLD DWORD PTR DS:[MANAPositionW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[MANAPositionX]
FSTP DWORD PTR SS:[EBP-0x0C]
FLD DWORD PTR DS:[MANAPositionH]
FSTP DWORD PTR SS:[EBP-0x1C]
FLD DWORD PTR DS:[MANAPositionY]
FSTP DWORD PTR SS:[EBP-0x8]
jmp [MANAPosition_buff]
}
}
__declspec(naked) void HPPosition()
{
static float HPPositionW = 52.0f;
static float HPPositionX = 98.0f;
static float HPPositionH = 48.0f;
static float HPPositionY = 429.0f;
static DWORD HPPosition_buff = 0x0080FD7C;
_asm
{             
FLD DWORD PTR DS:[HPPositionW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[HPPositionX]
FSTP DWORD PTR SS:[EBP-0x0C]
FLD DWORD PTR DS:[HPPositionH]
FSTP DWORD PTR SS:[EBP-0x1C]
FLD DWORD PTR DS:[HPPositionY]
FSTP DWORD PTR SS:[EBP-0x8]
jmp [HPPosition_buff]
}
}

__declspec(naked) void UsingSkillPosition()
{
static float UsingSkillPositionX = 311.0f;
static float UsingSkillPositionY = 448.0f;
static float UsingSkillPositionW = 20.0f;
static float UsingSkillPositionH = 28.0f;
static DWORD UsingSkillPosition_buff = 0x00813900;
_asm
{
FLD DWORD PTR DS:[UsingSkillPositionX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[UsingSkillPositionY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[UsingSkillPositionW]
FSTP DWORD PTR SS:[EBP-0x18]
FLD DWORD PTR DS:[UsingSkillPositionH]
FSTP DWORD PTR SS:[EBP-0x14]
jmp [UsingSkillPosition_buff]
}
}
__declspec(naked) void SkillClickPosition()
{
static float SkillClickPositionX = 310.0f;
static float SkillClickPositionY = 431.0f;
static float SkillClickPositionW = 32.0f;
static float SkillClickPositionH = 38.0f;
static DWORD SkillClickPosition_buff = 0x00812734;
_asm
{
FLD DWORD PTR DS:[SkillClickPositionX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[SkillClickPositionY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[SkillClickPositionW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[SkillClickPositionH]
FSTP DWORD PTR SS:[EBP-0x1C]
jmp [SkillClickPosition_buff]
}
}
__declspec(naked) void SkillBarDrawPosition()
{
static float SkillBarDrawPositionX = 222.0f;
static float SkillBarDrawPositionY = 480.0f;
static float SkillBarDrawPositionW = 160.0f;
static float SkillBarDrawPositionH = 38.0f;
static DWORD SkillBarDrawPosition_buff = 0x00812968;
_asm
{
FLD DWORD PTR DS:[SkillBarDrawPositionX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[SkillBarDrawPositionY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[SkillBarDrawPositionW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[SkillBarDrawPositionH]
FSTP DWORD PTR SS:[EBP-0x1C]
jmp [SkillBarDrawPosition_buff]
}
}
__declspec(naked) void SkillSwitchDraw()
{
static float SkillSwitchDrawX = 385.0f;
static float SkillSwitchDrawY = 380.0f;
static float SkillSwitchDrawW = 32.0f;
static float SkillSwitchDrawH = 38.0f;
static float SkillSwitchDrawMW = 385.0f;
static DWORD SkillSwitchDraw_buff = 0x008139CA;
_asm
{
FLD DWORD PTR DS:[SkillSwitchDrawX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[SkillSwitchDrawY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[SkillSwitchDrawW]
FSTP DWORD PTR SS:[EBP-0x18]
FLD DWORD PTR DS:[SkillSwitchDrawH]
FSTP DWORD PTR SS:[EBP-0x14]
FLD DWORD PTR DS:[SkillSwitchDrawMW]
FSTP DWORD PTR SS:[EBP-0x24]
jmp [SkillSwitchDraw_buff]
}
}
__declspec(naked) void SkillSwitchClick()
{
static float SkillSwitchDrawX = 385.0f;
static float SkillSwitchDrawY = 380.0f;
static float SkillSwitchDrawW = 32.0f;
static float SkillSwitchDrawH = 38.0f;
static float SkillSwitchDrawMW = 385.0f;
static DWORD SkillSwitchClick_buff = 0x00812D69;
_asm
{
FLD DWORD PTR DS:[SkillSwitchDrawX]
FSTP DWORD PTR SS:[EBP-0x8]
FLD DWORD PTR DS:[SkillSwitchDrawY]
FSTP DWORD PTR SS:[EBP-0x4]
FLD DWORD PTR DS:[SkillSwitchDrawW]
FSTP DWORD PTR SS:[EBP-0x20]
FLD DWORD PTR DS:[SkillSwitchDrawH]
FSTP DWORD PTR SS:[EBP-0x1C]
FLD DWORD PTR DS:[SkillSwitchDrawMW]
FSTP DWORD PTR SS:[EBP-0x14]
jmp [SkillSwitchClick_buff]
}
}
__declspec(naked) void QPosition1()
{
static float BarNumberY = 445.0f;
static DWORD QPosition1_buff = 0x00895A4F;
_asm
{
FLD DWORD PTR DS:[BarNumberY]
FSTP DWORD PTR SS:[ESP]
jmp [QPosition1_buff]
}
}
__declspec(naked) void QPosition2()
{
static float QPosition2X = 227.0f;
static DWORD QPosition2_buff = 0x00895A59;
_asm
{
FLD DWORD PTR DS:[QPosition2X]
FSTP DWORD PTR SS:[ESP]
jmp [QPosition2_buff]
}
}
__declspec(naked) void QPosition3()
{
static float BarPotionY = 453.0f;
static DWORD QPosition3_buff = 0x00895A63;
_asm
{
FLD DWORD PTR DS:[BarPotionY]
FSTP DWORD PTR SS:[ESP]
jmp [QPosition3_buff]
}
}
__declspec(naked) void QPosition4()
{
static float QPosition4X = 210.0f;
static DWORD QPosition4_buff = 0x00895A6D;
_asm
{
FLD DWORD PTR DS:[QPosition4X]
FSTP DWORD PTR SS:[ESP]
jmp [QPosition4_buff]
}
}
__declspec(naked) void WPosition1()
{
static float BarNumberY = 445.0f;
static DWORD WPosition1_buff = 0x00895AC4;
_asm
{
FLD DWORD PTR DS:[BarNumberY]
FSTP DWORD PTR SS:[ESP]
jmp [WPosition1_buff]
}
}
__declspec(naked) void WPosition2()
{
static float WPosition2X = 257.0f;
static DWORD WPosition2_buff = 0x00895ACE;
_asm
{
FLD DWORD PTR DS:[WPosition2X]
FSTP DWORD PTR SS:[ESP]
jmp [WPosition2_buff]
}
}
__declspec(naked) void WPosition3()
{
static float BarPotionY = 453.0f;
static DWORD WPosition3_buff = 0x00895AD8;
_asm
{
FLD DWORD PTR DS:[BarPotionY]
FSTP DWORD PTR SS:[ESP]
jmp [WPosition3_buff]
}
}
__declspec(naked) void WPosition4()
{
static float WPosition4X = 240.0f;
static DWORD WPosition4_buff = 0x00895AE2;
_asm
{
FLD DWORD PTR DS:[WPosition4X]
FSTP DWORD PTR SS:[ESP]
jmp [WPosition4_buff]
}
}
__declspec(naked) void EPosition1()
{
static float BarNumberY = 445.0f;
static DWORD EPosition1_buff = 0x00895B39;
_asm
{
FLD DWORD PTR DS:[BarNumberY]
FSTP DWORD PTR SS:[ESP]
jmp [EPosition1_buff]
}
}
__declspec(naked) void EPosition2()
{
static float EPosition2X = 287.0f;
static DWORD EPosition2_buff = 0x00895B43;
_asm
{
FLD DWORD PTR DS:[EPosition2X]
FSTP DWORD PTR SS:[ESP]
jmp [EPosition2_buff]
}
}
__declspec(naked) void EPosition3()
{
static float BarPotionY = 453.0f;
static DWORD EPosition3_buff = 0x00895B4D;
_asm
{
FLD DWORD PTR DS:[BarPotionY]
FSTP DWORD PTR SS:[ESP]
jmp [EPosition3_buff]
}
}
__declspec(naked) void EPosition4()
{
static float EPosition4X = 270.0f;
static DWORD EPosition4_buff = 0x00895B57;
_asm
{
FLD DWORD PTR DS:[EPosition4X]
FSTP DWORD PTR SS:[ESP]
jmp [EPosition4_buff]
}
}
__declspec(naked) void NopRShortKey()
{
static DWORD RButtonAddress = 0x00895C0C;
_asm{jmp RButtonAddress}
}
__declspec(naked) void HPNumberPosition()
{
DrawCoord();
static float HPNumberPositionX = 45.0f;
static DWORD HPNumberPosition_buff = 0x0080FF1E;
_asm
{
FADD DWORD PTR DS:[HPNumberPositionX]
FSTP DWORD PTR SS:[EBP-0x19C]
FLD DWORD PTR SS:[EBP-0x19C]
jmp [HPNumberPosition_buff]
}
}
__declspec(naked) void MasterButton()
{
static DWORD MasterButtonAddress1 = 0x0077ED20;
_asm
{
jmp [MasterButtonAddress1]
}
}
__declspec(naked) void HelperAll()
{
static DWORD HelperStopAddress1 = 0x007D28B4;
_asm
{
jmp [HelperStopAddress1]
}
}

//EXP
__declspec(naked) void EXP1()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXP1_buff = 0x00811408;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD DWORD PTR SS:[EBP-0x1B0]
   FMUL QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   jmp [EXP1_buff]
   }
}

__declspec(naked) void EXP2()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXP2_buff = 0x00811552;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD DWORD PTR SS:[EBP-0x1C4]
   FMUL QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   jmp [EXP2_buff]
   }
}

__declspec(naked) void EXP3()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXP3_buff = 0x00811719;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD DWORD PTR SS:[EBP-0x1B0]
   FMUL QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   jmp [EXP3_buff]
   }
}

__declspec(naked) void EXP4()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXP4_buff = 0x0081181F;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   FLD QWORD PTR SS:[EBP-0x20]
   jmp [EXP4_buff]
   }
}

//EXP MASTER
__declspec(naked) void EXPMASTER1()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXPMASTER1_buff = 0x00810B6E;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD QWORD PTR SS:[EBP-0x58]
   FMUL QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   jmp [EXPMASTER1_buff]
   }
}

__declspec(naked) void EXPMASTER2()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXPMASTER2_buff = 0x00810CB5;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD QWORD PTR SS:[EBP-0x88]
   FMUL QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   jmp [EXPMASTER2_buff]
   }
}

__declspec(naked) void EXPMASTER3()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXPMASTER3_buff = 0x00810E79;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD QWORD PTR SS:[EBP-0x58]
   FMUL QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   jmp [EXPMASTER3_buff]
   }
}

__declspec(naked) void EXPMASTER4()
{
   static double Ancho = 221.0f;
   static double Alto = 435.9f;
   static double AnchoTex = 198.0f;
   static double AltoTex = 4.0f;
   static DWORD EXPMASTER4_buff = 0x00810F73;
   _asm
   {
   FLD QWORD PTR DS:[Ancho]
   FSTP QWORD PTR SS:[EBP-0x10]
   FLD QWORD PTR DS:[Alto]
   FSTP QWORD PTR SS:[EBP-0x8]
   FLD QWORD PTR DS:[AnchoTex]
   FSTP QWORD PTR SS:[EBP-0x28]
   FLD QWORD PTR DS:[AltoTex]
   FSTP QWORD PTR SS:[EBP-0x20]
   jmp [EXPMASTER4_buff]
   }
}

void DrawCoord()
{

lpCharObj lpObj = (lpCharObj)oUserObjectStruct;

if (*(DWORD*)MAIN_SCREEN_STATE == 5)
{

glColor3f(1.0f, 1.0f, 1.0f);
pDrawInterfaceNumBer(23, 460, gObjUser.lpViewPlayer->MapPosX, 1);
pDrawInterfaceNumBer(46, 460, gObjUser.lpViewPlayer->MapPosY, 1);

}
}

void InitInter3()
{
SetRange((LPVOID)0x0080F270, 0x4D1, ASM::NOP);//-> Interface -> Draw Button
//-
SetByte((PVOID)(0x008137AF + 3), 0);
SetByte((PVOID)(0x008119A7), 0xEB);
SetRange((LPVOID)0x00811AC0, 0xAC, ASM::NOP);
//-
SetRange((LPVOID)0x0081028C, 0x24, ASM::NOP);
SetOp((LPVOID)0x0081028C, (LPVOID)AGPosition, ASM::JMP);
//-
SetRange((LPVOID)0x0081055C, 0x24, ASM::NOP);
SetOp((LPVOID)0x0081055C, (LPVOID)SDPosition, ASM::JMP);
//-
SetRange((LPVOID)0x0080FFAF, 0x24, ASM::NOP);
SetOp((LPVOID)0x0080FFAF, (LPVOID)MANAPosition, ASM::JMP);
//-
SetRange((LPVOID)0x0080FD5B, 0x24, ASM::NOP);
SetOp((LPVOID)0x0080FD5B, (LPVOID)HPPosition, ASM::JMP);
//-
SetRange((LPVOID)0x008138DF, 0x24, ASM::NOP);
SetOp((LPVOID)0x008138DF, (LPVOID)UsingSkillPosition, ASM::JMP);
//-
SetRange((LPVOID)0x00812713, 0x24, ASM::NOP);
SetOp((LPVOID)0x00812713, (LPVOID)SkillClickPosition, ASM::JMP);
//-
SetRange((LPVOID)0x00812947, 0x24, ASM::NOP);
SetOp((LPVOID)0x00812947, (LPVOID)SkillBarDrawPosition, ASM::JMP);
//-
SetRange((LPVOID)0x008139A0, 0x2D, ASM::NOP);
SetOp((LPVOID)0x008139A0, (LPVOID)SkillSwitchDraw, ASM::JMP);
//-
SetRange((LPVOID)0x00812D3F, 0x2D, ASM::NOP);
SetOp((LPVOID)0x00812D3F, (LPVOID)SkillSwitchClick, ASM::JMP);
//-
SetRange((LPVOID)0x0080FF12, 0x12, ASM::NOP);
SetOp((LPVOID)0x0080FF12, (LPVOID)HPNumberPosition, ASM::JMP);
//-
SetRange((LPVOID)0x0077EC97, 0x88, ASM::NOP);
SetOp((LPVOID)0x0077EC97, (LPVOID)MasterButton, ASM::JMP);
//-
//->Q
SetRange((LPVOID)0x00895A49, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895A49, (LPVOID)QPosition1, ASM::JMP);
//-
SetRange((LPVOID)0x00895A53, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895A53, (LPVOID)QPosition2, ASM::JMP);
//-
SetRange((LPVOID)0x00895A5D, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895A5D, (LPVOID)QPosition3, ASM::JMP);
//-
SetRange((LPVOID)0x00895A67, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895A67, (LPVOID)QPosition4, ASM::JMP);
//->W
SetRange((LPVOID)0x00895ABE, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895ABE, (LPVOID)WPosition1, ASM::JMP);
//-
SetRange((LPVOID)0x00895AC8, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895AC8, (LPVOID)WPosition2, ASM::JMP);
//-
SetRange((LPVOID)0x00895AD2, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895AD2, (LPVOID)WPosition3, ASM::JMP);
//-
SetRange((LPVOID)0x00895ADC, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895ADC, (LPVOID)WPosition4, ASM::JMP);
//-
//->E
SetRange((LPVOID)0x00895B33, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895B33, (LPVOID)EPosition1, ASM::JMP);
//-
SetRange((LPVOID)0x00895B3D, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895B3D, (LPVOID)EPosition2, ASM::JMP);
//-
SetRange((LPVOID)0x00895B47, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895B47, (LPVOID)EPosition3, ASM::JMP);
//-
SetRange((LPVOID)0x00895B51, 0x9, ASM::NOP);
SetOp((LPVOID)0x00895B51, (LPVOID)EPosition4, ASM::JMP);
//-
//->R
SetRange((LPVOID)0x00895B8D, 0x7E, ASM::NOP);
SetOp((LPVOID)0x00895B8D, (LPVOID)NopRShortKey, ASM::JMP);

/*SetRange((LPVOID)0x007D25C3, 0x2F0, ASM::NOP);
SetOp((LPVOID)0x007D25C3, (LPVOID)HelperAll, ASM::JMP);*/

//EXP
    SetRange((LPVOID)0x008113DE, 5, ASM::NOP);
    SetOp((LPVOID)0x008113DE, (LPVOID)EXP1, ASM::JMP);
    SetRange((LPVOID)0x00811528, 5, ASM::NOP);
    SetOp((LPVOID)0x00811528, (LPVOID)EXP2, ASM::JMP);
    SetRange((LPVOID)0x008116EF, 5, ASM::NOP);
    SetOp((LPVOID)0x008116EF, (LPVOID)EXP3, ASM::JMP);
    SetRange((LPVOID)0x008117F8, 5, ASM::NOP);
    SetOp((LPVOID)0x008117F8, (LPVOID)EXP4, ASM::JMP);

//EXPMASTER
    SetRange((LPVOID)0x00810B47, 5, ASM::NOP);
  SetOp((LPVOID)0x00810B47, (LPVOID)EXPMASTER1, ASM::JMP);
    SetRange((LPVOID)0x00810C8B, 5, ASM::NOP);
    SetOp((LPVOID)0x00810C8B, (LPVOID)EXPMASTER2, ASM::JMP);
    SetRange((LPVOID)0x00810E52, 5, ASM::NOP);
    SetOp((LPVOID)0x00810E52, (LPVOID)EXPMASTER3, ASM::JMP);
    SetRange((LPVOID)0x00810F4F, 5, ASM::NOP);
    SetOp((LPVOID)0x00810F4F, (LPVOID)EXPMASTER4, ASM::JMP);

//Posicion Numero Exp
SetDouble((PVOID)(0x00D461C0), 425);
SetDouble((PVOID)(0x00D461B8), 431);
}

Interface.cpp
Code: [Select]
	
En void Interface::Load() agregan

this->BindObject(eParty, iNewParty, 25, 25, 348, 449);
this->BindObject(eCharacter, iNewCharacter, 25, 25, 379, 449);
this->BindObject(eInventory, iNewInventory, 25, 25, 409, 449);
this->BindObject(eShop, 0x908, 25, 25, 440, 449);
this->BindObject(eFriend, iNewWinpush, 54, 20, 581, 432);
this->BindObject(eFastMenu, iNewFastMenu, 55, 21, 5, 432);
this->BindObject(eGuild, 0x904, 54, 20, 581, 454);

//=================

En void Interface::LoadImages() agregan

        pLoadImage("Interface\\Custom\\MenuS3_left.jpg", 31292, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\MenuS3_middle.jpg", 31293, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\MenuS3_right.jpg", 31294, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\none.tga", 31295, GL_LINEAR, GL_CLAMP, 1, 0); //replace
pLoadImage("Interface\\Custom\\MenuS3_Red.jpg", 0x7A42, GL_LINEAR, GL_CLAMP, 1, 0);//replace
pLoadImage("Interface\\Custom\\MenuS3_Green.jpg", 0x7A41, GL_LINEAR, GL_CLAMP, 1, 0);//replace
pLoadImage("Interface\\Custom\\MenuS3_Blue.jpg", 0x7A40, GL_LINEAR, GL_CLAMP, 1, 0);//replace
pLoadImage("Interface\\Custom\\MenuS3_Inventory.jpg", iNewInventory, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_Character.jpg", iNewCharacter, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_Party.jpg", iNewParty, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_friend.jpg", iNewWinpush, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_fastmenu.jpg", iNewFastMenu, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_CashShop.jpg", 0x908, GL_LINEAR, GL_CLAMP, 1, 0);
pLoadImage("Interface\\Custom\\MenuS3_Guild.jpg", 0x904, GL_LINEAR, GL_CLAMP, 1, 0);

//=================

En Work() agregar

gInterface.DrawMenuButton();

//=================

void Interface::DrawMenuButton()
{
if (IsWorkZone(eParty))
{
this->DrawToolTip(345, 420, "Party");
}
if (this->CheckWindow(Party))
{
gInterface.DrawButton(eParty, 348, 449, 0.0, 0.0);
}
if (IsWorkZone(eCharacter))
{
this->DrawToolTip(375, 420, "Character");
}
if (this->CheckWindow(Character))
{
gInterface.DrawButton(eCharacter, 378.5f, 449, 0.0, 0.0);
}
if (IsWorkZone(eInventory))
{
this->DrawToolTip(405, 420, "Inventory");
}
if (this->CheckWindow(Inventory))
{
gInterface.DrawButton(eInventory, 409, 449, 0.0, 0.0);
}
if (IsWorkZone(eShop))
{
this->DrawToolTip(430, 420, "CashShop");
}
if (this->CheckWindow(CashShop))
{
gInterface.DrawButton(eShop, 439.5f, 449, 0.0, 0.0);
}
if (IsWorkZone(eFriend))
{
this->DrawToolTip(580, 420, "Friends");
}
if (this->CheckWindow(FriendList))
{
gInterface.DrawButton(eFriend, 581, 432, 0.0, 0.0);
}
if (IsWorkZone(eGuild))
{
this->DrawToolTip(580, 444, "Guild");
}
if (this->CheckWindow(Guild))
{
gInterface.DrawButton(eGuild, 581, 454, 0.0, 0.0);
}
if (IsWorkZone(eFastMenu))
{
this->DrawToolTip(13, 420, "System");
}
if (this->CheckWindow(FastMenu))
{
gInterface.DrawButton(eFastMenu, 5, 432, 0.0, 0.0);
}

}

//=================

void Interface::EventMenuButton(DWORD Event)
{
DWORD CurrentTick = GetTickCount();
if (this->CheckWindow(ChaosBox))
{
return;
}

if (IsWorkZone(eFastMenu))
{
DWORD Delay = (CurrentTick - this->Data[eFastMenu].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eFastMenu].OnClick = true;
return;
}
this->Data[eFastMenu].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eFastMenu].EventTick = GetTickCount();
if (this->CheckWindow(FastMenu)) {
this->CloseWindow(FastMenu);
}
else {
this->OpenWindow(FastMenu);
}
}
else if (IsWorkZone(eParty))
{
DWORD Delay = (CurrentTick - this->Data[eParty].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eParty].OnClick = true;
return;
}
this->Data[eParty].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eParty].EventTick = GetTickCount();
if (this->CheckWindow(Party)) {
this->CloseWindow(Party);
}
else {
this->OpenWindow(Party);
}
}

else if (IsWorkZone(eCharacter))
{
DWORD Delay = (CurrentTick - this->Data[eCharacter].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eCharacter].OnClick = true;
return;
}
this->Data[eCharacter].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eCharacter].EventTick = GetTickCount();
if (this->CheckWindow(Character)) {
this->CloseWindow(Character);
}
else {
this->OpenWindow(Character);
}
}
else if (IsWorkZone(eInventory))
{
DWORD Delay = (CurrentTick - this->Data[eInventory].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eInventory].OnClick = true;
return;
}
this->Data[eInventory].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eInventory].EventTick = GetTickCount();
if (this->CheckWindow(Inventory)) {
this->CloseWindow(Inventory);
}
else {
this->OpenWindow(Inventory);
}
}
else if (IsWorkZone(eShop))
{
DWORD Delay = (CurrentTick - this->Data[eFriend].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eShop].OnClick = true;
return;
}
this->Data[eShop].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eShop].EventTick = GetTickCount();
if (this->CheckWindow(CashShop)) {
this->CloseWindow(CashShop);
}
else {
this->OpenWindow(CashShop);
}
}
else if (IsWorkZone(eFriend))
{
DWORD Delay = (CurrentTick - this->Data[eFriend].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eFriend].OnClick = true;
return;
}
this->Data[eFriend].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eFriend].EventTick = GetTickCount();
if (this->CheckWindow(FriendList)) {
this->CloseWindow(FriendList);
}
else {
this->OpenWindow(FriendList);
}
}
else if (IsWorkZone(eGuild))
{
DWORD Delay = (CurrentTick - this->Data[eGuild].EventTick);
if (Event == WM_LBUTTONDOWN) {
this->Data[eGuild].OnClick = true;
return;
}
this->Data[eGuild].OnClick = false;
if (Delay < 500) {
return;
}
this->Data[eGuild].EventTick = GetTickCount();
if (this->CheckWindow(Guild)) {
this->CloseWindow(Guild);
}
else {
this->OpenWindow(Guild);
}
}
}


Interface.h
Code: [Select]
En enum ObjectID agregan

eSkillBox,
eDragonLeft,
eDragonRight,
eCharacter,
eInventory,
eParty,
eFriend,
eFastMenu,
eShop,
eGuild,

//=================
En class Interface en lo public agregan

void EventMenuButton(DWORD Event);
void DrawMenuButton();

Controller.cpp
Code: [Select]
En LRESULT Controller::Mouse agregan

gInterface.EventMenuButton(wParam);


Main.cpp
Code: [Select]
InitInter3();

Archivos de la interface

Password
tuservermu.com.ve

Hello how can i fix the auto close client? Thanks..

Gracias:


Offline onlinezajzaj #86 Posteado: August 04, 2019, 05:54:17 AM

  • MAESTRO

  • US. DE HONOR

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 662
  • Gracias recibida: 20047
  • vn

Citar
Hello how can i fix the auto close client? Thanks..

Video Demo ?


Offline seedmaker #87 Posteado: August 04, 2019, 05:56:18 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 138
  • Gracias recibida: 701
  • ph
Citar
Hello how can i fix the auto close client? Thanks..

Video Demo ?

Checm PM thanks


Offline seedmaker #88 Posteado: August 04, 2019, 06:29:44 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 138
  • Gracias recibida: 701
  • ph
Citar
Hello how can i fix the auto close client? Thanks..

Video Demo ?

Checm PM thanks

Fixed Exp bar not working but its good
 


Offline AreS #89 Posteado: August 04, 2019, 02:31:01 PM | Modificado: August 04, 2019, 03:32:27 PM by AreS

  • Diseñador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 358
  • Gracias recibida: 5091
  • bo
@AreS listo bro, dejo todo ordenado con sus respectivos archivos :D

todo perfecto, me corre, pero se me cierra el main en la carga de Loading.. Por que sera eso?

SOLUCIONADO AHORA ME CORRE CON LA INTERFACE QUE DEJO THOR

esto por que sale alguna idea? http://prntscr.com/oo9g3a

Gracias:


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
13 Replies
16526 Views
Last post September 19, 2021, 10:11:48 PM
by ndnghia
10 Replies
17298 Views
Last post April 30, 2020, 12:00:55 AM
by oxey.mu
5 Replies
2062 Views
Last post August 07, 2017, 12:37:45 PM
by ZabiinoOo
440 Replies
91592 Views
Last post May 03, 2024, 03:27:51 AM
by sipeogit
1 Replies
1274 Views
Last post April 03, 2020, 09:49:19 AM
by Dambis