Page 2 of 3

Re: 32 Players

Posted: 20 Apr 2008, 01:18
by REVENGE
Well braindamage, the error in your screenshot comes from this:

Code: Select all

/**
@brief Load teams and remove gaps in the team numbering.
@pre numTeams, hostDemo initialized
@post teams loaded
@todo don't store in global variables directly
 */
void CGameSetup::LoadTeams(const TdfParser& file)
{
	// i = team index in game (no gaps), a = team index in script
	int i = 0;
	for (int a = 0; a < MAX_TEAMS; ++a) {
		char section[50];
		sprintf(section, "GAME\\TEAM%i\\", a);
		string s(section);

		if (!file.SectionExist(s.substr(0, s.length() - 1)))
			continue;

		// Get default color from palette (based on "color" tag)
		int colorNum = atoi(file.SGetValueDef("0", s + "color").c_str());
		colorNum %= palette.NumTeamColors();
		float3 defaultCol(palette.teamColor[colorNum][0] / 255.0f, palette.teamColor[colorNum][1] / 255.0f, palette.teamColor[colorNum][2] / 255.0f);

		// Read RGBColor, this overrides color if both had been set.
		float3 color = file.GetFloat3(defaultCol, s + "rgbcolor");
		for (int b = 0; b < 3; ++b) {
			gs->Team(i)->color[b] = int(color[b] * 255);
		}
		gs->Team(i)->color[3] = 255;

		gs->Team(i)->handicap = atof(file.SGetValueDef("0", s + "handicap").c_str()) / 100 + 1;
		// leader field is relocated in RemapPlayers
		gs->Team(i)->leader = atoi(file.SGetValueDef("0", s + "teamleader").c_str());
		gs->Team(i)->side = StringToLower(file.SGetValueDef("arm", s + "side").c_str());
		// allyteam field is relocated in RemapAllyteams
		gs->SetAllyTeam(i, atoi(file.SGetValueDef("0", s + "allyteam").c_str()));

		// Is this team (Lua) AI controlled?
		// If this is a demo replay, non-Lua AIs aren't loaded.
		const string aiDll = file.SGetValueDef("", s + "aidll");
		if (aiDll.substr(0, 6) == "LuaAI:") {
			gs->Team(i)->luaAI = aiDll.substr(6);
		} else {
			if (hostDemo) {
				aiDlls[i] = "";
			} else {
				aiDlls[i] = aiDll;
			}
		}

		teamRemap[a] = i;
		++i;
	}

	if (teamRemap.size() != numTeams)
		throw content_error("incorrect number of teams in GameSetup script");
}

Re: 32 Players

Posted: 20 Apr 2008, 15:27
by 1v0ry_k1ng
I dont think 32 player game max is a good idea, because noobhosts WILL host 16vs16 cuz "ITS DER BIGGEST" which means often the only hosts avliable will be these ridiculous laggy games. I mean right now, 8vs8 is pretty laggy and crowded. the maps we have and the connections and pcs we have really couldnt hack 16vs16. just try running a map bigger than 20x20 and see how much the lag increases. 32 max would just make noobs join the biggest game around, lag the hell out and be like "wtf spring".

Re: 32 Players

Posted: 20 Apr 2008, 21:23
by Tobi
Current max is fine IMHO; we already increased it not so long ago. (Though that was lobby only IIRC.)

I think the arguments are very true, people will try it anyway and it will (often) fail. If not due to a bug, then because more players means the player with the weakest CPU is even weaker, and more units, so basically two factors that will contribute to more lag in such games.

Re: 32 Players

Posted: 20 Apr 2008, 22:20
by Vadi
My guess is that proper CPU detection by lobbies could help there.

(and have protection against smrt people who'll screw with the lobby to make it lie)

Re: 32 Players

Posted: 20 Apr 2008, 22:31
by KDR_11k
Meh, I think the option should be given, some mods might make good use of the player count. Maybe let other mods specify a player limit?

Re: 32 Players

Posted: 21 Apr 2008, 08:24
by CarRepairer
I don't think it would be a problem to allow 32 separate commander-unique players.

And I can imagine an epic FFA battle would be quite playable with 32 people. not 16v16, but 16 teams of 2, or 8 teams of 4. So long as teams themselves don't get too large they can be properly coordinated, so there's no reason to limit ourselves as computers get more and more powerful.

Now if I could quadruple the size of the Europe map EU1 and really make it as I envisioned it would truly be a sight. :-)

Re: 32 Players

Posted: 21 Apr 2008, 09:12
by Abaddon
16x16 mirrored delta siege :!:

Only problem is that host must have good cpu and bandwith?

Re: 32 Players

Posted: 21 Apr 2008, 10:28
by pintle
com shooter/war evo anyone? :twisted:

Re: 32 Players

Posted: 21 Apr 2008, 11:44
by REVENGE
pintle wrote:com shooter/war evo anyone? :twisted:
Exactly. Specifically because Lukao notified me that War Evo is in active dev again.

Anyways, I'm going to start a dev thread in the right place.

Re: 32 Players

Posted: 21 Apr 2008, 13:37
by Teutooni
Enforce max 10 players for BA! :twisted: :P

Re: 32 Players

Posted: 22 Apr 2008, 00:15
by Neddie
REVENGE wrote:
pintle wrote:com shooter/war evo anyone? :twisted:
Exactly. Specifically because Lukao notified me that War Evo is in active dev again.

Anyways, I'm going to start a dev thread in the right place.
I wanted his input, but he went ahead with work alone.

Re: 32 Players

Posted: 22 Apr 2008, 06:22
by SwiftSpear
I'm in favor of increasing it, depending on the difficulty of the implementation.

However, it generally won't be stable, so I'd do something like make the game sizes for 12 or larger in a different color, and give the host a warning box that large games may be less stable. Also give the player a warning popup saying that the game may be unstable if the game is larger than 12 when they try to join.

I don't really see it as a problem that players are able to experiment with the limitations of the engine. The problem is when they don't understand the consequences of such experimentation before hand.

Re: 32 Players

Posted: 22 Apr 2008, 19:24
by KDR_11k
If so, PLEASE consult with the mod before displaying a warning! There's not going to be much extra lag if the mod gives each player less than ten units.

Re: 32 Players

Posted: 22 Apr 2008, 20:02
by cong06
What about an automatically generated warning that the mod itself can easily turn off?

(knowing about mod scripting would probably make it easier for me to understand how possible that is... by easy I mean like 1 line of code...)

Re: 32 Players

Posted: 23 Apr 2008, 08:50
by SwiftSpear
KDR_11k wrote:If so, PLEASE consult with the mod before displaying a warning! There's not going to be much extra lag if the mod gives each player less than ten units.
True... The player limit/count should probably be controlled by the mod to begin with anyways. Like you say, a smaller scale mod won't suffer nearly as much from many more players taking part.

Re: 32 Players

Posted: 04 May 2008, 18:17
by Tribulexrenamed
16 vs. 16 would allow some wonderful gameplay on certain mods. I am working a mod, after messing with Crappage's comshooter, that relies heavily on tactics and First Person mode on units. In this mod, unit numbers are capped at 5 - 10 per player, and a person's role on a team is very carefully defined. With such specific roles and emphasis on team dynamics, an 8x8x8x8, 16x16, or maybe the best, 4x4x4x4x4x4x4x4, would greatly enhance the possibilities of the game. My opinion on this matter is that the maximum game size should be defined by the mod/game itself, with a default of 16 players max. By allowing the mod to define game size, mods such as BA could set the maximum players at 10, which makes more sense for the game. Similarly, mods such as my own (I do not have a name for it yet XD) or comshooter could set the maximum number of players to 32.

On the side, the Comshooter Sex Edition project is discontinued, unless anyone is interested in a final balanced release. I have it made, but I have not packaged it and uploaded it yet. Now, the vindicator has effects when it lifts off, which shut off once it is in the air so that you can see what you are doing in FPS mode. I also decreased its HP, acceleration, and brake rate. It can go fast, but it takes a while to get to the max speed.

Re: 32 Players

Posted: 05 May 2008, 04:45
by PRO_rANDY
reduce max players to 2 gogo

Re: 32 Players

Posted: 05 May 2008, 17:08
by Gota
We stil dont have a squad based thidperson shooter for springwhich can actually wor kgreat ,with such a mod the possibility to play with 32 players is great.

Re: 32 Players

Posted: 05 May 2008, 17:11
by KDR_11k
PRO_rANDY wrote:reduce max players to 2 gogo
I guess a day of maxplayers = 2 would be fun. Same for a day of #main locked or a day of no *A...

Re: 32 Players

Posted: 05 May 2008, 17:17
by Gota
Thats actually a great idea(Except main being locked...thats stupid),
As long as these days are spaced apart enough.