Results 1 to 9 of 9
  1. #1
    Background's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Location
    .vimrc
    Posts
    61
    Reputation
    10
    Thanks
    573
    My Mood
    Dead

    Lightbulb Need some help to do an external skinchanger

    Hey guys,

    I'm currently working on my new external cheat and i really want to add an external skinchanger on it (i know that's bad ), so can you maybe help me and give me the correct start direction or a source code to improve my learning on that thing please ?

    Can u tell me for example what i need to read/write to the memory to apply a skin?

    Thanks to the MPGH Community which help me to learn Counter-Strike coding since 8 months
    Last edited by Background; 01-30-2016 at 10:11 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
    m_nFallbackPaintKit
    m_nFallbackSeed
    m_flFallbackWear
    m_nFallbackStatTrak
    m_iItemDefinitionIndex

    This is what you need write/read.

  3. The Following User Says Thank You to legit_player For This Useful Post:

    Background (01-31-2016)

  4. #3
    viking911's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Location
    ViKiNGHOOK
    Posts
    214
    Reputation
    10
    Thanks
    2,219
    My Mood
    Devilish
    Quote Originally Posted by legit_player View Post
    m_nFallbackPaintKit
    m_nFallbackSeed
    m_flFallbackWear
    m_nFallbackStatTrak
    m_iItemDefinitionIndex

    This is what you need write/read.
    write write write write write.
    Code:
    Mem->Write<int>(Weapon + offset);
    FAKEEDGEBOY$ - B4RB0$$4

  5. The Following User Says Thank You to viking911 For This Useful Post:

    Background (01-31-2016)

  6. #4
    Background's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Location
    .vimrc
    Posts
    61
    Reputation
    10
    Thanks
    573
    My Mood
    Dead
    Thanks you alot guys, i did it but it's not working anymore, here is my code :

    //Write
    Code:
    	
            if(GetAsyncKeyState(VK_NUMPAD1))
    	{
    		mem->WriteMem<int>(WEAPON_AK47 + 0x2F98, 0);//m_iItemIDHigh
    		mem->WriteMem<int>(WEAPON_AK47 + 0x2F9C, -1);//m_iItemIDLow
    		mem->WriteMem<int>(WEAPON_AK47 + 0x3158, 0);//m_OriginalOwnerXuidLow
    		mem->WriteMem<int>(WEAPON_AK47 + 0x315C, 0);//m_OriginalOwnerXuidHigh
    		mem->WriteMem<int>(WEAPON_AK47 + 0x3160, 474);//m_nFallbackPaintKit
                    (i just want to test it on an ak)
    		engine->forceUpdate(local_player->getEnginePointer());
    	}
    
            Sleep(1);
    //Forceupdate (copypasted for the moment)
    Code:
    	
    void CEngine::forceUpdate(DWORD eng_ptr)
    {
    	mem->WriteMem<int>(eng_ptr + 0x16C, -1);
    }
    All of this is in a loop like always.
    Last edited by Background; 01-31-2016 at 10:05 AM.

  7. #5
    PhY'z's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    518
    Reputation
    58
    Thanks
    1,310
    My Mood
    Angelic
    Quote Originally Posted by Background View Post
    Thanks you alot guys, i did it but it's not working anymore, here is my code :

    //Write
    Code:
    	
            if(GetAsyncKeyState(VK_NUMPAD1))
    	{
    		mem->WriteMem<int>(WEAPON_AK47 + 0x2F98, 0);//m_iItemIDHigh
    		mem->WriteMem<int>(WEAPON_AK47 + 0x2F9C, -1);//m_iItemIDLow
    		mem->WriteMem<int>(WEAPON_AK47 + 0x3158, 0);//m_OriginalOwnerXuidLow
    		mem->WriteMem<int>(WEAPON_AK47 + 0x315C, 0);//m_OriginalOwnerXuidHigh
    		mem->WriteMem<int>(WEAPON_AK47 + 0x3160, 474);//m_nFallbackPaintKit
                    (i just want to test it on an ak)
    		engine->forceUpdate(local_player->getEnginePointer());
    	}
    
            Sleep(1);
    //Forceupdate (copypasted for the moment)
    Code:
    	
    void CEngine::forceUpdate(DWORD eng_ptr)
    {
    	mem->WriteMem<int>(eng_ptr + 0x16C, -1);
    }
    All of this is in a loop like always.
    ....it's not to write the weapon I'd (weapon_ak47) + offset... You get the current weapon base and do it + offset, so it will work

  8. The Following User Says Thank You to PhY'z For This Useful Post:

    Background (02-01-2016)

  9. #6
    rwby's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Location
    client.dll
    Posts
    1,631
    Reputation
    142
    Thanks
    6,723
    Quote Originally Posted by Background View Post
    Thanks you alot guys, i did it but it's not working anymore, here is my code :

    //Write
    Code:
    	
            if(GetAsyncKeyState(VK_NUMPAD1))
    	{
    		mem->WriteMem<int>(WEAPON_AK47 + 0x2F98, 0);//m_iItemIDHigh
    		mem->WriteMem<int>(WEAPON_AK47 + 0x2F9C, -1);//m_iItemIDLow
    		mem->WriteMem<int>(WEAPON_AK47 + 0x3158, 0);//m_OriginalOwnerXuidLow
    		mem->WriteMem<int>(WEAPON_AK47 + 0x315C, 0);//m_OriginalOwnerXuidHigh
    		mem->WriteMem<int>(WEAPON_AK47 + 0x3160, 474);//m_nFallbackPaintKit
                    (i just want to test it on an ak)
    		engine->forceUpdate(local_player->getEnginePointer());
    	}
    
            Sleep(1);
    //Forceupdate (copypasted for the moment)
    Code:
    	
    void CEngine::forceUpdate(DWORD eng_ptr)
    {
    	mem->WriteMem<int>(eng_ptr + 0x16C, -1);
    }
    All of this is in a loop like always.
    Code:
    		DWORD player = mem.Read<DWORD>(Client.dwBase + LocalPlayer);
    			DWORD weaponIndex = mem.Read<DWORD>(player + m_hActiveWeapon) & 0xFFF;
    			DWORD weaponEntity = mem.Read<DWORD>((Client.dwBase + EntList + weaponIndex * 0x10) - 0x10);
    			int WeaponID = mem.Read<int>(weaponEntity + m_iItemDefinitionIndex);
    
    			float wear = 0.00001f;
    
    			if (WeaponID == 7) // AK
    			{
    				mem.Write<int>(weaponEntity + m_iItemIDHigh, 0);//m_iItemIDHigh
    				mem.Write<int>(weaponEntity + m_iItemIDLow, -1);//m_iItemIDLow
    				mem.Write<int>(weaponEntity + m_OriginalOwnerXuidLow, 0);//m_OriginalOwnerXuidLow
    				mem.Write<int>(weaponEntity + m_OriginalOwnerXuidHigh, 0);//m_OriginalOwnerXuidHigh
    				mem.Write<int>(weaponEntity + m_nFallbackStatTrak, 1337);
    				mem.Write<int>(weaponEntity + m_iEntityQuality, 1);
    				mem.Write<int>(weaponEntity + m_nFallbackPaintKit, cvars->AK47PaintID); // Paint Kit
    				mem.Write<float>(weaponEntity + m_flFallbackWear, wear); // Wear
    
    				if (oldwep != WeaponID)
    				{
    					oldwep = WeaponID;
    					forceUpdate(Engine_dwBase);
    				}
    			}
    Code:
    void forceUpdate(DWORD eng_ptr)
    {
    	mem.Write<int>(eng_ptr + 0x16C, -1);
    }

  10. The Following User Says Thank You to rwby For This Useful Post:

    Background (02-01-2016)

  11. #7
    legit_player's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Location
    /root
    Posts
    313
    Reputation
    10
    Thanks
    2,784
    My Mood
    Cool
    Already helped him with all problems. I think you can close thread.

  12. The Following 2 Users Say Thank You to legit_player For This Useful Post:

    Background (02-01-2016),Smoke (02-01-2016)

  13. #8
    Background's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Location
    .vimrc
    Posts
    61
    Reputation
    10
    Thanks
    573
    My Mood
    Dead
    Thanks all for ur helps and luv u legit_player

  14. #9
    Smoke's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    11,899
    Reputation
    2661
    Thanks
    4,610
    My Mood
    Amazed
    Seems this has been solved.
    /Closed.


    CLICK TO BUY NOW!!


    Quote Originally Posted by Liz View Post
    This is my first vouch, ever. Rapidgator account worked perfectly. Would buy in the future.

Similar Threads

  1. [Help Request] Need some help with my Project
    By Vertual~ in forum Call of Duty Modern Warfare 3 Help
    Replies: 2
    Last Post: 01-30-2012, 04:33 PM
  2. [Help Request] need some help plz
    By crappule20 in forum Combat Arms Help
    Replies: 2
    Last Post: 12-10-2011, 11:25 AM
  3. [Help Request] Need some help with my server premisions
    By pero122 in forum Minecraft Help
    Replies: 5
    Last Post: 11-07-2011, 10:55 PM
  4. [Help Request] Need some help to make a bot
    By Domo in forum Vindictus Help
    Replies: 6
    Last Post: 05-21-2011, 10:15 AM
  5. [Help Request] I need some help with binding eps7
    By v1zhaixingv1 in forum Vindictus Help
    Replies: 3
    Last Post: 05-18-2011, 09:25 PM