Commit Graph

149 Commits (f2378fc8d8afd9e97d2b51b0b09e62c70eb8b39b)

Author SHA1 Message Date
Esteban Papp 9e4c434095 unreachable code in jinja
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
Esteban Papp 2d09e9c60e Gems/Multiplayer
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
Gene Walters e475405850 Updating multiplayer auto-components to require the LocalPredictionPlayerInputComponent service if they use NetworkInputs. Without LocalPredictionPlayerInputComponent CreateInput and ProcessInput will never be called
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
kberg-amzn 693b205747 Removing debug code, and fixing vector/array not respecting replication record dirty bits
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
Gene Walters 85d4abae83 Move MultiplayerComponent destructor to cpp (which #includes the controller) so that when it comes time to destroy the unique_ptr<Controller> it can do so on a complete type. Also, minor spelling error fix
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
kberg-amzn 976654e809 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
SergeyAMZN 42a99d3d43
Merge pull request #2618 from aws-lumberyard-dev/MPAsteroids
Fixed autogen namespace always going upper case
4 years ago
pereslav ce99e3f2ec Fixed autogen namespace always going upper case
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
AMZN-Olex c13d3ec086 Minor corrections in code gen for usability
Signed-off-by: Olex Lozitskiy <mr.olexander@gmail.com>
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
onecent1101 85c403ea06 Remove =
Signed-off-by: onecent1101 <liug@amazon.com>
4 years ago
onecent1101 d7627c05f6 Fix autogen template RewindableObject construction for linux platform
Signed-off-by: onecent1101 <liug@amazon.com>
4 years ago
kberg-amzn 52780f2130 Merge branch 'development' of https://github.com/o3de/o3de into MultiplayerWeapons 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
kberg-amzn 07a1af99ba Merge branch 'development' of https://github.com/o3de/o3de into MultiplayerWeapons 4 years ago
Gene Walters 90763faeae
Remove redundant scope from autocomponent functions (#2134)
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
kberg-amzn bd5226aac5 Changes to fix rewindable attributes incorrectly used on read-only archetype data, fix some bad logic in the pre-render blending code, adding a serializer for AZ::Transform, and adding our client.cfg and server.cfg files to .gitignore
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
Gene Walters 4e14c0069b Merge branch 'upstream/stabilization/2106' into genewalt/gitflow_210628 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
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 fd021f065a Fixes to codegen to avoid nullptr access during disconnects 5 years ago
nvsickle e55580af57 Merge remote-tracking branch 'upstream/stabilization/2106' into nvsickle/MergeStabilizationJun18 5 years ago
Gene Walters bcd008df20 Allowing network properties to generate event bindings while staying hidden from script by using a new ExposeToScript attribute. This was useful in hiding NetworkTransformComponent properties which needed event binding in order to update the normal transform, but remain hidden from scripters who should still be using the normal transform component 5 years ago
Gene Walters 548f65e5d8
Merge pull request #1206 from aws-lumberyard-dev/SPEC7223_MultiplayerComponentRPC_BehaviorContext_ParameterNames
Multiplayer RPC Parameter Names Exposed to Behavior Context
5 years ago
AMZN-puvvadar 5bdf9e3c6d
Merge pull request #1175 from aws-lumberyard-dev/mp_session_integ
Integrating AzFramework Session hooks to Multiplayer
5 years ago
Gene Walters 618b7d12bb Add parameter names to RPC behavior context so users know what each parameter does. Also added tooltip, although script canvas isnt always showing it (I will create a separate bug) 5 years ago
puvvadar fa55b495c4 Add handling for session provider ticket 5 years ago
Gene Walters 3e74c4f1e1 fixed minor type. Beh method name should say entityId, not entity 5 years ago
Gene Walters c586ff1ca6 Allow script canvas user to listen for RPC events 5 years ago
Gene Walters cd619e14dc Allow script canvas users to send RPCs via entityId 5 years ago
Gene Walters 89b1afc50e Adding Multiplayer:: namespace to RpcIndex so components outside the Multiplayer gem can compile 5 years ago
Gene Walters 1a01a876a2 Merge branch 'main' into Multiplayer_AutonomousPropertiesUpdate 5 years ago
puvvadar 17f85be9b5 Switch size check to empty 5 years ago
puvvadar 4d2e453b73 Cleanup flow of logic in serialization 5 years ago
puvvadar 0c6af23652 Correct numeric cast 5 years ago
puvvadar 291e27a381 Correct numeric cast 5 years ago
puvvadar f007efbc36 Fix various container issues in jinja 5 years ago
puvvadar 528df7fad2 Merge branch 'main' into mp_serialize_vector 5 years ago
Gene Walters 09dd298a8d Merge branch 'main' into Multiplayer_AutonomousPropertiesUpdate 5 years ago
Gene Walters 05a0e063a2 Also making Auton->Auth Getters requiring controller 5 years ago
greerdv c0546c27f7 change default scale to 1 5 years ago
greerdv 4018bb587c update network code to use uniform scale on Transform 5 years ago
Gene Walters 0fc9697e49 Allow Autonomous->Auth properties. Remove the ability of accessing properties Getters from the Component when ReplicateTo is Autonomous; in this case users must be using the controller to Get 5 years ago
puvvadar d2797c0d15 Add RewindableArray and cleanup a bit more of vector 5 years ago
puvvadar e47fb1b7ea Fix outdated Rewindable vector jinja generation 5 years ago
puvvadar 6d9dd587ee Revert change to LocalPrediction xml 5 years ago
puvvadar 7129cad1ce Add RewindableFixedVector and update jinja components to use it 5 years ago
puvvadar a7c41064a4 Update fixed_vector autogen to account for IsRewindable 5 years ago
karlberg 3dd40171cd Merging latest origin 5 years ago
puvvadar 7ecb00cca1 Cleanup jinja formatting and fix log spam 5 years ago
puvvadar 2452149e7d Add RPC Events plus reflection plus fix Ctrl+G retry 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
puvvadar e4808751f9 Merge branch 'main' into mpgem_scripting_rpc 5 years ago
AMZN-puvvadar 29b4ab6ff3
Merge pull request #522 from aws-lumberyard-dev/mp_editor_pipeline
Integrating network prefab processing with Multiplayer.Editor to enable server launch on Ctrl+G via an Editor specific network connection
5 years ago
puvvadar f087b3be89 AutoComponent jinja formatting 5 years ago
puvvadar 77da0ed042 Merge main to mpgem_scripting_rpc 5 years ago
Gene Walters 1c1b34cf76
Merge pull request #775 from aws-lumberyard-dev/SPEC6779_VectorListNetworkProperties
Begin Cleaning Up Vector Network Properties

Work in progress: Cleaning up jinja fixed_vector method calls, still more work to do to replace NovaNet SerializableFixedSizeArray(Vector)DeltaStruct.
Updating AutoComponent BehaviorContext to properly Get/Set elements of vector/array network properties.
Commented out some vector/array jinja code in order to allow for compilation (see @todo)
5 years ago
Gene Walters f043d9350a Updating AutoComponent jinja so that BehaviorContext can correctly Get/Set vector/array properties. Also commenting out some vector/array network property code that needs fixing in order to avoid compiler errors for now 5 years ago
puvvadar df68ab6c56 Update headers in editor auto packets 5 years ago
puvvadar cb55eaf853 Merge main to mp_editor_pipeline 5 years ago
Gene Walters 2ce7ca5436 Cleaning up jinja fixed_vector method calls, still more work to do to replace NovaNet SerializableFixedSizeArray(Vector)DeltaStruct 5 years ago
karlberg 80bf6d54bc Merge remote-tracking branch 'origin' into MultiplayerComponents 5 years ago
karlberg c6ea0c0a46 Various local prediction and input processing related fixes 5 years ago
puvvadar 0e53c77516 Fix some include paths 5 years ago
puvvadar fb51829360 Resolve MP Gem Ctrl+G changes with main 5 years ago
karlberg bb3142278e Fixes an example comment error in multiplayer component jinjas 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
Gene Walters 46024f293d Merge branch 'main' into SPEC6476_ReflectNetworkProperties 5 years ago
Gene Walters 7cd4bbee15 Jinja fix white space a bit, still dont fully understand this, but it looks a little better 5 years ago
puvvadar 8a39f9f1b4 Streamline MP Ctrl+G logic via MultiplayerEditorConnection 5 years ago
Gene Walters 77899c5d96 Updated network property behavior context category so they are grouped nicer in the Script Canvas palette 5 years ago
karlberg eea0660d21 A couple more fixes 5 years ago
karlberg 254ad165c1 A bunch of work to get external multiplayer components to actually work 5 years ago
Gene Walters 9a4884ff0b Exposing Multiplayer integral types (just wrapped ints) to bevahior context so that Network Properties using these type can be Get/Set from Script Canvas 5 years ago
karlberg d0b006c209 Some cleanup to better support backward reconciliation as well as dynamic player spawning on connect 5 years ago
Gene Walters 0867764e5b Updating Autocomponent behavior context property methods to give warnings if a Get/Set fails and how users might go about fixing the issue 5 years ago
Gene Walters b9a0bf52ab Merge branch 'main' into SPEC6476_ReflectNetworkProperties 5 years ago
Gene Walters 3ebf23211f Update Mutliplayer Autocomponent to add Get/Set behavior context methods for any Network Properties with GenerateEventBindings=true. Known issues: not tested with container types, some jinja whitespace 5 years ago
puvvadar ed7cee8844 Merge main to mpgem_scripting_rpc 5 years ago
puvvadar b21553f64d Merge branch 'main' into mp_editor_pipeline 5 years ago
karlberg 80f6dcd258 Build fixes for android 5 years ago
karlberg e7f0bc9ee2 Local prediction player controller is now functional 5 years ago
puvvadar aa51233536 Add Asset serialization for Ctrl+G and related net interfaces 5 years ago
karlberg a1fe8fe419 Ported the local prediction player controller component 5 years ago
puvvadar 5689b08a23 Merge branch 'main' into mpgem_scripting_rpc 5 years ago
puvvadar 12d5288e32 Add codegen for BehaviorContext binding of RPC Send functions 5 years ago
karlberg 6bb51bd9e4 Merging latest origin 5 years ago
karlberg 2fc710d73b Addressing PR feedback 5 years ago
karlberg 51e8b21a0e Clang compile fix 5 years ago
pereslav 008c653524 Added ReadyForEntityUpdates message allowing the server to send entity updates 5 years ago
karlberg c8bc5b7463 Initial work on multiple gem multiplayer components 5 years ago
karlberg f26d7f9301 First crack at the multiplayer component registry to allow multiplayer components to live in any gem 5 years ago
karlberg 4e75a099b8 Initial Imgui debug display for stats, some hookup between entity replication and the spawnable code to make testing possible 5 years ago
karlberg 45faa26ffd Some initial updates for eventual support of locally predicted input processing 5 years ago
karlberg ca3df5d6c8 Various bug fixes to get entity replication working 5 years ago
alexpete 1044dc3da1 Integrating github/staging through commit ab87ed9 5 years ago
alexpete c2cbd430fe Integrating up through commit 90f050496 5 years ago
alexpete 75dc720198 Integrating latest 47acbe8 5 years ago