2v2 lobby

Post here if you want to help developing something for FAF.

2v2 lobby

Postby johnie102 » 13 Apr 2013, 22:20

Hey everyone,

After finally getting all the dependecies working and looking at the codebase for the lobby I figured I could help out a bit.
I'm willing to make the UI portion of a 2v2 lobby system. This will need some work on the database side of things that I don't have acces to.
It seems to me that this can best start out as a random matching 2v2, so that your partner is chosen randomly as well. Implementing arranged teams would require additional work (for which I would be willing to do the UI portion), but it seems best to me to have random matching first.

While working on this I'll also try to create some more documentation (as it seems lacking in some places).

Thoughts?
johnie102
Avatar-of-War
 
Posts: 128
Joined: 27 Dec 2012, 22:26
Has liked: 0 time
Been liked: 2 times
FAF User Name: johnie102

Re: 2v2 lobby

Postby ColonelSheppard » 13 Apr 2013, 22:25

cool?
User avatar
ColonelSheppard
Contributor
 
Posts: 2997
Joined: 20 Jul 2012, 12:54
Location: Germany
Has liked: 154 times
Been liked: 165 times
FAF User Name: Sheppy

Re: 2v2 lobby

Postby eXcalibur » 14 Apr 2013, 00:28

i am not up to date how galactic war is supposed to work: whether it will be 1v1 only gameplay or XvX (X<7). if latter is the case, then we do not not need a 2v2 right away: i would just take the code from galactic war and modify it to a 2v2 only environment. this seems to easiest solution to me.
but people, who actually know about the ladder system (and database behind it), know definitely more about that. does somebody know, who these people are (besides zep)?
ze_pilot can definitley tell you more about it, but you have to wait until he replies in this thread or ask him for support in the lobby chat...

also to wait for the clan system (look here: viewtopic.php?f=2&t=2881) might be good. or just cooperate with the guy...
eXcalibur
Priest
 
Posts: 302
Joined: 28 Apr 2012, 14:18
Has liked: 52 times
Been liked: 3 times
FAF User Name: eXcalibur

Re: 2v2 lobby

Postby johnie102 » 14 Apr 2013, 11:35

Yeah, I PMed Zep and he said I should make this thread.
And this will be different then Galactic War in that this is a ladder. So, it is much more structured then Galactic War. Just see it is as the 1v1 automatching, but then 2v2.

It turns out that I can't do a lot on the lobby side. For the leaderboards i need acces to read_leader.php. The actual matching happens server side. If Zep would be kind enough to show me the code for the 1v1 matching, I can probably adapt it for 2v2 matching.

So far I've created 2 additional buttons on the games page to toggle between 1v1 and 2v2 matching and updated the game launch functions to take the 2v2 lobby into acount, so I can do nothing more lobby side.

If the clan system is implemented, it might be a good idea to have an additional 2v2 ladder that only matches you with clan mates. This would mean that no additional machinery for creating and managing teams is necessary. This way every clan could get a ladder rating as well. And if you want to play with a single teammate you simply start a clan with just 2 players.
johnie102
Avatar-of-War
 
Posts: 128
Joined: 27 Dec 2012, 22:26
Has liked: 0 time
Been liked: 2 times
FAF User Name: johnie102

Re: 2v2 lobby

Postby ColonelSheppard » 14 Apr 2013, 11:38

how do you want to handle that in general? with clans or more like the LoL system (which is pretty good in my opinion) ?
User avatar
ColonelSheppard
Contributor
 
Posts: 2997
Joined: 20 Jul 2012, 12:54
Location: Germany
Has liked: 154 times
Been liked: 165 times
FAF User Name: Sheppy

Re: 2v2 lobby

Postby Ze_PilOt » 14 Apr 2013, 11:58

You have to make all the interfaces to make a 2 players group, manage invitations, determine a group leader that will start the ladder, ... ... It's really more work than you think.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: 2v2 lobby

Postby johnie102 » 14 Apr 2013, 16:57

I was more thinking along this line.
Say that you have a group (or a clan). You select the arranged team ladder and from a dropdown box select a group from all the groups your in. You click search teammate. If any other teammate from the selected group is doing the same you get a popup asking if you want to be in a group with this person (showing his rank and stuff). If both agree, the ladder will try to find a comparable group.
That doesn't sound really hard to do. Or were you talking about the matching of 2v2 players randomly?

Sheppard, I have never played LoL, so I don't know what this system is. Care to elaborate?
johnie102
Avatar-of-War
 
Posts: 128
Joined: 27 Dec 2012, 22:26
Has liked: 0 time
Been liked: 2 times
FAF User Name: johnie102

Re: 2v2 lobby

Postby Ze_PilOt » 14 Apr 2013, 17:29

The idea is simple.
But doing it in another thing. Well, you have the code, so you can try :)
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: 2v2 lobby

Postby Blackheart » 14 Apr 2013, 17:44

That would be really awesome if someone is ready to do the work ;)
User avatar
Blackheart
Priest
 
Posts: 376
Joined: 04 Jul 2012, 13:26
Has liked: 294 times
Been liked: 299 times
FAF User Name: various

Re: 2v2 lobby

Postby ColonelSheppard » 14 Apr 2013, 17:45

johnie102 wrote:I was more thinking along this line.
Say that you have a group (or a clan). You select the arranged team ladder and from a dropdown box select a group from all the groups your in. You click search teammate. If any other teammate from the selected group is doing the same you get a popup asking if you want to be in a group with this person (showing his rank and stuff). If both agree, the ladder will try to find a comparable group.
That doesn't sound really hard to do. Or were you talking about the matching of 2v2 players randomly?

Sheppard, I have never played LoL, so I don't know what this system is. Care to elaborate?


basicly what you just said: either random matching (causes rage, dont do that)
or arranged teams of lets say a maximum of 6 teammates that can do 2v2 games and the whole team gets rated (maybe only 3-4)
User avatar
ColonelSheppard
Contributor
 
Posts: 2997
Joined: 20 Jul 2012, 12:54
Location: Germany
Has liked: 154 times
Been liked: 165 times
FAF User Name: Sheppy

Next

Return to Contributors

Who is online

Users browsing this forum: No registered users and 1 guest