Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Seal Icons Fix - Season 3 1.04j  (Visto 2085 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline kayito Posteado: March 18, 2023, 11:47:58 PM | Modificado: March 18, 2023, 11:50:07 PM by kayito

  • MAESTRO

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.040
  • Gracias recibida: 15478
  • ar
INFORMACION

Bueno, en este caso les vengo a traer el fix para que puedan visualizar los íconos de los seals ya que en este main sólo tiene programado para ver el efecto pero no el ícono y su tiempo restante.

IMAGENES



CODIGO FUENTE



CREDITOS
kayito


Offline Gabumon #1 Posteado: March 22, 2023, 10:09:35 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 51
  • Gracias recibida: 17
  • bo
@kayito se que no va al tema pero me compartes el lorencia que se en las imagenes Saludos..


Offline Ryuno #2 Posteado: March 26, 2023, 04:32:45 PM | Modificado: March 26, 2023, 05:52:09 PM by Ryuno

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 505
  • Gracias recibida: 2047
  • dz
Realizo Modificación para que se visualicen los seals de forma simultanea, queda pendiente  hacer lo mismo con Halloween Item





Code: [Select]

void GCPeriodicEffectRecv(PMSG_PERIODIC_EFFECT_RECV* lpMsg)
{


if (lpMsg->group == 2) // Seals
{
if (lpMsg->state) // State 1 -> Delete buff
{
switch (lpMsg->value) // Switch buff value
{
case 6:
{
if ((*(DWORD*)(*(DWORD*)MAIN_VIEWPORT_STRUCT + 172) & 0x20) == 0x20)
{
*(DWORD*)(*(DWORD*)MAIN_VIEWPORT_STRUCT + 172) -= 0x20;
}

break;
}

case 7:
{

if ((*(DWORD*)(*(DWORD*)MAIN_VIEWPORT_STRUCT + 172) & 0x40) == 0x40)
{
*(DWORD*)(*(DWORD*)MAIN_VIEWPORT_STRUCT + 172) -= 0x40;
}
break;
}

case 8:
{

if ((*(DWORD*)(*(DWORD*)MAIN_VIEWPORT_STRUCT + 172) & 0x80) == 0x80)
{
*(DWORD*)(*(DWORD*)MAIN_VIEWPORT_STRUCT + 172) -= 0x80;
}

break;
}

}

KillTimer(*(HWND*)MAIN_WINDOW, 0x3EF); // Kill buff timer

*(int*)0x7AFEE7C = 0; // Buff Time
}
else // State 0 -> Add buff
{
switch (lpMsg->value) // Switch buff value
{
case 6:
{
if ((*(DWORD*)(*(DWORD*)MAIN_VIEWPORT_STRUCT + 172) & 0x20) != 0x20)
{
*(DWORD*)(*(DWORD*)MAIN_VIEWPORT_STRUCT + 172) |= 0x20;
}

break;
}

case 7:
{

if ((*(DWORD*)(*(DWORD*)MAIN_VIEWPORT_STRUCT + 172) & 0x40) != 0x40)
{
*(DWORD*)(*(DWORD*)MAIN_VIEWPORT_STRUCT + 172) |= 0x40;
}
break;
}

case 8:
{

if ((*(DWORD*)(*(DWORD*)MAIN_VIEWPORT_STRUCT + 172) & 0x80) != 0x80)
{
*(DWORD*)(*(DWORD*)MAIN_VIEWPORT_STRUCT + 172) |= 0x80;
}

break;
}

}

*(int*)0x7AFEE7C = lpMsg->time; // Buff Time

KillTimer(*(HWND*)MAIN_WINDOW, 0x3EF); // Kill buff timer

SetTimer(*(HWND*)MAIN_WINDOW, 0x3EF, 1000, NULL);
}
}



((void(__cdecl*)(PMSG_PERIODIC_EFFECT_RECV * lpMsg)) 0x00694BE0)(lpMsg);


}




Offline Saige #3 Posteado: April 28, 2023, 10:54:36 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 120
  • Gracias recibida: 16
  • ph
which cpp and h should be put this? thanks :)


Offline joaovithor1 #4 Posteado: April 04, 2024, 09:34:37 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 27
  • Gracias recibida: 324
  • br
Is it possible to change, to receive the stamp value configured in effect.txt in muservers muemu?

Currently, the % experience rate value is stuck at 150% even when changing the value in effect.txt


Thank you for contributing to the community!


Offline lkt22 #5 Posteado: April 04, 2024, 10:22:07 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 135
  • Gracias recibida: 62
  • br
Is it possible to change, to receive the stamp value configured in effect.txt in muservers muemu?

Currently, the % experience rate value is stuck at 150% even when changing the value in effect.txt


Thank you for contributing to the community!

U can change it on ItemAddOption.bmd


Offline joaovithor1 #6 Posteado: April 04, 2024, 11:00:38 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 27
  • Gracias recibida: 324
  • br
Is it possible to change, to receive the stamp value configured in effect.txt in muservers muemu?

Currently, the % experience rate value is stuck at 150% even when changing the value in effect.txt


Thank you for contributing to the community!

U can change it on ItemAddOption.bmd


Thank you, now I completely understand the system. Very good


Offline thziin #7 Posteado: April 04, 2024, 06:11:48 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 8
  • Gracias recibida: 0
  • br
Tem icon buff fix para 1.01.46 ???


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1571 Views
Last post November 23, 2018, 06:08:12 PM
by darkroh
1 Replies
979 Views
Last post February 12, 2019, 07:43:13 PM
by MOYOne
12 Replies
2339 Views
Last post July 27, 2023, 08:59:28 PM
by Ryzenn
1 Replies
340 Views
Last post June 18, 2023, 04:22:36 PM
by toxicarg
6 Replies
395 Views
Last post June 19, 2023, 08:40:22 PM
by toxicarg