Joonas Rikkonen
d5e2b202d1
Repair tools can be used on bodies with the CollisionLevel collision category (-> ruins can be cut again)
2017-07-31 18:00:36 +03:00
Joonas Rikkonen
6a96a0c801
v0.6.1.3
2017-07-31 17:59:27 +03:00
Joonas Rikkonen
f58566b0d5
NetEntityEvent.IsDuplicate null reference fix for real now
2017-07-28 19:34:01 +03:00
Joonas Rikkonen
9e3f4bfa5a
Syncing crouching from server to clients, not just from clients to server
2017-07-28 19:01:47 +03:00
Joonas Rikkonen
719f19418c
Fixed invisible diving suits in respawn shuttles (and possible some other bugs): item constructor instantiates the physics body of the item before finding the hull the item is inside, because otherwise the submarine-field of the body won't be updated until the item moves, causing the item to be rendered at a complete wrong position.
2017-07-28 17:29:44 +03:00
Joonas Rikkonen
602b99c9fb
Fixed hulls not being rendered in the sub editor
2017-07-28 17:26:56 +03:00
Joonas Rikkonen
db05bbf4c0
Another dockingport syncing fix
2017-07-27 21:33:09 +03:00
Joonas Rikkonen
2090bbf04e
Platforms or stairs don't obstruct RepairTool raycasts (-> improperly placed platforms/stairs don't prevent fixing walls)
2017-07-27 20:15:58 +03:00
Joonas Rikkonen
3c04d2c479
Using SetClientCharacter forces the client's line of sight effect back on
2017-07-27 18:03:29 +03:00
Joonas Rikkonen
061ed7392e
v0.6.1.2
2017-07-27 17:27:13 +03:00
Joonas Rikkonen
affb43e7a5
Workaround to null reference exceptions in Character.WriteStatus: it seems AnimController can be null when reading the message, which suggests that the character has been removed (e.g. turned to a husk, eaten by something).
2017-07-26 21:35:50 +03:00
Joonas Rikkonen
61b90464dd
Playing whack-a-mole with the interaction logic again:
...
- Fixed server keeping clients focused on entities until they report focusing on something else. This allowed clients to interact with the entity they previously focused on, even if they weren't anywhere near anymore.
- Checking if clients are allowed to focus on an entity before letting them do so (!!!).
- Server doesn't highlight entities when a client focuses on them.
- Characters can interact with a wire if they've selected either of the items it's connected to.
2017-07-26 21:03:21 +03:00
Joonas Rikkonen
520e1df1a5
Fixed exceptions in NetEntityEvent.IsDuplicate if the data array contains null
2017-07-26 20:19:19 +03:00
Joonas Rikkonen
c63248ee51
DockingPort syncing fix: the server didn't take into account that the IDs of the hulls created between docking ports may change during loading if another sub has an entity with the same ID. The clients would still use the old ID, which lead to syncing issues such as client-side fires inside docking ports (for example in HSE Kullervo Carrier).
2017-07-26 18:46:29 +03:00
Joonas Rikkonen
a627f25c95
Fixed missing kick/ban buttons in the crew menu
2017-07-26 17:49:55 +03:00
Joonas Rikkonen
bcb0dbfa90
Tab doesn't autoselect the chatbox when the debug console is open
2017-07-26 17:21:11 +03:00
Joonas Rikkonen
6faf658ae0
Fixed SetClientCharacter & Revive
2017-07-26 17:19:35 +03:00
Joonas Rikkonen
f062ca0e4d
Wire nodes are synced when a player adds a new node and when the wire is connected to something
2017-07-25 23:27:30 +03:00
Joonas Rikkonen
431e5bb9b8
Attachable items are always attached by default when adding them in the sub editor
2017-07-25 21:53:57 +03:00
Joonas Rikkonen
286c1ad950
Fixed crashing when a client clears connections of a wire (because the logging attempted to access Character.Controlled instead of the client's character), fixed the (completely broken) ConnectionPanel.ServerRead
2017-07-25 21:27:22 +03:00
Joonas Rikkonen
f460b4c2bc
Fixed queued debug messages not being included in crash reports
2017-07-25 18:02:04 +03:00
Joonas Rikkonen
aaea8bc709
Dedicated servers can use autorestart
2017-07-24 21:21:00 +03:00
Joonas Rikkonen
379c65e07d
Fixed dedicated servers ignoring armor
2017-07-24 19:12:18 +03:00
Joonas Rikkonen
96c4379f9f
v0.6.1.1
2017-07-24 18:25:26 +03:00
Joonas Rikkonen
d007301fc4
Fixed GUIMessageBoxes being impossible to close in the launcher
2017-07-24 17:03:13 +03:00
Joonas Rikkonen
446dce9545
Fixed diving suits
2017-07-24 17:02:13 +03:00
Joonas Rikkonen
f3f8fe8193
v0.6.1.0
2017-07-23 20:12:06 +03:00
Joonas Rikkonen
bf7677154b
Disabled debug logging of the loading coroutine when verbose logging isn't enabled
2017-07-23 20:11:55 +03:00
Joonas Rikkonen
bce3d492ba
Updated Vanilla content package & tweaked default client config
2017-07-20 21:49: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
d694c7efdc
Fixed teleport command not working on other characters than the controlled one
2017-07-18 19:41:18 +03:00
Joonas Rikkonen
6c80a02354
Characters don't consume oxygen from hulls if their OxygenAvailable is higher than the amount of oxygen in the hull (= if they're wearing a diving mask or a suit)
2017-07-18 19:40:25 +03:00
Joonas Rikkonen
9be44dc479
DebugConsole fix
2017-07-18 18:36:30 +03:00
Joonas Rikkonen
49003c465c
Aiming syncing fix: aiming angle is calculated from the position of the shoulder towards the cursor (or a position within the collider that's roughly at the shoulder).
2017-07-18 18:33:30 +03:00
Joonas Rikkonen
56e04823f1
Logging when players attach items on walls or detach them, null exception fix in Throwable (picker is set to null in Item.Drop)
2017-07-17 23:28:46 +03:00
Joonas Rikkonen
575b643c62
Added "user" parameter to Inventory.PutItem and Inventory.TryPutItem. + More descriptive wiring logging: the logs don't list all the wires in a connectionpanel but only the changes a player does to the wiring. Disconnecting wires by picking them up and wiring done by the host are also logged now.
2017-07-17 23:27:31 +03:00
Joonas Rikkonen
f1edb14f3f
"Spawning" serverlog message type, more informative respawn logging
2017-07-16 16:50:02 +03:00
Joonas Rikkonen
50fc576840
When a submarine collides with something, impacts are also applied to docked subs
2017-07-16 16:48:59 +03:00
Joonas Rikkonen
d5aa1d8b97
Selecting an item with no ItemContainer component doesn't prevent equipping/unequipping items by double clicking, added missing "gamescreen" console command
2017-07-13 23:33:53 +03:00
Joonas Rikkonen
cc9ebe9fc2
Interaction logic tweaking again:
...
- Reverted the item distance calculation change in commit c7fd681 (it made interaction way less precise, as items near the character tended to get focus even if the cursor was nowhere near them), and replaced it with:
- Aim assist considers the distance to an item to be 0.0 if the cursor is inside a trigger of the item.
- Reverted 769a012 and disabled aim assist when an item is selected. Meaning that now items don't have to be deselected before interacting with another item, but the cursor has to be directly on the other item to make accidental interaction less likely.
- Removed some redundant trigger calculations from CanInteractWith.
2017-07-13 23:32:39 +03:00
Joonas Rikkonen
8693dc3d3d
Fixed AI crew members swimming too fast, reduced max swimming speed (= the speed when holding shift)
2017-07-12 17:53:07 +03:00
Joonas Rikkonen
1ebc923064
Fixed seeing through walls when under a sub
2017-07-11 23:41:47 +03:00
Joonas Rikkonen
ed7fd7dbc1
Clients don't stop updating the controls/HUD/etc of their character when water pressure reaches lethal levels until the server implodes the character. Requested by nilanthanimosus; doesn't change much in the vanilla game, but modded servers can now disable pressure deaths without characters becoming immobilized in high pressure.
2017-07-11 21:41:31 +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
935b1ff837
Console fixes, logging launched turret projectile and the items contained inside it
2017-07-11 19:29:41 +03:00
Joonas Rikkonen
6ad5dd6c1e
DebugConsole refactoring : available console commands are stored in a list of "Command" objects which contain the name, help text and the action that's invoked when the command is entered. Commands can also now be autocompleted in the client project by pressing tab (TODO: implement in the server project). + Now it should be easier to implement giving clients the permission to use specific console commands.
2017-07-10 21:10:54 +03:00
Joonas Rikkonen
59fba47f63
When the player highlights a wire in a connection panel, the physical wire and the items connected to it are highlighted. Fixes issue #16 .
2017-07-10 00:37:17 +03:00
Joonas Rikkonen
630a079679
"MessageBox" chatmessage type. Not used in the vanilla game (yet), but custom servers can use it to display custom message boxes at the clients' end. Closes #17
2017-07-09 23:25:41 +03:00
Joonas Rikkonen
045a48cc33
Logging item throwing and which items are contained in items characters use on themselves (e.g. which meds are inside a syringe)
2017-07-09 21:52:13 +03:00
Joonas Rikkonen
e0c10860ba
Fixes to holdable items again: items can be attached outside hulls in the sub editor, but not in-game
2017-07-09 20:23:14 +03:00