Thread: no name exploit

Results 1 to 7 of 7
  1. #1
    LegitPlayerr's Avatar
    Join Date
    May 2016
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0

    no name exploit

    Hi. I have no clue about coding and need help getting something i can inject with my p2c hack to get a blank name ingame. ik the thing is public but i have 0 clue about coding.

    edit:just realised wrong section rip
    Last edited by LegitPlayerr; 06-07-2016 at 03:50 AM.

  2. #2
    legit_player's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Location
    /root
    Posts
    313
    Reputation
    10
    Thanks
    2,784
    My Mood
    Cool
    Code:
    bool HideName(CUserCmd* pCmd, CPlayer* pLocal)
    {
    	if (Config->GetValue("developer", "developer.name.active").m_bValue)
    	{
    		ConVar* Nick = Interfaces.Cvar->FindVar("name");
    		*(int*)((DWORD)&Nick->fnChangeCallback + 0xC) = NULL;
    		if (Nick)
    		{
    			char chCommand[256];
    			Nick->SetValue("\n");
    		}
    	}
    	return false;
    }

  3. #3
    WasserEsser's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    735
    Reputation
    174
    Thanks
    677
    My Mood
    Busy
    Quote Originally Posted by legit_player View Post
    Code:
    bool HideName(CUserCmd* pCmd, CPlayer* pLocal)
    {
    	if (Config->GetValue("developer", "developer.name.active").m_bValue)
    	{
    		ConVar* Nick = Interfaces.Cvar->FindVar("name");
    		*(int*)((DWORD)&Nick->fnChangeCallback + 0xC) = NULL;
    		if (Nick)
    		{
    			char chCommand[256];
    			Nick->SetValue("\n");
    		}
    	}
    	return false;
    }
    Copy pasta gone wrong, you aren't even using chCommand aswell as pCmd and pLocal.
    Also, why would you return a bool if you aren't returning anything else than false?
    Last edited by WasserEsser; 06-07-2016 at 06:26 AM.

  4. #4
    legit_player's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Location
    /root
    Posts
    313
    Reputation
    10
    Thanks
    2,784
    My Mood
    Cool
    Quote Originally Posted by WasserEsser View Post
    Copy pasta gone wrong, you aren't even using chCommand aswell as pCmd and pLocal.
    Also, why would you return a bool if you aren't returning anything else than false?
    ^^
    umm, i added pCmd and pLocal cuz testing things. I didnt looked at it much just tested it if its working.
    Last edited by Hunter; 06-11-2016 at 05:58 AM.

  5. #5
    LegitPlayerr's Avatar
    Join Date
    May 2016
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by legit_player View Post
    Code:
    bool HideName(CUserCmd* pCmd, CPlayer* pLocal)
    {
    	if (Config->GetValue("developer", "developer.name.active").m_bValue)
    	{
    		ConVar* Nick = Interfaces.Cvar->FindVar("name");
    		*(int*)((DWORD)&Nick->fnChangeCallback + 0xC) = NULL;
    		if (Nick)
    		{
    			char chCommand[256];
    			Nick->SetValue("\n");
    		}
    	}
    	return false;
    }
    my 1337 coding skills are so good that i have 0 idea about how to use this fam. should i just paste this and name it a dll and inject or ? ty for replying tho


    edit:nice name btw

  6. #6
    prolife200's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Location
    0x1337
    Posts
    67
    Reputation
    10
    Thanks
    220
    My Mood
    Yeehaw
    Quote Originally Posted by LegitPlayerr View Post
    my 1337 coding skills are so good that i have 0 idea about how to use this fam. should i just paste this and name it a dll and inject or ? ty for replying tho


    edit:nice name btw

    i dont think that giving a reputation for someones name makes them give you a free source.
    But here you go lmao..

    namehide source (made for you to understand easier u fucking paster):
    Code:
     if (your_feature_gets_activated) {
                ConVar* name = pCvar->FindVar("name");
                *(int*)((DWORD)&name->fnChangeCallback + 0xC) = NULL;
                if (name) {
                    name->SetValue("\n");
                }
            }
    copy and paste that to your source then, if you dont have a convar class or you dont have the shit in it that i have here, you copy and paste this:
    ~~~~~~~~~~~~~~~
    ConVar Class:
    Code:
    class ConVar
    {
    public:
        void SetValue(const char* value)
        {
            typedef void(__thiscall* OriginalFn)(void*, const char*); //typedef void(__thiscall* OriginalFn)(void*, const char*);
            return getvfunc<OriginalFn>(this, 14)(this, value);  //return getvfunc<OriginalFn>(this, 14)(this, value);
    
        }
    
        void SetValue(float value)
        {
            typedef void(__thiscall* OriginalFn)(void*, float);
            return getvfunc<OriginalFn>(this, 15)(this, value);
        }
    
        void SetValue(int value)
        {
            typedef void(__thiscall* OriginalFn)(void*, int);
            return getvfunc<OriginalFn>(this, 16)(this, value);
        }
    
        void SetValue(Color value)
        {
            typedef void(__thiscall* OriginalFn)(void*, Color);
            return getvfunc<OriginalFn>(this, 17)(this, value);
        }
    
        char* GetName()
        {
            typedef char*(__thiscall* OriginalFn)(void*);
            return getvfunc<OriginalFn>(this, 5)(this);
        }
    
        char* GetDefault()
        {
            return pszDefaultValue;
        }
    
        char pad_0x0000[0x4]; //0x0000
        ConVar* pNext; //0x0004 
        __int32 bRegistered; //0x0008 
        char* pszName; //0x000C 
        char* pszHelpString; //0x0010 
        __int32 nFlags; //0x0014 
        char pad_0x0018[0x4]; //0x0018
        ConVar* pParent; //0x001C 
        char* pszDefaultValue; //0x0020 
        char* strString; //0x0024 
        __int32 StringLength; //0x0028 
        float fValue; //0x002C 
        __int32 nValue; //0x0030 
        __int32 bHasMin; //0x0034 
        float fMinVal; //0x0038 
        __int32 bHasMax; //0x003C 
        float fMaxVal; //0x0040 
        void* fnChangeCallback; //0x0044
    };//Size=0x0048
    Last edited by Hunter; 06-09-2016 at 09:28 AM.

  7. The Following User Says Thank You to prolife200 For This Useful Post:

    sirbutton (01-14-2017)

  8. #7
    Hunter's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Depths Of My Mind.
    Posts
    17,468
    Reputation
    3771
    Thanks
    6,159
    My Mood
    Cheerful
    1 week has passed and no further replies have been made by the OP. Assuming solved.

    /Closed.

Similar Threads

  1. [Help Request] Name change exploit? Does one still exist
    By Battletoads in forum Realm of the Mad God Help & Requests
    Replies: 1
    Last Post: 03-22-2015, 12:53 PM
  2. Replies: 13
    Last Post: 08-19-2014, 03:47 AM
  3. team fortress 2 exploit/colored names
    By akuankka1001 in forum Exploits
    Replies: 3
    Last Post: 02-18-2014, 06:34 PM
  4. No-name game
    By SadisticGrin in forum Spammers Corner
    Replies: 12
    Last Post: 01-28-2010, 10:58 AM
  5. New Windows Exploit
    By Dave84311 in forum General
    Replies: 6
    Last Post: 12-31-2009, 05:16 PM