re: [Release] Change glow color? Piece of cake =)
Can anyone hook main and tell offsets ? or give me already hook'ed main 97D
https://mega.co.nz/#!0I0REDBC!fDJ4mn...6H9vt2rgs2FyKA
re: [Release] Change glow color? Piece of cake =)
re: [Release] Change glow color? Piece of cake =)
hi all. Have Season8 Zteam Glow Dll. ? :) i will pay for that :))
re: [Release] Change glow color? Piece of cake =)
Olá amigos da Ragezone inter, gostaria de pedir ajuda a vocês para adicionar a glow.dll no main 1.0M,
fiquei horas lendo o tutorial e vendo videos na net, e infelizmente não consegui hookar a glow nesse main.
já em outro sim.
mas gostaria de usar esse main.
Também não achei o offset nem as CALL.
se alguém pode ajudar esse e o link do main original
https://www.sendspace.com/file/31ezib
English Google Translate
Hello friends ragezone inter , I would ask helps you to add glow.dll the main 1.0M ,
I was reading the tutorial hours and watching videos on the net, and unfortunately I could not hookar the glow that main.
already in another sim .
but I would like to use this main.
Also did not think the offset or the CALL .
if anyone can help this and link the original main
re: [Release] Change glow color? Piece of cake =)
Quote:
Originally Posted by
MaaaX
I use this offset and works. To find offsets i use Gembrid guide.
https://forum.ragezone.com/cache.php...72_nnqshra.jpg
Glow.cpp
Code:
#include "headers.h"
#include "utility.h"
#include "Glow.h"
struct FRGB
{
float r, g, b;
};
typedef int(*ToriginalGlow)(DWORD, DWORD, DWORD, FRGB&, BYTE);
ToriginalGlow originalGlow = (ToriginalGlow)0x005F8C50;//1.04D GMO
void __cdecl Glow(DWORD dwItemId, DWORD uk1, DWORD uk2, FRGB& cl, BYTE bUkn)
{
switch(dwItemId)
{
//Dragon Knight Set
case ITEM_ID(7,29):
cl.r = 0.00f;
cl.g = 0.50f;
cl.b = 1.00f;
break;
case ITEM_ID(8,29):
cl.r = 0.00f;
cl.g = 0.50f;
cl.b = 1.00f;
break;
case ITEM_ID(9,29):
cl.r = 0.00f;
cl.g = 0.50f;
cl.b = 1.00f;
break;
case ITEM_ID(10,29):
cl.r = 0.00f;
cl.g = 0.50f;
cl.b = 1.00f;
break;
case ITEM_ID(11,29):
cl.r = 0.00f;
cl.g = 0.50f;
cl.b = 1.00f;
break;
//brave set
case ITEM_ID(7,46):
cl.r = 0.95f;
cl.g = 0.4275f;
cl.b = 0.5755f;
break;
case ITEM_ID(8,46):
cl.r = 0.95f;
cl.g = 0.4275f;
cl.b = 0.5755f;
break;
case ITEM_ID(9,46):
cl.r = 0.95f;
cl.g = 0.4275f;
cl.b = 0.5755f;
break;
case ITEM_ID(10,46):
cl.r = 0.95f;
cl.g = 0.4275f;
cl.b = 0.5755f;
break;
case ITEM_ID(11,46):
cl.r = 0.95f;
cl.g = 0.4275f;
cl.b = 0.5755f;
break;
default:
originalGlow(dwItemId, uk1, uk2, cl, bUkn);
break;
}
}
void InitGlowFunc()
{
//Glow Functions calls
HookOffset((DWORD)&Glow,0x0057AC07,0xE8);//1.04D GMO
HookOffset((DWORD)&Glow,0x006083B9,0xE8);//1.04D GMO
}
glow.h
Code:
#pragma once
#define ITEM_ID(x,y) (x*512+y)+0x493
void InitGlowFunc();
Please share full source :(
re: [Release] Change glow color? Piece of cake =)
Quote:
Originally Posted by
MaaaX
I use this offset and works. To find offsets i use Gembrid guide.
glow.cpp
Code:
void InitGlowFunc()
{
//Glow Functions calls
HookOffset((DWORD)&Glow,0x0057AC07,0xE8);//1.04D GMO
HookOffset((DWORD)&Glow,0x006083B9,0xE8);//1.04D GMO
Hi, can you share the HookOffset code like the SetJmp is "DWORD SetJmp(const LPVOID dwEnterFunction, const LPVOID dwJMPAddress);" ???
I used this code but the main crash:
Code:
void HookOffset(DWORD dwMyFuncOffset, DWORD dwHookOffset, BYTE type)
{
*(BYTE*)dwHookOffset = type;
*(DWORD*)(dwHookOffset+1) = dwMyFuncOffset;
}
Thanks,
re: [Release] Change glow color? Piece of cake =)
Quote:
Originally Posted by
phgkhh
Hi, can you share the
HookOffset code like the SetJmp is "DWORD SetJmp(const LPVOID dwEnterFunction, const LPVOID dwJMPAddress);" ???
I used this code but the main crash:
Code:
void HookOffset(DWORD dwMyFuncOffset, DWORD dwHookOffset, BYTE type)
{
*(BYTE*)dwHookOffset = type;
*(DWORD*)(dwHookOffset+1) = dwMyFuncOffset;
}
Thanks,
Anyone solve this problem?
re: [Release] Change glow color? Piece of cake =)
re: [Release] Change glow color? Piece of cake =)
Re: [Release] Change glow color? Piece of cake =)