Commit Graph

2276 Commits

Author SHA1 Message Date
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
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
Joonas Rikkonen 7756cc0908 Merge branch 'master' of https://github.com/Regalis11/Barotrauma 2018-07-19 17:42:12 +03:00
Joonas Rikkonen 8cd7919009 Removed unused BanClient method 2018-07-19 17:42:03 +03:00
Joonas Rikkonen c901b75ff1 Fixed round ending tickbox not being visible client-side if the client is not controlling character (despite servers now allowing votes from players who've spawned at least once during the round). Closes #500 2018-07-19 10:47:39 +03:00
Joonas Rikkonen 30a453191f Added "VulnerableToEMP" property to Powered. Can be edited in sub editor. Reactors and relays are not affected by EMP by default. Closes #495 2018-07-18 15:07:21 +03:00
Joonas Rikkonen d6ec1bc339 Merge branch 'master' of https://github.com/Regalis11/Barotrauma 2018-07-18 14:36:22 +03:00
Joonas Rikkonen f25fe6b504 Added some error checking & debug logging to Door.PushCharactersAway to diagnose why Math.Sign is throwing ArithmeticExceptions (see #497). 2018-07-18 14:36:00 +03:00
Joonas Rikkonen a83cd64dbc Merge pull request #496 from NilanthAnimosus/vanillawork
Minor vanilla tweaks
2018-07-18 14:32:28 +03:00
Joonas Rikkonen 568cf1a02f Fixed memory leak caused by submarine preview images, changed Submarine.SavedSubmarines to a property that prevents removing submarines from outside the class without disposing the preview image. Closes #498 2018-07-18 14:23:43 +03:00
Nilanth Animosus 2df7d6a464 Tweak item spawning to combine item names without quotes
Retains ability to spawn items to characters, its unlikely that player names will match at the last half of an item - and the item must also not exist for this to be an issue.
2018-07-18 11:06:49 +01:00
Joonas Rikkonen af4d60db1d Fixed GameMain.Server.Character not being set to null when the character is removed. Closes #488 2018-07-18 13:05:58 +03:00
Nilanth Animosus ad681d5a26 Chatbox removes from the first entry instead of the second
Removes for clients "playername has joined" staying at the top of the chat history, as this feels unnecessary for both server and client.
2018-07-18 11:03:04 +01:00
Nilanth Animosus adb63adbb1 Update Homoglyphs
Updated the list of Homoglyphs from https://github.com/codebox/homoglyph/
2018-07-18 11:01:53 +01:00
Joonas Rikkonen cbb207dbca Cleanbuild console command resets the user statistics setting 2018-07-18 12:59:59 +03:00
Joonas Rikkonen 7799e05369 GameAnalyticsManager sends the name and MD5 hash of the currently running exe (can be used to recognize code modifications that use the vanilla content package) 2018-07-18 12:59:17 +03:00
Joonas Rikkonen d00b52882f Added UpdateUseItem method from d253863 2018-07-18 12:14:09 +03:00
Joonas Rikkonen 41800aff77 Cherry-picked d0b61b3 from dev. 2018-07-18 11:50:09 +03:00
Joonas Rikkonen e0455caaaa Cherry-picked 869b725 from dev 2018-07-18 11:49:36 +03:00
Joonas Rikkonen 982f1ba6f1 Merge branch 'master' of https://github.com/Regalis11/Barotrauma 2018-07-18 11:41:55 +03:00
Joonas Rikkonen afb420810e Fixed dedicated server stopping GameAnalytics and never restarting it when the "restart" console command is used. + Fixed typo in GameAnalyticsManager. Closes #492 2018-07-18 11:41:39 +03:00
Joonas Rikkonen 1ef2cb7500 Fixed crashing if the Use method of a wire is triggered by a StatusEffect 2018-07-18 11:24:56 +03:00
Joonas Rikkonen e0fd39fa57 v0.8.1.5 2018-07-17 21:37:59 +03:00
Joonas Rikkonen d831654690 Fixed linux build 2018-07-17 21:37:44 +03:00
Joonas Rikkonen 23e0a76f37 Character head & gender settings are saved. Closes #474 2018-07-17 13:38:21 +03:00
Joonas Rikkonen 88abbe28e3 Fixed entity IDs getting messed up and causing desync because of purchased items in multiplayer campaign. The server created cargo items first and then mission-related entities, while the clients only spawned mission entities and relied on the server to spawn the cargo, which caused mission entities to have wrong IDs. Closes #484 2018-07-17 12:50:04 +03:00