AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   LookAtPoint || LookAtClient [TF2/Possibly Other Games] (https://forums.alliedmods.net/showthread.php?t=253758)

thecount 12-27-2014 23:07

LookAtPoint || LookAtClient [TF2/Possibly Other Games]
 
Some functions that can be used to make a client look basically anywhere you tell them to. Not sure if it has been posted before, but I thought this might be helpful to some people.


Spoiler

Mitchell 12-30-2014 09:01

Re: LookAtPoint || LookAtClient [TF2/Possibly Other Games]
 
LookAtClient does alot of what LookAtPoint does.. you could make this a lot shorter.
also, you accept 'any' as a client, and the point.. so what if i pass in a handle (ADT_Array) full of clients? Trick Question, you don't need to have the any tag.
Something like this perhaps?
Spoiler

thecount 12-30-2014 11:58

Re: LookAtPoint || LookAtClient [TF2/Possibly Other Games]
 
Yeah that works too.

404UserNotFound 01-03-2015 22:05

Re: LookAtPoint || LookAtClient [TF2/Possibly Other Games]
 
I have a funny feeling that this could used for some kind of aimbot plugin.

thecount 01-03-2015 23:24

Re: LookAtPoint || LookAtClient [TF2/Possibly Other Games]
 
Quote:

Originally Posted by abrandnewday (Post 2244395)
I have a funny feeling that this could used for some kind of aimbot plugin.

Bingo.

Sreaper 01-03-2015 23:58

Re: LookAtPoint || LookAtClient [TF2/Possibly Other Games]
 
Quote:

Originally Posted by abrandnewday (Post 2244395)
I have a funny feeling that this could used for some kind of aimbot plugin.

https://forums.alliedmods.net/showthread.php?t=238529
https://forums.alliedmods.net/showpo...41&postcount=8

There are plenty of aimbot plugins available on the forum to use. That is just two of many.

Chdata 01-04-2015 01:36

Re: LookAtPoint || LookAtClient [TF2/Possibly Other Games]
 
PHP Code:

// iEntity can also be a player...
stock LookAtEntity(iClientiEntity)
{
    
decl Float:vPos[3];
    
GetEntPropVector(iEntProp_Data"m_vecAbsOrigin"vPos); // Diff between this and m_vecOrigin? Who knows! But both players and various entities have that.
    
LookAtPoint(iClientvPos);



Mitchell 01-04-2015 19:20

Re: LookAtPoint || LookAtClient [TF2/Possibly Other Games]
 
Quote:

Originally Posted by Sreaper (Post 2244420)
https://forums.alliedmods.net/showthread.php?t=238529
https://forums.alliedmods.net/showpo...41&postcount=8

There are plenty of aimbot plugins available on the forum to use. That is just two of many.

Also one that works for exact headshots: https://bitbucket.org/MitchDizzle/tf2-aimbot

friagram 01-05-2015 01:04

Re: LookAtPoint || LookAtClient [TF2/Possibly Other Games]
 
Clientside prediction is always gonna stop that type stuff from working properly on moving targets.

Chdata 01-05-2015 04:16

Re: LookAtPoint || LookAtClient [TF2/Possibly Other Games]
 
^ Unless you also make it jump your aim when attack is pressed (probably)


Let's go remake the projectile aimbot while we're at it

The one that can predict/lead targets

And post it publicly

l ol

wat


All times are GMT -4. The time now is 18:32.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.