Commit Graph

2269 Commits

Author SHA1 Message Date
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
Joonas Rikkonen
dcb48e56d4 Added the DebugConsole.SpawnItem command from the dev branch (spawning items in the inventory of a character other than the controlled one works now). 2018-07-16 21:38:34 +03:00
Joonas Rikkonen
b61898b16f Fixed clients assigning a wrong name to submarines with dots in their name (e.g. Sub Mk.Iv), because the part after the dots was considered a file extension and stripped out in the submarine constructor. Closes #472 2018-07-16 21:09:01 +03:00
Joonas Rikkonen
5d342e24ef Clients are allowed to vote to end the round if they have spawned at some point during the round, even if the character they controlled doesn't exist anymore (huskified or eaten). Closes #483 2018-07-16 16:27:13 +03:00
Joonas Rikkonen
89b26008a6 Projectile damage range is set to the radius of the item's collider if the range is not given in the xml. Structure.AddDamage uses the edges of the sections to calculate the distance to a damage source, i.e. the damage area only has to "touch" the section to do damage. Closes #479 2018-07-16 15:44:26 +03:00
Joonas Rikkonen
01c3d20a0c Fire can only explode oxygen tanks that are >25% full (otherwise the condition of the tank just drops to 0). Prevents infinite explosions when an oxygen generator is on fire with oxygen tanks inside. Closes #470
+ Made oxygen generators fill oxygen tanks faster.
2018-07-16 14:59:01 +03:00
Joonas Rikkonen
a436eb27c1 Fixed explosion with an EMP value only damaging reactors (when they should only ignore reactors). Closes #473 2018-07-16 13:50:31 +03:00
Joonas Rikkonen
10ad78d607 Console command fixes. Closes #482
- Banip, banid & kickid can be used by clients.
- "Spawnitem x inventory" spawns the item in the inventory of the client using the command instead of the host's inventory.
- Ragdoll and kill commands target the character of the client using the command when the name parameter is omitted.
- Added SpawnItem changes from the dev branch (items can be spawned in the inventory of a specific/random character).
2018-07-16 13:43:29 +03:00