rendering cicplayer

02/12/2021 06:04 sigel123456789#1
HELLO GUYS ,
i know you helped me alot the previous days. last question i'll be asking is rendering the cicplayer so i can keep the color name changed. i tried to do it but my client crashes when selecting the char i believe its replaceaddr address issue
Code:
#include "ICPlayer.h"

// CICPlayer::IsGameMasterMAYBE(void) .text 009D4C40 00000009   R . . . . T .
bool CICPlayer::IsGameMaster() {
    return N000094A7 & 1;
}

// sub_9D6580 .text 009D6580 00000032 00000008 00000004 R . . . . T .
// I am pretty sure this func simply returned a copy of the players name ... ridiculous!
std::n_wstring *CICPlayer::sub_9D6580(std::n_wstring *str) {
    return reinterpret_cast<std::n_wstring*(__thiscall*)(CICPlayer*, std::n_wstring*)>(0x9D6580)(this, str);
}
void CICPlayer::OnRender()
{
   // UpdateNameColor(D3DCOLOR_ARGB(255, 166, 9, 168));


    reinterpret_cast<void(__thiscall*)(CICPlayer*)>(0x009D87C0)(this); //Render

}

Code:
#pragma once

#include "ICUser.h"
#include "SOItem.h"

class CICPlayer : public CICUser {
public:

    bool IsGameMaster();

    std::n_wstring* sub_9D6580(std::n_wstring *str);
    void OnRender();

public:
    char pad_082C[32]; //0x082C
    std::wstring m_charname; //0x084C
    char pad_0x0390[0x0388];
    std::wstring m_statpoint_available;
    std::wstring m_honorPointValueText;
public:
    unsigned char m_level; //0x0868 level of your character, crashes when set too high
private:
    char pad_0869[7]; //0x0869
public:
    long long int m_exp_current; //0x0870
    int m_skillpoint_progress; //0x0878
private:
    short m_str_stat; //0x087C
    short m_int_stat; //0x087E
public:
    int m_skillpoint; //0x0880
private:
    //short m_statpoint_available; //0x0884
    char pad_0886[26]; //0x0886
    CSOItem N0000947A; //0x08A0
    CSOItem N0000947B; //0x0A70
    CSOItem N0000947C; //0x0C40
    CSOItem N0000947D; //0x0E10
    CSOItem N0000947E; //0x0FE0
    CSOItem N0000947F; //0x11B0
    CSOItem N00009480; //0x1380
    CSOItem N00009481; //0x1550
    CSOItem N00009482; //0x1720
    CSOItem N00009483; //0x18F0
    CSOItem N00009484; //0x1AC0
    CSOItem N00009485; //0x1C90
    CSOItem N00009486; //0x1E60
    char pad_2030[96]; //0x2030
    char N000094A7; //0x2090 bit 0 = isGameMaster
    char pad_2091[135]; //0x2091

};

#define g_pCICPlayer (*((CICPlayer**)0x00EEF5EC))
Code:
        replaceAddr(0x00B44EFC, addr_from_this(&CICPlayer::OnRender));
02/25/2021 14:36 Laag#82#2
Quote:
Originally Posted by sigel123456789 View Post
HELLO GUYS ,
i know you helped me alot the previous days. last question i'll be asking is rendering the cicplayer so i can keep the color name changed. i tried to do it but my client crashes when selecting the char i believe its replaceaddr address issue
Code:
#include "ICPlayer.h"

// CICPlayer::IsGameMasterMAYBE(void) .text 009D4C40 00000009   R . . . . T .
bool CICPlayer::IsGameMaster() {
    return N000094A7 & 1;
}

// sub_9D6580 .text 009D6580 00000032 00000008 00000004 R . . . . T .
// I am pretty sure this func simply returned a copy of the players name ... ridiculous!
std::n_wstring *CICPlayer::sub_9D6580(std::n_wstring *str) {
    return reinterpret_cast<std::n_wstring*(__thiscall*)(CICPlayer*, std::n_wstring*)>(0x9D6580)(this, str);
}
void CICPlayer::OnRender()
{
   // UpdateNameColor(D3DCOLOR_ARGB(255, 166, 9, 168));


    reinterpret_cast<void(__thiscall*)(CICPlayer*)>(0x009D87C0)(this); //Render

}

Code:
#pragma once

#include "ICUser.h"
#include "SOItem.h"

class CICPlayer : public CICUser {
public:

    bool IsGameMaster();

    std::n_wstring* sub_9D6580(std::n_wstring *str);
    void OnRender();

public:
    char pad_082C[32]; //0x082C
    std::wstring m_charname; //0x084C
    char pad_0x0390[0x0388];
    std::wstring m_statpoint_available;
    std::wstring m_honorPointValueText;
public:
    unsigned char m_level; //0x0868 level of your character, crashes when set too high
private:
    char pad_0869[7]; //0x0869
public:
    long long int m_exp_current; //0x0870
    int m_skillpoint_progress; //0x0878
private:
    short m_str_stat; //0x087C
    short m_int_stat; //0x087E
public:
    int m_skillpoint; //0x0880
private:
    //short m_statpoint_available; //0x0884
    char pad_0886[26]; //0x0886
    CSOItem N0000947A; //0x08A0
    CSOItem N0000947B; //0x0A70
    CSOItem N0000947C; //0x0C40
    CSOItem N0000947D; //0x0E10
    CSOItem N0000947E; //0x0FE0
    CSOItem N0000947F; //0x11B0
    CSOItem N00009480; //0x1380
    CSOItem N00009481; //0x1550
    CSOItem N00009482; //0x1720
    CSOItem N00009483; //0x18F0
    CSOItem N00009484; //0x1AC0
    CSOItem N00009485; //0x1C90
    CSOItem N00009486; //0x1E60
    char pad_2030[96]; //0x2030
    char N000094A7; //0x2090 bit 0 = isGameMaster
    char pad_2091[135]; //0x2091

};

#define g_pCICPlayer (*((CICPlayer**)0x00EEF5EC))
Code:
        replaceAddr(0x00B44EFC, addr_from_this(&CICPlayer::OnRender));
Hello,

Everything is correct

just error in addr 0x00B44EFC

Good Luck
03/09/2021 05:19 WolfgangNeverDie#3
Quote:
Originally Posted by khaleed2010 View Post
Hello,

Everything is correct

just error in addr 0x00B44EFC

Good Luck
Bro! What's correct addr?
03/09/2021 11:58 thaidu0ngpr0#4
Quote:
Originally Posted by WolfgangNeverDie View Post
Bro! What's correct addr?
PHP Code:
 replaceAddr(0x00DE2C4Caddr_from_this(&CICPlayer::OnRender)); 
03/09/2021 20:14 Laag#82#5
Quote:
Originally Posted by WolfgangNeverDie View Post
Bro! What's correct addr?
Quote:
Originally Posted by thaidu0ngpr0 View Post
PHP Code:
 replaceAddr(0x00DE2C4Caddr_from_this(&CICPlayer::OnRender)); 

[Only registered and activated users can see links. Click Here To Register...]
03/09/2021 21:05 SubZero**#6
Quote:
Originally Posted by khaleed2010 View Post
[Only registered and activated users can see links. Click Here To Register...]
there is a problem with this addr
open 2 characters you will se color back to white for a milliseconds
same if you spawn pet
03/09/2021 21:23 bimbum*#7
here you go with the correct one 0x00DE2C50
03/10/2021 01:12 Laag#82#8
Quote:
Originally Posted by bimbum* View Post
here you go with the correct one 0x00DE2C50
I didn't expect that

0x00DE2C4C
0x00DE2C50

[Only registered and activated users can see links. Click Here To Register...]
03/10/2021 14:33 SubZero**#9
Quote:
Originally Posted by khaleed2010 View Post
I didn't expect that

0x00DE2C4C
0x00DE2C50

[Only registered and activated users can see links. Click Here To Register...]
Did you even try with it?
03/11/2021 19:53 Laag#82#10
Quote:
Originally Posted by bimbum* View Post
here you go with the correct one 0x00DE2C50
Quote:
Originally Posted by Zoro.Sro View Post
Did you even try with it?

Yes, in many problems

First problem: Open Cape -> Client Crash :rolleyes:
03/11/2021 23:20 SubZero**#11
Quote:
Originally Posted by khaleed2010 View Post
Yes, in many problems

First problem: Open Cape -> Client Crash :rolleyes:
The real OnRender addr 0x00DE2C4C
03/11/2021 23:46 Laag#82#12
Quote:
Originally Posted by Zoro.Sro View Post
The real OnRender addr 0x00DE2C4C
yes it is
03/19/2021 23:16 TautĄ#13
there's error in addr function 0x00B44EFC
03/20/2021 17:38 SubZero**#14
Quote:
Originally Posted by Taut' View Post
there's error in addr function 0x00B44EFC
Use 0x00DE2C4C