Paul Chote
57a27eb948
Restore packet size restriction with 128k limit.
2013-07-14 17:00:44 +12:00
Paul Chote
567b1967cf
Revert "restrict packet size to 4K in server"
...
This reverts commit edb08d6fec .
2013-07-13 21:03:44 +12:00
Paul Chote
55653c3f1f
Add lobby support for configuring starting units.
2013-07-13 19:18:27 +12:00
Paul Chote
db22f3568d
Remove obsolete DefaultStartingUnits parameter.
...
It was only actually used by bomber-john. Everything
else also removed SpawnMPUnits, making it redundant.
2013-07-13 19:18:27 +12:00
Paul Chote
7376cccf4d
Smarter unit spawn logic. Fixes #3496 .
2013-07-13 19:18:27 +12:00
Paul Chote
2091a386fb
Improve support for picking a valid actor spawn cell.
2013-07-13 19:18:26 +12:00
Paul Chote
06b06a5dad
Merge pull request #3375 from i80and/pathingdomains
...
Pathingdomains
2013-07-12 23:01:38 -07:00
Andrew Aldridge
ba885907ba
Use MobileInfo.GetMovementClass for domain indexing, clearing path for caching and smarter behavior
...
* Move DomainIndex from being a manual hard-coded hook in World to an IWorldLoaded trait.
2013-07-12 09:40:55 -04:00
i80and
d4cead2187
Initial terrain domain work
2013-07-12 09:37:00 -04:00
ScottNZ
e4e92ec900
Add RejectsOrders to disallow orders for offmap aircraft etc
2013-07-12 16:04:14 +12:00
i80and
1fe2418e22
Factor out the CVec direction list.
2013-07-11 20:32:42 -04:00
Paul Chote
086b0a62e9
Merge pull request #3533 from Mailaender/stylecop
...
Added StyleCop Support
2013-07-11 15:01:30 -07:00
Matthias Mailänder
9a6e7f749b
Merge pull request #3545 from pchote/infantry-range-fix
...
Infantry range fix
2013-07-11 11:45:15 -07:00
Matthias Mailänder
a35a046ede
disable more StyleCop rules based on @pchote's wishlist
2013-07-11 20:29:00 +02:00
Matthias Mailänder
95d8c17d71
Merge pull request #3548 from pchote/regression-fixes
...
Regression fixes
2013-07-11 11:13:46 -07:00
Paul Chote
9746b53cb6
Merge pull request #3535 from chrisforbes/lobby-robustness
...
restrict packet size to 4K in server
2013-07-11 04:33:42 -07:00
Paul Chote
a783321c03
Fix BackgroundWidget eating input outside its bounds.
2013-07-11 19:59:06 +12:00
Paul Chote
045eb12388
Fix an integer overflow in Target.IsInRange.
2013-07-11 19:59:06 +12:00
Paul Chote
a49cc78c57
Tidy Sync.
2013-07-11 19:44:15 +12:00
Paul Chote
60f49b39d4
Fix #3546 .
2013-07-11 18:45:12 +12:00
Paul Chote
11cebddaa9
Convert Sound.Play* to WPos.
2013-07-11 17:37:27 +12:00
Paul Chote
9b9952dcdf
Change ITargetable TargetableCells -> TargetablePositions.
2013-07-10 19:09:28 +12:00
Matthias Mailänder
8bb5b5700b
added StyleCop support
...
with some rules we disagree with disabled
2013-07-08 19:42:32 +02:00
Matthias Mailänder
f0f64010ec
Merge pull request #3531 from pchote/world-targets
...
Convert more things to world coordinates
2013-07-08 10:33:25 -07:00
Paul Chote
01de84e9fc
Ensure valid targets in Selectable.
2013-07-08 23:40:21 +12:00
Paul Chote
87361df043
Centralize weapon validity check into WeaponInfo.
2013-07-08 23:40:21 +12:00
Paul Chote
4b1323ada5
Target cleanup.
2013-07-08 21:52:28 +12:00
Paul Chote
89fd889cf4
Convert Target positions to world coords.
2013-07-08 21:52:28 +12:00
Paul Chote
d0bed06765
Use WVec overload of Util.GetFacing where possible.
2013-07-08 21:52:27 +12:00
Paul Chote
0fdffd7b6a
Convert Drag to world coords.
2013-07-08 21:52:27 +12:00
Paul Chote
7f25573cfa
Convert Selectable to world coords.
2013-07-08 21:52:26 +12:00
Paul Chote
9eaeeffae9
CenterLocation.ToCPos() -> CenterPosition.ToCPos().
2013-07-08 21:52:26 +12:00
Paul Chote
2a0eff2ed0
Convert DrawLineToTarget to world coords.
2013-07-08 21:52:25 +12:00
Paul Chote
f9ec5fd9b7
Add WPos.ToCPos().
2013-07-08 21:52:25 +12:00
Chris Forbes
edb08d6fec
restrict packet size to 4K in server
...
- Sending a negative length no longer crashes the server
- Sending very large lengths can't force us to buffer stupid amounts of data
The offending client just gets kicked if they do this.
2013-07-08 14:58:07 +12:00
Paul Chote
399aac7e0f
Extend Target with world-coordinate range checks.
2013-07-06 19:12:26 +12:00
Paul Chote
eec986d93d
Add world coords overload of FindUnitsInCircle.
2013-07-06 19:12:25 +12:00
Paul Chote
e765fb6439
Make world-coordinates [Sync]able
2013-07-06 18:43:06 +12:00
Paul Chote
18cecf8a67
Disable pausing for spectators. Fixes #3340 .
2013-07-06 11:31:43 +12:00
Paul Chote
3a356782fc
Force spectator color to white on join. Fixes #3501 .
2013-07-06 11:11:48 +12:00
Paul Chote
0ad9e65577
Add group labels to the slots dropdown.
2013-06-30 12:29:52 +12:00
Matthias Mailänder
450fbded3f
Merge pull request #3487 from pchote/server-client-fix
...
Prevent handshake spoofing of Client data.
2013-06-29 01:26:37 -07:00
Paul Chote
ec7bbd6c18
Add Ui.LoadWidget<T> overload.
2013-06-29 13:29:39 +12:00
Paul Chote
fd660c7fa0
Make ChromeMetrics accessible from mod dlls.
2013-06-29 12:58:48 +12:00
Paul Chote
fe6c6a3017
Add Developer Menu toggle. Fixes #3296 .
2013-06-29 12:53:09 +12:00
Paul Chote
79779d69ba
Prevent handshake spoofing of Client data.
2013-06-29 11:12:41 +12:00
ScottNZ
a6e5a0b53f
Add temp banning to servers
2013-06-29 10:58:37 +12:00
Paul Chote
8856a1444c
Handle failure cases of Socket.Send. Fixes #3455 .
2013-06-27 18:43:10 +12:00
Paul Chote
185e9b3f08
Fix and rewrite contrails. Closes #3457 .
2013-06-25 19:38:48 +12:00
Paul Chote
c886253738
Fix white lines at the bottom of units.
2013-06-25 18:40:11 +12:00