The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
October 14, 2024, 03:43:21 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  General UQM Discussion (Moderator: Death 999)
| | |-+  Net Play - Lobby
« previous next »
Pages: 1 [2] 3 4 Print
Author Topic: Net Play - Lobby  (Read 15165 times)
Amiga_Nut
*Many bubbles*
***
Offline Offline

Gender: Male
Posts: 208



View Profile
Re: Net Play............................
« Reply #15 on: January 09, 2007, 08:41:29 pm »

Well, first, I really appreciate all the responses to this thread. I don’t know what solution is best. I agree with the statement that “temporary solutions often become permanent ones” I know there is someone out there ready and able to code a solution. I thank Novus and Meep-eep for their effort in responding this thread. All I can do is offer money or CGI to the person or who makes my dreams of escorting several unsuspecting SC2 players to their deaths, a reality. Best of luck to you all,
        Metallic Medium CGI
                                                                 
Logged

I keep my old Amiga on a flash-drive. Tongue

Stalks-Death
Zebranky food
*
Offline Offline

Posts: 11



View Profile
Re: Net Play............................
« Reply #16 on: January 10, 2007, 03:56:40 pm »

I'm very interseted in playing against other people...but the channel is always empty when i get in there.
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Net Play............................
« Reply #17 on: January 10, 2007, 04:33:46 pm »

If it's empty you're probably using the wrong channel or the wrong network (which means you're actually creating a channel).
The correct channel is #uqm-arena, and the network is Freenode, and you can use irc.freenode.org to connect to.
There are about 10 people on average nowadays, but frequently many are idle. Some are just waiting for an opponent, so don't wait until someone invites you to play; just ask whether anyone wants to. If noone responds, don't give up, just leave your IRC session open and go something else for a bit and tell your IRC client to give a signal when someone says something.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Stalks-Death
Zebranky food
*
Offline Offline

Posts: 11



View Profile
Re: Net Play............................
« Reply #18 on: January 10, 2007, 06:49:22 pm »

That must be it. I'll try again this evening. Thanks for the info.
Logged
Death 999
Global Moderator
Enlightened
*****
Offline Offline

Gender: Male
Posts: 3874


We did. You did. Yes we can. No.


View Profile
Re: Net Play............................
« Reply #19 on: January 12, 2007, 05:28:21 pm »

I don't see a 'freenode' network in the list. I see 'freeworld' and 'freedomchat'... If I pick it as a standalone server is that a problem?

edited to add: apparently, no.
« Last Edit: January 12, 2007, 11:07:33 pm by Death 999 » Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Net Play............................
« Reply #20 on: January 13, 2007, 11:17:34 am »

"Open Projects Network" (OPN) is the old name.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Cedric6014
Enlightened
*****
Offline Offline

Gender: Male
Posts: 701



View Profile
Re: Net Play............................
« Reply #21 on: June 15, 2007, 06:08:48 am »

Hi UQM team. I would love to know what the latest is with the netplay lobby development (if any). Is this something you guys are doing right now? Is it something that can accommodate contributions from others before its completed?
Logged

Play online melee here! http://irc.uqm.stack.nl/
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Net Play............................
« Reply #22 on: June 15, 2007, 02:36:45 pm »

No work is being done on the lobby atm.
As it is something which is only marginally connected with the game source, my hope is that someone else steps up to work on this, while I work on other things that netplay needs.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Net Play............................
« Reply #23 on: June 15, 2007, 11:18:17 pm »

As it is something which is only marginally connected with the game source, my hope is that someone else steps up to work on this, while I work on other things that netplay needs.
I suppose I could take a shot at it if we can agree on a feature set and division of labour (i.e. where does my part end?). We've gone over the basic idea already, but here's my take on how to do it:

Each player connects to the server on entering the lobby (from the SuperMelee menu) and gets a list of available challenges on the server (IP address, player/fleet name, fleet composition). A connected player can:
  • Add (or, if he already has one, remove it) a challenge (which all the other players are told about).
  • Respond to a challenge, in which case the other player is contacted directly and asked to confirm; if affirmative, both players are removed from the lobby and returned to the SuperMelee menu connected to each other, as in the existing system.
  • Exit the lobby (drop the connection, removing the challenge if any).

The above is pretty much the bare minimum lobby functionality. The obvious next step to me is to add a public chat to the lobby and a private chat between connected players, allowing for more detailed discussion of fleet setups. At a minimum, this would require the option to write single lines of plain text and send them in between the messages sent to/from the lobby or other player.

As far as connection setup goes, it should be possible to estimate a good value for netdelay from round-trip time between the players in the game (this could then be tweaked at connection confirmation time).

I haven't worked out the protocol in detail yet, but I'd probably do it as newline-separated textual commands over TCP; easy to implement, test and debug. I think I'd do the server in Java, where insufficient validity checks on net traffic are more likely to get the offender hung up on than result in code injection.

Am I making any sense here? Undecided
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
countchocula86
*Smell* controller
****
Offline Offline

Gender: Male
Posts: 345


Culture 20!


View Profile
Re: Net Play............................
« Reply #24 on: June 16, 2007, 04:11:45 am »

It would also be awesome if non-players could connect and watch games.
Logged

I like to think you killed a man. It's the romantic in me.
Cedric6014
Enlightened
*****
Offline Offline

Gender: Male
Posts: 701



View Profile
Re: Net Play............................
« Reply #25 on: June 16, 2007, 05:03:23 am »

I have a a bunch of design ideas kicking around but because I have 0.01 computer knowledge I don't know whether they're plausible, improbable, or just laughable.

I will take a chance and float some in the anticipation that I get laughed out of UQMville

The basics
  • A prominent link from the PoNaF home page
  • A lobby that works off the same log-in details as the UQM forum. This way people retain the same identity in both the lobby and the forum(s). Perhaps if you're already logged in to UQM forum you don't need to log-in to the melee lobby.
  • Once you've entered the Netplay lobby you're confronted with a list of 'arenas' where battle can take place. You know how battle takes place around a planet? Same principle here! The arenas would be labeled Pollux II, Jupiter, Beta Brahe IA etc. Ideally the actual planet graphic could be used as the planet around which battle takes place. That would be neat!
  • Ability to join arenas to watch a melee - with no limit to how many people can view. Imagine everyone watching the final of a league game - cool!
  • Maybe even the ability to comment during game play in the arena. Full crowd atmosphere.

Tournament capability (my baby)
  • Okay, this might be far fetched:  I would like this lobby to magically administer tournaments and record results and statistics
  • Automatic registration of league entrants and updates of league results and tables
  • Ratings system for players
  • And other such exciting features

The underlying mechanics, which have been discussed on this thread are not something I really understand at all.

My aim is to persuade my brother to have a crack at this, if no-one else is. Clearly I need to be made aware of the varying degrees of impossibility for the above!
Logged

Play online melee here! http://irc.uqm.stack.nl/
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Net Play............................
« Reply #26 on: June 16, 2007, 01:37:47 pm »

The basics
  • A lobby that works off the same log-in details as the UQM forum. This way people retain the same identity in both the lobby and the forum(s). Perhaps if you're already logged in to UQM forum you don't need to log-in to the melee lobby.
My initial design is purely intended to aid in setting up games, not keep track of any statistics or so. However, some form of authentication would be necessary if any meaningful tracking of player performance is to be added. As the netplay server would probably run on the same machine as the forum, using the same user database would save the trouble of keeping track of separate user accounts (and allow us to use the forum's features for much of the password administration).

Quote
  • Once you've entered the Netplay lobby you're confronted with a list of 'arenas' where battle can take place. You know how battle takes place around a planet? Same principle here! The arenas would be labeled Pollux II, Jupiter, Beta Brahe IA etc. Ideally the actual planet graphic could be used as the planet around which battle takes place. That would be neat!
If we have large amounts of users, splitting them up will become necessary, in which case dividing them up into channels or arenas or realms or planets or whatever becomes necessary (and the "planet" theme actually sounds kind of cool).

Wild idea: use the starmap to select a planet when creating a new arena.

Quote
  • Ability to join arenas to watch a melee - with no limit to how many people can view. Imagine everyone watching the final of a league game - cool!
Melee recording and observing are important ideas that should definitely be taken into account (why use a complicated video recording system when you can record the control data transmitted by the netplay system more or less for free?). Is anyone working on this?

One way to approach this is to extend the lobby system to include games in progress to which one can connect as an observer (some sort of peer-to-peer chaining of observers would probably be nice for major events; even though the amount of data is small, thousands of small packets per second can still clog up your link pretty bad, and latency is not really an issue for an observer).

Quote
  • Maybe even the ability to comment during game play in the arena. Full crowd atmosphere.
Support for voice and text chat during game sounds like a good feature, although some sort of ability to control whom you listen to would be necessary. This gets complicated to use (and implement) fast. I'd start off by allowing players to talk and leave observers (with the possible exception of an official commentator ("... And Elvish Pillager afterburns right into the planet. Again. What do you have to say about that, EP?" "Angry!")) mute.

Quote
Tournament capability (my baby)
  • Okay, this might be far fetched:  I would like this lobby to magically administer tournaments and record results and statistics
  • Automatic registration of league entrants and updates of league results and tables
  • Ratings system for players
  • And other such exciting features
If the server keeps track of players, keeping track of game results (and even replays!) would be relatively easy, as would organising tournaments. A tournament or league would merely be an arena with special rules on who plays who next and a few lines of extra code to handle scoring.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Net Play............................
« Reply #27 on: June 16, 2007, 02:16:36 pm »

I've already said a lot about this earlier in this thread, but  here are a few more comments:
I agree with a TCP text-based protocol; easy to implement, debug, and maintain. I already had the start of a protocol written down; perhaps you're interested in seeing it.

As for the "where does my part end?", for a start, the lobby could be a separate program which starts UQM. Then you wouldn't have to touch the UQM code at all (if you want), and we'll add a few command-like options to start the game in Netplay mode. And as I mentioned before, that "separate program" could just be something which communicates between the game and a web server, so that the entire lobby could be done in the browser. (It doesn't have to work like this; this is just one relatively easy way).

As for Java, it would not have been my first choice, but if you're making the lobby, it will be your choice. I'm sure we can install java on uqm.stack.nl.

Using the forum login for authentication is an interesting idea, which I hadn't considered before. But in Open Source spirit, it should be possible for anyone to run a server, and then this method would suddenly be a lot less interesting.

As for rooms; star/planet names might be a nice default for room names, but it would be better to make them user-definable. If you have a contest, a room named "Kohr-Ah Cup" beats "Beta Copernicus IV".
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
guesst
Enlightened
*****
Offline Offline

Gender: Male
Posts: 692


Ancient Shofixti Warrior


View Profile WWW
Re: Net Play............................
« Reply #28 on: June 16, 2007, 05:16:37 pm »

I have a a bunch of design ideas kicking around but because I have 0.01 computer knowledge I don't know whether they're plausible, improbable, or just laughable.

I will take a chance and float some in the anticipation that I get laughed out of UQMville

The basics
  • A prominent link from the PoNaF home page
  • A lobby that works off the same log-in details as the UQM forum. This way people retain the same identity in both the lobby and the forum(s). Perhaps if you're already logged in to UQM forum you don't need to log-in to the melee lobby.
  • Once you've entered the Netplay lobby you're confronted with a list of 'arenas' where battle can take place. You know how battle takes place around a planet? Same principle here! The arenas would be labeled Pollux II, Jupiter, Beta Brahe IA etc. Ideally the actual planet graphic could be used as the planet around which battle takes place. That would be neat!
  • Ability to join arenas to watch a melee - with no limit to how many people can view. Imagine everyone watching the final of a league game - cool!
  • Maybe even the ability to comment during game play in the arena. Full crowd atmosphere.
Cool ideas. While you're posting your wish list, I wish that your "arena" idea included not a single planet, but a system of planets, spinning in a 3D starmap where your fleet can be strategicly moved so as to allow you force or avoid encounters to give yourself a chance. Like chess in space, only when the ships meet they fight.

An optional starbase where you could deploy new ships would be cool too.
Logged

A new game and it's code each week. Please visit Cymon's Games
Valaggar
Guest


Email
Re: Net Play............................
« Reply #29 on: June 16, 2007, 05:28:37 pm »

...And then you end up with the game that Spathi captain are playing...
Logged
Pages: 1 [2] 3 4 Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!