Joonas Rikkonen
edf5bacc89
Fixed EndRound music looping forever. Closes #334
2018-04-18 11:02:58 +03:00
itchyOwl
a48a4975ca
Auto ban users that have been vote kicked. Define the auto ban time in the server settings. (Issue #128 ) NOTE: Not tested!
2018-03-27 11:27:57 +03:00
Joonas Rikkonen
a43b8dc278
Added a console command for changing the server password. Closes #325
2018-03-07 17:26:42 +02: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
08ade1dc6f
Fixed clients not being notified when a campaign is exited and a new one started, causing them to think they still have up-to-date save files for the new campaign and get kicked out due to desync as soon as a round starts. (See #315 )
2018-03-06 14:18:37 +02:00
Joonas Rikkonen
671f59e984
Unequipped headsets can't be used and don't consume batteries. Closes #272
2018-02-22 15:08:38 +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
juanjp600
ddaf5f21cf
Fixed exception when using radio chat without an inventory
2018-01-19 14:03:31 -03:00
Joonas Rikkonen
9f58d1b74d
Cargo items can be set to spawn inside specific types of containers instead of being scattered on the cargo room floor.
2018-01-10 15:56:11 +02:00
Alex Noir
60329fb0d1
Fixed missing clientpermissions.xml preventing hosting
...
Fixed double-clicking items in corpses putting them in their hands instead of your inventory
Fixed game over/round end music not playing in multiplayer
Added Item Combinations for things like chemicals, etc. - this transfers condition from one item to another
Added game over text to multiplayer round summary
2017-12-23 16:59:08 +03: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
b3c3970209
Server responses to clients using console commands ("granted permissions to client", error messages, etc) are displayed in the client's debug console instead of the chat box. Client command usage is included in server logs.
2017-12-20 19:18:32 +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
Alex Noir
d5e409bfff
Increase muffling effects with obstruction for spoken speech (barely affects radio chat and wifi components, however it does add extra 100f range to the distance)
...
Decreased required muffling to 0.3f
Added an "obstructionmult" to intensify speaking obstruction effects
2017-12-17 14:55:35 +03:00
Joonas Rikkonen
9bc0931be5
Clients can execute permitted console commands server-side now. The console commands have three different actions: the default action, one that's executed client-side when a client uses it, and one that's executed server-side when a clients requests it. If the client-side action is omitted, the client relays the command to the server as-is. If the third action is omitted, the server executes the default action.
2017-12-06 19:53:05 +02:00
Joonas Rikkonen
91a8e6d0c6
Saving & loading client console command permissions, the permissions are saved as an xml file
2017-12-06 14:04:35 +02:00
Joonas Rikkonen
90986751c3
Merge branch 'antagonists'
2017-12-05 19:05:39 +02:00
juanjp600
c6ca3572ba
Added an option to respawn directly in the main sub
2017-12-05 03:03:37 -03:00
juanjp600
a0782e5d8d
Blowing up the reactor sets karma to 0, all jobs except assistant require a certain karma level
2017-12-04 17:05:22 -03:00
Joonas Rikkonen
0840a29ff3
Started overhauling the client permission system to make it a bit more flexible. Now the clients can have the permission to use specific console commands (atm these commands are relayed to the server as-is).
...
TODO: make it possible to give clients console command permissions via the menus and the console, save command permissions, deal with commands that don't work as intended when simply relayed to the server and executed server-side, add "ranks" (preconfigured or custom sets of permissions, e.g. moderator, admin, etc).
2017-12-03 22:54:28 +02:00
Alex Noir
ca535d295f
Merge remote-tracking branch 'origin/master' into antagonists
2017-12-03 13:10:04 +03:00
Alex Noir
56df7b6900
Support for multi-traitors!
...
It's possible for traitors to share targets and/or target each other.
Todo: code phrases-responses, clientside settings for traitor amount
2017-12-03 00:43:14 +03:00
Joonas Rikkonen
ccac8de723
Removed unused NetConfig constants and leftover debug code in GameServer
2017-12-02 15:42:52 +02:00
juanjp600
84ba36aa78
Added timestep accumulator to dedicated server, improved autorestart commands, added client permission commands
2017-12-01 14:25:10 -03:00
Joonas Rikkonen
1c09f757a2
Renaming fields in the Client class for consistency
2017-11-23 20:43:22 +02:00
Joonas Rikkonen
4689bec441
Clients send the latest received campaign ID to the server when in the lobby instead of requesting it once with a reliable message. -> Now the server reattempts sending the save file if the transfer fails at either end.
2017-11-23 20:16:47 +02:00
Joonas Rikkonen
fce7d43ef3
Fixed characters not appearing in the round summary in mp, minor CrewManager refactoring
2017-11-20 20:46:54 +02:00
Joonas Rikkonen
04e3710a65
Renaming fields for consistency
2017-11-14 22:45: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
5a4bc0242d
Voting UI fixes:
...
- The vote count texts are removed when voting is disabled.
- Server sends vote status to joining clients (-> clients see the number of votes immediately, not after someone votes something).
- Server refreshes vote count texts when a client disconnects.
2017-09-21 20:37:30 +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
348d81a66f
MP campaign fixes
2017-09-13 20:34:10 +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
a75fd12020
Started moving single player campaign logic to an abstract CampaignMode class to make it reusable in the eventual multiplayer campaign
2017-08-28 20:19:21 +03:00
Joonas Rikkonen
729108c7b9
Replaced usages of "shift" with "round" for consistency
2017-08-28 17:59:08 +03:00
Joonas Rikkonen
9c039e7574
Fixed exceptions during job assignment if a client or the host is controlling a character with no CharacterInfo (i.e. any non-human character)
2017-08-01 21:29:55 +03:00
Joonas Rikkonen
1e11d5ab28
Fixed server failing to assign jobs to all clients on some modded servers: if the max amount of players per job had been reached on all the jobs the client has in their preferences, the client would not get a job at all (causing crashes later on when trying to access the client's job). Now the server assigns a random job if none of the preferred jobs are available.
...
+ Fix for exceptions in Client constructor if there are less than 3 job prefabs.
2017-08-01 19:46:24 +03:00
Joonas Rikkonen
6faf658ae0
Fixed SetClientCharacter & Revive
2017-07-26 17:19:35 +03:00
Joonas Rikkonen
aaea8bc709
Dedicated servers can use autorestart
2017-07-24 21:21:00 +03:00
Joonas Rikkonen
ce3a8df9e0
- Fixed some properties in GameServerSettings not being saved due to being private.
...
- Fixed serversettings.xml overriding the settings entered in the "host server" menu in the client project.
- Added a default serversettings.xml file.
TODO: either add an error/warning of some sort if trying to use any of the ObjectProperty attributes on a non-public property or make ObjectProperty compatible with private properties. + Refactor Properties.cs, class/method naming in particular.
2017-07-20 21:47:47 +03:00
Joonas Rikkonen
af1a681da0
Fixed far-away AI characters staying disabled when switching control to them + minor optimization
2017-07-11 20:03:42 +03:00
Joonas Rikkonen
64ad5e5003
Removed unnecessary using directives
2017-07-05 18:35:09 +03:00
Joonas Rikkonen
0d7851367b
Dedicated server loads the name, password and other initial settings from the serversettings file. + Fixed not being able to change the server name if the current name is null or empty
2017-07-03 18:44:06 +03:00
Joonas Rikkonen
8ae2fb225c
- Ban duration can be set in the UI prompt.
...
- Ban reasons & durations are listed in the banlist menu.
- Clients tell the server the reason when kicking/banning another client.
- Added GUINumberInput GUIComponent.
- Ban duration saving/loading fixes.
2017-07-02 21:36:17 +03:00
Joonas Rikkonen
df0bdb64d6
- Ban durations (TODO: add a way to set and view the durations through the menus).
...
- Separated ban & kick methods.
- Fixed compilation errors in DebugConsole when building the server.
2017-07-02 18:58:07 +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
Joonas Rikkonen
e15f5a881b
Merge branch 'dedicated-server' (TODO: make sure I didn't break anything)
...
Conflicts:
Barotrauma/Barotrauma.csproj
Barotrauma/BarotraumaShared/Source/Characters/AI/AIController.cs
Barotrauma/BarotraumaShared/Source/Characters/AI/EnemyAIController.cs
Barotrauma/BarotraumaShared/Source/Characters/AICharacter.cs
Barotrauma/BarotraumaShared/Source/Characters/Animation/Ragdoll.cs
Barotrauma/BarotraumaShared/Source/Characters/Attack.cs
Barotrauma/BarotraumaShared/Source/Characters/Character.cs
Barotrauma/BarotraumaShared/Source/Characters/CharacterNetworking.cs
Barotrauma/BarotraumaShared/Source/Characters/Limb.cs
Barotrauma/BarotraumaShared/Source/Events/MonsterEvent.cs
Barotrauma/BarotraumaShared/Source/Map/Explosion.cs
2017-06-30 21:02:52 +03:00