Regalis
44cbd0d9bf
Fixed AI characters constantly flipping over the X-axis when inside, fixed clients not receiving a msg about characters spawned by RespawnManager
2017-01-07 16:51:51 +02:00
Regalis
6364915353
Fixed incorrect msg lengths in CHARACTER_POSITION messages (+ calculating the length automatically)
2017-01-07 16:11:50 +02:00
juanjp600
7dc474dab4
Actually round movement.X down to zero
...
whoops
2017-01-06 16:05:23 -03:00
juanjp600
f453980ace
Replaced isStillCountdown with a speed check for server catch-up
2017-01-06 14:09:06 -03:00
Regalis
65d64af041
Server reads CHARACTER_INPUT messages even if the client isn't allowed to move (but ignores the inputs), otherwise it would fail to read the rest of the packet
2017-01-06 18:19:51 +02:00
Regalis
2a7ef5dd84
Merge branch 'new-netcode' of https://gitlab.com/poe.regalis/barotrauma into new-netcode
2017-01-06 17:43:40 +02:00
Regalis
80e743916a
Character death syncing, characters don't reselect items when they receive a network msg about an item they have already selected
2017-01-06 17:43:30 +02:00
juanjp600
5b4d6120ff
Merge branch 'new-netcode' of https://gitlab.com/poe.regalis/barotrauma into new-netcode
2017-01-05 22:37:45 -03:00
juanjp600
0569a665f4
Fixed a server-side off-by-one error in the player input IDs
...
I'm guessing this one comes from the player's position not being updated immediately after the input is processed, so that's where most of the remaining error came from.
Also added some rounding to the horizontal velocity when approaching 0, and changed something that depended on the head limb to use the collider instead, which should hopefully further reduce the chance of syncing errors.
2017-01-05 22:37:14 -03:00
Regalis
beac45458e
Transforming received in-sub mouse coordinates to outside coordinates if the character is outside and vice versa, HiddenSubPosition fix (can't use Level.Loaded to find the top of the level because the level isn't loaded yet)
2017-01-05 19:08:54 +02:00
Regalis
518eea746e
Transforming in-sub MemPos/MemLocalPos coordinates to outside coordinates if the character is outside and vice versa, server doesn't start sending ingame updates until they receive the first ingame update message from the client (no need to send updates while the client is loading or if they fail to start the round)
2017-01-05 18:16:58 +02:00
Regalis
ba4ee843f3
Syncing character/construction selection
2017-01-04 21:37:19 +02:00
Regalis
7a40658fba
derp
2017-01-04 20:46:51 +02:00
Regalis
179079b91c
Clients can't set the health or stun timer of a character unless they receive a msg from the server
2017-01-03 23:52:15 +02:00
Regalis
bb685019a2
Fixes to unconscious character pos syncing:
...
- main limb is anchored to collider
- server ignores inputs from unconscious characters and doesn't freeze them
- using timestamp-based interpolation on the client's own character instead of IDs
2017-01-03 23:49:37 +02:00
Regalis
1fb15f5589
The collider position of the controlled character is synced with the same interpolation logic as the rest of the characters when unconscious/stunned (todo: make the ragdoll follow the collider even when unconscious/dead/stunned)
2017-01-02 22:40:00 +02:00
Regalis
c318e629ff
Health, bleeding, oxygen & stun syncing, sending aim and use inputs and cursor positions to clients so other players will be able to see when someone is shooting, hitting with a wrench etc
2017-01-02 22:12:50 +02:00
Regalis
1f07b18e5b
Merge branch 'master' into new-netcode
...
Conflicts:
Subsurface/Properties/AssemblyInfo.cs
Subsurface/Source/Items/Components/DockingPort.cs
Subsurface/Source/Items/Components/Signal/Wire.cs
Subsurface/Source/Items/Item.cs
2016-12-29 22:18:27 +02:00
Regalis
020aac55ea
AICharacter position syncing
2016-12-29 22:01:50 +02:00
Regalis
98183c47fb
Syncing aim & use inputs (i.e. left and right click)
2016-12-28 22:33:43 +02:00
Regalis
12b7290bad
Fixed Ragdoll.HeadInWater not being set to true if the character is inside a water-filled hull but the head is outside the sub, HUDProgressBars aren't created when a non-controlled character repairs something
2016-12-28 20:00:40 +02:00
Regalis
49d4108eeb
Fixed character colliders sinking/floating away when using a railgun controller underwater
2016-12-28 19:56:52 +02:00
juanjp600
a733e917dd
Readded input enum flags
2016-12-24 18:14:54 -03:00
Regalis
5e8a01636e
Fixed exception when trying to remove a limb with no sprite
2016-12-20 16:10:47 +02:00
Regalis
311f388358
Limbs with no sprite don't cause the game to crash anymore, lightsources attached to a limb are drawn at the interpolated position (= DrawPosition) of the limb, lightTexture origin is flipped on the X-axis when parent limb flips
2016-12-17 14:24:54 +02:00
Regalis
b01b38da68
Bunch of new sounds by Omniary, some charactersound & soundplayer refactoring
2016-12-15 21:42:15 +02:00
Regalis
1f454d593e
Inventory syncing, objHeader is passed to the ClientRead/ServerRead methods so they can determine how to read the msg (is it an inventory update, position, input, etc)
2016-12-10 16:39:58 +02:00
Regalis
983c54f4b5
CharacterInventory is moved back to the bottom left corner if selecting a character whose inventory has been moved
2016-12-10 13:55:29 +02:00
Regalis
bea523187b
The host can send chat messages, fixed client not being passed to ServerRead methods
2016-12-09 16:45:08 +02:00
Regalis
3eec463f5e
Anim tweaking, simplified (+ non-broken) water drag logic
2016-12-09 15:02:48 +02:00
Regalis
d95acec6a2
v0.5.4.1 + regenerated waypoints in vanilla subs & FishAnim tweaking
2016-12-04 19:21:17 +02:00
Regalis
deb76d0767
Removed a duplicate line
2016-11-24 20:24:01 +02:00
Regalis
adde3461ea
Merge branch 'master' into new-netcode
...
Conflicts:
Subsurface/Properties/AssemblyInfo.cs
Subsurface/Source/Characters/Animation/HumanoidAnimController.cs
Subsurface/Source/Characters/Character.cs
Subsurface/Source/Items/Components/Door.cs
Subsurface/Source/Items/Components/Power/PowerContainer.cs
Subsurface/Source/Items/Components/Signal/Wire.cs
Subsurface/Source/Items/Item.cs
Subsurface/Source/Networking/ChatMessage.cs
Subsurface/Source/Networking/GameClient.cs
Subsurface/Source/Networking/GameServer.cs
Subsurface/Source/Networking/GameServerLogin.cs
Subsurface/Source/Networking/GameServerSettings.cs
Subsurface/Source/Networking/NetworkMember.cs
2016-11-24 19:52:40 +02:00
Regalis
12f98268b5
Increased character visibility range (how far monsters can see characters from), enemies manually steer towards their target if their steering path is finished or unreachable, mantis tweaking
2016-11-24 19:17:49 +02:00
Regalis
9d1d64901a
Pathfinding fixes:
...
- determining if a character is close enough to a waypoint works now, even if the character is too short for its collider to overlap with the wp (e.g. crawlers)
- enemies can drop down from platforms
- an extra waypoint is placed at the middle of stairs to prevent characters from choosing a waypoint on a platform above the stairs as the starting point of their path
2016-11-23 22:20:44 +02:00
juanjp600
7a3bce3973
Hull volume helper in editor + Character name matches client name + Better-looking Watcher light source
...
Also '' is a thing of the past, use \" instead
2016-11-20 18:47:22 -03:00
Regalis
6ca605aa57
Merge branch 'master' of https://gitlab.com/poe.regalis/barotrauma
2016-11-18 18:48:10 +02:00
Regalis
8c90fd1774
Doors push colliders away when closing, small human standing anim tweak
2016-11-18 18:47:58 +02:00
juanjp600
a4ebb116c0
Fixed falling damage
2016-11-17 15:35:15 -03:00
Regalis
a4f00310dc
"Floor check" raycasts ignore platforms/stairs based on the bottom pos of the collider instead of the lowest limb, fixed IndoorsSteeringManager node diff checks
2016-11-17 20:00:03 +02:00
Regalis
089b0dbcee
Water slows down players based on the depth of the water relative to the bottom of the collider
2016-11-17 19:16:30 +02:00
Regalis
bded421366
Added colliderHeightFromFloor to a few places I missed, some more human collider tweaking, correcting collider y position faster
2016-11-17 19:06:12 +02:00
Regalis
adece20072
Collider height from floor can be changed in the xml files, moved human collider a bit higher to allow climbing over roughly waist-high obstacles
2016-11-17 18:06:43 +02:00
juanjp600
c25ea7c75f
Fixed collider not taking previous Submarine value on index change
2016-11-16 22:06:10 -03:00
juanjp600
b68be44864
Fixed ragdoll position not being offset on ladder
2016-11-16 21:44:08 -03:00
juanjp600
fac0c850a5
Changes to collider behavior
...
The collider now levitates above the ground, which makes small obstacles a non-issue. The raytest also helps the collider stick to staircases, so players don't jump off anymore.
Crouching now changes the collider to a smaller version, so now there is actual functionality to crouching.
I also removed the anchor from corpses of network players. I'm not entirely sure why this was done, but removing it doesn't seem to break anything.
2016-11-16 21:30:49 -03:00
juanjp600
5922fc972d
Merge branch 'master' of https://gitlab.com/poe.regalis/barotrauma
2016-11-15 22:26:46 -03:00
juanjp600
d2c17274fe
GUI elements now respect render order + some minor distance comparison optimization
2016-11-15 22:26:36 -03:00
Regalis
184c6858cd
Removing orphans in PathFinder.GenerateNodes, fixed autopilot steering the wrong way if clicking an already selected destination tickbox
2016-11-15 20:48:52 +02:00
Regalis
335bf00890
Entity removal fixes
2016-11-14 17:52:26 +02:00