QuestionClan Tag Changer Problem with code

Posts 113 of 13 · Page 1 of 1
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;
	}
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.
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
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?
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);
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?
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
Quote Originally Posted by u55dx View Post
Debug = crash csgo. Im using release x86 v140
Without the clantag changer code your cheat does start?
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.
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.
I can send you my source. To check it out
Quote Originally Posted by u55dx View Post
I can send you my source. To check it out
Shoot me a PM
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);
Posts 113 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?