ImportBot Posted January 22, 2013 Author Share Posted January 22, 2013 Originally Posted by Oneill21*: Hi Flyswamper, I'm french and i do not understand what does "seeder" means exactly? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 22, 2013 Author Share Posted January 22, 2013 Originally Posted by EBassie*: Hi Flyswamper, I'm french and i do not understand what does "seeder" means exactly?A seeder is a player who sits in the server doing nothing, waiting for other players to join: a server filler. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 22, 2013 Author Share Posted January 22, 2013 Originally Posted by Flyswamper*: Yes, Ebastard has it right. If I rent a server, I would typically also goto the trouble to login to "my" gameserver with my soldier account and I would let it sit there idle hoping others would join. I would also encourage other loyal members of my clan/community that they need to do the same as often as they can. By having people logged into your game server (even if they are idle) you increase the chances that others will join your server and it will become/stay populated. The problem that can arise is that if all these accounts are in your server and they end up on the same team, it can actually be a bad thing that drives people away instead of attracting more players. Imagine that you and a buddy login with your two accounts and they both end up on the Russian side. One or two new players join and end up on the US side, but they have no active player to play against so they leave and the server never starts. This plugin simply tries to "balance" the accounts that you know in advance you will login to the server with and let them sit there idle much of the time. It also has the option to kick these accounts from the server once the server gets enough players that you deem it "full." Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 23, 2013 Author Share Posted January 23, 2013 Originally Posted by Oneill21*: So if i understand what you said this plugin switch inactive players ? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 24, 2013 Author Share Posted January 24, 2013 Originally Posted by Flyswamper*: It moves players ONLY when ALL of the following conditions are met - The soldiername has been entered into the plugin as a designated seeder - The designated seeder has been detected to be idle - The plugin detects that there is an imbalance of idle seeders between the teams So... all of these conditions aren't simultaneously met, nothing will happen. If they are met, then it will move one of the idle seeders to the other team to try and balance-out the number of idle seeders that are on each team. If a player's soldiername isn't typed into the plugin's seeder list, then that player won't be switched by this plugin no matter what the situation in the server is. I leave balancing "normal" (non-seeders) to other plugins. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 6, 2013 Author Share Posted March 6, 2013 Originally Posted by HexaCanon*: this plugin could use an update to rely on the new idle rcon command to detect if a seeder is afk or not ? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 6, 2013 Author Share Posted March 6, 2013 Originally Posted by dyn*: Detect if player is idle, add them to the VIP list if they're not already on it (so they're on the balance protection), and then move them around accordingly. Once they either leave or start to play again, remove them from the VIP list (if they weren't on it before) and let them go about their day. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 14, 2013 Author Share Posted March 14, 2013 Originally Posted by Flyswamper*: From what I can tell (I'm open to have my mind enlighted/changed), it doesn't seem very practical to have this plugin constantly poll the server checking idle times for every player in the server. Sure it could be done, but this would be a situation of my/this plugin adding a fair amount of rcon communications traffic. As it stands right now, my plugin shouldn't really add hardly any rcon traffic to/from the server. Instead it just utilizes what is being normally geneated by Procon and other plugins as it watches for events. And dyn.... about the VIP list. I've been out of the server-admin/owner game for a little while now. The VIP list that you speak of, for your idea to work we would have to be certain that a player's existence on the VIP list would prevent them from being balanced by other player balancers (True Balancer, various insane rules, etc.....). I'm not keeping up with things around here enough to be sure, but my impression is that being on a VIP list (I actually am not sure what that is or how it works to be honest) would guarantee that a players wouldn't get balanced by other plugins and therefore a plugin-player-moving war would ensue. If there is a way to be certain that other plugins aren't going to "go to war" with this plugin as to where a player is, I could certainly include all AFK players into the logic. But until there is a way to be sure of that, it is a dangerous idea. Please help enlighten me if I've got this wrong. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 15, 2013 Author Share Posted March 15, 2013 Originally Posted by Jaythegreat1*: Can anyone confirm if this is working correctly on CTF? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 15, 2013 Author Share Posted March 15, 2013 Originally Posted by EBassie*: Can anyone confirm if this is working correctly on CTF?I cannot see why not. Also did not notice it not working Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 16, 2013 Author Share Posted March 16, 2013 Originally Posted by Jaythegreat1*: Hmmm... I don't think it puts the odd seeder on the team with more tickets. Guess the simple fix would be to include CTF to have the same balancing logic as Conquest. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 16, 2013 Author Share Posted March 16, 2013 Originally Posted by EBassie*: Hmmm... I don't think it puts the odd seeder on the team with more tickets. Guess the simple fix would be to include CTF to have the same balancing logic as Conquest.Hmm you might be right. But there is a problem with that.In RCON there is no state about flags / tickets for CTF at the moment. So even Procon does not know who is winning / losing Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 17, 2013 Author Share Posted March 17, 2013 Originally Posted by TheDoctor*: Seeders are not being kicked on our CTF server. This is with the kick idle seeders enabled. Default thresholds. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 17, 2013 Author Share Posted March 17, 2013 Originally Posted by Flyswamper*: I'd be interested to see a log from the console when this happens Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 18, 2013 Author Share Posted March 18, 2013 Originally Posted by Jaythegreat1*: Yea I think it actually puts the extra seeder on the team with less flag captures :\ Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 18, 2013 Author Share Posted March 18, 2013 Originally Posted by HAWKSTA24*: So I'm running True Balancer BF3 and this plugin. What seems to be happening to our server is that when more ppl join it stacks one team ie 5v3 7v4 ect ect. Yes there was players in who are on the seeder list. I have since enabled the whitelist in the true balancer and only added the names who are also seeders. Should this fix the problem? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 19, 2013 Author Share Posted March 19, 2013 Originally Posted by dyn*: If there is a way to be certain that other plugins aren't going to "go to war" with this plugin as to where a player is, I could certainly include all AFK players into the logic. But until there is a way to be sure of that, it is a dangerous idea. Please help enlighten me if I've got this wrong.This is actually how we have our server setup: The only 'do not balance' list we manage IS the VIP list. If someone is on the VIP list - they are also on the 'do not balance list'. If the plugin could identify all idle players and check to see if the person is on the VIP list. If the person is NOT on the VIP list, add them and wait for them to become active again. Once they're active remove them from the VIP list and seeder list. This would solve the issue of having to manage a seeder list at all We're using the latest version of TrueBalancer (EBastard Edit) Thanks for your consideration. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 19, 2013 Author Share Posted March 19, 2013 Originally Posted by Jaythegreat1*: Okay... so if you're running this plugin... you might want to stray away from playing CTF with an odd number of seeders it appears. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 19, 2013 Author Share Posted March 19, 2013 Originally Posted by EBassie*: Seeders are not being kicked on our CTF server. This is with the kick idle seeders enabled. Default thresholds.I encounter the same issue. Seeders are not kicked when CTF is on. Here's some logging info on level 3: Code: [17:39:39] BalanceServerSeeders: Setting debug_level to 3 [17:39:44] BalanceServerSeeders: --------- [17:39:44] BalanceServerSeeders: Player count 48 [17:39:44] BalanceServerSeeders: Seeder: EBassieTeam: 1, Current Score: 0,Minutes since last activity: 16,9401041666667,, status: Inactive [17:39:44] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 2, Current Score: 0,Minutes since last activity: 19,0973958333333,, status: Inactive [17:39:44] BalanceServerSeeders: Seeder: BaldBossTeam: 2, Current Score: 0,Minutes since last activity: 19,1330729166667,, status: Inactive [17:39:44] BalanceServerSeeders: Seeder: Januz112Team: 1, Current Score: 0,Minutes since last activity: 19,1794270833333,, status: Inactive [17:39:44] BalanceServerSeeders: Player count - Team 1: 24, Team 2: 23, Team 1+2: 47, All:48 [17:39:44] BalanceServerSeeders: Inactive Seeder count - Team 1: 2, Team 2: 2 [17:39:44] BalanceServerSeeders: Real Player count - Team 1: 22, Team 2: 21 [17:39:50] BalanceServerSeeders: --------- [17:39:50] BalanceServerSeeders: Player count 48 [17:39:50] BalanceServerSeeders: Seeder: EBassieTeam: 1, Current Score: 0,Minutes since last activity: 17,0390625,, status: Inactive [17:39:50] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 2, Current Score: 0,Minutes since last activity: 19,1963541666667,, status: Inactive [17:39:50] BalanceServerSeeders: Seeder: BaldBossTeam: 2, Current Score: 0,Minutes since last activity: 19,23203125,, status: Inactive [17:39:50] BalanceServerSeeders: Seeder: Januz112Team: 1, Current Score: 0,Minutes since last activity: 19,2783854166667,, status: Inactive [17:39:50] BalanceServerSeeders: Player count - Team 1: 24, Team 2: 23, Team 1+2: 47, All:48 [17:39:50] BalanceServerSeeders: Inactive Seeder count - Team 1: 2, Team 2: 2 [17:39:50] BalanceServerSeeders: Real Player count - Team 1: 22, Team 2: 21 [17:40:00] BalanceServerSeeders: --------- [17:40:00] BalanceServerSeeders: Player count 49 [17:40:00] BalanceServerSeeders: Moving inactive seeder EBassie from Squad 4 to Squad 0 [17:40:05] BalanceServerSeeders: --------- [17:40:05] BalanceServerSeeders: Player count 49 [17:40:05] BalanceServerSeeders: Seeder: EBassieTeam: 1, Current Score: 0,Minutes since last activity: 17,2893229166667,, status: Inactive [17:40:05] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 1, Current Score: 0,Minutes since last activity: 19,4466145833333,, status: Inactive [17:40:05] BalanceServerSeeders: Seeder: BaldBossTeam: 1, Current Score: 0,Minutes since last activity: 19,4822916666667,, status: Inactive [17:40:05] BalanceServerSeeders: Seeder: Januz112Team: 2, Current Score: 0,Minutes since last activity: 19,5286458333333,, status: Inactive [17:40:05] BalanceServerSeeders: Player count - Team 1: 24, Team 2: 23, Team 1+2: 47, All:49 [17:40:05] BalanceServerSeeders: Inactive Seeder count - Team 1: 3, Team 2: 1 [17:40:05] BalanceServerSeeders: Real Player count - Team 1: 21, Team 2: 22 [17:40:05] BalanceServerSeeders: Team 1 has excess idle seeders, moving a seeder from team 1 to team 2 [17:40:05] BalanceServerSeeders: Attempting to move an inactive seeder from team 1 to team 2 [17:40:05] BalanceServerSeeders: Moving seeder EBassie from Team 1 to Team 2 [17:40:15] BalanceServerSeeders: --------- [17:40:15] BalanceServerSeeders: Player count 49 [17:40:15] BalanceServerSeeders: Moving inactive seeder EBassie from Squad 3 to Squad 0 [17:40:21] BalanceServerSeeders: --------- [17:40:21] BalanceServerSeeders: Player count 49 [17:40:21] BalanceServerSeeders: Seeder: EBassieTeam: 2, Current Score: 0,Minutes since last activity: 17,5549479166667,, status: Inactive [17:40:21] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 1, Current Score: 0,Minutes since last activity: 19,7122395833333,, status: Inactive [17:40:21] BalanceServerSeeders: Seeder: BaldBossTeam: 1, Current Score: 0,Minutes since last activity: 19,7479166666667,, status: Inactive [17:40:21] BalanceServerSeeders: Moving inactive seeder Januz112 from Squad 4 to Squad 0 [17:40:30] BalanceServerSeeders: --------- [17:40:30] BalanceServerSeeders: Player count 50 [17:40:30] BalanceServerSeeders: Seeder: EBassieTeam: 2, Current Score: 0,Minutes since last activity: 17,7080729166667,, status: Inactive [17:40:30] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 1, Current Score: 0,Minutes since last activity: 19,8653645833333,, status: Inactive [17:40:30] BalanceServerSeeders: Seeder: BaldBossTeam: 1, Current Score: 0,Minutes since last activity: 19,9010416666667,, status: Inactive [17:40:30] BalanceServerSeeders: Seeder: Januz112Team: 2, Current Score: 0,Minutes since last activity: 19,9473958333333,, status: Inactive [17:40:30] BalanceServerSeeders: Player count - Team 1: 25, Team 2: 24, Team 1+2: 49, All:50 [17:40:30] BalanceServerSeeders: Inactive Seeder count - Team 1: 2, Team 2: 2 [17:40:30] BalanceServerSeeders: Real Player count - Team 1: 23, Team 2: 22 [17:40:45] BalanceServerSeeders: --------- [17:40:45] BalanceServerSeeders: Player count 50 [17:40:45] BalanceServerSeeders: Seeder: EBassieTeam: 2, Current Score: 0,Minutes since last activity: 17,9609375,, status: Inactive [17:40:45] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 1, Current Score: 0,Minutes since last activity: 20,1182291666667,, status: Inactive [17:40:45] BalanceServerSeeders: Seeder: BaldBossTeam: 1, Current Score: 0,Minutes since last activity: 20,15390625,, status: Inactive [17:40:45] BalanceServerSeeders: Seeder: Januz112Team: 2, Current Score: 0,Minutes since last activity: 20,2002604166667,, status: Inactive [17:40:45] BalanceServerSeeders: Player count - Team 1: 25, Team 2: 24, Team 1+2: 49, All:50 [17:40:45] BalanceServerSeeders: Inactive Seeder count - Team 1: 2, Team 2: 2 [17:40:45] BalanceServerSeeders: Real Player count - Team 1: 23, Team 2: 22 [17:40:51] BalanceServerSeeders: --------- [17:40:51] BalanceServerSeeders: Player count 50 [17:40:51] BalanceServerSeeders: Seeder: EBassieTeam: 2, Current Score: 0,Minutes since last activity: 18,0528645833333,, status: Inactive [17:40:51] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 1, Current Score: 0,Minutes since last activity: 20,21015625,, status: Inactive [17:40:51] BalanceServerSeeders: Seeder: BaldBossTeam: 1, Current Score: 0,Minutes since last activity: 20,2458333333333,, status: Inactive [17:40:51] BalanceServerSeeders: Seeder: Januz112Team: 2, Current Score: 0,Minutes since last activity: 20,2921875,, status: Inactive [17:40:51] BalanceServerSeeders: Player count - Team 1: 25, Team 2: 24, Team 1+2: 49, All:50 [17:40:51] BalanceServerSeeders: Inactive Seeder count - Team 1: 2, Team 2: 2 [17:40:51] BalanceServerSeeders: Real Player count - Team 1: 23, Team 2: 22 [17:41:02] BalanceServerSeeders: --------- [17:41:02] BalanceServerSeeders: Player count 51 [17:41:02] BalanceServerSeeders: Seeder: EBassieTeam: 2, Current Score: 0,Minutes since last activity: 18,24296875,, status: Inactive [17:41:02] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 1, Current Score: 0,Minutes since last activity: 20,4002604166667,, status: Inactive [17:41:02] BalanceServerSeeders: Seeder: BaldBossTeam: 1, Current Score: 0,Minutes since last activity: 20,4359375,, status: Inactive [17:41:02] BalanceServerSeeders: Seeder: Januz112Team: 2, Current Score: 0,Minutes since last activity: 20,4822916666667,, status: Inactive [17:41:02] BalanceServerSeeders: Player count - Team 1: 26, Team 2: 24, Team 1+2: 50, All:51 [17:41:02] BalanceServerSeeders: Inactive Seeder count - Team 1: 2, Team 2: 2 [17:41:02] BalanceServerSeeders: Real Player count - Team 1: 24, Team 2: 22 [17:41:16] BalanceServerSeeders: --------- [17:41:16] BalanceServerSeeders: Player count 54 [17:41:16] BalanceServerSeeders: Seeder: EBassieTeam: 2, Current Score: 0,Minutes since last activity: 18,4731770833333,, status: Inactive [17:41:16] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 1, Current Score: 0,Minutes since last activity: 20,63046875,, status: Inactive [17:41:16] BalanceServerSeeders: Seeder: BaldBossTeam: 1, Current Score: 0,Minutes since last activity: 20,6661458333333,, status: Inactive [17:41:16] BalanceServerSeeders: Seeder: Januz112Team: 2, Current Score: 0,Minutes since last activity: 20,7125,, status: Inactive [17:41:16] BalanceServerSeeders: Player count - Team 1: 26, Team 2: 24, Team 1+2: 50, All:54 [17:41:16] BalanceServerSeeders: Inactive Seeder count - Team 1: 2, Team 2: 2 [17:41:16] BalanceServerSeeders: Real Player count - Team 1: 24, Team 2: 22 [17:41:18] BalanceServerSeeders: --------- [17:41:18] BalanceServerSeeders: Player count 54 [17:41:18] BalanceServerSeeders: Seeder: EBassieTeam: 2, Current Score: 0,Minutes since last activity: 18,5098958333333,, status: Inactive [17:41:18] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 1, Current Score: 0,Minutes since last activity: 20,6671875,, status: Inactive [17:41:18] BalanceServerSeeders: Seeder: BaldBossTeam: 1, Current Score: 0,Minutes since last activity: 20,7028645833333,, status: Inactive [17:41:18] BalanceServerSeeders: Seeder: Januz112Team: 2, Current Score: 0,Minutes since last activity: 20,74921875,, status: Inactive [17:41:18] BalanceServerSeeders: Player count - Team 1: 26, Team 2: 24, Team 1+2: 50, All:54 [17:41:18] BalanceServerSeeders: Inactive Seeder count - Team 1: 2, Team 2: 2 [17:41:18] BalanceServerSeeders: Real Player count - Team 1: 24, Team 2: 22 [17:41:21] BalanceServerSeeders: --------- [17:41:21] BalanceServerSeeders: Player count 54 [17:41:21] BalanceServerSeeders: Seeder: EBassieTeam: 2, Current Score: 0,Minutes since last activity: 18,56171875,, status: Inactive [17:41:21] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 1, Current Score: 0,Minutes since last activity: 20,7190104166667,, status: Inactive [17:41:21] BalanceServerSeeders: Seeder: BaldBossTeam: 1, Current Score: 0,Minutes since last activity: 20,7546875,, status: Inactive [17:41:21] BalanceServerSeeders: Seeder: Januz112Team: 2, Current Score: 0,Minutes since last activity: 20,8010416666667,, status: Inactive [17:41:21] BalanceServerSeeders: Player count - Team 1: 26, Team 2: 24, Team 1+2: 50, All:54 [17:41:21] BalanceServerSeeders: Inactive Seeder count - Team 1: 2, Team 2: 2 [17:41:21] BalanceServerSeeders: Real Player count - Team 1: 24, Team 2: 22 [17:41:30] BalanceServerSeeders: --------- [17:41:30] BalanceServerSeeders: Player count 54 [17:41:30] BalanceServerSeeders: Seeder: EBassieTeam: 2, Current Score: 0,Minutes since last activity: 18,71015625,, status: Inactive [17:41:30] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 1, Current Score: 0,Minutes since last activity: 20,8674479166667,, status: Inactive [17:41:30] BalanceServerSeeders: Seeder: BaldBossTeam: 1, Current Score: 0,Minutes since last activity: 20,903125,, status: Inactive [17:41:30] BalanceServerSeeders: Seeder: Januz112Team: 2, Current Score: 0,Minutes since last activity: 20,9494791666667,, status: Inactive [17:41:30] BalanceServerSeeders: Player count - Team 1: 26, Team 2: 25, Team 1+2: 51, All:54 [17:41:30] BalanceServerSeeders: Inactive Seeder count - Team 1: 2, Team 2: 2 [17:41:30] BalanceServerSeeders: Real Player count - Team 1: 24, Team 2: 23 [17:41:34] BalanceServerSeeders: --------- [17:41:34] BalanceServerSeeders: Player count 54 [17:41:34] BalanceServerSeeders: Seeder: EBassieTeam: 2, Current Score: 0,Minutes since last activity: 18,78046875,, status: Inactive [17:41:34] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 1, Current Score: 0,Minutes since last activity: 20,9380208333333,, status: Inactive [17:41:34] BalanceServerSeeders: Seeder: BaldBossTeam: 1, Current Score: 0,Minutes since last activity: 20,9736979166667,, status: Inactive [17:41:34] BalanceServerSeeders: Seeder: Januz112Team: 2, Current Score: 0,Minutes since last activity: 21,0200520833333,, status: Inactive [17:41:34] BalanceServerSeeders: Player count - Team 1: 27, Team 2: 25, Team 1+2: 52, All:54 [17:41:34] BalanceServerSeeders: Inactive Seeder count - Team 1: 2, Team 2: 2 [17:41:34] BalanceServerSeeders: Real Player count - Team 1: 25, Team 2: 23Kick is when 10 minutes idle and 50 players are in. They eventually got kicked because the standard idle kick got activated (by the adaptive server size plugin) when population reached 60 players. If you need access to test CTF, give me a shout and we'll work something out. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 19, 2013 Author Share Posted March 19, 2013 Originally Posted by TheDoctor*: Anyway you can add a clan tag whitelist? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 21, 2013 Author Share Posted March 21, 2013 Originally Posted by Flyswamper*: Thanks Ebassie for the logs. I'm in a hurry this morning so haven't even looked at them yet, but when I get a chance I'll try to figure out what is going on and what might be needed to deal with CTF mode. I probably will need server access somewhere for testing it with CTF mode. If you could help that would be great. Normally I'd get right on this (once I noticed the thread/problem), but things are crazy at home right now. Just listed my house, taking stuff to storage so it will be decluttered, about to head out on a house hunting trip to new location/city, middle kid about to fly to Domninican republic on a school trip to build houses for the poor, and several other stuff keeping me from sitting down and messing with this. But... I"ll get to it soon I think/hope. TheDoctor..... I'm not sure about the clan tag business. As I've said many times before, you'd have to be sure the same people listed (by clan tag or whatever) as seeders are prevented from being switched by other balancing plugins. I suppose if you have a clan tag in the white list of whatever balancers you are using that could work. The challenge for me coding this is that I think there is some new territory I would need to figure out in order to retrieve the clan tag. I'm not sure, but I think you have to retrieve that info from battlelog instead of the actual game server and so it involves a different bit of code than I've dealt with yet. In short, I think it is possible but it probably isn't going to be a quick addition/fix. I'd be interested to know if you use clan tag to prevent balancing/team switching in whatever other balancing plugins you have running. If not, then it's pointless to even consider doing this in this plugin. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 21, 2013 Author Share Posted March 21, 2013 Originally Posted by Flyswamper*: No time to debug since I'm at work and I'm goofing off to look at this. But here is an observation or two for anyone interested. The server event that *should* trigger a kick of idle seeders is a "serverinfo" request being received. The logic is that the serverinfo event will tell the plugin how many players are in the server (playercount). If this is larger than the threshold a seeder *should* get kicked. If we have any intrepid souls out that there want to help debug this, here is one quick thing that could be done to help. Step 1) In my plugin code, find this line of code writeMsgToPluginConsole(5, string.Format("Updating team scores. Team 1 Score: {0}, Team 2 Score:{1}", team1Score, team2Score)); Step 2) Immediately below the above line of code, add/insert this *NEW* line of code writeMsgToPluginConsole(5, string.Format("ServerInfo reported player count is: {0}, player kick threshold is {1}", csiServerInfo.PlayerCount, this.kick_minPlayerCount)); Then set the debug level to 6 and capture/report the log as Ebassie has done. Doing this we should see essentially all of the diagnostic output that should tell us what the plugin is seeing and whether or not it is trying to kick someone or not. I'm happy to do this when I can get access to someone's server, but if one (or more) of you are intrepid souls that don't mind trying this on your own.... you at least know the first steps I would take and you *could* do them yourself. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 22, 2013 Author Share Posted March 22, 2013 Originally Posted by EBassie*: Hey Fly, done the edit and will report back later. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 22, 2013 Author Share Posted March 22, 2013 Originally Posted by Flyswamper*: Great! Appreciate the help. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 23, 2013 Author Share Posted March 23, 2013 Originally Posted by EBassie*: Hey Fly, the two line you mentioned never get printed to the plugin console in CTF. When server switched to RUSH they were shown though: CTF: Code: 15:26:05] BalanceServerSeeders: Player count 31 [15:26:05] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 2, Current Score: 0,Minutes since last activity: 15,0393229166667,, status: Inactive [15:26:05] BalanceServerSeeders: Seeder: BaldBossTeam: 1, Current Score: 0,Minutes since last activity: 16,2596354166667,, status: Inactive [15:26:05] BalanceServerSeeders: Seeder: bananaSkillTeam: 2, Current Score: 0,Minutes since last activity: 15,14609375,, status: Inactive [15:26:05] BalanceServerSeeders: Player count - Team 1: 16, Team 2: 15, Team 1+2: 31, All:31 [15:26:05] BalanceServerSeeders: Counting inactive seeders for team 1 [15:26:05] BalanceServerSeeders: Counted 1 inactive seeders on team 1 [15:26:05] BalanceServerSeeders: Counting inactive seeders for team 2 [15:26:05] BalanceServerSeeders: Counted 2 inactive seeders on team 2 [15:26:05] BalanceServerSeeders: Inactive Seeder count - Team 1: 1, Team 2: 2 [15:26:05] BalanceServerSeeders: Real Player count - Team 1: 15, Team 2: 13 [15:26:05] BalanceServerSeeders: Extra seeder is on team 2, team 2 has fewer real players (disadvantaged), moving a seeder from team 2 to team 1 [15:26:05] BalanceServerSeeders: Attempting to move an inactive seeder from team 2 to team 1 [15:26:05] BalanceServerSeeders: Not Moving Seeder XXXXXXX on team: offline, idle, 0 [15:26:05] BalanceServerSeeders: Not Moving Seeder YYYYYYY on team: offline, idle, 0 [15:26:05] BalanceServerSeeders: Not Moving Seeder EBassie on team: offline, idle, 0 [15:26:05] BalanceServerSeeders: Moving seeder Ubern00bster from Team 2 to Team 1 [15:26:24] BalanceServerSeeders: --------- [15:26:24] BalanceServerSeeders: Player count 31 [15:26:24] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 2, Current Score: 0,Minutes since last activity: 15,353125,, status: Inactive [15:26:24] BalanceServerSeeders: Seeder: BaldBossTeam: 1, Current Score: 0,Minutes since last activity: 16,5734375,, status: Inactive [15:26:24] BalanceServerSeeders: Seeder: bananaSkillTeam: 2, Current Score: 0,Minutes since last activity: 15,4598958333333,, status: Inactive [15:26:24] BalanceServerSeeders: Player count - Team 1: 16, Team 2: 15, Team 1+2: 31, All:31 [15:26:24] BalanceServerSeeders: Counting inactive seeders for team 1 [15:26:24] BalanceServerSeeders: Counted 1 inactive seeders on team 1 [15:26:24] BalanceServerSeeders: Counting inactive seeders for team 2 [15:26:24] BalanceServerSeeders: Counted 2 inactive seeders on team 2 [15:26:24] BalanceServerSeeders: Inactive Seeder count - Team 1: 1, Team 2: 2 [15:26:24] BalanceServerSeeders: Real Player count - Team 1: 15, Team 2: 13 [15:26:24] BalanceServerSeeders: Extra seeder is on team 2, team 2 has fewer real players (disadvantaged), moving a seeder from team 2 to team 1 [15:26:24] BalanceServerSeeders: Attempting to move an inactive seeder from team 2 to team 1 [15:26:24] BalanceServerSeeders: Not Moving Seeder XXXXXXX on team: offline, idle, 0 [15:26:24] BalanceServerSeeders: Not Moving Seeder YYYYYYY on team: offline, idle, 0 [15:26:24] BalanceServerSeeders: Not Moving Seeder EBassie on team: offline, idle, 0 [15:26:24] BalanceServerSeeders: Moving seeder Ubern00bster from Team 2 to Team 1 [15:26:34] BalanceServerSeeders: --------- [15:26:34] BalanceServerSeeders: Player count 31 [15:26:34] BalanceServerSeeders: Seeder: Ubern00bsterTeam: 2, Current Score: 0,Minutes since last activity: 15,5075520833333,, status: Inactive [15:26:34] BalanceServerSeeders: Seeder: BaldBossTeam: 1, Current Score: 0,Minutes since last activity: 16,7278645833333,, status: Inactive [15:26:34] BalanceServerSeeders: Seeder: bananaSkillTeam: 2, Current Score: 0,Minutes since last activity: 15,6143229166667,, status: Inactive [15:26:34] BalanceServerSeeders: Player count - Team 1: 16, Team 2: 15, Team 1+2: 31, All:31 [15:26:34] BalanceServerSeeders: Counting inactive seeders for team 1 [15:26:34] BalanceServerSeeders: Counted 1 inactive seeders on team 1 [15:26:34] BalanceServerSeeders: Counting inactive seeders for team 2 [15:26:34] BalanceServerSeeders: Counted 2 inactive seeders on team 2 [15:26:34] BalanceServerSeeders: Inactive Seeder count - Team 1: 1, Team 2: 2 [15:26:34] BalanceServerSeeders: Real Player count - Team 1: 15, Team 2: 13 [15:26:34] BalanceServerSeeders: Extra seeder is on team 2, team 2 has fewer real players (disadvantaged), moving a seeder from team 2 to team 1 [15:26:34] BalanceServerSeeders: Attempting to move an inactive seeder from team 2 to team 1 [15:26:34] BalanceServerSeeders: Not Moving Seeder XXXXXX on team: offline, idle, 0 [15:26:34] BalanceServerSeeders: Not Moving Seeder YYYYY on team: offline, idle, 0 [15:26:34] BalanceServerSeeders: Not Moving Seeder EBassie on team: offline, idle, 0 [15:26:34] BalanceServerSeeders: Moving seeder Ubern00bster from Team 2 to Team 1 RUSH:Code: [15:34:40] BalanceServerSeeders: Player count 26 [15:34:40] BalanceServerSeeders: Seeder: bananaSkillTeam: 1, Current Score: 0,Minutes since last activity: 23,7192708333333,, status: Inactive [15:34:40] BalanceServerSeeders: Seeder: LtdDzangoTeam: 1, Current Score: 228,Minutes since last activity: 0,45625,, status: Active [15:34:40] BalanceServerSeeders: Player count - Team 1: 13, Team 2: 12, Team 1+2: 25, All:26 [15:34:40] BalanceServerSeeders: Counting inactive seeders for team 1 [15:34:40] BalanceServerSeeders: Counted 1 inactive seeders on team 1 [15:34:40] BalanceServerSeeders: Counting inactive seeders for team 2 [15:34:40] BalanceServerSeeders: Counted 0 inactive seeders on team 2 [15:34:40] BalanceServerSeeders: Inactive Seeder count - Team 1: 1, Team 2: 0 [15:34:40] BalanceServerSeeders: Real Player count - Team 1: 12, Team 2: 12 [15:34:40] BalanceServerSeeders: Updating team scores. Team 1 Score: 60, Team 2 Score:983 [15:34:40] BalanceServerSeeders: ServerInfo reported player count is: 26, player kick threshold is 28 [15:34:41] BalanceServerSeeders: --------- [15:34:41] BalanceServerSeeders: Player count 26 [15:34:41] BalanceServerSeeders: Seeder: bananaSkillTeam: 1, Current Score: 0,Minutes since last activity: 23,7432291666667,, status: Inactive [15:34:41] BalanceServerSeeders: Seeder: LtdDzangoTeam: 1, Current Score: 228,Minutes since last activity: 0,480208333333333,, status: Active [15:34:41] BalanceServerSeeders: Player count - Team 1: 13, Team 2: 12, Team 1+2: 25, All:26 [15:34:41] BalanceServerSeeders: Counting inactive seeders for team 1 [15:34:41] BalanceServerSeeders: Counted 1 inactive seeders on team 1 [15:34:41] BalanceServerSeeders: Counting inactive seeders for team 2 [15:34:41] BalanceServerSeeders: Counted 0 inactive seeders on team 2 [15:34:41] BalanceServerSeeders: Inactive Seeder count - Team 1: 1, Team 2: 0 [15:34:41] BalanceServerSeeders: Real Player count - Team 1: 12, Team 2: 12 [15:34:42] BalanceServerSeeders: Updating team scores. Team 1 Score: 60, Team 2 Score:982 [15:34:42] BalanceServerSeeders: ServerInfo reported player count is: 26, player kick threshold is 28 [15:34:44] BalanceServerSeeders: Updating team scores. Team 1 Score: 60, Team 2 Score:982 [15:34:44] BalanceServerSeeders: ServerInfo reported player count is: 26, player kick threshold is 28 [15:34:47] BalanceServerSeeders: Updating team scores. Team 1 Score: 60, Team 2 Score:982 [15:34:47] BalanceServerSeeders: ServerInfo reported player count is: 27, player kick threshold is 28 [15:34:50] BalanceServerSeeders: --------- [15:34:50] BalanceServerSeeders: Player count 27 [15:34:50] BalanceServerSeeders: Seeder: bananaSkillTeam: 1, Current Score: 0,Minutes since last activity: 23,8825520833333,, status: Inactive [15:34:50] BalanceServerSeeders: Seeder: LtdDzangoTeam: 1, Current Score: 228,Minutes since last activity: 0,61953125,, status: Active [15:34:50] BalanceServerSeeders: Player count - Team 1: 13, Team 2: 13, Team 1+2: 26, All:27 [15:34:50] BalanceServerSeeders: Counting inactive seeders for team 1 [15:34:50] BalanceServerSeeders: Counted 1 inactive seeders on team 1 [15:34:50] BalanceServerSeeders: Counting inactive seeders for team 2 [15:34:50] BalanceServerSeeders: Counted 0 inactive seeders on team 2 [15:34:50] BalanceServerSeeders: Inactive Seeder count - Team 1: 1, Team 2: 0 [15:34:50] BalanceServerSeeders: Real Player count - Team 1: 12, Team 2: 13 [15:34:50] BalanceServerSeeders: Updating team scores. Team 1 Score: 59, Team 2 Score:981 [15:34:50] BalanceServerSeeders: ServerInfo reported player count is: 27, player kick threshold is 28 [15:34:54] BalanceServerSeeders: Updating team scores. Team 1 Score: 57, Team 2 Score:980 [15:34:54] BalanceServerSeeders: ServerInfo reported player count is: 27, player kick threshold is 28 [15:34:55] BalanceServerSeeders: Updating team scores. Team 1 Score: 57, Team 2 Score:980 [15:34:55] BalanceServerSeeders: ServerInfo reported player count is: 27, player kick threshold is 28 [15:34:56] BalanceServerSeeders: Updating team scores. Team 1 Score: 57, Team 2 Score:980 [15:34:56] BalanceServerSeeders: ServerInfo reported player count is: 27, player kick threshold is 28The first line should show the teamscores, but CTF has no teamscores in RCON. So there may be the issue? PS: In fact the server's build-in standard Idle Timeout does not even seem to work with CTF Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 23, 2013 Author Share Posted March 23, 2013 Originally Posted by Flyswamper*: I'm about 2 minutes from walking out the door to go on my househunting trip... so no serious time, but I will be able to look more in the evenings with hotel wi-fi. With that said, if those lines aren't even showing up, it suggest to me that the serverinfo event is not being "fired"/received at all when in CTF mode. My plugin uses other events for monitoring specific player info, but I was relying on the serverinfo event which contains total player count in it to initiate the idle kick. I was not causing these events to happen with the plugin since they normall were occurring every 30 seconds or so anyway. My assumption is that the ProCon core is checking these every so often. Perhaps this isn't occuring in Rush mode? Might be a question for Phil. But from your end, perhaps you could watch the console next time it is in CTF mode and just see if you see any evidence of serverinfo results being requested and returned to procon. Also, you could manually initiate a serverinfo event/request and I am guessing that my plugin would then write those two lines (verifying that it isn't exactly my plugin failing to do something...its that the event it was waiting on is not happening). Anyway... gotta run, will check in later. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 23, 2013 Author Share Posted March 23, 2013 Originally Posted by EBassie*: serverInfo does get fired by Procon every 30 secs with CTF. The response is: Code: [16:53:18] OK PRoCon[=11= Clan #3/3 - CAPTURE THE FLAG 64 - by Multiplay & DICE] 62 64 CaptureTheFlag0 XP5_004 0 1 0 0 true true false 126310 664 85.236.100.49:19867 v1.867 | A1386 C2.325 true EU lhr GB falseI came across this reply by Phil_k on another CTF issue:showthread....ll=1#post70226* It's what I thought an has nothing to do with a balancer. This "bug" results out of the fact that with CTF the serverInfo response holds no information about the number of teams and their tickets/flags. showthread....ll=1#post70327* Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 23, 2013 Author Share Posted March 23, 2013 Originally Posted by Flyswamper*: Great find there. That is almost certainly my plugins problem. It is expecting info that isn't there. Should be easy to do the check on player list events. I'll do that soon. ( a few days possibly. ). Thx for the detective work! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 1, 2013 Author Share Posted April 1, 2013 Originally Posted by Flyswamper*: Well... I found a bit of time to do this. Bascially I've moved the code that will kick an idle seeder (if appropriate to do so) into the playerlist event instead of the serverinfo event. Was a really easy change. I was able to connect to the ProCon test bf3 server to see that the code at least appears to run as I'd expect on an empty server. Unfortunately though, I'm still on the road with hotel wifi and my laptop needs one of those large GB+ download/updates from origin for bf3 and I can't wait on it. Which would be needed to test myself as a seeder. Not sure any of that made sense, but... the moral is... the revised code is uploaded to the first post of this thread. It *should* work without trouble, but let me know if it doesn't since I can't fully test it myself right now. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 2, 2013 Author Share Posted April 2, 2013 Originally Posted by EBassie*: Hey Fly, thanks for the update! seems to be working correct now. Quote * Restored post. It could be that the author is no longer active. Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.