Sources Fix Weather effect (Lorencia/Devias/Noria) [Rafhael Souza]

Publicado por Dakosmu, Jul 10, 2023, 07:31 AM

Tema anterior - Siguiente tema

Dakosmu

Sources Fix Weather effect (Lorencia/Devias/Noria) [Rafhael Souza]




CitarSince I met Mu Online MuEmu, Xteam and others from the same base, I see this bug.
It was not difficult to correct, it was enough to take your hands out of your pocket and stop waiting for others.

This fix is ��for the effects of leaves falling in lorencia, snow falling in devias, and polishes flying in noria.

The way I did it, it was my way. You can modify it to suit your taste. However, this way it works perfectly and does not influence anything that can cause bugs in other parts.

FIX FOR SEASON 4 and
FIX FOR SEASON 6 1.04E and
FIX FOR SEASON 8 !!!

Example Image Season 8 ^^

Los visitantes no pueden visualizar imágenes en los mensajes, por favor Regístrate o Inicia Sesión



FIX FOR SEASON 4

.h
void FixEffectCitys();
.cpp
__declspec(naked) void FixEffects()
{
static DWORD Address1 = 0x005D811B;
static DWORD Address2 = 0x005D80EE;

if (pMapNumber == 0 || pMapNumber == 3)
{
_asm{jmp Address1}
}
else
{
_asm{jmp Address2}
}
}
void FixEffectCitys()
{
SetCompleteHook(0xE9, 0x005D80E9, &FixEffects);
}

Main.cpp

FixEffectCitys();

**********************************

FIX FOR SEASON 6 1.04E




.h

void FixEffectCitys();
.cpp
__declspec(naked) void FixEffects()
{
static DWORD Address1 = 0x0062F6CE;
static DWORD Address2 = 0x0062F69F;

if (pMapNumber == 0 || pMapNumber == 3)
{
_asm{jmp Address1}
}
else
{
_asm{jmp Address2}
}
}
void FixEffectCitys()
{
SetCompleteHook(0xE9, 0x0062F69A, &FixEffects);
}



Main.cpp
FixEffectCitys();
**********************************

FIX FOR SEASON 8





.h

void FixEffectCitys();
.cpp
__declspec(naked) void FixEffects()
{
static DWORD Address1 = 0x00627FA5;
static DWORD Address2 = 0x00627F64;

if (pMapNumber == 0 || pMapNumber == 3)
{
_asm{jmp Address1}
}
else
{
_asm{jmp Address2}
}
}
void FixEffectCitys()
{
SetCompleteHook(0xE9, 0x00627F5F, &FixEffects);
}



Main.cpp
FixEffectCitys();




Textures



Descargar mega
You require the following to view this post content:
  • You require a post count of at least 7, you need another 7 posts.
[/hide] login=1]
You require the following to view this post content:
  • You require a post count of at least 1, you need another 1 posts.
[/hide]
Bon Dia

🡱 🡳