Matthias Mailänder
658ae241dc
notify about difficulty level changes
2014-08-03 14:20:09 +02:00
Matthias Mailänder
ed2e4eef17
make the change notifications more natural
2014-08-03 14:19:46 +02:00
Matthias Mailänder
061ab42896
announce kicks and bans
2014-08-03 09:41:23 +02:00
Matthias Mailänder
65049f6212
announce map changes
2014-08-03 09:38:15 +02:00
Matthias Mailänder
9422285aa2
Merge pull request #6108 from havok13888/LobbyInfoNotification
...
Closes #6012
2014-08-02 07:19:23 +02:00
havok13888
65c77677d4
Inform client about changes in lobby options
2014-08-01 15:41:02 -05:00
ihptru
b76d9ed2e4
send player names to master server
2014-07-30 23:42:34 +04:00
ihptru
3ef8d76bfe
remove .php prefixes related to master server
2014-07-25 19:55:54 +04:00
Paul Chote
51f69110d0
Merge pull request #6046 from ihptru/masterserver
...
send 'spectators' and 'protected' to master server
2014-07-24 20:31:35 +12:00
ihptru
26a6f45b8f
send 'spectators' and 'protected' to master server; fixes #6041
2014-07-23 23:41:46 +04:00
Pavlos Touboulidis
b88b87b899
Improve game loop
...
Environment.TickCount was replaced with Game.RunTime that's based on
Stopwatch for increased accuracy.
2014-07-10 04:06:29 +03:00
ScottNZ
90894aa03e
Use var everywhere
2014-06-15 22:17:34 +12:00
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12:00
ScottNZ
5e641750aa
Use Any() instead of Count() == 0
2014-06-15 22:14:39 +12:00
RoosterDragon
b733465f33
General uncontroversial cleanup:
...
- Made private methods static where possible (runtime can elide checking the object for null).
- Declared attribute classes as sealed (allows reflection on attributes to complete faster).
- Moved some static cctor's into field initializers (static cctor's are slower than static field initializers).
- Made classes static if they contained only static methods (can't create instances of useless objects).
- Use inferable Exts.Lazy and not new Lazy<T>().
- Added required STAThread attribute to CrashDialog.
- Removed unused parameters in private methods.
- Added Serializable attribute to exceptions.
- Added parameter name in calls to ArgumentNullException.
- Use of as operator instead of is + cast.
- Changed (x as Foo).Bar anti-pattern into ((Foo)x).Bar. Results in sensible cast exceptions on error rather than null dereferences.
- Removed unused method in NullShader.
2014-05-23 15:50:54 +01:00
WolfGaming
00698cefff
Added in code for Tech Levels using prereqs
...
and fixed up some kinks of the old system
2014-05-19 03:29:25 +00:00
Matthias Mailänder
1147a572da
fix closing slots not removing bots properly
2014-05-18 09:49:29 +02:00
Matthias Mailänder
f68a6bbd76
split latency from Client into ClientPing
...
closes #4282
2014-05-15 10:04:21 +02:00
Matthias Mailänder
f365f9da2b
split lobby SyncInfo order into smaller chunks
...
closes #4594
2014-05-15 10:04:03 +02:00
Matthias Mailänder
59ace5d01b
new shorthand Exts.(Try)ParseIntegerInvariant
2014-05-13 14:16:41 +02:00
Matthias Mailänder
b19d286f56
parse with NumberFormatInfo.InvariantInfo everywhere
...
closes #5240
2014-05-06 18:31:48 +02:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Paul Chote
fcb3d7347a
Kick clients who don't have the map when the host force-starts.
2014-03-21 23:33:14 +13:00
Paul Chote
c30b18a9d6
Introduce MapCache and MapPreview for improved UI map previews.
2014-03-16 21:45:59 +13:00
Matthew Uzzell
c6b0e37f7e
updated the AllowSpectate variable to be AllowSpectators
...
added KickSpectatorsLogic for a confimation of kicking spectators & changed the toggle buttons to be a checkbox
2014-02-22 21:55:35 +00:00
Matthew Uzzell
88121b272d
edited the LobbyLogic to include a spectator toggle in the server admin dropdown.
2014-02-22 21:55:34 +00:00
Chris Forbes
abaed4e8be
fix client join/leave race with master server ping
2014-01-16 09:36:12 +13:00
Igor Popov
88ee768bc7
more reasonable message when map was not found on server
2013-12-24 22:30:08 +04:00
Paul Chote
6d6d1e230b
Remove runtime mod merging. Closes #3421 .
2013-11-15 09:54:42 +13:00
ScottNZ
00ec1ca87a
Remove unused usings
2013-11-12 19:39:33 +13:00
Matthias Mailänder
bc133d199e
StyleCop cleanup
2013-11-10 07:34:52 +01:00
Matthias Mailänder
21a607a43e
StyleCop cleanup
2013-11-09 17:23:33 +01:00
Paul Chote
271ce5275c
Add starting cash option.
2013-08-17 14:43:52 +12:00
Paul Chote
ce41eb2361
Add "Build off Ally ConYards" option. Fixes #2464 .
2013-08-17 14:42:40 +12:00
Paul Chote
059c88ca1b
Reorganize map options panel.
2013-08-17 14:41:44 +12:00
Paul Chote
d76a8c2950
Allow maps to override options. Closes #3646 .
...
Also set sensible defaults for most of the maps and mini games.
2013-08-17 14:41:40 +12:00
Paul Chote
9a9494c01b
Remove starting-units validation. Fixes #3641 .
2013-08-12 21:53:16 +12:00
Paul Chote
c08f602661
Add lobby options for Shroud and Fog.
2013-08-04 13:04:09 +12:00
Paul Chote
55653c3f1f
Add lobby support for configuring starting units.
2013-07-13 19:18:27 +12:00
Paul Chote
a49bf40413
Replace add bots / assign with a combined slot options dropdown.
2013-06-30 14:29:49 +12:00
ScottNZ
a6e5a0b53f
Add temp banning to servers
2013-06-29 10:58:37 +12:00
Paul Chote
1fce900801
Set spectator color to white & remove selector.
2013-06-26 22:32:27 +12:00
Paul Chote
6e4cf37e44
Fixes #3336 .
2013-06-26 21:42:56 +12:00
Andy Perkins
23d9d611c1
Lobby, Add Bots button
2013-06-22 07:56:06 +10:00
Chris Forbes
4d85605cca
fix validation of startgame order
2013-05-18 15:58:16 +12:00
Matthias Mailänder
90ac648ff1
Merge pull request #3244 from pchote/bot-surrender
...
Improvements to player drop behavior
2013-05-10 01:44:55 -07:00
Paul Chote
4a1698804f
Rework server orders.
...
- Server messages now show as from "Server".
- Fixes #3224 .
2013-05-10 20:31:19 +12:00
Paul Chote
656476991f
Replace ColorRamp with HSLColor everywhere.
...
Fixes:
* Nuclear-purple color exploit.
* #3247 .
* Removes a bunch of unnecessary color conversions every frame.
Caveats:
* The ramp range is now defined on the palette, so ramps can no longer be set per-player (may impact maps which define custom colors).
* It's no longer possible to perfectly recreate the original WW color ramps (I doubt we care).
* The old ColorRamp setting isn't migrated, so players will lose their color settings.
2013-05-10 19:23:30 +12:00
Paul Chote
9069d98365
Reimplement pinging via the orders channel.
2013-04-23 21:35:57 +12:00
Scott_NZ
493811c0d0
Add Required slot checking in lobby logic. Set up needed player slots as Required for missions
2013-04-19 00:16:13 +12:00