Sceneend chams errors on ayyware (Sorry for wrong section :P )

Posts 1–5 of 5 · Page 1 of 1
Sceneend chams errors on ayyware (Sorry for wrong section :P )
Code:
void __fastcall hkSceneEnd(void* thisptr, int edx, void* ctx, void* state, const ModelRenderInfo_t &pInfo, matrix3x4 *pCustomBoneToWorld) {
	static auto scene_end_o = Hooks::VMTModelRender.GetOriginalFunction<sceneend>(9);
	static IMaterial* norm = CreateMaterial(false, true, false);
	for (int i = 1; i < Interfaces::Engine->GetMaxClients(); i++) {
		IClientEntity* ent = (IClientEntity*)Interfaces::EntList->GetClientEntity(i);
		IMaterial* mat = GetCurrentZMaterial(Options.Visuals.matierial);
		IClientEntity* pLocal = (IClientEntity*)Interfaces::EntList->GetClientEntity(Interfaces::Engine->GetLocalPlayer());
		if (ent && pLocal) {


			if (mat) {
				Interfaces::ModelRender->ForcedMaterialOverride(norm);
				ent->DrawModel2(0x1, 255);
				Interfaces::ModelRender->ForcedMaterialOverride(nullptr);
				if (Menu::Window.VisualsTab.OtherFakeChams.GetState())
				{
					if (pLocal)
					{
						IMaterial* mat = CreateMaterial(false, false, false);
						//IMaterial *covered = ChamsStyle1337 ? CoveredLit : CoveredFlat;
						if (mat)
						{
							Vector OrigAng;
							OrigAng = pLocal->GetEyeAngles();
							pLocal->SetAngle2(Vector(0, pLocal->GetLowerBodyYaw(), 0)); // paste here ur AA.y value or pLocal->GetLby() (for example)
							bool LbyColor = false; // u can make LBY INDICATOR. When LbyColor is true. Color will be Green , if false it will be White
							float NormalColor[3] = { 1, 1, 1 };
							float lbyUpdateColor[3] = { 0, 1, 0 };
							Interfaces::RenderView->SetColorModulation(LbyColor ? lbyUpdateColor : NormalColor);
							Interfaces::RenderView->SetBlend(1.0f);
							Interfaces::ModelRender->ForcedMaterialOverride(mat);
							pLocal->DrawModel2(STUDIO_RENDER, 255);
							Interfaces::ModelRender->ForcedMaterialOverride(nullptr);
							pLocal->SetAngle2(OrigAng);
							oDrawModelExecute(thisptr, ctx, state, pInfo, pCustomBoneToWorld);
						}
					}
				}
			}

		}
	}
}
heres the code.

htt ps:// pr nt.sc /hhak1c

somehow i need to know whats getcurrentzmaterial on ayyware. and whats options visuals on ayyware also sceneend type name is not allowed help me out with that too.
rofl ur doing all of this so wrong

1) ur not calling the original
2) ur calling a completely different original for a different hook
3) antipaste exists for a reason. if you can't remove it, too bad
4) menu::window.visualstab.(option).getindex()

uc has a thread all about actually hooking sceneend, and doing ghost chams, where there's no antipaste. check those out and try to understand, because really you shouldn't need help to solve these problems if you actually attempted to learn
yeah i knew it xd

- - - Updated - - -

no i post here bc i got banned on uc 10 times

- - - Updated - - -

Quote Originally Posted by axio42 View Post
rofl ur doing all of this so wrong

1) ur not calling the original
2) ur calling a completely different original for a different hook
3) antipaste exists for a reason. if you can't remove it, too bad
4) menu::window.visualstab.(option).getindex()

uc has a thread all about actually hooking sceneend, and doing ghost chams, where there's no antipaste. check those out and try to understand, because really you shouldn't need help to solve these problems if you actually attempted to learn
just help me with this fucking shit please where i can get getcurrentzmaterial class and why scene end type name is not allowed if you have ******* please just come working on this for a week mynamjef25#4565
i replied with some stuff that helps you. if you don't know what antipaste is or how to remove it, well too bad for you.

also, im very glad you got banned on uc alongside that 'realsamkalinka' kid. both of you are braindead. instead of trying to rely on spoonfeed 24/7 learn what you're doing so you won't get flamed for being a retard
dude i know what i am doing lmao btw i know how to remove antipaste thanks tho now i can just make pseudo code compitable with ayy but still dont know where to hook sceneend chams and got a new problem too xd

New problem is:

So apperantly i changed my shitty sv cheats spoofing thirdperson to normal one and antiaim doesnt show up in thirdperson now, need help. Also it doesnt changes values too. (Like it doesnt zoom in our out.)

Heres the code (on overrideview hook)

Code:
if (Menu::Window.MiscTab.OtherThirdperson.GetState()) {
			if (Interfaces::Engine->IsInGame() && pLocal->IsAlive())
			{
				static Vector vecAngles;
				Interfaces::Engine->GetViewAngles(vecAngles);
				if (Menu::Window.MiscTab.OtherThirdpersonDeger.GetValue() && pLocal->IsAlive())
				{
					if (!Interfaces::pInput->m_fCameraInThirdPerson)
					{
						Interfaces::pInput->m_fCameraInThirdPerson = true;
						Interfaces::pInput->m_vecCameraOffset = Vector(vecAngles.x, vecAngles.y, Menu::Window.MiscTab.OtherThirdpersonDeger.GetValue());
					}
				}
				else
				{
					Interfaces::pInput->m_fCameraInThirdPerson = false;
					Interfaces::pInput->m_vecCameraOffset = Vector(vecAngles.x, vecAngles.y, 0);
				}
			}
		}
the aa doesnt fucking show up tho...

- - - Updated - - -

i didnt understand step 1 and 2 on your reply xd bc braindead pasterz (not really)
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us