Commit Graph

2713 Commits

Author SHA1 Message Date
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
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
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
Paul Chote
f52a1c1521 Round CashTick pos to the nearest int. 2013-06-24 19:31:15 +12:00
Matthias Mailänder
6a50c760ae record socket buffer sizes to server.log
for investigating #3455
2013-06-22 15:49:52 +02:00
Matthias Mailänder
c18b5e424e at least write the acception we swallow here to the server.log 2013-06-22 15:46:26 +02:00
Matthias Mailänder
8ddc840370 fix some plenks
no logic changes
2013-06-22 15:17:10 +02:00
Matthias Mailänder
dab3d99890 write another socket error catch into server.log 2013-06-22 15:16:32 +02:00
Matthias Mailänder
b93e9a5945 Merge pull request #3458 from pchote/harvester-animations
Fix the harvest animations for TS and D2k.
2013-06-22 01:21:34 -07:00
Matthias Mailänder
c9e46ee0f6 Merge pull request #3454 from pchote/cargo-antivis
Fix shroud glitches once and for all
2013-06-22 01:01:29 -07:00
Paul Chote
80c3cf479d Remove harvester dependency on RenderUnit. 2013-06-22 16:58:40 +12:00
Paul Chote
76efea72d9 Merge pull request #3441 from Mailaender/display-server-error
Display ServerError in CONNECTIONFAILED_PANEL
2013-06-21 18:45:24 -07:00
Paul Chote
37bc3766a5 Merge pull request #3420 from Mailaender/sound-info
Display the current sound engine in the console
2013-06-21 18:42:06 -07:00
Paul Chote
9adfb56f65 Only update vis for actors in the world. Fixes #2726. 2013-06-22 13:15:38 +12:00
Paul Chote
b95cd0c91f Add an extra sanity check. 2013-06-22 13:15:38 +12:00
Paul Chote
7bce2017c3 Simplify and increase robustness of Shroud et al. Fixes #3440. 2013-06-22 13:15:27 +12:00
Matthias Mailänder
13fbcc56ee inform the user which sound engine is used 2013-06-21 18:13:13 +02:00