Sorry for the inconvenience and the delay, i've solved applying the vectors on wp hook, logic on new cmd... thanks...
[solved!]
Hi everyone, i was doing a pSilent Aimbot but i can't get it works, i've done something like this using the oldcmd for the points.
all this it's a class...
Example:
Code:void Initialize() { //bla bla bla calculate the best target... vec3_t EnemyVec, VecAngle; VectorSubtract(EnemyTarget, refdef->Origin, EnemyVec); // You know he does this, EnemyTarget it's the final target [X, Y, Z] VectoAngles(EnemyVec, VecAngle); // You know he does this. GetAngleToOrigin(EnemyTarget, End); // You know he does this, End it's a vec3_t as property } void ApplypSilent(usercmd_t* oldcmd) // writepacket... { oldcmd->viewangles[0] += ANGLE2SHORT(End[0])); oldcmd->viewangles[1] += ANGLE2SHORT(End[1])); //oldcmd->viewangles[1] += ANGLE2SHORT(End[2])); // roll forever 0. }
What i'm doing wrong?, thx to all.
Last edited by niko1921; 12-21-2016 at 06:49 PM.
Sorry for the inconvenience and the delay, i've solved applying the vectors on wp hook, logic on new cmd... thanks...
[solved!]
Last edited by niko1921; 01-19-2017 at 01:21 AM.
//Solved .
Click Here to visit the official MPGH wiki! Keep up with the latest news and information on games and MPGH! To check out pages dedicated to games, see the links below!
dd/mm/yyyy
Member - 31/01/2015
Premium - 12/09/2016
Call of Duty minion - 05/11/2016 - 05/11/2019
BattleOn minion - 28/02/2017 - 05/11/2019
Battlefield minion - 30/05/2017 - 05/11/2019
Other Semi-Popular First Person Shooter Hacks minion - 21/09/2017 - 17/09/2019
Publicist - 07/11/2017 - 02/08/2018
Cock Sucker - 01/12/2017 - Unknown
Minion+ - 06/03/2018 - 05/11/2019
Fortnite minion - 08/05/2018 - 05/11/2019
Head Publicist - 08/10/2018 - 10/01/2020
Developer Team - 26/10/2019 - 10/01/2020
Former Staff - 10/01/2020