Joonas Rikkonen
0159cc3f25
Submarine position syncing fix:
...
The position correction logic only moved the submarine that's being synced and the subs docked directly to it, but not the subs docked to the docked subs. This caused severe physics issues with some specific subs, for example mirrored HSE Kullervo Carriers tended to get launched downwards at a game-breaking speed.
2017-08-07 23:14:25 +03:00
Joonas Rikkonen
d0a1a8413b
Fixed contained items applying status effects even if their condition is 0.0 (-> spent fuel rods can't be used in reactors anymore)
2017-08-07 19:37:19 +03:00
Joonas Rikkonen
a86a10b177
Fixed the spamchatmessages debug command
2017-08-03 19:29:53 +03:00
Joonas Rikkonen
264015346d
Clients ignore messages about attaching an item to a wall if the item is not attachable, and don't drop the the items before attaching (because it disconnects all connected wires). The spamevents debug command didn't work correctly because of this, and I'd imagine that the latter could have caused wires to drop from some attached items when joining mid-round.
2017-08-03 19:29:27 +03:00
Joonas Rikkonen
3b6630562c
Fixed ruin generator attempting to create walls with a negative width/height if a wall gets placed inside another room with either end of the wall exactly at the edge of the room (example seed: cBLgZ2im).
2017-08-02 18:02:02 +03:00
Joonas Rikkonen
6e95bbb524
Server log remembers the state of the filters and applies the filter when opened
2017-08-02 17:50:34 +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
7553d63a99
Reverted 719f194 because it broke spawning items at world-space positions. Now the submarine-field of the body is simply set to match the item to make sure it gets rendered at the correct position.
2017-08-01 18:05:21 +03:00
Joonas Rikkonen
1bc2523269
Added some GPU info to the crash reports, all available debug console messages are included in the reports (not just the 15 latest ones), restart attempts caused by SharpDXExceptions are logged
2017-07-31 20:49:01 +03:00
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