AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] No Domination Broadcast (https://forums.alliedmods.net/showthread.php?t=196974)

Root_ 09-29-2012 17:48

Re: [TF2] No Domination Broadcast (1.1.1)
 
An update have been released: slightly optimized plugin.

Sreaper 10-01-2012 16:02

Re: [TF2] No Domination Broadcast (1.1.1)
 
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.

Root_ 10-02-2012 09:04

Re: [TF2] No Domination Broadcast (1.1.1)
 
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?

Sreaper 10-02-2012 19:07

Re: [TF2] No Domination Broadcast (1.1.1)
 
Quote:

Originally Posted by Root_ (Post 1811038)
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.

MasterOfTheXP 10-03-2012 01:54

Re: [TF2] No Domination Broadcast (1.1.1)
 
Quote:

Originally Posted by Sreaper (Post 1810663)
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]; 


Leonardo 10-03-2012 02:28

Re: [TF2] No Domination Broadcast (1.1.1)
 
Quote:

Originally Posted by MasterOfTheXP (Post 1811585)
without a database

why don't just store UserIDs then?

MasterOfTheXP 10-03-2012 04:09

Re: [TF2] No Domination Broadcast (1.1.1)
 
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.

Leonardo 10-03-2012 04:23

Re: [TF2] No Domination Broadcast (1.1.1)
 
Quote:

Originally Posted by MasterOfTheXP (Post 1811607)
Although, it would be better to strip STEAM_0: from their Steam IDs, and remove that second : as well.

... or convert to AccountID

C0nw0nk 10-03-2012 11:39

Re: [TF2] No Domination Broadcast (1.1.1)
 
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

Root_ 10-03-2012 12:55

Re: [TF2] No Domination Broadcast (1.1.1)
 
Ok i'll take a look at 'save dominations' stuff and updater when will have time :)


All times are GMT -4. The time now is 06:41.

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