Raised This Month: $ Target: $400
 0% 

detect movement modifications (teleportentity)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
abckrieger
Senior Member
Join Date: Oct 2012
Location: Germany
Old 08-07-2015 , 16:20   detect movement modifications (teleportentity)
Reply With Quote #1

hey,

how can i check whether an other plugin triggered the "teleportentity" function on a client to modify their velocity. I work on a timer plugin and wanna detect the actions of the following plugin https://forums.alliedmods.net/showthread.php?t=57807

Well, the hook plugin itself doesn't rlly matter. I need a general solution for velocity changes through other plugins.

thx 4 help

Last edited by abckrieger; 08-07-2015 at 20:00.
abckrieger is offline
m_bNightstalker
Senior Member
Join Date: Jan 2015
Location: JWD
Old 08-08-2015 , 15:25   Re: detect movement modifications (teleportentity)
Reply With Quote #2

Check the cvars? Or hook the commands.
m_bNightstalker is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 08-08-2015 , 16:42   Re: detect movement modifications (teleportentity)
Reply With Quote #3

Use dhooks for hook the teleportentity native.

Like here https://forums.alliedmods.net/showpo...&postcount=114
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 08-08-2015 , 16:54   Re: detect movement modifications (teleportentity)
Reply With Quote #4

Could compare player positions between frames and if the distance is greater than some distance the client propably teleported
__________________
Pelipoika is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 08-08-2015 , 19:32   Re: detect movement modifications (teleportentity)
Reply With Quote #5

write a global forward and call it when you need to know about teleports
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
m_bNightstalker
Senior Member
Join Date: Jan 2015
Location: JWD
Old 08-09-2015 , 12:22   Re: detect movement modifications (teleportentity)
Reply With Quote #6

Quote:
Originally Posted by friagram View Post
write a global forward and call it when you need to know about teleports
he likes to detect if someone is using this plugin with kztimer

Quote:
Originally Posted by Pelipoika View Post
Could compare player positions between frames and if the distance is greater than some distance the client propably teleported
he likes to detect velocity changes not position changes

Quote:
Originally Posted by Franc1sco View Post
Use dhooks for hook the teleportentity native.

Like here https://forums.alliedmods.net/showpo...&postcount=114
Show do you know then, that it was changed by this plugin?
m_bNightstalker 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 15:30.


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