Commit Graph

19 Commits

Author SHA1 Message Date
Joonas Rikkonen d2f062ca61 Fixed a compilation error when the DEBUG symbol is defined 2017-06-29 17:14:22 +03:00
juanjp600 4d225c65f2 Updated to MonoGame 3.6 + Directory refactor
- Barotrauma's projects are in the Barotrauma directory
- All libraries are in the Libraries directory
- MonoGame is now managed by NuGet, rather than referenced from the installed files (TODO: consider using PCL for easier cross-platform development?)
- NuGet libraries are not included in the repo, as getting the latest versions automatically should be preferred
- Removed Content/effects.mgfx as it didn't seem to be used anywhere
- Removed some references to Subsurface directory
- Renamed Launcher2 to Launcher
2017-06-27 09:52:57 -03:00
juanjp600 5636d1cdf9 Reorganized project to start work on dedicated server 2017-06-11 03:48:08 -03:00
Joonas Rikkonen 9b0d7c1020 Added a method for changing a client's controlled character. Clients now get back control if their character is revived via the debug console.
+ It's possible to give clients control of monsters, which should add some new gameplay possibilitie. ;)
2017-06-10 15:07:10 +03:00
Joonas Rikkonen 8886409d56 Respawning characters get ID card tags for both the shuttle and the main sub 2017-06-07 21:14:38 +03:00
Joonas Rikkonen 9527d53558 Fixed exceptions in CharacterNetworking.WriteStatus if a characters stun timer goes over 60.0 2017-06-07 20:20:14 +03:00
Joonas Rikkonen 4395179afa v0.6.0.2 2017-06-05 21:56:22 +03:00
Joonas Rikkonen 2433a4d7fb Teleport command can be used on remote players, fixed launcher.csproj 2017-06-05 21:56:12 +03:00
Joonas Rikkonen c71af56e78 Added teleport console command 2017-06-05 20:11:19 +03:00
Joonas Rikkonen 46957684f3 Clients and server limit the number of chat messages included in a message if their byte size exceeds the MTU 2017-06-05 19:30:31 +03:00
Joonas Rikkonen acad7980f2 Added some null checks 2017-06-05 18:40:25 +03:00
Joonas Rikkonen 892d28fd39 Items can be fixed in single player again 2017-06-05 18:18:30 +03:00
Joonas Rikkonen da3731bae6 Fixed nuclear shells exploding immediately when launched 2017-06-05 18:11:38 +03:00
Joonas Rikkonen 72ecba8e5b Fixed message fragmentation issues caused by initial lobby syncing. The size of the initial message exceeds MTU if the host has a large number of subs, and apparently Lidgren doesn't attempt to handle fragmenting by default when sending the messages with the unreliable delivery method. Now the initial syncing message is sent only once with the reliable delivery method which should be able to handle fragmented messages. 2017-06-04 19:56:57 +03:00
Joonas Rikkonen 55cb56da59 Server ends the round if all characters are either dead or unconscious when autorestart is on (instead of waiting for everyone to be dead) 2017-06-04 18:04:37 +03:00
Joonas Rikkonen 24424cfb51 IP address is logged in all login error messages and the errors are logged to both the debug console and the server log 2017-06-04 17:55:11 +03:00
Joonas Rikkonen 0864505fda Skill level syncing isn't dependent on the order of a character's skills. The skills are sorted in a descending order based on the skill level, which may cause the order to differ between the server and the clients after the initial random skill levels have been assigned. 2017-06-04 16:21:58 +03:00
Regalis ce69e155fd Fixed GUITickBoxes appearing unchecked if they're set to the checked state when interaction with the box has been disabled (or vice versa) 2017-06-04 16:03:41 +03:00
Regalis 94c6a8ea1b Renamed project folders from Subsurface to Barotrauma 2017-06-04 15:00:53 +03:00