wgrand08 / tether

Automatically exported from code.google.com/p/tether
0 stars 0 forks source link

develop a master server system #237

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently all players wanting to play MoonPy need to plan the game using a
chat client like AIM or skype and then whoever is hosting needs to provide
their IP address. It would be useful to have a master server system where
players can simply log in and find others to play with. There are 2 options
I can think of to do this. First would be to write our own master server
and have the clients automatically connect to it. Second would be to have
an IRC server and have moonpy capable of connecting through that. There are
advantages and disadvantages to both options and further discussion will
need to be done before a determination is made. Also running our own master
server will require hosting somewhere which will cost money which will be
an issue as well. 

Original issue reported on code.google.com by Donkyhotae on 21 Feb 2010 at 7:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have a qnap TS107 which runs Debian 24/7. So I can run a master server, but I 
can't
guarantee constant uptime.

Original comment by stijndw1...@gmail.com on 6 Mar 2010 at 2:52

GoogleCodeExporter commented 9 years ago
Inconsistant uptime is better then no uptime whatsoever (which is what we 
currently
have). It would also make a good testing system and place to start. If for some
reason MoonPy really takes off and we need something more heavy duty we'll worry
about getting something else. 

Original comment by Donkyhotae on 6 Mar 2010 at 5:30

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
changing priority to high

Original comment by Donkyhotae on 8 Mar 2010 at 5:31

GoogleCodeExporter commented 9 years ago
blocked by issue 253 and issue 255

Original comment by Donkyhotae on 8 Mar 2010 at 5:33

GoogleCodeExporter commented 9 years ago
Accepting issue

Original comment by Donkyhotae on 9 Mar 2010 at 10:24

GoogleCodeExporter commented 9 years ago
While thinking about this issue and doing a little research I would like to 
eventually create a system similar to what globulation2 does with combination 
IRC 
and regular master server. When logging into the master server the player is 
also 
logged into an IRC chat room. This allows players to wait for a game on IRC 
without 
having to run globulation2 all the time. I think a similar system would be best 
for 
MoonPy. This would also allow us to implement this in steps and phases. I am 
thinking about starting with having players logged directly into an IRC channel 
where they can plan games and have links/buttons for hosting and joining games 
right 
from there just like the regular host/join screen. We could also have it so 
that the 
client automatically announces when someone is hosting. This would be a very 
simple 
system to implement and a good stepping stone. From there we can eventually 
start 
implementing a more regular master server system with actual listings of games 
to 
play. 

Original comment by Donkyhotae on 11 Mar 2010 at 4:45

GoogleCodeExporter commented 9 years ago
blocked by issue 272

Original comment by Donkyhotae on 19 Mar 2010 at 5:40

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Work on this issue has begun. I have written a simple IRC client in python and 
integrated it into MoonPy. Currently I am now able to connect to an IRC server 
and 
chat directly through MoonPy. It needs some cleaning however as MoonPy just 
dumps 
*everything* sent by the IRC server and the irrelevant data needs to be 
scrubbed. 
Also, really long chat messages need to be 'looped' as currently it just goes 
off 
the right side of the screen and you have to scroll over to read everything. I 
am 
also planning on cheating with the master server and using IRC for everything. 
I am 
just going to make it so that when a player chooses to host a game, a chat 
message 
is automatically sent reporting this along with the IP address. Other players 
can 
choose to join directly from the IP address like normal. This will work well 
for us 
as we currently don't have a host to run a master server on. Also once a host 
becomes available it becomes a matter of just setting up and running a regular 
IRC 
server. In the far future we could also potentially take a normal open source 
IRC 
server and modify it for extra commands/functions for more direct interaction 
with 
MoonPy.

Original comment by Donkyhotae on 22 Mar 2010 at 8:07

GoogleCodeExporter commented 9 years ago
issue fixed and ready to be tested

Original comment by Donkyhotae on 26 Mar 2010 at 2:13

GoogleCodeExporter commented 9 years ago
issue tested, fixed, and uploaded onto SVN

Original comment by Donkyhotae on 26 Mar 2010 at 2:26