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

[TF2] No Domination Broadcast


Post New Thread Reply   
 
Thread Tools Display Modes
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Old 09-29-2012 , 17:48   Re: [TF2] No Domination Broadcast (1.1.1)
Reply With Quote #21

An update have been released: slightly optimized plugin.
__________________


dodsplugins.com - Plugins and Resources for Day of Defeat
http://twitch.tv/zadroot
Root_ is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 10-01-2012 , 16:02   Re: [TF2] No Domination Broadcast (1.1.1)
Reply With Quote #22

I don't suppose you would be willing to go a step further and add another mode that reapplies dominations? If someone rage quits from my server because of a domination, I would want them to come back and still be dominated by me. Just now someone decided to rejoin my server because I dominated them. I would very much prefer this instead of disabling them.
Sreaper is offline
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Old 10-02-2012 , 09:04   Re: [TF2] No Domination Broadcast (1.1.1)
Reply With Quote #23

Not sure if it is even possible. Need to save 'dominated players' in ClientPrefs or separate database, and when dominated player joined - fire m_bPlayerDominated/m_bPlayerDominatingMe netprops. Worth it?
__________________


dodsplugins.com - Plugins and Resources for Day of Defeat
http://twitch.tv/zadroot
Root_ is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 10-02-2012 , 19:07   Re: [TF2] No Domination Broadcast (1.1.1)
Reply With Quote #24

Quote:
Originally Posted by Root_ View Post
Not sure if it is even possible. Need to save 'dominated players' in ClientPrefs or separate database, and when dominated player joined - fire m_bPlayerDominated/m_bPlayerDominatingMe netprops. Worth it?
Yes. I knew a database would be needed. I think it's definitely worth it and it's definitely something I would use. If you could also make it so spectating doesn't remove the dominations that would be great too.
Sreaper is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 10-03-2012 , 01:54   Re: [TF2] No Domination Broadcast (1.1.1)
Reply With Quote #25

Quote:
Originally Posted by Sreaper View Post
If someone rage quits from my server because of a domination, I would want them to come back and still be dominated by me.
I hope they know they can just go Spectator to remove dominations. Still, though, you could probably do this without a database, no? Just as long as the dominator doesn't disconnect, you could keep a list of Steam IDs that they're dominating as a string:
PHP Code:
new String:PlayersImDominating[MAXPLAYERS 1][16][20]; 
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 10-03-2012 , 02:28   Re: [TF2] No Domination Broadcast (1.1.1)
Reply With Quote #26

Quote:
Originally Posted by MasterOfTheXP View Post
without a database
why don't just store UserIDs then?

Last edited by Leonardo; 10-03-2012 at 02:28.
Leonardo is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 10-03-2012 , 04:09   Re: [TF2] No Domination Broadcast (1.1.1)
Reply With Quote #27

If they disconnect and reconnect, their user IDs will be different. I think.

Although, it would be better to strip STEAM_0: from their Steam IDs, and remove that second : as well.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 10-03-2012 , 04:23   Re: [TF2] No Domination Broadcast (1.1.1)
Reply With Quote #28

Quote:
Originally Posted by MasterOfTheXP View Post
Although, it would be better to strip STEAM_0: from their Steam IDs, and remove that second : as well.
... or convert to AccountID
Leonardo is offline
C0nw0nk
Senior Member
Join Date: May 2011
Location: United Kingdom
Old 10-03-2012 , 11:39   Re: [TF2] No Domination Broadcast (1.1.1)
Reply With Quote #29

Can you add support for the updater (|http://forums.alliedmods.net/showthread.php?p=1570806|) plugin would be nice to only have to download it once and it keeps up-to date automatically after that <3
__________________
C0nw0nk is offline
Send a message via MSN to C0nw0nk
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Old 10-03-2012 , 12:55   Re: [TF2] No Domination Broadcast (1.1.1)
Reply With Quote #30

Ok i'll take a look at 'save dominations' stuff and updater when will have time
__________________


dodsplugins.com - Plugins and Resources for Day of Defeat
http://twitch.tv/zadroot
Root_ 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 02:09.


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