PostHelp_ReturnAddress help

Posts 115 of 18 · Page 1 of 2
_ReturnAddress help
I am going to be completely honest here im pasting from ayyware & I am trying to compile and I am getting "

Code:
if (Menu::Window.VisualsTab.OtherNoVisualRecoil.GetState() && (DWORD)(_ReturnAddress()) == Offsets::Functions::dwCalcPlayerView)
"identifier "_ReturnAddress" is undefined"

if somebody could tell me what to do without being a complete cuck about it it'd be great <3
Menu::Window.VisualsTab.OtherNoVisualRecoil.GetSta te() alrealy shown you are using ayyware. Anyways.

Just look at original ayyware and paste that one. :^) Much easy'r.
Or declare your shit.
Quote Originally Posted by Joplin View Post
Menu::Window.VisualsTab.OtherNoVisualRecoil.GetSta te() alrealy shown you are using ayyware. Anyways.

Just look at original ayyware and paste that one. :^) Much easy'r.
Or declare your shit.
not sure how & im pretty sure original ayyware has the same problem
You didnt included intrin.h
Quote Originally Posted by KingJsi123 View Post
You didnt included intrin.h
where would I include that?
Quote Originally Posted by Rodgr View Post
where would I include that?
learn the fucking c++ basics at least
Quote Originally Posted by KingJsi123 View Post
where you have the error.
yeh okay I understand that but where in the code?

Code:
	if (Menu::Window.VisualsTab.OtherNoVisualRecoil.GetState() && (DWORD)(_ReturnAddress()) == Offsets::Functions::dwCalcPlayerView)
	{
		IClientEntity* pLocalEntity = NULL;

		float* m_LocalViewAngles = NULL;

		__asm
		{
			MOV pLocalEntity, ESI
			MOV m_LocalViewAngles, EBX
		}

		Vector viewPunch = pLocalEntity->localPlayerExclusive()->GetViewPunchAngle();
		Vector aimPunch = pLocalEntity->localPlayerExclusive()->GetAimPunchAngle();

		m_LocalViewAngles[0] -= (viewPunch[0] + (aimPunch[0] * 2 * 0.4499999f));
		m_LocalViewAngles[1] -= (viewPunch[1] + (aimPunch[1] * 2 * 0.4499999f));
		m_LocalViewAngles[2] -= (viewPunch[2] + (aimPunch[2] * 2 * 0.4499999f));
		return true;
	}

	return result;
}
- - - Updated - - -

Solved it thanks.
Quote Originally Posted by prefiresmurf View Post
Can i ask how u solved it?
With "Magic"
What the fuck is this trash code.
Learncpp.com
Honestly common sense would fix this but it seems you dont have any
Quote Originally Posted by hotted1135 View Post
What the fuck is this trash code.
Learncpp.com
Honestly common sense would fix this but it seems you dont have any
you should look at the date of this seems like you don't either...
Quote Originally Posted by vindecky View Post
you should look at the date of this seems like you don't either...
So what? Wasnt me who gravedug this thread haha
Quote Originally Posted by hotted1135 View Post
So what? Wasnt me who gravedug this thread haha
no but you took time to reply to a thread thats months old to talk shit on it thats not having common sense right there

- - - Updated - - -

Quote Originally Posted by prefiresmurf View Post
Btw iam asking for real answers.
also, #include "intrin.h" at the top
Posts 115 of 18 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?