Commit Graph

5229 Commits

Author SHA1 Message Date
Paul Chote
1a83b5c0c0 Remove unnecessary using. 2016-10-02 12:48:26 +01:00
Paul Chote
45214b2c22 Remove unnecessary Game. references in Game. 2016-10-02 12:48:25 +01:00
abcdefg30
279be831ff Merge pull request #12116 from obrakmann/fix11925_log-unknown-orders
Log unknown orders instead of crashing with an NIE
2016-09-30 16:11:55 +02:00
Oliver Brakmann
65b919a7ae Merge pull request #12062 from abc013/VoxelShadows
Added a flag ShowShadow in WithVoxelBarrel, WithVoxelBody, …
2016-09-30 16:04:30 +02:00
reaperrr
678f9563f6 Merge pull request #12103 from pchote/resource-tooltip
Add tooltips to map resources.
2016-09-29 18:36:00 +02:00
Oliver Brakmann
d1ef1ed1ba Log unknown orders instead of crashing with an NIE 2016-09-26 20:39:01 +02:00
Paul Chote
b680a97d2c Fix integer overflows in Wangle.ArcTan. 2016-09-25 21:24:34 +01:00
Paul Chote
365bd5b9bd Rename ResourceType trait fields for consistency. 2016-09-25 17:04:18 +01:00
Paul Chote
fdc6ea4564 Add trait descriptions to ResourceType. 2016-09-25 17:04:17 +01:00
Oliver Brakmann
90e3912bcd Merge pull request #12076 from pchote/fix-orphaned-pings
Clean up ClientPings when a player drops from the server.
2016-09-21 18:17:26 +02:00
Oliver Brakmann
e108305f4e Merge pull request #12074 from RoosterDragon/runtime-long
Change Game.RunTime to a long to prevent overflow
2016-09-21 18:07:52 +02:00
Oliver Brakmann
92ec538208 Merge pull request #12077 from pchote/crashlog-dates
Include dates in crash/sync log filenames.
2016-09-21 17:54:06 +02:00
Oliver Brakmann
b53874fc8e Merge pull request #12075 from pchote/fix-grey-ping-of-death
Read data from *all* connections to the server.
2016-09-21 17:45:59 +02:00
Paul Chote
94de961175 Converting dates to string using the InvariantCulture. 2016-09-21 14:52:05 +01:00
Paul Chote
bfa0c008eb Restore missing GameUid. 2016-09-21 05:09:16 +01:00
Paul Chote
b44d1be554 Timestamp syncreport and exception log files. 2016-09-21 04:57:13 +01:00
Paul Chote
c1e1ee0938 Merge pull request #12066 from chrisforbes/preview-server-crash-fix-bleed
server: Fix server getting wedged after map query with bad minimap
2016-09-21 04:05:59 +01:00
Paul Chote
709bd5b441 Clean up ClientPings when a player drops from the server. 2016-09-20 21:13:07 +01:00
Paul Chote
093053fd93 Read data from *all* connections to the server. 2016-09-20 20:55:52 +01:00
RoosterDragon
2ffea5db54 Change Game.RunTime to a long to prevent overflow. 2016-09-20 19:06:10 +01:00
abc013
b9d1f373fe Added a flag ShowShadow in WithVoxelBarrel, WithVoxelBody, WithVoxelTurret, WithVoxelUnloadBody and WithVoxelWalkerBody 2016-09-20 13:34:05 +02:00
Chris Forbes
5b793e0455 server: Fix server getting wedged after map query with bad minimap
If the mapserver returned an unusable minimap blob, we'd end up dropping
the resulting exceptions on the floor, and committing a completely broken
MapPreview, which would then blow up the tail end of the map change
process, and all future ValidateClient calls after players join (which
itself was handled by kicking the player and logging some noise of dubious
value).

Adjusts exception handling in a number of places to log the exception
rather than dropping it on the floor, and makes the mapserver response
parsing tolerant of bogus minimap blobs -- in this case, we'd rather just
have no minimap.

Candidate for stable, as it fixes a bug present in the current release and
the current playtest series.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
2016-09-20 19:28:31 +12:00
RoosterDragon
e65c73785e Allow MixFile to support all stream types again, not just FileStream. 2016-09-20 07:41:31 +01:00
Matthias Mailänder
56fa1ab0e3 Fix a crash when no sync report is available. 2016-09-18 17:43:22 +02:00
reaperrr
af125d64df Merge pull request #12014 from RoosterDragon/better-oom-logs
Improve out-of-memory logging
2016-09-18 16:38:24 +02:00
Oliver Brakmann
b1f36b0122 Merge pull request #12041 from abcdefg30/musicReset
Fix the music resetting from time to time
2016-09-18 15:57:17 +02:00
reaperrr
1079adcf2b Merge pull request #12027 from pchote/fix-cwd-crash
Fix crash when launching from a different directory than the game binary.
2016-09-18 14:15:45 +02:00
reaperrr
b820f421c0 Merge pull request #11821 from UnknownProgrammer/patch-1
Fix for System Overflow exception
2016-09-18 13:12:59 +02:00
abcdefg30
16776e8a97 Fix the music resetting from time to time 2016-09-17 19:43:09 +02:00
RoosterDragon
696d783a67 Improve out-of-memory logging with more details.
Also ensure that when OpenGL gives an out-of-memory error, we throw an OutOfMemoryException so the improved logging is triggered here too.
2016-09-16 07:35:08 +01:00
Paul Chote
632b277a0e Other misc fixes in Platform. 2016-09-14 20:55:33 +01:00
Paul Chote
1eac43fa6d Fix string comparison cultures in Platform. 2016-09-14 20:54:48 +01:00
Paul Chote
6deb49e095 Resolve a bare "." to the game install path. 2016-09-14 19:44:57 +01:00
RoosterDragon
9f1c872340 Improve some exception types. 2016-09-11 15:14:44 +01:00
Matthias Mailänder
66f4db93c1 Only save a syncreport.log when a desync occurs. 2016-09-05 21:59:50 +02:00
UnknownProgrammer
65fe88daef used clamp instead of Math.Min/Math.Max construct
clarified naming
restored comments
removed blank line
2016-09-03 15:27:04 +02:00
Oliver Brakmann
f5be504640 Add a deadzone for standard scrolling 2016-09-02 21:34:46 +02:00
Oliver Brakmann
1059d5b88d Add a Shadow option to LabelWidget and ButtonWidget 2016-09-02 20:58:46 +02:00
Oliver Brakmann
8ad18ad161 Rewrite color inversal in a reusable way 2016-09-02 20:58:46 +02:00
Matthias Mailänder
02fecc4d87 Merge pull request #11781 from Turupawn/bleed
Same unit command sounds wont overlap anymore
2016-08-29 06:54:41 +02:00
Oliver Brakmann
1c12ad5cee Merge pull request #11903 from abcdefg30/indexing
Fix a possible crash in the lua Player.Team property
2016-08-28 14:16:48 +02:00
Alexis Hunt
becbee8388 Move resource tick logic into chrome classes. 2016-08-27 17:17:24 -04:00
abcdefg30
57d6f678e1 Remove an outdated TODO comment 2016-08-27 19:24:25 +02:00
Paul Chote
3082c61e75 Add depth buffer support to tactical overlays. 2016-08-27 15:43:20 +01:00
Paul Chote
c092c93401 Add depth buffer support to debug overlays. 2016-08-27 15:43:20 +01:00
Paul Chote
50da18cd22 Add depth buffer support to RgbaColorRenderer. 2016-08-27 15:43:20 +01:00
Oliver Brakmann
b3c4ecd7c5 Merge pull request #11881 from reaperrr/always-visible-bar
Allow keeping empty selection bars visible
2016-08-26 14:56:29 +02:00
reaperrr
39034b0de9 Allow keeping empty selection bars visible 2016-08-25 20:40:56 +02:00
Paul Chote
d2f5fe7380 Draw order generator renderables above the shroud. 2016-08-22 20:27:59 +01:00
Paul Chote
69b358ec7b Add IEffectAboveShroud for effects that draw above the shroud. 2016-08-22 20:27:58 +01:00