Guild Logo Name Player - Season 3 1.04j

Results 1 to 2 of 2
  1. #1
    Enthusiast Swiety is offline
    MemberRank
    Jan 2018 Join Date
    PolandLocation
    30Posts

    Guild Logo Name Player - Season 3 1.04j

    Guild Logo Name Player - Season 3 1.04j






    CustomIconView.h

    Code:
    #pragma once
    
    void InitIconsView();
    
    void DrawIcons(int x, int y, DWORD a3);

    CustomIconView.cpp

    Code:
    #include "stdafx.h"
    #include "CustomIconView.h"
    #include "Util.h"
    
    void InitIconsView()
    {
        SetCompleteHook(0xE8, 0x0059F307, &DrawIcons);
    }
    
    void DrawIcons(int x, int y, DWORD c)
    {
        DWORD character = *(DWORD*)(c + 628); //Get Character Struct
    
        if (*(BYTE*)(character + 188) == 1) //Check Character Type
        {
            if (*(short*)(character + 554) != -1) //Check Character Guild
            {
                ((void(__cdecl*)(int nMarkIndex, bool blend)) 0x005FA170)(*(WORD*)(character + 554), true); //CreateGuildMark
    
                ((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
            }
        }
    
        ((void(__cdecl*)(int x, int y, DWORD c)) 0x0053F870)(x, y, c); //RenderBoolean
    }
    Main.cpp

    Code:
    #include"CustomIconView.h"
    Adentro de -> extern "C" _declspec(dllexport) void EntryProc()

    Code:
    InitIconsView();


    Credits:
    kayito
    Last edited by KarLi; 2 Weeks Ago at 04:40 AM.


  2. #2
    Novice luan3247 is offline
    MemberRank
    Apr 2012 Join Date
    2Posts
    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 by luan3247; 2 Weeks Ago at 12:45 AM.



Advertisement