Raised This Month: $12 Target: $400
 3% 

Detect if player sees object


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Estland
Member
Join Date: Nov 2012
Old 02-06-2015 , 12:39   Detect if player sees object
Reply With Quote #1

How can I detect if player can see an object (entity)?
Estland is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 02-06-2015 , 12:42   Re: Detect if player sees object
Reply With Quote #2

Ham_F_Visible
__________________
HamletEagle is offline
Estland
Member
Join Date: Nov 2012
Old 02-06-2015 , 12:44   Re: Detect if player sees object
Reply With Quote #3

So basically it is possible to put certain objects in the walls and if player can see that, then I can ban him for wallhack?
Estland is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 02-06-2015 , 13:02   Re: Detect if player sees object
Reply With Quote #4

no, hacks are client side
jimaway is offline
Estland
Member
Join Date: Nov 2012
Old 02-06-2015 , 13:13   Re: Detect if player sees object
Reply With Quote #5

But I can detect if player aims at the spot (with object) longer than defined time?

Last edited by Estland; 02-06-2015 at 13:13.
Estland is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-06-2015 , 18:19   Re: Detect if player sees object
Reply With Quote #6

I think you can do this. Place an object in a wall that he shouldn't be able to see. If he blatantly aims and shoots at it, he may have a wall hack. I wouldn't recommend banning on the first detection, make sure it consistently happens 2-3 times. You can possibly put a fake player there, similar as I did with the Aimbot detector. It might be tough to get the entire player within the wall without any body parts poking out though.
__________________

Last edited by Bugsy; 02-06-2015 at 18:20.
Bugsy is offline
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 02-07-2015 , 05:20   Re: Detect if player sees object
Reply With Quote #7

Quote:
Originally Posted by Bugsy View Post
I think you can do this. Place an object in a wall that he shouldn't be able to see. If he blatantly aims and shoots at it, he may have a wall hack. I wouldn't recommend banning on the first detection, make sure it consistently happens 2-3 times. You can possibly put a fake player there, similar as I did with the Aimbot detector. It might be tough to get the entire player within the wall without any body parts poking out though.

Epic Idea .. Mind sharing the detector plugin?
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then
devilicioux is offline
Estland
Member
Join Date: Nov 2012
Old 02-07-2015 , 05:24   Re: Detect if player sees object
Reply With Quote #8

Quote:
Originally Posted by Bugsy View Post
I think you can do this. Place an object in a wall that he shouldn't be able to see. If he blatantly aims and shoots at it, he may have a wall hack. I wouldn't recommend banning on the first detection, make sure it consistently happens 2-3 times. You can possibly put a fake player there, similar as I did with the Aimbot detector. It might be tough to get the entire player within the wall without any body parts poking out though.
Yes, I'm trying to create something like this. If player looks at the object longer than defined time, then this anti-cheat would make screenshots and ban him. My main idea was just detecting if stuff is visible, but since it isn't possible, then my main focus is now on aiming at the object.
Estland is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 02-07-2015 , 05:24   Re: Detect if player sees object
Reply With Quote #9

Quote:
Originally Posted by devilicioux View Post
Epic Idea .. Mind sharing the detector plugin?
Mind searching?
__________________
HamletEagle is offline
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 02-07-2015 , 05:27   Re: Detect if player sees object
Reply With Quote #10

Quote:
Originally Posted by HamletEagle View Post
Mind searching?
Oops i thought the plugin is private .. ;) Thanks .. Found the plugin.
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then
devilicioux is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 14:31.


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