Commit Graph

2300 Commits

Author SHA1 Message Date
Joonas Rikkonen bf0c12ce52 The number of completed missions in a level connection is saved (-> reloading doesn't reset the mission in the connection to the initial one). Fixes #517 2018-07-24 14:34:27 +03:00
Joonas Rikkonen 4a8845c604 Fixed docking ports creating duplicate hulls and gaps during loading 2018-07-24 13:21:36 +03:00
Joonas Rikkonen 5e6215a37c Fixed crashing when attempting to generate hulls with the "autohull" command when there are no walls or doors in the sub. 2018-07-24 13:21:02 +03:00
Joonas Rikkonen 65b8d2d36e Fixed door gaps being removed twice when unloading a sub (in door.Remove and Entity.RemoveAll). Probably didn't cause any issues other than unnecessary console warnings. 2018-07-24 13:19:07 +03:00
Joonas Rikkonen a63ee41e5f v0.8.1.9 2018-07-24 01:06:27 +03:00
Joonas Rikkonen 3b6bedb180 Fixed clients not recreating docking port hulls/gaps when receiving a network event if the docking port is already locked 2018-07-23 23:27:27 +03:00
Joonas Rikkonen 2c6535b1f2 PhysicsBody error messages are only shown in the console when verbose logging is on. 2018-07-23 22:52:24 +03:00
Joonas Rikkonen 852fc174c2 Fixes to respawn shuttle bugs that may have caused entity ID mismatches: clients don't remove gaps or undock docking ports when a respawn shuttle leaves the level (but instead receive network events that tell them to do so), removing gaps is done with EntitySpawner. 2018-07-23 22:51:52 +03:00
Joonas Rikkonen 002e63f1eb Fixed entity IDs occasionally getting messed up due to the gaps and hulls created by docking ports. Clients would simply use the existing hulls and gaps when a network event for an already docked port is received, even though they may have been removed and replaced with ones with different IDs. 2018-07-23 21:36:49 +03:00
Joonas Rikkonen be5f168b76 Sending error messages during EntityEvent writing/reading and entity removal to GameAnalytics 2018-07-23 21:16:57 +03:00
Joonas Rikkonen 7977e47359 Fixes 2018-07-23 19:24:44 +03:00
Joonas Rikkonen 4b5a4d66e7 Fixed nullref exception if the player clicks yes on the "download sub from the server" prompt after returning to the main menu. 2018-07-23 18:37:48 +03:00
Joonas Rikkonen 4041633eec Clamping velocity when correcting submarine position 2018-07-23 18:33:32 +03:00
Joonas Rikkonen 12c6a081a9 Fixed nullref exception in NetLobbyScreen when selecting a level seed that has no background sprite defined 2018-07-23 18:33:04 +03:00
Joonas Rikkonen 9d1c4f3efb Moved Submarine.ClientRead to the client project 2018-07-23 17:58:28 +03:00
Joonas Rikkonen 25a62b3a51 More physics error checks, ragdoll clamps the velocity returned by PhysicsBody.CorrectPosition to prevent applying excessively high velocities to the collider if the position has changed significantly between frames 2018-07-23 17:58:02 +03:00
Joonas Rikkonen a373c589d1 Fixed ragdoll dropping away from the collider if it's freezed while swimming (e.g. if a client disconnects when in water) 2018-07-23 17:44:32 +03:00
Joonas Rikkonen ee13ea3972 Fixed clients not syncing the position of their controlled character when dead/unconscious 2018-07-23 17:40:40 +03:00
Joonas Rikkonen c8cdc5d58c Fixed console errors when entering '\' or '\n' 2018-07-23 16:59:09 +03:00
Joonas Rikkonen 7b5ab2f795 v0.8.1.8 2018-07-22 20:48:56 +03:00
Joonas Rikkonen ca364af3bc Merge pull request #507 from NilanthAnimosus/vanillawork
Redesign campaign buymenu to use a quantity field
2018-07-22 18:10:02 +03:00
Joonas Rikkonen 41cae8d3c5 Added null check to Sound.StreamVolume 2018-07-22 17:59:13 +03:00
Joonas Rikkonen 78a5dcbfe9 Fixed nullref exception in CharacterInvetory.UseItemOnSelf if the OnUse statuseffect removes the item. Closes #513 2018-07-22 17:58:52 +03:00
Joonas Rikkonen 0728784b8b Added invalid value checks to PhysicsBody property setters & item.SetTransform, checking for excessively large values 2018-07-22 17:58:17 +03:00
Joonas Rikkonen bd845488d7 Added exception handling to MainMenuScreen.StartGame 2018-07-22 17:40:17 +03:00
Joonas Rikkonen 5ebfde72de Fixed ragdoll collision categories not being updated when CheckDistFromCollider re-enables limb collisions. Fixes #508 2018-07-22 16:00:32 +03:00
Nilanth Animosus 5177c5b1eb Fixed clients being unable to see vote counts
The clients would check their saved submarines instead of the submarines the server had when receiving the vote count.
2018-07-21 18:38:27 +01:00
Nilanth Animosus cac1c48aa3 Redesigned campaign buymenu to use a quantity field
Additionally sorts the bought items by name then type to attempt to mirror the tabs (Not perfect)
2018-07-20 18:01:38 +01:00
Nilanth Animosus 76f53c3544 Merge remote-tracking branch 'Regalis11/master' into vanillawork 2018-07-20 15:38:07 +01:00
Joonas Rikkonen 9880a74218 Added check for removed AITarget to EnemyAIController.UpdateEscape 2018-07-20 16:37:41 +03:00
Joonas Rikkonen faf0a87cfa Added a bunch of error checks to physicsbody-manipulating code 2018-07-20 16:33:12 +03:00
Joonas Rikkonen f0a663bab0 Added some extra information to OpenAL error messages 2018-07-20 16:10:49 +03:00
Joonas Rikkonen 0abdcb969d Fixed "failed to write event" errors when a client or server tries to change an enum value of an item (e.g. the output type of an oscillator component) 2018-07-20 15:18:46 +03:00
Joonas Rikkonen a61ac1716d Sending level seed & level gen errors to GameAnalytics 2018-07-20 14:17:59 +03:00
Joonas Rikkonen 07de2b2a0f Fixed previous items not being cleared from multiplayer campaign UI after a round ends. Closes #505 2018-07-20 13:50:04 +03:00
Joonas Rikkonen 20ed61a879 Version string sent to GameAnalytics includes the name and hash of the exe (makes it easier to identify events/errors from modded games), added stack trace to a ragdoll error message 2018-07-20 12:24:05 +03:00
Joonas Rikkonen bcd9fd7e5f Cherry-picked de2136c (level physicsbody optimization) 2018-07-20 12:23:07 +03:00
Joonas Rikkonen e7e7d32123 Cherry-picked 0ff9a3d (more ragdoll optimization) 2018-07-20 12:21:53 +03:00
Joonas Rikkonen 15331c58bb Cherry-picked fa84c5b (ragdoll optimization) 2018-07-20 12:08:18 +03:00
Joonas Rikkonen 49c6b177e3 Added wrapper methods that check if user statistics are enabled to GameAnalyticsManager 2018-07-20 12:05:13 +03:00
Joonas Rikkonen 8e03ac9284 Fixed nullref exceptions in CharacterHUD & RuinGenerator 2018-07-20 11:36:53 +03:00
Joonas Rikkonen f13b1b4d84 Fixed camera ScreenToWorld & WorldToScreen returning invalid values when Camera.UpdateTransform has only been called once, because interpolated zoom value is initially 0 which messes up the transformation matrices. Closes #504 2018-07-20 11:36:22 +03:00
Joonas Rikkonen 9963836c08 v0.8.1.7 2018-07-20 10:21:22 +03:00
Joonas Rikkonen a712ec6756 Fixed null reference exception when trying to dispose a sub with no preview image. Closes #503 2018-07-20 09:59:13 +03:00
Joonas Rikkonen e1539b76cd v0.8.1.6 changelog (forgot from the previous commit) 2018-07-20 09:53:14 +03:00
Joonas Rikkonen 9b4247a147 v0.8.1.6 2018-07-20 01:10:02 +03:00
Joonas Rikkonen 9e69216c52 Server validates the cursor positions clients send for a console command before using them! 2018-07-20 01:09:55 +03:00
Joonas Rikkonen f822e77241 Checking if the position is valid in Ragdoll.FindHull 2018-07-19 22:21:08 +03:00
Joonas Rikkonen e4e610b35e Added exception handling to GameSettings saving 2018-07-19 22:13:09 +03:00
Joonas Rikkonen f1c4bd3c67 - Some of the non-game-crashing error messages are sent to GameAnalytics.
- Changed crash severity from Error to Critical.
- Exception handling when loading submarine preview images.
- Checking if position is valid in Ragdoll.SetPosition.
2018-07-19 22:12:50 +03:00