Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
techbear

Administrator
Registered:
Posts: 172
Reply with quote  #1 
I think the way Artemis 2 does its client/server matchmaking can be improved.  But I have a lot of ideas that haven't really coalesced.  So I'd like to hear your opinion about how to improve this aspect of the Artemis 3 UX.

Many current multiplayer games try to hide the "server" from the players; they press "join", wait for a while, and then the game starts, with one of them randomly being the "server".  Often, a player can be accidently left out, for whatever reason.

For other multiplayer games, there's a central matchmaking server, so everyone always has to be internet-connected, to reach that matchmaking server.

Artemis doesn't quite fit either of those UX solutions.  But I still think the first couple screens of Artemis 2 are clumsy, and could be done better.

Perhaps the first screen of the game should make you type in a name for your computer.  That would start the "personalization" of your console early.

Perhaps the "make a server" button should be harder to find.  Or perhaps every game should automatically try to be a server.  Okay, mebbe that's going to far. 😉

Have you played any comparable multiplayer games lately?  How do they do it?

What do you think about this?
LawsonThompson

Registered:
Posts: 827
Reply with quote  #2 
My first thought was, "Comparable to Artemis? NOTHING compares to Artemis!" 

The closest one I've seen thus far is a solo bridge simulator (Dream Flight Adventures): at launch the main application has an option to be the main View Screen (server) or a client. Once launched, the server listens on one port and broadcasts itself on the network. LAN clients find it and offer to connect automatically, or you can override and enter an IP address to connect to.

After the first launch, the application remains as server or client, and clients default to the same position as used previously. Very handy for long-term bridge installations.

__________________
----
https://LTEBridge.com
Fish Evans

Registered:
Posts: 383
Reply with quote  #3 
So I like the fact that A2 now will pop up the server to clients to quick join for LAN.

playing online the set up is ... irritating. a full master server service would be nice on the face of it but might attuly be detramental to A3.. I think it might be for A2. (for those not sure what I mean by that: server announces it self to the master server at a set URL/Address client asks master server for list of servers that have announcerd them selves/polled them selves in the last X min, client then pings each server from the list it is given and presents the list to the player), A must with this would be adding a password feature. the advantage here is that it would make joining into games on a "pick up" basis much easyer.. the down side is... we would need a way to comunicate station to station - text, VoIP or something or the co-ordination of the game would become .. imposible and that would turn off anyone who has just purchaased ther game.  "I just joined .. I have no idear what I am doing.. and I cant talk to anyone..." Thats not going to be a good first expriance... thought there are ways you could advertise on the server "click this link to join our discord server/join our TS3 Server. (example ts3server://comms.mytsn.net / https://discord.gg/p7KfTft ... a community discord server would perhapse not be a bad idear though that raises Moderation issues)

That said a nice alternative I have seen is:
Player enters Direct IP / URL / LAN announces server.
Client remembers the last 5,10,20,X entered / connected addresses (or addresses that have been marked as faviourts) and when next told the player is looking to connect gives each a quick ping to see if they are alive and presents the list of servers. Again a password feature would be nice. the slight advantage here beeing that they would of had to get the address from someone/place who could then have the discord/teamspeak/mumble/etc service they are using with that info.

The main issue I would have with a dynamic server selection (aside from the comunication issue) is that of consistancy of play and inparticular bandwidth for online players? how do you test to find if the client has enough of an up pipe to host? you could easily give each computer a performance score for RAM, CPU, and Ping to other clients and work out the best host ... I maybe showing my ignorance here but I dont think there is a non obnoxious way to test the upload speed from a client? A dynamic selection would make setting up games easy though! though who would get to control any admin functions (pause, endgame, kick client (see second side note) etc)?

A combination perhapse of the Dynamic (for LAN) and a remembered list would I think work best for A3, unless you are intending to include VoIP in A3 ..in which case a master server system would probably push the game into a much wider audiance.

Side notes A headless server option (no gfx needed so a AWS server could host at one of the cheaper tiers) would be very nice to have as an option! as would a way to ensure that a particular home user hosts (who knows about opening ports and has a nice connection)

If stations (helm etc) are going to be locked to particualr clients in A3, we need a way for a responsible person to forcably disconect a client from the server. Sometimes Sudden RL happens, dog decides to puke on the sofa.. or what ever.. and if you cant walk over to the pc to disconect them in person becuase they are in the other hemisphere.. you get into a bit of a situation where you may have to ask 30 or more peeps to disconnect and reconnect and accept taht a bunch of progress has been lost / give the GM 5 Min to rebuild everything.
McMik

Registered:
Posts: 22
Reply with quote  #4 
Why not separate the two? Basically this is already the case in Artemis 2.
You start the first Artemis.exe, select "Server" and then start a second Artemis.exe and select "Client".
So why not an Artemis.exe and an Artemis_Server.exe? With this you could free Artemis_Server.exe
from all the client ballast. Such as the 3D engine, a GUI, etc. Everything is then controlled via a command line and config files.
An extra program could then be used to create your own user interface for operating this command line server. A GUI for the server could then also be created by the community according to its own requirements. (Mobile App, Windows App, Web App). Or the server can be hosted by one of the Game Server Hosts like Nitrado etc. 

https://server.nitrado.net/usa/gameserver-mieten
Xavier Wise

Registered:
Posts: 1,362
Reply with quote  #5 
A group of friends and I have played a lot of Digital Combat Flight simulator online together. For this game, you download and run a server program that is separate from the full game and has all of the graphics stripped from it. For the host to connect and configure the server, it uses a web interface. The client then has a multiplayer option that displays a server list and people join that way.

I think it would be preferable to be able to choose who is running the server (or the computer on which the server is hosted), rather than it being selected automatically. However, I also think multiple people should be able to access the server controls particularly for online play. In the TSN, we have a couple of people with servers set up, and have used a program like TeamViewer or TightVNC to allow multiple people to access the server computer. This capability, built into the game somehow, would be very useful.

__________________
Fleet Captain Xavier Wise - TSN Sabre
Link to TSN RP Community Website

Want to follow development of the TSN Sandbox? Head here:
https://ko-fi.com/xavierwise
KohoutDan666

Registered:
Posts: 22
Reply with quote  #6 
Quote:
Originally Posted by techbear
I think the way Artemis 2 does its client/server matchmaking can be improved.  But I have a lot of ideas that haven't really coalesced.  So I'd like to hear your opinion about how to improve this aspect of the Artemis 3 UX.

Many current multiplayer games try to hide the "server" from the players; they press "join", wait for a while, and then the game starts, with one of them randomly being the "server".  Often, a player can be accidently left out, for whatever reason.

For other multiplayer games, there's a central matchmaking server, so everyone always has to be internet-connected, to reach that matchmaking server.

Artemis doesn't quite fit either of those UX solutions.  But I still think the first couple screens of Artemis 2 are clumsy, and could be done better.

Perhaps the first screen of the game should make you type in a name for your computer.  That would start the "personalization" of your console early.

Perhaps the "make a server" button should be harder to find.  Or perhaps every game should automatically try to be a server.  Okay, mebbe that's going to far. 😉

Have you played any comparable multiplayer games lately?  How do they do it?

What do you think about this?


I'm definitelly against "one of us is randomly selected as server", because some consoles are playable on machines, that don't manage to be server so well.

I have no problem with setting up server as it is now. But I would say I'm advanced computer user.

Some personalisation would be nice, including showing all IPs for non-LAN games.
I would defenitely add pause at start until everyone is connected. Some games let's you start multiplayer game, but when you start the game, server don't wait for clients and server and faster clients can play, while some clients wait for loading. One game I saw even let anyone connected play and once someone loads, everyone must wait for the latest player to load changes (made between starting and connecting).

Most comparable (setting up multiplayer game) games I know are Raft, Grounded, Minecraft.
DupeOfURL

Registered:
Posts: 379
Reply with quote  #7 
WOULD it be a LOT of extra coding to run the server as a demi-web server?  That way all one need to tell player is to point browsers to HTTP://IP/PlayArtemis   to download the EXE {saves version checks} and other files {for proper Mods}.   Just a random thought....  The IP can be either Public or Private. 
If so, don't forget the Default.HTML {probably a Under Construction graphic....} 



__________________
on TeamSpeak as GrayBeard 

NoseyNick

Avatar / Picture

Registered:
Posts: 349
Reply with quote  #8 
Quote:
Originally Posted by DupeOfURL
WOULD it be a LOT of extra coding to run the server as a demi-web server?

Disclaimer: I'm not Thom, I don't speak for Thom, I don't know Artemis code, I am however a coder of a bunch of other things, including some tools that decode Artemis protocols.

Most programming languages either come with a free simple webserver these days, or can add one with a few lines of code. Not a GOOD one, but an "adequate" one. There are also quite a few simple small webservers you could bundle in the same Zip, and run ALONGSIDE Artemis, given a few caveats.

Quote:
That way all one need to tell player is to point browsers to HTTP://IP/PlayArtemis   to download the EXE {saves version checks} and other files {for proper Mods}


"Downloading the EXE" could have licensing issues. I know that (apart from the Steam version) Artemis licensing has historically been SOMEWHAT "honour system" - it's a "bridge license", you're allowed / encouraged to give copies to your buddies and just make sure you have at least one licensed copy per "bridge" or per "N players" where the value of N has been, perhaps deliberately, a bit vague (especially since fighters and carriers were added), but "Downloading the EXE" would tend to encourage flagrant piracy, I have no idea how much of a concern that is to Thom, if at all.

They are also NOT SMALL downloads, by the way, not sure you would want ONE poor small server serving up, what, potentially 8 ships of about 8 players, 64 copies of the entire game?

Artemis also already has code to check version of the game and make sure your client is the same as the server.

... HOWEVER... the "version check" thing does NOT include mods, and certainly doesn't include specific versions and subversions of mods, and THERE I can see great value in being able to "Serve up" missing files. Probably best to keep all the files around if they DO already have them downloaded, but offer the ability to download any missing files, probably NOT Artemis.exe but most of the others that might be missing, including obviously vesselData.dat, any missing 3D ship model DXS files, WAVs, PNGs, JPGs, then as long as you connect with the right actual Artemis version, most of the rest could be downloaded from the server to make sure you have the right mods etc.

... EXCEPT some people also like to replace the WAVs with their own local louder/quieter ones, and the same MIGHT be true of PNG/JPG graphics(?), so maybe something like...

Server, in some kind of "ready to play but not playing yet" mode, makes available a list of all filenames AND CHECKSUMS it is expecting you to use in the upcoming game. This might be harder than it sounds, involves a decent understanding of the vesselData.dat contents, but sounds "probably not TOO hard".

Server MAY also run the OPTIONAL webserver alongside the game, or may choose not to.

Client checks it has all those files, with the right checksums, OR override/file.name with the correct name but wrong checksum (allowing people to still have client-specific overrides if they want/need to)

Client attempts to download any other "missing" files from the server, AND keep them around for future games that use the same files. It can obviously also verify checksums for a full integrity check.

If client is unable to download any particular files, and also doesn't have an override/file.name for them, probably pop up a list saying that your client is incompatible with this game/mod because it is missing <THESE>

Come to think of it, if the "assets web server" didn't have to be on the same host/IP as the actual game server, this same mechanism could point at a CDN / distro server / artemisspaceshipbridge.com or LIST OF SERVERS configured on the sevrer, and could be used to distribute all the default assets as well, at which point upgrades would probably "only" need to ship artemis.exe itself, with enough knowledge of where to begin bootstrapping all the rest of the assets - "OK, I'm going to want THIS list of assets, can I get them from the game server? http://123.45.67.89/artemis/bits/ ? No? OK, where does the game server tell me to look next? noseynick.net/artemis/ben/UE-4.3.0/ ? let me check there then... No? OK, last on the list is artemisspaceshipbridge.com/dl/2.7.5/ - OK! Found that file! Now repeat for the rest of them...
Sandman

Registered:
Posts: 224
Reply with quote  #9 
This isn't exactly on-topic, but NoseyNick's discussion of an assets web server reminded me that I have occasionally desired a 'Version/Mission/Mod Manager' when working with different versions of Artemis in the past. Specifically when trying to run mission scripts written for one version that didn't work correctly on a different version or when a patch to Artemis broke something and I needed to run the previous version. The solution (for me, at least) has been to keep multiple install folders. I haven't given much thought to it lately, since we've been on 2.7.5 for quite a while and I haven't had reason to roll back. I imagine there will be a few iterations to Artemis 3 before things settle out.

CKAN for Kerbal Space Program is what comes immediately to mind, but other games have mod managers, as well. I realize this might not be for Thom to do but something for the community to create.

__________________
CDR Callisto "Sandman" Bold
Executive Officer of TSN Harbinger
Shipwright of Project Harbinger (Seattle WA)
Xavier Wise

Registered:
Posts: 1,362
Reply with quote  #10 
So, I have pondered on this some more and had another idea to offer.

A 'headless' server option could be run on someone's computer, or something like an AWS server. It would simply be a point of contact for all the clients. The server could be configured from any client that is connected to it. However, to keep it from being a complete free-for-all, the server could be password protected. The client would select and option to access the server and be prompted for the password. When entered, that client would then be able to access the controls to select the script/ game mode, manage other client connections (e.g. be able to kick a client of need be) and launch the mission. I think the option to be able to access the server should always be there in a tab incase something needs to be done mid-game (relaunch the game, kick a client etc). I also think it should be accessible to all clients that have the password. That way, if one person who is managing the server disappears for some reason, the another person with the password can simply log in to the server and take over.

I don't think it would be necessary to have a place where all servers are listed online. I might be wrong, but I don't think there are many online Artemis games going on at the same time. Having the IP to connect to works at the moment as it is quite a small community (compared to big mainstream games). Though being able to name your server and share that name, rather than an IP, I think would be a nice touch. I don't know what that would entail though in terms of creating such a function.

__________________
Fleet Captain Xavier Wise - TSN Sabre
Link to TSN RP Community Website

Want to follow development of the TSN Sandbox? Head here:
https://ko-fi.com/xavierwise
EricF

Registered:
Posts: 239
Reply with quote  #11 

I like this discussion! Many times I've played with friends and the whole concept of an IPv4 address is very new to them. Really made me realize that this could be a barrier for new players. So, I have two suggestions:

1. Keep the current interface, but call it "Host game" and "Join game."  This avoids the whole concept of client/server which is not language most folks encounter. The idea of joining something that someone else is hosting makes intuitive sense. 

2. The "Host Game" interface should spit out a very short alphanumeric code which has encoded all the information needed to connect server and clients, peer-to-peer. So if all else fails, players can just read that code to eachother: shout it out in a room together, or paste it into an instant message conversation, etc. Something like "The game code is GLX123". Most players will already be in touch with eachother via some other method, so that chat app now effectively becomes your match-making server.  On the "Join Game" screen you should see suggested game codes that are broadcasting locally, but also have the option to enter one manually if you can't see your host for some reason. 

Of course this plan still requires the server to open and forward a port if they want to play over the internet. Or, it requires a matchmaking server, which perhaps we don't want to be bothered with. There are solutions out there to this for truly decentralized P2P connections... but they're a little bit dodgy, since one of their clearest use cases is illegal file sharing, and their second-clearest use case is botnet viruses. But hey, no harm in using them for a good and noble purpose! Here's a git project that uses a slightly sneaky technique for UDP hole punching that you might like to check out: https://github.com/samyk/pwnat And a good explanation of how it works, screenshotted from Stack Overflow: 

Untitled.jpg 

The issue of course is that this requires a lot of assumptions about how the residential router on either end will handle these slightly unusual packets, which is why services like Skype will attempt a P2P connection, but then seamlessly fall back on a centralized server if all else fails. You could probably increase the chance of success by giving each client an alphanumeric game code which would need to be shared verbally/in a messaging app, and then entered by the server. But that would slow things down. 

There are blockchain-based solutions to this too, but they'd fundamentally require someone to expend resources to maintain nodes, or pay network fees on an existing chain. 

Just back to the UI question: one of the cleanest solutions to this I've seen recently is Windows 10's "Quick Assist" remote assistance screensharing feature, which simply requires one person to launch the app and click 'Get Assistance' and another person to launch the app and click 'Give assistance'. Then the assistance-giver reads a six-digit number over the phone or pastes it into a chat app, e-mails it, etc. That's it, just a six digit number! That number is enough to match the two. Of course Microsoft is relying on a central server to negotiate this. 

Untitled.png 


Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.