unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials > First-Person Shooters > Counter Strike

- Sponsored Advertisement -
http://www.myfpscheats.com/

Reply
 
Thread Tools Display Modes
  #1  
Old 12-24-2006, 06:50 AM
zero_tolerance zero_tolerance is offline
Senior Member
 
Join Date: Dec 2006
Posts: 289
Default Vectweakers

By Crazylord

As the topic says it's my vectweaker code, it works like this:
avadjust 0 0.45 1.0 0.0
this would have highered your standing vec with 0.45 and the forward would by +1.0 to all dots, right would stay the same since the value is 0.0

+rep if you like

Put this somewhere in client.cpp near the function func_avclear
Code:
//===================================================================================
void func_avadjust (void)
{
	int duck = cmd.argI(1);
	if (duck)
	{
		for (int i=0;i<gAimbot.AimVecsD.size();i++)
		{
			if (cmd.argF(2))
				gAimbot.AimVecsD[i].h += cmd.argF(2);
			if (cmd.argF(3))
				gAimbot.AimVecsD[i].f += cmd.argF(3);
			if (cmd.argF(4))
				gAimbot.AimVecsD[i].r += cmd.argF(4);
		}
	}
	else if (!duck)
	{
		for (int i=0;i<gAimbot.AimVecsS.size();i++)
		{
			if (cmd.argF(2))
				gAimbot.AimVecsS[i].h += cmd.argF(2);
			if (cmd.argF(3))
				gAimbot.AimVecsS[i].f += cmd.argF(3);
			if (cmd.argF(4))
				gAimbot.AimVecsS[i].r += cmd.argF(4);
		}
	}
}
Now search for void Init_Command_Interpreter() in client.cpp and add
Code:
	REGISTER_COMMAND(avadjust  	)
under this line:
Code:
	REGISTER_COMMAND(avclear  	)
--------------------------------------------------------------------------------

And these are two old methods of doing my vectweaker, whoever cares, it's just another way:

Code:
void func_duck_height()
{
	float Duck_Height = cmd.argF(1);

	for (vector<aimvec>::iterator si = gAimbot.AimVecsD.begin(); si != gAimbot.AimVecsD.end();++si)
		gAimbot.AimVecsD[0].h+=Duck_Height;
}

void func_duck_forward()
{
	float Duck_Forward = cmd.argF(1);

	for (vector<aimvec>::iterator si = gAimbot.AimVecsD.begin(); si != gAimbot.AimVecsD.end();++si)
		gAimbot.AimVecsD[0].f+=Duck_Forward;
}

void func_duck_right()
{
	float Duck_Right = cmd.argF(1);

	for (vector<aimvec>::iterator si = gAimbot.AimVecsD.begin(); si != gAimbot.AimVecsD.end();++si)
		gAimbot.AimVecsD[0].r+=Duck_Right;
}

void func_stand_height()
{
	float Stand_Height = cmd.argF(1);

	for (vector<aimvec>::iterator si = gAimbot.AimVecsS.begin(); si != gAimbot.AimVecsS.end();++si)
		gAimbot.AimVecsS[0].h+=Stand_Height;
}

void func_stand_forward()
{
	float Stand_Forward = cmd.argF(1);

	for (vector<aimvec>::iterator si = gAimbot.AimVecsS.begin(); si != gAimbot.AimVecsS.end();++si)
		gAimbot.AimVecsS[0].f+=Stand_Forward;
}

void func_stand_right()
{
	float Stand_Right = cmd.argF(1);

	for (vector<aimvec>::iterator si = gAimbot.AimVecsS.begin(); si != gAimbot.AimVecsS.end();++si)
		gAimbot.AimVecsS[0].r+=Stand_Right;
}
And another way:
Code:
void duck_adjust()
{
	float duck_h = cmd.argF(1);
	float duck_f = cmd.argF(2);
	float duck_r = cmd.argF(3);

	for (vector<aimvec>::iterator si = gAimbot.AimVecsD.begin();si != gAimbot.AimVecsD.end();++si)
	{
		gAimbot.AimVecsD[0].h += duck_h;
		gAimbot.AimVecsD[0].f += duck_f;
		gAimbot.AimVecsD[0].r += duck_r;
	}
}

void stand_adjust()
{
	float stand_h = cmd.argF(1);
	float stand_f = cmd.argF(2);
	float stand_r = cmd.argF(3);

	for (vector<aimvec>::iterator si = gAimbot.AimVecsS.begin();si != gAimbot.AimVecsS.end();++si)
	{
		gAimbot.AimVecsS[0].h += stand_h;
		gAimbot.AimVecsS[0].f += stand_f;
		gAimbot.AimVecsS[0].r += stand_r;
	}
}
Reply With Quote
Reply

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit

Tags
vectweakers

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 06:48 PM.


- Sponsored Advertisement -
http://www.myfpscheats.com/