WinkAyyware noscope

Posts 17 of 7 · Page 1 of 1
Ayyware noscope
Had some help with this but thought it would be nice to release seeing people struggling their asses off.

In PaintTraverse_Hooked:

{
Hacks:rawHacks();
if (Menu::Window.VisualsTab.OtherNoScope.GetState() && hackManager.pLocal()) {
if (hackManager.pLocal()->IsScoped())
{
int width, height;
Interfaces::Engine->GetScreenSize(width, height);
Render::Line(width / 2, 0, width / 2, height, Color(0, 0, 0, 255));
Render::Line(0, height / 2, width, height / 2, Color(0, 0, 0, 255));

ConVar* drawhud = Interfaces::CVar->FindVar("cl_DrawHud");
*(int*)((DWORD)&drawhud->fnChangeCallback + 0xC) = 0;
drawhud->SetValue(0);
}
else
{
ConVar* drawhud = Interfaces::CVar->FindVar("cl_DrawHud");
drawhud->SetValue(1);
}
}
}

hfhf
That's not even proper no scope

All that's left to do is draw the lines on the screen in visuals somewhere

You said you had help with that and then say there is people struggling? Why did you need help to look up a console command?

if (Vars.NoScope)
{
static unsigned int zoboomafoo = 0;
PCHAR szPanelName = (PCHAR)Interfaces::Panels->GetName(vguiPanel);
if (!zoboomafoo) {
if (strstr(szPanelName, "HudZoom"))
zoboomafoo = vguiPanel;
}
else if (vguiPanel == zoboomafoo) {
return;
}
}
Well, it works.
Quote Originally Posted by R3DFluXx View Post
Well, it works.
Works but it is disabling all of the HUD elements ( including kill feed ) so you can't even tell who or when you killed someone
oh well at least its something to use
Much more effective way -

In painttraverse:
Code:
if (Menu::Window.VisualsTab.EffectNoScope.GetState() && pLocal->IsScoped() && pLocal->IsAlive() && !strcmp("HudZoom", Interfaces::Panels->GetName(vguiPanel)))
{
	return;
}

oPaintTraverse(pPanels, vguiPanel, forceRepaint, allowForce);


//in (focusoverlaypanel = vguipanel)

if (Menu::Window.VisualsTab.EffectNoScope.GetState() && pLocal->IsScoped() && pLocal->IsAlive()) {
	RECT View = Render::GetViewport();
	int MidX = View.right / 2;
	int MidY = View.bottom / 2;
	Render::Line(MidX, MidY - 3000, MidX, MidY + 3000, Color(0, 0, 0, 255));
	Render::Line(MidX - 3000, MidY, MidX + 3000, MidY, Color(0, 0, 0, 255));
}
Quote Originally Posted by axio42 View Post
Much more effective way -

In painttraverse:
Code:
if (Menu::Window.VisualsTab.EffectNoScope.GetState() && pLocal->IsScoped() && pLocal->IsAlive() && !strcmp("HudZoom", Interfaces::Panels->GetName(vguiPanel)))
{
	return;
}

oPaintTraverse(pPanels, vguiPanel, forceRepaint, allowForce);


//in (focusoverlaypanel = vguipanel)

if (Menu::Window.VisualsTab.EffectNoScope.GetState() && pLocal->IsScoped() && pLocal->IsAlive()) {
	RECT View = Render::GetViewport();
	int MidX = View.right / 2;
	int MidY = View.bottom / 2;
	Render::Line(MidX, MidY - 3000, MidX, MidY + 3000, Color(0, 0, 0, 255));
	Render::Line(MidX - 3000, MidY, MidX + 3000, MidY, Color(0, 0, 0, 255));
}
Was looking for this Thanks xD
Posts 17 of 7 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?