Results 1 to 13 of 13
  1. #1
    u55dx's Avatar
    Join Date
    Mar 2017
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0

    Question Clan Tag Changer Problem with code

    I have problem with my clan tag changer code. Can you help me guyz?

    Code:


    Code:
    Code:
    //clan tags
    		static bool active = true;
    		if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag1.GetKey())) {
    			if (active == true) {
    				printf("Something\n");
    				SetClanTag("V E R U S . C C |", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag2.GetKey())) {
    			if (active == true) {
    				SetClanTag("V E R U S . C C |", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag3.GetKey())) {
    			if (active == false) {
    				SetClanTag("uff yaa", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag4.GetKey())) {
    			if (active == false) {
    				SetClanTag("izakMODS", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag5.GetKey())) {
    			if (active == false) {
    				SetClanTag("[VALV\xE1\xB4\xB1]", "Valve");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag6.GetKey())) {
    			if (active == false) {
    				SetClanTag("GITARA SIEMA", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag7.GetKey())) {
    			if (active == false) {
    				SetClanTag("m0neywaster", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag8.GetKey())) {
    			if (active == false) {
    				SetClanTag("[ZE4CHEATS]", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag8.GetKey())) {
    			if (active == false) {
    				SetClanTag("Trump Supporter", "name");
    				active = true;
    			}
    		}
    		else
    			active = true;
    	}

  2. #2
    TheHount's Avatar
    Join Date
    Mar 2017
    Gender
    female
    Location
    Westeros
    Posts
    104
    Reputation
    10
    Thanks
    510
    Could you try being more specific with what kind of problem you are having? We can't really help you with 0 knowledge of what exactly is going wrong.
    Do you get an error when decompiling, or does the whole function just not work?

    Also in your code we see that you're using 'SetClanTag' but we can't see that part of the code, make sure you also show us that.

  3. #3
    u55dx's Avatar
    Join Date
    Mar 2017
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0
    Function isn't working. No errors, warrnings, messages here's a code:

    Code:
    // Do da hacks
    		IClientEntity *pLocal = Interfaces::EntList->GetClientEntity(Interfaces::Engine->GetLocalPlayer());
    		if (Interfaces::Engine->IsConnected() && Interfaces::Engine->IsInGame() && pLocal && pLocal->IsAlive())
    
    			Hacks::MoveHacks(pCmd, bSendPacket);
    	}
    	if (Interfaces::Engine->IsInGame() && Interfaces::Engine->IsConnected()) {
    		static auto SetClanTag = reinterpret_cast<void(__fastcall*)(const char*, const char*)>(reinterpret_cast<uintptr_t>(GetModuleHandleA("engine.dll")) + 0x9cb00);
    
    		//clan tags
    		static bool active = true;
    		if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag1.GetKey())) {
    			if (active == true) {
    				printf("Something\n");
    				SetClanTag("V E R U S . C C |", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag2.GetKey())) {
    			if (active == true) {
    				SetClanTag("V E R U S . C C |", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag3.GetKey())) {
    			if (active == false) {
    				SetClanTag("uff yaa", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag4.GetKey())) {
    			if (active == false) {
    				SetClanTag("izakMODS", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag5.GetKey())) {
    			if (active == false) {
    				SetClanTag("[VALV\xE1\xB4\xB1]", "Valve");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag6.GetKey())) {
    			if (active == false) {
    				SetClanTag("GITARA SIEMA", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag7.GetKey())) {
    			if (active == false) {
    				SetClanTag("m0neywaster", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag8.GetKey())) {
    			if (active == false) {
    				SetClanTag("[ZE4CHEATS]", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag8.GetKey())) {
    			if (active == false) {
    				SetClanTag("Trump Supporter", "name");
    				active = true;
    			}
    		}
    		else
    			active = true;
    	}
    That's all

    And this

    Code:
    *
    #pragma region ClandTags
    	ClandTags.SetText("ClanTag Changer");
    	ClandTags.SetPosition(408, 175);
    	ClandTags.SetSize(300, 300);
    	RegisterControl(&ClandTags);
    
    
    	ClanTag1.SetFileId("clantag_key1");
    	ClandTags.PlaceLabledControl("STAINLESS' Tag", this, &ClanTag1);
    
    	ClanTag2.SetFileId("clantag_key2");
    	ClandTags.PlaceLabledControl("UNTRA$TED Tag", this, &ClanTag2);
    
    	ClanTag3.SetFileId("clantag_key3");
    	ClandTags.PlaceLabledControl("uff yaa Tag", this, &ClanTag3);
    
    	ClanTag4.SetFileId("clantag_key4");
    	ClandTags.PlaceLabledControl("izakMods TAG", this, &ClanTag4);
    
    	ClanTag5.SetFileId("clantag_key5");
    	ClandTags.PlaceLabledControl("Valve Tag", this, &ClanTag5);
    
    	ClanTag7.SetFileId("clantag_key7");
    	ClandTags.PlaceLabledControl("m0neywaster Tag", this, &ClanTag7);
    
    	ClanTag6.SetFileId("clantag_key6");
    	ClandTags.PlaceLabledControl("GITARA SIEMA Tag", this, &ClanTag6);
    
    	ClanTag8.SetFileId("clantag_key8");
    	ClandTags.PlaceLabledControl("ZE4CHEATS Tag", this, &ClanTag8);
    
    	ClanTag9.SetFileId("clantag_key9");
    	ClandTags.PlaceLabledControl("Trump Supporter Tag", this, &ClanTag9);
    	*
    But in here i've got 2 errors

    1. Operand for "*" must be a poniter
    2. Operand for "*" must be a poniter
    Last edited by u55dx; 03-24-2017 at 03:25 PM.

  4. #4
    TheHount's Avatar
    Join Date
    Mar 2017
    Gender
    female
    Location
    Westeros
    Posts
    104
    Reputation
    10
    Thanks
    510
    Quote Originally Posted by u55dx View Post
    Function isn't working. No errors, warrnings, messages here's a code:

    Code:
    // Do da hacks
    		IClientEntity *pLocal = Interfaces::EntList->GetClientEntity(Interfaces::Engine->GetLocalPlayer());
    		if (Interfaces::Engine->IsConnected() && Interfaces::Engine->IsInGame() && pLocal && pLocal->IsAlive())
    
    			Hacks::MoveHacks(pCmd, bSendPacket);
    	}
    	if (Interfaces::Engine->IsInGame() && Interfaces::Engine->IsConnected()) {
    		static auto SetClanTag = reinterpret_cast<void(__fastcall*)(const char*, const char*)>(reinterpret_cast<uintptr_t>(GetModuleHandleA("engine.dll")) + 0x9cb00);
    
    		//clan tags
    		static bool active = true;
    		if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag1.GetKey())) {
    			if (active == true) {
    				printf("Something\n");
    				SetClanTag("V E R U S . C C |", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag2.GetKey())) {
    			if (active == true) {
    				SetClanTag("V E R U S . C C |", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag3.GetKey())) {
    			if (active == false) {
    				SetClanTag("uff yaa", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag4.GetKey())) {
    			if (active == false) {
    				SetClanTag("izakMODS", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag5.GetKey())) {
    			if (active == false) {
    				SetClanTag("[VALV\xE1\xB4\xB1]", "Valve");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag6.GetKey())) {
    			if (active == false) {
    				SetClanTag("GITARA SIEMA", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag7.GetKey())) {
    			if (active == false) {
    				SetClanTag("m0neywaster", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag8.GetKey())) {
    			if (active == false) {
    				SetClanTag("[ZE4CHEATS]", "name");
    				active = true;
    			}
    		}
    		else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag8.GetKey())) {
    			if (active == false) {
    				SetClanTag("Trump Supporter", "name");
    				active = true;
    			}
    		}
    		else
    			active = true;
    	}
    That's all

    And this

    Code:
    *
    #pragma region ClandTags
    	ClandTags.SetText("ClanTag Changer");
    	ClandTags.SetPosition(408, 175);
    	ClandTags.SetSize(300, 300);
    	RegisterControl(&ClandTags);
    
    
    	ClanTag1.SetFileId("clantag_key1");
    	ClandTags.PlaceLabledControl("STAINLESS' Tag", this, &ClanTag1);
    
    	ClanTag2.SetFileId("clantag_key2");
    	ClandTags.PlaceLabledControl("UNTRA$TED Tag", this, &ClanTag2);
    
    	ClanTag3.SetFileId("clantag_key3");
    	ClandTags.PlaceLabledControl("uff yaa Tag", this, &ClanTag3);
    
    	ClanTag4.SetFileId("clantag_key4");
    	ClandTags.PlaceLabledControl("izakMods TAG", this, &ClanTag4);
    
    	ClanTag5.SetFileId("clantag_key5");
    	ClandTags.PlaceLabledControl("Valve Tag", this, &ClanTag5);
    
    	ClanTag7.SetFileId("clantag_key7");
    	ClandTags.PlaceLabledControl("m0neywaster Tag", this, &ClanTag7);
    
    	ClanTag6.SetFileId("clantag_key6");
    	ClandTags.PlaceLabledControl("GITARA SIEMA Tag", this, &ClanTag6);
    
    	ClanTag8.SetFileId("clantag_key8");
    	ClandTags.PlaceLabledControl("ZE4CHEATS Tag", this, &ClanTag8);
    
    	ClanTag9.SetFileId("clantag_key9");
    	ClandTags.PlaceLabledControl("Trump Supporter Tag", this, &ClanTag9);
    	*
    But in here i've got 2 errors

    1. Operand for "*" must be a poniter
    2. Operand for "*" must be a poniter
    Are you sure the clan tag offset is correct?

  5. #5
    u55dx's Avatar
    Join Date
    Mar 2017
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0
    Yep and i have this too. I download a source from internet and im making a remake

    Code:
    ClanTag.SetFileId("clantag");
    	ClanTag.AddItem("None");
    	ClanTag.AddItem("Verus.cc");
    	ClanTag.AddItem("Verus.cc Animated");
    	ClanTag.AddItem("Valve");
    	OtherGroup.PlaceLabledControl("Clan Tag", this, &ClanTag);

  6. #6
    TheHount's Avatar
    Join Date
    Mar 2017
    Gender
    female
    Location
    Westeros
    Posts
    104
    Reputation
    10
    Thanks
    510
    Quote Originally Posted by u55dx View Post
    Yep and i have this too. I download a source from internet and im making a remake

    Code:
    ClanTag.SetFileId("clantag");
    	ClanTag.AddItem("None");
    	ClanTag.AddItem("Verus.cc");
    	ClanTag.AddItem("Verus.cc Animated");
    	ClanTag.AddItem("Valve");
    	OtherGroup.PlaceLabledControl("Clan Tag", this, &ClanTag);
    The C+P source you're using might have outdated offsets.
    Have you tried debugging it yet?

  7. #7
    u55dx's Avatar
    Join Date
    Mar 2017
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by TheHount View Post
    The C+P source you're using might have outdated offsets.
    Have you tried debugging it yet?
    Debug = crash csgo. Im using release x86 v140

  8. #8
    TheHount's Avatar
    Join Date
    Mar 2017
    Gender
    female
    Location
    Westeros
    Posts
    104
    Reputation
    10
    Thanks
    510
    Quote Originally Posted by u55dx View Post
    Debug = crash csgo. Im using release x86 v140
    Without the clantag changer code your cheat does start?

  9. #9
    u55dx's Avatar
    Join Date
    Mar 2017
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by TheHount View Post
    Without the clantag changer code your cheat does start?
    Yes. But when i load my cfg to play on hvh and join a server it's crashed my cs. I don't know why.

  10. #10
    TheHount's Avatar
    Join Date
    Mar 2017
    Gender
    female
    Location
    Westeros
    Posts
    104
    Reputation
    10
    Thanks
    510
    Quote Originally Posted by u55dx View Post
    Yes. But when i load my cfg to play on hvh and join a server it's crashed my cs. I don't know why.
    That's quite weird, not sure what causes the crashes. Any errors when it crashes? Kinda out of ideas, sorry bud.

  11. #11
    u55dx's Avatar
    Join Date
    Mar 2017
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0
    I can send you my source. To check it out

  12. #12
    TheHount's Avatar
    Join Date
    Mar 2017
    Gender
    female
    Location
    Westeros
    Posts
    104
    Reputation
    10
    Thanks
    510
    Quote Originally Posted by u55dx View Post
    I can send you my source. To check it out
    Shoot me a PM

  13. #13
    refinegaming's Avatar
    Join Date
    Jul 2016
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    Update your clan tag offset, simple as that and you wont crash.

    Also, since youre using gerdhook and don't know how to actually update it.
    replace
    static auto SetClanTag = reinterpret_cast<void(__fastcall*)(const char*, const char*)>(reinterpret_cast<uintptr_t>(GetModuleHandl eA("engine.dll")) + 0x9cb00);

    with

    static auto SetClanTag = reinterpret_cast<void(__fastcall*)(const char*, const char*)>(reinterpret_cast<uintptr_t>(GetModuleHandl eA("engine.dll")) + 0x9CF00);
    Last edited by refinegaming; 03-25-2017 at 11:02 PM.

Similar Threads

  1. [Outdated] Clan Tag Changer
    By Draig9 in forum Counter-Strike 2 Hacks
    Replies: 82
    Last Post: 11-06-2018, 10:30 AM
  2. [Help Request] Clan Tag Changer Problem with code
    By u55dx in forum Counter-Strike 2 Help
    Replies: 2
    Last Post: 03-25-2017, 04:00 PM
  3. [Help] Problem with code?
    By jamie901 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 16
    Last Post: 08-05-2011, 04:53 AM
  4. [Help]problem with code[/solved]
    By pushdis15 in forum Visual Basic Programming
    Replies: 2
    Last Post: 04-08-2011, 06:41 AM
  5. Problems with promo retail code of warrock generator.
    By DonLukem in forum Suggestions, Requests & General Help
    Replies: 2
    Last Post: 08-08-2007, 08:21 PM