Commit Graph

25 Commits

Author SHA1 Message Date
simon.kagstrom
4e9d876750 Always reset acitve and waiting on reloading 2010-02-27 07:19:09 +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
1392121368 Use image/ as path (again maybe fix later) 2010-02-22 11:43:46 +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