Joonas Rikkonen
0dca8bc940
Clients can be given access to server logs. Closes #366
2018-08-15 12:57:46 +03:00
Joonas Rikkonen
7c93730fc3
Fixed errors in netlobbyscreen when attempting to select a sub that fails to load (for example due to a missing/corrupt file), campaign cannot be started if the selected submarine cannot be loaded
2018-08-06 14:28:54 +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
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
49c6b177e3
Added wrapper methods that check if user statistics are enabled to GameAnalyticsManager
2018-07-20 12:05:13 +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
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
Joonas Rikkonen
23e0a76f37
Character head & gender settings are saved. Closes #474
2018-07-17 13:38:21 +03:00
Joonas Rikkonen
015eacbcb0
Fixed GameAnalytics thread becoming active despite user statistics being disabled, causing the game to stay active in the background when quitting.
2018-07-13 11:29:11 +03:00
Joonas Rikkonen
c7e220d222
Collecting some more usage statistics: selected game mode, mission, submarine, content package, traitors on/off, kills
2018-07-10 15:49:08 +03:00
Joonas Rikkonen
f931d81aed
Mission refactoring (mission prefabs) and option to select which types of missions can be selected when mission type is set to random (TODO: a way to set the allowed types from the UI).
2018-05-17 23:45:29 +03:00
Joonas Rikkonen
10ce4bd20d
Fixed messageboxes opened by the mp campaign setup UI not being shown until the UI is closed (e.g. shuttle & incompatible content package warnings), renamed MultiplayerCampaign -> MultiPlayerCampaign for consistency. See #315
2018-03-06 16:43:36 +02:00
Joonas Rikkonen
dda8854b58
Fixed campaign view button staying visible in the server lobby after the campaign has been exited. (See #315 )
2018-03-06 15:44:15 +02:00
Joonas Rikkonen
4f32a90e62
Fixed mouserects of the back and tab buttons being clamped in mp campaign UI. Closes #305
2018-03-05 11:26:34 +02:00
Joonas Rikkonen
83c02504ea
Fixed clients failing to select a received submarine/shuttle file, preventing them from starting a round until they rejoin the server. Closes #271
2018-02-22 14:18:06 +02:00
Joonas Rikkonen
59e1f776f2
Updated vanilla subs (preview images, additional info, some extra lights in darker parts), submarine preview window layout tweaking
2018-02-21 17:09:53 +02:00
Joonas Rikkonen
8b3a089884
Fixed clients being unable to select subs, GUIListBoxes can be scrolled even if selection is disabled
2018-01-28 19:14:24 +02:00
Joonas Rikkonen
ad18eb0db0
Fixed vote count text overlapping with the submarine preview button in NetLobbyScreen
2018-01-26 10:36:34 +02:00
Joonas Rikkonen
a1ccf501c7
Fixes to server settings. Closes #225
...
- Selected mode and mission type settings are saved and loaded.
- RandomizeSeed setting can be changed via the debug console and it also has an effect in the dedicated server.
- Dedicated server randomizes sub & mode settings if their selection modes are set to random.
2018-01-25 15:09:44 +02:00
Joonas Rikkonen
f5dbbf0735
Submarine preview window with a preview image & some extra information of the subs
2018-01-17 17:01:44 +02:00
Joonas Rikkonen
8544dea9db
Fixed clients being able to votekick/kick/ban themselves in the server lobby.
2018-01-16 17:39:20 +02:00
Joonas Rikkonen
bd1cd15dd4
Added votekick button to the server lobby. Closes #190
2018-01-10 20:43:31 +02:00
Joonas Rikkonen
2894b74edc
Started moving hard-coded texts to a separate xml file (Content/Texts.xml) to make modding and translating the game easier (see #80 ). Also Renamed InfoTextManager as TextManager.
2017-12-26 23:51:18 +02:00
Joonas Rikkonen
ac53c5f80d
Fixed campaign view button overlapping with the spectate button in NetLobbyScreen. Closes #117
2017-12-22 01:18:16 +02:00
Joonas Rikkonen
ce37411a29
Merge branch 'permission-overhaul'. Closes #49
...
Conflicts:
Barotrauma/BarotraumaShared/Source/DebugConsole.cs
Barotrauma/BarotraumaShared/Source/Networking/ChatMessage.cs
2017-12-20 19:36:17 +02:00
Joonas Rikkonen
0204bc2c49
Added permission presets (or ranks). Current presets are none (no special permissions), moderator (round management & kicking) and admin (almost everything permitted).
2017-12-19 22:27:07 +02:00
Joonas Rikkonen
9599137e83
Console command permissions can be changed in the client permission menu, permitted commands are displayed in the client-side permission popup
2017-12-07 18:25:08 +02:00
Alex Noir
0e586651e7
Adds a [PM] tag
...
Fixes .Private message type colors being silly
2017-12-05 18:50:36 +03:00
Alex Noir
d4ce079d65
Lets people use keybinds to start chatting in lobby
2017-12-05 18:01:10 +03:00
juanjp600
c6ca3572ba
Added an option to respawn directly in the main sub
2017-12-05 03:03:37 -03:00
Joonas Rikkonen
78e97097cd
Fixed autorestart counter overlapping with the campaign map in the server lobby screen
...
Closes #57
2017-12-02 15:28:46 +02:00
Joonas Rikkonen
1c09f757a2
Renaming fields in the Client class for consistency
2017-11-23 20:43:22 +02:00
Joonas Rikkonen
f127c410b0
Option for clients to spectate the game without respawning
2017-09-25 21:31:21 +03:00
Joonas Rikkonen
5eb1544f1e
Clients can be given a permission to select the sub or the game mode
2017-09-24 17:11:10 +03:00
Joonas Rikkonen
04b0c63f30
Campaign mode can't be voted for. The host has to manually create/select the campaign save, so switching to the campaign mode when the host isn't present would cause problems.
2017-09-24 13:41:54 +03:00
Joonas Rikkonen
f291a22976
- Autorestart works in campaign mode.
...
- The server select a random destination when the campaign starts and after each round, so the campaign can be played even if there's no host/client to choose the destinations. (TODO: make it possible to vote for the destination?)
- Reverting to the previous save if the entire crew is dead works correctly now.
- Clients load the campaign saves after receiving them (-> discovered locations/connections are synced with clients).
2017-09-19 22:05:42 +03:00
Joonas Rikkonen
9114ae658f
- Modified item buying logic: selected items are purchased immediately without having to click the "buy" button, and they stay in the list of purchased items until the round is started. (-> It's possible to see which items have been purchased and cancel purchases).
...
- Clients can be given a permission to manage the campaign (atm selecting which location to head towards and buying items).
- Syncing cargomanager state with clients.
- Misc fixes.
2017-09-17 15:55:24 +03:00
Joonas Rikkonen
b292a301cf
MP campaign additions/fixes:
...
- Store tab & cargo spawning
- Sub & shuttle lists and level seed box are disabled when a campaign is active.
- Campaign UI is recreated if a new campaign is started while another one is active.
2017-09-16 19:16:56 +03:00
Joonas Rikkonen
63bca3c7ea
Syncing campaign state & save files with clients (WIP)
2017-09-11 21:32:48 +03:00
Joonas Rikkonen
c1f5e3cbda
Progress on multiplayer campaign:
...
- Moved SaveUtils to the shared project.
- Moved the "new game"/"load game" menu logic to a separate class.
- Somewhat functional campaign UI in the server lobby (only the map view is usable atm though).
2017-08-31 18:53:37 +03:00
Joonas Rikkonen
aaea8bc709
Dedicated servers can use autorestart
2017-07-24 21:21:00 +03:00
Joonas Rikkonen
64ad5e5003
Removed unnecessary using directives
2017-07-05 18:35:09 +03:00
Joonas Rikkonen
da71b6bf9c
Option to supply a reason for banning/kicking, logic for handling question prompts in the debug console
2017-07-02 15:25:55 +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