Commit Graph

5353 Commits

Author SHA1 Message Date
Paul Chote
1d3b2334d0 Drop any remaining connections on gamestart. 2010-12-31 17:47:44 +13:00
Paul Chote
64304635b7 Fix dropping unvalidated clients. 2010-12-31 16:52:17 +13:00
Paul Chote
dc9de20553 Fix packaging scripts for BSD sed. 2010-12-31 13:36:37 +13:00
Paul Chote
486fa9a978 Handshake mod versions and map. Bump the protocol version. 2010-12-31 13:35:21 +13:00
Paul Chote
e2d1eec56e Shift Client creation to the client, sent in the handshake response. Fixes the `Newbie' bug and removes a lot of fragmented behaviour on player join. 2010-12-31 12:51:19 +13:00
Paul Chote
8f9e32dcc0 Client/server handshake. Only checks that the correct mods are active. 2010-12-31 11:41:25 +13:00
Paul Chote
dc012c0faf Fix server shutdown crash under mono. 2010-12-30 20:29:11 +13:00
Paul Chote
4f6f3eb80d Upgrade maps to oramap format. Save type field. 2010-12-30 18:00:44 +13:00
Paul Chote
fd49ca75d7 Forgot launcher files. 2010-12-30 17:51:23 +13:00
Paul Chote
cb50182fac Bugfixes: ZipFile.GetInputStream().GetAllBytes/.Length doesn't work; Divide by zero when no shellmaps are available; UseAsShellmap isn't saved by the editor; Duplicate maps crashes game. 2010-12-30 17:43:44 +13:00
Paul Chote
47bbc3a6de Wire up the rest of saving. Save-as will now properly overwrite existing contents. 2010-12-30 17:43:44 +13:00
Paul Chote
39ed6087cb Use utility app for http requests; Make them async. 2010-12-30 15:17:56 +13:00
Matthew Bowra-Dean
428999fc0b Create an empty zip file if it doesn't exist. 2010-12-30 02:21:39 +13:00
Paul Chote
b7975031bc Wire up most of saving again. 2010-12-29 22:13:51 +13:00
Paul Chote
e652a15b01 Remove some duplication 2010-12-29 21:41:04 +13:00
Paul Chote
fc6438e311 Use Filepaths instead of IFolders where possible. 2010-12-29 21:25:43 +13:00
Paul Chote
829fe6530a Start fixing the editor 2010-12-29 19:03:45 +13:00
Paul Chote
58797c0d37 packaging cleanup script. 2010-12-29 17:52:16 +13:00
Paul Chote
f6d9923305 Add SharpZipLib dep to INSTALL. 2010-12-29 11:51:29 +13:00
Paul Chote
c3ff679f3a Make map saving independent of Container type. Saving zip/oramap/mix untested as the editor cannot load non-folder maps. 2010-12-29 11:39:26 +13:00
Chris Forbes
fa36c71023 fix game failing to load compressed maps; convert 'a path beyond.' 2010-12-29 00:55:10 +13:00
Matthew
d4033f57bc Fix Makefile for Ubuntu. 2010-12-28 23:10:44 +13:00
Matthew Bowra-Dean
13f6a13ad9 Write maps to zip file from editor 2010-12-28 22:36:08 +13:00
Chris Forbes
44e668e804 choose a random map with MapStub.UseAsShellmap as the shellmap, rather than hardcoding a sha1 in mod.yaml; add editor support for the new flag too. 2010-12-28 19:13:56 +13:00
Chris Forbes
aecf19ed64 fix hash of RA shellmap 2010-12-28 19:04:33 +13:00
Chris Forbes
2a0c0bb991 remove unused Game.ConnectedToLobby event 2010-12-28 18:54:10 +13:00
Chris Forbes
99a0bd9609 remove legacy .uid junk 2010-12-28 18:53:15 +13:00
Chris Forbes
c20b3b90f4 dont use the .uid file hack -- compute them on demand 2010-12-28 18:52:19 +13:00
Chris Forbes
1cee570207 blah 2010-12-28 18:44:44 +13:00
Chris Forbes
382435e629 blah 2010-12-28 18:42:46 +13:00
Chris Forbes
637dbee32f remove support for loading from maps/ 2010-12-28 18:41:46 +13:00
Chris Forbes
81f6843791 bind .oramap -> ZipFile; search for .zip and .oramap in the map enumerator 2010-12-28 18:40:52 +13:00
Chris Forbes
cc6d445ef1 blah 2010-12-28 18:32:18 +13:00
Chris Forbes
cc2efdfa4a start reworking map enumerator 2010-12-28 18:27:40 +13:00
Chris Forbes
f7b34e1c5e #339 heli spawn offset is wrong fixed, and ReservableProduction folded back into Production 2010-12-28 18:27:00 +13:00
Chris Forbes
4d0f3b1554 #447 lock teams by default 2010-12-28 17:33:16 +13:00
Chris Forbes
ae1710896a add a tiny font; add labels in PerfGraphWidget 2010-12-28 17:24:20 +13:00
Chris Forbes
6425fc8a4b #268 fixed 2010-12-28 17:01:01 +13:00
Chris Forbes
38d267e439 fix sln file 2010-12-28 16:34:49 +13:00
Chris Forbes
95cf0bb827 fix bogus version subst. 2010-12-28 14:53:31 +13:00
Chris Forbes
d42bdfa102 show replays most recent first 2010-12-27 21:22:32 +13:00
Chris Forbes
5a7c62e24a fix bogus formatstring in ChooseReplayFilename() 2010-12-27 21:19:38 +13:00
Chris Forbes
29818ba60c remove dead RejoinLobby function 2010-12-27 21:10:58 +13:00
Chris Forbes
1c4f4b7886 removing some duplication 2010-12-27 21:03:51 +13:00
Chris Forbes
e127095437 remove some dumb state-tracking from OreRefinery 2010-12-27 20:03:19 +13:00
Chris Forbes
d8eaa7c841 shuffle exits 2010-12-27 19:43:32 +13:00
Chris Forbes
888fe35f08 make repath much less aggressive while attacking, to fix perf 2010-12-27 19:17:02 +13:00
Chris Forbes
59fdbe8725 CanTargetUnit -> CanTargetUnit 2010-12-27 18:43:32 +13:00
Chris Forbes
24a5b3ba03 simplification 2010-12-27 18:42:28 +13:00
Chris Forbes
9d768fa1c1 move some MobileInfo-related bits onto MobileInfo 2010-12-27 18:41:07 +13:00