Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Guild Logo Name Player - Season 3 1.04j

Newbie Spellweaver
Joined
Jan 9, 2018
Messages
30
Reaction score
24
Guild Logo Name Player - Season 3 1.04j

yycz5JE - Guild Logo Name Player - Season 3 1.04j - RaGEZONE Forums


09pAfWY - Guild Logo Name Player - Season 3 1.04j - RaGEZONE Forums



CustomIconView.h

Code:
[COLOR=#7F7F7F]#pragma once[/COLOR]

[COLOR=#7F7F7F]void InitIconsView();[/COLOR]

[COLOR=#7F7F7F]void DrawIcons(int x, int y, DWORD a3);[/COLOR]


CustomIconView.cpp

Code:
[COLOR=#7F7F7F]#include "stdafx.h"[/COLOR]
[COLOR=#7F7F7F]#include "CustomIconView.h"[/COLOR]
[COLOR=#7F7F7F]#include "Util.h"[/COLOR]

[COLOR=#7F7F7F]void InitIconsView()[/COLOR]
[COLOR=#7F7F7F]{[/COLOR]
[COLOR=#7F7F7F]    SetCompleteHook(0xE8, 0x0059F307, &DrawIcons);[/COLOR]
[COLOR=#7F7F7F]}[/COLOR]

[COLOR=#7F7F7F]void DrawIcons(int x, int y, DWORD c)[/COLOR]
[COLOR=#7F7F7F]{[/COLOR]
[COLOR=#7F7F7F]    DWORD character = *(DWORD*)(c + 628); //Get Character Struct[/COLOR]

[COLOR=#7F7F7F]    if (*(BYTE*)(character + 188) == 1) //Check Character Type[/COLOR]
[COLOR=#7F7F7F]    {[/COLOR]
[COLOR=#7F7F7F]        if (*(short*)(character + 554) != -1) //Check Character Guild[/COLOR]
[COLOR=#7F7F7F]        {[/COLOR]
[COLOR=#7F7F7F]            ((void(__cdecl*)(int nMarkIndex, bool blend)) 0x005FA170)(*(WORD*)(character + 554), true); //CreateGuildMark[/COLOR]

[COLOR=#7F7F7F]            ((void(__cdecl*)(int Texture, float x, float y, float Width, float Height, float u, float v, float uWidth, float vHeight, bool Scale, bool StartScale, float Alpha)) 0x006438B4)(0x22, ((float)x - 21.0f), (float)y, 16.0f, 16.0f, 0.0f, 0.0f, 1.0f, 1.0f, 1, 1, 0); //RenderBitmap[/COLOR]
[COLOR=#7F7F7F]        }[/COLOR]
[COLOR=#7F7F7F]    }[/COLOR]

[COLOR=#7F7F7F]    ((void(__cdecl*)(int x, int y, DWORD c)) 0x0053F870)(x, y, c); //RenderBoolean[/COLOR]
[COLOR=#7F7F7F]}[/COLOR]

Main.cpp

Code:
[COLOR=#7F7F7F]#[/COLOR][COLOR=#7F7F7F]include[/COLOR][COLOR=#7F7F7F]"CustomIconView.h"[/COLOR]

Adentro de -> extern "C" _declspec(dllexport) void EntryProc()

Code:
[COLOR=#BABABA]InitIconsView();[/COLOR]

Credits:
kayito
 

Attachments

You must be registered for see attachments list
Last edited by a moderator:
Initiate Mage
Joined
Apr 17, 2012
Messages
2
Reaction score
0
Português:
Sou novo em programação e estou aprendendo aos poucos a desenvolver, estou tentando adaptar essa source na minha dll. Encontrei todas as offsets porém o jogo fecha sozinho quando vou usar o chat. Pode dá uma ajuda? A versão que estou ultilizando é 1.02s. Perdoe o inglês pois foi traduzido no google!

Inglês:
I'm new to programming and I'm slowly learning how to develop, I'm trying to adapt this source to my dll. I found all the offsets but the game closes by itself when I use the chat. Can you help? The version I'm using is 1.02s. Forgive the English as it was translated on google!

Edit: Com um pouco de esforço consegui fazer funcionar. Obrigado, ótimo código!
 
Last edited:
Back
Top