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

[CS:S] Question regarding domination/nemesis notifications


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
InstantDeath
Senior Member
Join Date: Mar 2007
Old 07-05-2017 , 12:50   [CS:S] Question regarding domination/nemesis notifications
Reply With Quote #1

Question: The notification regarding a player is dominating someone or who your nemesis now is, is that done all client side? A quick look in the CS:S game events page leads me to believe this is the case.
__________________
InstantDeath is offline
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 07-05-2017 , 13:08   Re: [CS:S] Question regarding domination/nemesis notifications
Reply With Quote #2

I would try to find something in netprops, this sounds like something that can be there..
__________________
Plugins: TeamGames
Includes: Menu stocks, ColorVariables, DownloadTableConfig

> No help through PM, make a topic.
KissLick is offline
psychonic

BAFFLED
Join Date: May 2008
Old 07-05-2017 , 13:32   Re: [CS:S] Question regarding domination/nemesis notifications
Reply With Quote #3

m_bPlayerDominated and m_bPlayerDominatingMe, bool array sendprops.
psychonic is offline
InstantDeath
Senior Member
Join Date: Mar 2007
Old 07-05-2017 , 13:59   Re: [CS:S] Question regarding domination/nemesis notifications
Reply With Quote #4

Quote:
Originally Posted by psychonic View Post
m_bPlayerDominated and m_bPlayerDominatingMe, bool array sendprops.
Thanks!

would the m_bPlayerDominatingMe hold the client id or user id for the player that is dominating said player?
__________________
InstantDeath is offline
psychonic

BAFFLED
Join Date: May 2008
Old 07-05-2017 , 14:26   Re: [CS:S] Question regarding domination/nemesis notifications
Reply With Quote #5

Neither. It holds a true/false for every possible client entity index.

You'd want to set both.

Code:
SetEntProp(dominator, Prop_Send, "m_bPlayerDominated", true, 1, dominatee);
SetEntProp(dominatee, Prop_Send, "m_bPlayerDominatingMe", true, 1, dominator);
psychonic is offline
InstantDeath
Senior Member
Join Date: Mar 2007
Old 07-05-2017 , 15:32   Re: [CS:S] Question regarding domination/nemesis notifications
Reply With Quote #6

so then I would get the victim and attacker from the event player_death, and check those 2 net props to see if the victim is being dominated?

because if it were the other way around, where i can set it, wouldn't that interfere with existing code that already defines whether or not a player is being dominated?
__________________

Last edited by InstantDeath; 07-05-2017 at 15:34.
InstantDeath 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 13:32.


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