Raised This Month: $53 Target: $400
 13% 

Solved Does OnPlayerRunCmd Ever Spew Invalid Client Indexes?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Old 02-15-2021 , 08:02   Does OnPlayerRunCmd Ever Spew Invalid Client Indexes?
Reply With Quote #1

Hello,

Title. Throughout my testing, it seems as though it never does but I want to make sure. I am super OCD when it comes to optimizing my plugins!

Thanks,
Grant

Last edited by ThatKidWhoGames; 02-15-2021 at 08:36.
ThatKidWhoGames is offline
farawayf
Senior Member
Join Date: Jan 2019
Old 02-15-2021 , 08:23   Re: Does OnPlayerRunCmd Ever Spew Invalid Client Indexes?
Reply With Quote #2

it cant if u dont fire it manually.
farawayf is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 02-15-2021 , 08:25   Re: Does OnPlayerRunCmd Ever Spew Invalid Client Indexes?
Reply With Quote #3

It shouldn't, assuming you're running plugins that aren't invasive.

That said with DHooks (or dynhooks) in the mix, you're bound to find some weird issues if the issue with Sourcehooks or how DHooks implements it still exists. I've actually had that issue reported to me where OnPlayerRunCmd was being called with non-client entities.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Old 02-15-2021 , 08:36   Re: Does OnPlayerRunCmd Ever Spew Invalid Client Indexes?
Reply With Quote #4

Hello,

Thank you for the fast reply guys! I appreciate it!

Thanks,
Grant
ThatKidWhoGames is offline
Reply


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

Forum Jump


All times are GMT -4. The time now is 08:56.


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