Qual a versão do seu main ?
Tem um source em outro forum que posso até compartilhar aqui, que possui a função de glow, basta tu criar sua própria dll hooka e todos os dados do brilho ficam na própria dll.
.cpp
Código:
#include "stdafx.h"
void cGlowLoad()
{
SetHook((LPVOID)cSetGlowEffect_Main, (LPVOID)iGlowEffect_Main1, 0xE8);
SetHook((LPVOID)cSetGlowEffect_Main, (LPVOID)iGlowEffect_Main2, 0xE8);
SetHook((LPVOID)cSetGlowEffect_Second, (LPVOID)iGlowEffect_Second, 0xE8);
}
void cSetGlowEffect_Main(int ITEM2, float Arg2, float Arg3, RBGColor * Color, int Arg5)
{
switch(ITEM2)
{
case ITEM_IN_MAIN(0,60)://item custom
{
Color->r = 0.99f, Color->g = 0.9808f, Color->b = 0.7128f;
}
break;
default:
{
vGlowEffect1(ITEM2, Arg2, Arg3, Color, Arg5);
}
break;
}
}
void cSetGlowEffect_Second(int ITEM2, float Arg2, float Arg3, RBGColor * Color, int Arg5)
{
switch(ITEM2)
{
case ITEM_IN_MAIN(0,60)://item custom
{
Color->r = 0.99f, Color->g = 0.9808f, Color->b = 0.7128f;
}
break;
default:
{
vGlowEffect2(ITEM2, Arg2, Arg3, Color, Arg5);
}
break;
}
}
.h
Código:
#pragma once
//---------------------------------------------------------------------------
struct RBGColor
{
float r, g, b;
};
//---------------------------------------------------------------------------
#define vGlowEffect1 ( (void(*) (int ITEM2, float a2, float a3, RBGColor * Color, int a5) ) 0x005C3558)
#define vGlowEffect2 ( (void(*) (int ITEM2, float a2, float a3, RBGColor * Color, int a5) ) 0x005C4653)
// -----
#define iGlowEffect_Main1 0x004FB9B6//ok
#define iGlowEffect_Main2 0x005CDE46//ok
#define iGlowEffect_Second 0x005CE56B//ok
//---------------------------------------------------------------------------
void cSetGlowEffect_Main(int ITEM2, float Arg2, float Arg3, RBGColor * Color, int Arg5);
void cSetGlowEffect_Second(int ITEM2, float Arg2, float Arg3, RBGColor * Color, int Arg5);
void cGlowLoad();
//---------------------------------------------------------------------------
Isso é pro main 1.03.15 ENG , basta procurar os offsets do seu main se baseando nesses.