Commit Graph

18733 Commits

Author SHA1 Message Date
RoosterDragon
36a1715e5c Ensure replays end when the recorder disconnects.
When ReplayConnection fixes up disconnection packets, this allows the game to continue past the point of a player disconnecting. Unfortunately this also applies to the player who actually disconnected which means the replay continues in an invalid manner. To fix this - we now explicitly don't replace their packet in order to ensure such replays end at the correct time.
2015-10-25 21:22:44 +00:00
RoosterDragon
0ca1805ea7 Merge pull request #9389 from Herve-M/fix-replay
Fix replay freeze
2015-10-25 21:20:11 +00:00
Oliver Brakmann
744d66955a Merge pull request #9749 from RoosterDragon/delay-toctou-fixes
Fix TOCTOU issues when calling Game.RunAfterDelay
2015-10-25 21:16:15 +01:00
RoosterDragon
7c889c5ef0 Fix TOCTOU issues when calling Game.RunAfterDelay.
Since the action runs after a delay, the state of the game may no longer be the same and it may no longer be valid to run the action. Anything that references the world now calls IsCurrentWorld to ensure the world hasn't changed or been disposed.
2015-10-25 19:44:21 +00:00
abcdefg30
d10dd5c9d9 Merge pull request #9758 from reaperrr/fix-barrel-seldeco
Fix #9751 - Replace Selectable with CustomSelectionSize on RA barrels
2015-10-25 18:51:02 +01:00
abcdefg30
f5ab218c4f Merge pull request #9766 from obrakmann/fix-d2k-missing-replaybrowser
Add replaybrowser yaml file back to d2k manifest.
2015-10-25 18:43:58 +01:00
atlimit8
10aca92bef Merge pull request #9720 from penev92/fixUtility
Fix a crash in CheckPlayers when an actor doesn't define an Owner
2015-10-25 12:41:50 -05:00
Matthias Mailänder
e0dffe773c Merge pull request #9550 from clemty/gdi06
Add gdi06
2015-10-25 18:27:33 +01:00
Matthias Mailänder
d4016ae6f0 Merge pull request #9716 from teees/hover-fix
Disable hovering for landed aircraft
2015-10-25 18:01:29 +01:00
Oliver Brakmann
356b50fb18 Add replaybrowser yaml file back to d2k manifest. 2015-10-25 18:00:02 +01:00
Matthias Mailänder
86ddcf05a1 Merge pull request #9764 from Biofreak1987/fix_soviet06
Fix unit production in soviet06
2015-10-25 17:37:31 +01:00
Pavel Penev
0487ec0d08 Fix a crash in CheckPlayers when an actor doesn't define an Owner 2015-10-25 17:11:51 +02:00
Pavel Penev
06ba175fde Merge pull request #9762 from obrakmann/fix7926_fix_td_sams_not_closing
Fix TD SAM sites not closing after killing a target.
2015-10-25 16:12:37 +02:00
atlimit8
7c1e93a880 Merge pull request #9730 from r34ch/fake-structures-detonate
Fake structures detonate to mask health difference.
2015-10-25 09:12:02 -05:00
Biofreak1987
454ac1edaf Fix soviet06 unit production 2015-10-25 14:55:56 +01:00
DArcy Rush
60ad19b625 Fake structures use 'DamageThreshold' under 'Explodes'.
This change means that fake structures take damage at the same
rate as their real counterparts, but explode at 90% of their
max health.

MSLF and PDOF have been given a health buff as only one fake
version of each can be built.

Also fixed mission Monster Tank Madness. Actor v19.Husk required
HealthInfo.
2015-10-25 11:51:27 +00:00
Pavel Penev
82144ce975 Merge pull request #9738 from abcdefg30/loadimport
Fix the legacy map importer not working
2015-10-25 13:41:29 +02:00
Oliver Brakmann
3d4500a86e Fix TD SAM sites not closing after killing a target.
This fix will not make the SAM close if the target is still alive and got out of range.
2015-10-25 12:40:09 +01:00
abcdefg30
7210883e71 Merge pull request #9754 from atlimit8/LuaArraysToTables
Convert Lua array-like structures to use named entries.
2015-10-25 11:43:13 +01:00
reaperrr
80e6e024d8 Replace Selectable with CustomSelectionSize on RA barrels
This still allows targeting them, but you neither see their health bar on mouse-over, nor can you select them (effectively making their health bar and selection box invisible).
2015-10-25 10:01:14 +01:00
Matthias Mailänder
8e6c5cef74 Merge pull request #9757 from Biofreak1987/add_to_authors
Add myself to AUTHORS
2015-10-25 09:22:00 +01:00
Biofreak1987
f02d87fa35 Add myself to AUTHORS 2015-10-25 09:15:15 +01:00
atlimit8
128574723a Merge pull request #9753 from RoosterDragon/better-actor-lookups
Improve some actor queries
2015-10-25 02:38:21 -05:00
Matthias Mailänder
40a7ab5a6a Merge pull request #9628 from abcdefg30/luatime
Fix Utils.FormatTime not working properly on different game speeds
2015-10-25 07:49:01 +01:00
Matthias Mailänder
3dc765f7c1 Merge pull request #9744 from pchote/serverbrowser
Redesign the MP server browser.
2015-10-25 07:32:04 +01:00
Matthias Mailänder
83399277b5 Merge pull request #9717 from teees/emp-disable-extensions
Let emp effect buildings and cyborgs too
2015-10-25 07:20:26 +01:00
atlimit8
f79ac636f2 Convert Lua array-like structures to use named entries 2015-10-25 00:36:04 -05:00
RoosterDragon
30aee56d78 Improve some actor queries.
Use ActorsWithTrait if possible to avoid querying all actors in the world.
2015-10-25 01:19:29 +01:00
DArcy Rush
c0850e44f4 Explodes trait has new 'DamageThreshold' property.
An actor will explode when its health is below the
defined percentage of its max health.
2015-10-24 23:02:42 +01:00
abcdefg30
e65465c539 Fix Utils.FormatTime not working properly on different game speeds 2015-10-24 23:42:32 +02:00
Paul Chote
e0177d7798 Merge pull request #9494 from abcdefg30/luabackground
Add lua support for playing background music
2015-10-24 22:25:35 +01:00
Paul Chote
be37717e6d Account for cross-mod tile shapes in map previews. 2015-10-24 22:02:46 +01:00
Paul Chote
c0f42904f0 Overhaul the server browser. 2015-10-24 21:58:31 +01:00
Paul Chote
2a210a7314 Fix some lobby yaml nits. 2015-10-24 21:38:09 +01:00
Paul Chote
c87c2270ca Merge pull request #9668 from abcdefg30/balanceRA
RA-Balance changes for the next playtest
2015-10-24 21:16:52 +01:00
Oliver Brakmann
c62d1a395b Merge pull request #9748 from pchote/map-metadata-lint
Add a lint pass for map format/author/title.
2015-10-24 22:13:49 +02:00
Paul Chote
347eb6410c Add a lint pass for map metadata. 2015-10-24 20:36:38 +01:00
Paul Chote
f425323965 Merge pull request #9702 from reaperrr/d2k-airspeed
Increase D2k aircraft speed
2015-10-24 20:35:19 +01:00
abcdefg30
90968022cb Merge pull request #9703 from reaperrr/fix-tanya9673
Fix Tanya's Colt targeting buildings
2015-10-24 21:21:03 +02:00
abcdefg30
caaa779da4 Merge pull request #9736 from obrakmann/fix9693_lua-attack-broken
Fix broken scripted attacks in some missions
2015-10-24 21:18:45 +02:00
Oliver Brakmann
63c687cdce Merge pull request #9746 from matija-hustic/missile_submarine
Revert missile explosion condition to strictly less than zero
2015-10-24 20:11:50 +02:00
Matija Hustić
8f4543c1e1 Changed TD Advanced Guard Tower's firing height 2015-10-24 19:54:36 +02:00
RoosterDragon
bf7aace592 Merge pull request #9714 from Phrohdoh/fix_9713
Fix misleading Utility message.
2015-10-24 18:22:55 +01:00
Matija Hustić
7ca8d85771 Revert explosion condition to strictly less than zero 2015-10-24 18:20:18 +02:00
reaperrr
663de1a6ea Merge pull request #9731 from obrakmann/fix9647_9727_remove_tesla_boost_from_ra
Remove tesla boost from RA
2015-10-24 12:33:57 +02:00
reaperrr
b5cdde6c5d Fix RA building TargetTypes 2015-10-24 08:45:30 +02:00
Taryn Hill
9ab5eacdee Cache the command entered in a variable in Utility.Program.cs for easier reading. 2015-10-23 20:55:18 -05:00
Taryn Hill
780f905959 Fix misleading Utility message
We were reporting that the entered command did not exist
by assuming that any ArgumentException indicated this.

Now we will throw and catch a NoSuchCommandException.
2015-10-23 20:55:13 -05:00
abcdefg30
69496c2f16 Fix the legacy map importer not working 2015-10-24 00:59:14 +02:00
Oliver Brakmann
42d2e016ed Fix broken scripted attacks in some missions
In all three cases, the failure came down to the targets not being declared as enemies to the attackers.

Recent changes to the attack code made it impossible to attack friendly or neutral things with the Lua API's Attack() method. Changing the allegiance of affected parties fixed it, or, in the case of Soviet 02a, using force-attack.
2015-10-24 00:36:09 +02:00