Commit Graph

64 Commits (6a1b685ea7028185554c8cbf1f670fd0fc896d8b)

Author SHA1 Message Date
kberg-amzn f1f35a0ba8
Merge pull request #4003 from aws-lumberyard-dev/MultiplayerRewindClear
Multiplayer rewind clear
4 years ago
kberg-amzn 0b7c4fff85 Clear rewound entities if we attempt to sync rewind state outside of a scoped rewind
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
Esteban Papp 4a972d96f9 Gems others
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
Esteban Papp b96b99363c Merge branch 'development' into cmake/linux_fix_warn_unused
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
Esteban Papp ea2f74dc0f more fixes for Gems
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
SergeyAMZN 5bc46fc676
Merge pull request #2639 from aws-lumberyard-dev/nvsickle/NetworkingActivationOrder
Ensure network autonomy gets set before entity activation
4 years ago
pereslav 92a46c705e Added the ability to look up a Net Entity ID for a given AZ Entity ID
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
kberg-amzn 6518cf82d6 Merge remote-tracking branch 'origin/development' into MultiplayerDesyncsAndCorrectionFixes 4 years ago
Olex Lozitskiy 5363105c6d
SIG/Network - Migrated legacy multiplayer per entity analytics over to O3DE Multiplayer Gem
Added a new ImGui menu under Multiplayer: "Multiplayer Entity Stats"
4 years ago
kberg-amzn b957b26b54 merging latest development
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
kberg-amzn e0d0bbfdae Changes to desync debug output to make it less stressful on bandwidth and the server, as well as some fixes to corrections on the local client
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
AMZN-Olex 72aed355ce Cleanup
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
nvsickle 9041c8c917 Ensure network autonomy gets set before entity activation on non-dedicated servers
-Exposes an AutoActivate flag to INetworkEntityManager and ensured it got respected for all paths
-Tweak SpawnDefaultPlayerPrefab to not immediately activate its spawned entity to allow SetAllowAutonomy to be picked up from the net bind component during component activation

Signed-off-by: nvsickle <nvsickle@amazon.com>
4 years ago
AMZN-Olex 462c31b5de Refactoring to use AZ::Events
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
pappeste 0f0a6c5cd3 Multiplayer
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
AMZN-Olex a2f3066fa3 Imgui per entity works
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
Gene Walters d411c1d1d9
Autonomous to Authority Net Properties (#2153)
* WIP. Autonomous->Authority network properties now functional. Still need some research in regards to entity ownership when it comes to the PropertyPublisher.

Signed-off-by: Gene Walters <genewalt@amazon.com>

* WIP. Exposing Auton->Auth Properties accessors and onchange events

Signed-off-by: Gene Walters <genewalt@amazon.com>

* Fix propertypublisher constructor to skip the creation state if we arent the owner. Removing ClientToServerReplicationWindow, return to just using NullReplicationWindow.

Signed-off-by: Gene Walters <genewalt@amazon.com>

* Reverting some wip debug prints

Signed-off-by: Gene Walters <genewalt@amazon.com>

* Minor whitespacing fix

Signed-off-by: Gene Walters <genewalt@amazon.com>

* minor undoing of whitespacing

Signed-off-by: Gene Walters <genewalt@amazon.com>

* NullReplicationWindow MaxReplication is 0, but now Autonomous entity updates will always be added to the send list (ignoring the max replication limit)

Signed-off-by: Gene Walters <genewalt@amazon.com>

* Updating PropertyPublisher comment to explicitly call out if we dont own the entity locally, the remote replicator must exist

Signed-off-by: Gene Walters <genewalt@amazon.com>

* Renaming RepiclationWindow GetMaxEntityReplicatorSendCount to GetMaxProxyEntityReplicatorSendCount; this number only affects the number of proxy sends and allows autonomous properties to always send

Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Steve Pham 38261d0800
Shorten copyright headers by splitting into 2 lines (#2213)
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines

Signed-off-by: Steve Pham <spham@amazon.com>
4 years ago
puvvadar a48a0d1f8a Fix positional desync of network objects plus related log spam
Signed-off-by: puvvadar <puvvadar@amazon.com>
4 years ago
Steve Pham b4a2edec6a
Final update copyright headers to reference license files at the repo root (#1693)
* Final update copyright headers to reference license files at the repo root

Signed-off-by: spham <spham@amazon.com>

* Fix copyright validator unit tests to support the stale O3DE header scenario

Signed-off-by: spham <spham@amazon.com>
5 years ago
Olex Lozitskiy be56cf648d
sig/network - bugfix - removal of player prefabs on disconnect
sig/network - bugfix - removal of player prefabs on disconnect
5 years ago
SergeyAMZN ba80c102b5
Merge pull request #1516 from aws-lumberyard-dev/MultiplayerEditorFixes
SPEC-7469 Fixed EditorServerInfo packet serialization
5 years ago
pereslav 6b1d3d1f9a SPEC-7469 Multiplayer Editor Ctrl+G fails due to EditorInfo packets reordering. SPEC-7471 Multiplayer Editor Ctrl+G asserts after CreateEntitiesImmediate 5 years ago
AMZN-Olex 5a061e409d Fixed EntityDelete messages 5 years ago
Steve Pham 70042fcdcd
O3DE Copyright Updates for Linux Foundation (#1504) 5 years ago
AMZN-Olex fcbec8c202 Fixed removal of player's prefab on disconnect 5 years ago
Gene Walters b9dd7a1ecd Updating IsNetEntityRole helper methods for more clarity. Also added tooltip scripting and comments for code 5 years ago
Esteban Papp 76a6df341b
SPEC-2513 Fixes to enable w4457 5 years ago
karlberg 14bc0ba8ac Merge remote-tracking branch 'origin' into MultiplayerComponents 5 years ago
Gene Walters 0f258954fb Fix for unit test. Checking that AssetManager is ready before spawning entities; MultiplayerSystemComponent will attempt to spawn a default player on init(), but during unit tests the AssetManager isn't stood up 5 years ago
karlberg 802943bbb3 Bug fixes, naming changes to make variables more clear, and adds a cvar to adjust client window size 5 years ago
karlberg 6a643392f0 Merging latest main 5 years ago
karlberg 487e989e68 Several updates to complete rewind support and remove unneeded functionality 5 years ago
pereslav 85374ea7fc Merged from main 5 years ago
pereslav 970c87b487 Refactored spawning network entities to use SpawnableEntityManager instead of duplicating the code in NetworkEntityManager 5 years ago
karlberg 5acdc40595 Many fixes for external gem multiplayer components and component network inputs, fixes an uninitialized variable resulting in continual desyncs, restructures our public includes to match the directory structure of source, allows autogen artefacts to be included by external gems, allowing for external multiplayer components to interact with multiplayer gem components with no extra code 5 years ago
pereslav a852da93a3 Merge branch 'main' into MultiplayerPipeline 5 years ago
karlberg 601dd30452 Various build and test fixes 5 years ago
karlberg 254ad165c1 A bunch of work to get external multiplayer components to actually work 5 years ago
karlberg d0b006c209 Some cleanup to better support backward reconciliation as well as dynamic player spawning on connect 5 years ago
pereslav 92ef82f933 Added handling parented net entities 5 years ago
karlberg 751d13dd7b Merge remote-tracking branch 'origin' into MultiplayerComponents 5 years ago
karlberg a1fe8fe419 Ported the local prediction player controller component 5 years ago
pereslav f4bd72880e Fixed tabs 5 years ago
pereslav e414cc151d SPEC-6590 Implemented network entities instantiation by network spawnable asset ID 5 years ago
karlberg 6bb51bd9e4 Merging latest origin 5 years ago
karlberg a73d25dfe6 One more broken component causing atom tests to crash + some extra PR feedback 5 years ago
karlberg 2fc710d73b Addressing PR feedback 5 years ago
pereslav e3b016deba PR feedback addressing 5 years ago
pereslav 008c653524 Added ReadyForEntityUpdates message allowing the server to send entity updates 5 years ago