Commit Graph

29 Commits

Author SHA1 Message Date
simon.kagstrom
bb34cfd531 Only store 9 images 2010-02-28 18:57:31 +00:00
simon.kagstrom
839972cabc Write out server messages on the stats page 2010-02-28 08:52:34 +00:00
simon.kagstrom
ae23c0c4c2 Log message deletion 2010-02-28 08:31:06 +00:00
simon.kagstrom
76c82882ad Update HTML on moving peers 2010-02-27 07:26:54 +00:00
simon.kagstrom
2327d91ed2 Remove debug printout 2010-02-27 07:22:58 +00:00
simon.kagstrom
3a0b3ee15a Regenerate stats page when someone is removed, remove gibberish 2010-02-27 07:22:28 +00:00
simon.kagstrom
115a12b958 Generate statistics on current number of active and waiting players 2010-02-25 11:57:25 +00:00
simon.kagstrom
695f3b9471 More broken printouts removed 2010-02-24 15:49:15 +00:00
simon.kagstrom
6239aa9d3b No gibberish 2010-02-24 15:47:29 +00:00
simon.kagstrom
84266ee93e Maintain two lists of peers
One pending (peers that can be connected to) and one active (peers
that are playing). Peers are pinged until they disconnect so that we
can maintain the number of active peers.
2010-02-24 15:43:56 +00:00
simon.kagstrom
2bff881744 Randomize at start, then use an index 2010-02-24 06:43:48 +00:00
simon.kagstrom
341c31bfd1 Reset port 2010-02-23 20:44:55 +00:00
simon.kagstrom
1bc324c982 Just save the png data as-is (maybe fix later) 2010-02-22 11:43:32 +00:00
simon.kagstrom
6fc380d2c8 Fix message dequeueing 2010-02-22 06:22:54 +00:00
simon.kagstrom
401784e95e Handle network messages 2010-02-21 18:42:42 +00:00
simon.kagstrom
47f6f6d174 Receive and handle text messages at the server end 2010-02-21 15:36:30 +00:00
simon.kagstrom
2a492b70b6 Handle disconnects at the broker side as well 2010-02-21 10:52:30 +00:00
simon.kagstrom
8af1a6c773 Add region handling for the network as well 2010-02-21 10:43:54 +00:00
simon.kagstrom
129bfe26e9 Handle select peer packets, log sent packets 2010-02-20 13:19:13 +00:00
simon.kagstrom
52952df100 Correct register data size 2010-02-20 12:46:46 +00:00
simon.kagstrom
1c3b576bba Various broker fixes 2010-02-16 06:20:40 +00:00
simon.kagstrom
fae666980c Handle multiple data packets in a packet for the broker 2010-02-15 06:22:11 +00:00
simon.kagstrom
b7cf3c9aff Tmp port 2010-02-14 09:19:04 +00:00
simon.kagstrom
bc966b36ad def -> class 2010-02-14 09:17:41 +00:00
simon.kagstrom
56c4742f75 Simplifly data registry and reserve 0...1000 as client range 2010-02-07 09:52:36 +00:00
simon.kagstrom
3c24a37ac3 Send out registered data as well 2010-02-07 09:18:59 +00:00
simon.kagstrom
bd21f7fb78 More broker implementation: Add data store and handle screenshots. All
of it untested.
2010-02-07 08:46:01 +00:00
simon.kagstrom
9affe4ffab Some non-tested data registry implementation for the network broker (not yet
active)
2010-02-06 16:56:11 +00:00
simon.kagstrom
1e50aa3c28 Move network broker 2010-02-06 16:25:11 +00:00