Multiplayer

Everything related to the code /
Tout ce qui touche au code
Post Reply
User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Multiplayer

Post by zuzuf » Thu May 01, 2008 10:33 pm

WOOOW It works !!!

There are a few bugs remaining (feature synchronization isn't perfect yet), a few things to rewrite in order to make it endian safe, use compression, etc..., but this won't change the sync protocol !!

I've just won (and lost) a game against myself, here are the network statistics:

Code: Select all

network statistics :
average bytes/sec. received : 835 bytes/sec.
maximum bytes/sec. received : 6670 bytes/sec.
total bytes received : 2044057 bytes
average bytes/sec. sent : 2518 bytes/sec.
maximum bytes/sec. sent : 14118 bytes/sec.
total bytes sent : 3644330 bytes
There wasn't too much units (50 max per player I think), but it ran smoothly and the byte rate required is low enough to allow playing over the Internet.

So now we should test playing over the Internet, just to see if it plays smoothly :D .

Next steps:
  • * testing all this on win32 :lol:
    * add support for external lobby (passing a file as parameter)
    * add support for internet games discovery (we'll need a server that will monitor requests)
PS: so now current version number isn't 0.4.3 any more but 0.5.0 :)
=>;-D Penguin Powered

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Post by Balthazar » Fri May 02, 2008 5:47 pm

Yessss!!!!!!! :D :D :D :D :D :D :D :D :D

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Fri May 02, 2008 6:28 pm

I have built packages for 0.5.0 TEST 1 (since we changed to 0.5.0, let's start again from TEST 1 :) ), I am uploading them, as soon as it's finished, we could try to play together :wink:
=>;-D Penguin Powered

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Fri May 02, 2008 6:52 pm

It's out, I am waiting for you on IRC:
irc.etigris.com
#ta3d

:twisted:
=>;-D Penguin Powered

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Post by Balthazar » Fri May 02, 2008 7:42 pm

Ok, I`m downloading it right now

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests