Commit Graph

313 Commits (33cbc2db219cb77d088cb15c1774c86d9b1be9aa)

Author SHA1 Message Date
nvsickle e55580af57 Merge remote-tracking branch 'upstream/stabilization/2106' into nvsickle/MergeStabilizationJun18 5 years ago
puvvadar 04387be083 Remove some redundant includes, forward declares and similar pieces 5 years ago
puvvadar a748c2e152 Cleanup and consolidate MPSystemComponent and add StopListening to AzNetworking 5 years ago
Gene Walters b9dd7a1ecd Updating IsNetEntityRole helper methods for more clarity. Also added tooltip scripting and comments for code 5 years ago
Gene Walters 4be9ce56c4
Merge pull request #1399 from aws-lumberyard-dev/CherryPickNetworkingFixes
Cherry pick networking fixes
5 years ago
Gene Walters 0810f353c6 Cherrypick 7adf5ca5a5911997102017e2db7981e7b2926100. Fixed assert for network prefabs when asset path was empty 5 years ago
puvvadar be71aec4e3 Merge branch 'development' of https://github.com/aws-lumberyard/o3de into mp_systemcomp_cleanup 5 years ago
puvvadar 2b8e87f674 Begin cleaning MPSysComponent 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
puvvadar 2a6009c94b Cleanup OnDisconnect client case slightly 5 years ago
puvvadar cf5641a211 Cleanup shutdown, activate and deactivate for MPSystemComponent 5 years ago
puvvadar 2eca923694 Rework session validation to work through Connect packet 5 years ago
puvvadar adc09435f4 Cleanup validation failure logic 5 years ago
puvvadar 04bf6c3689 Separate out session validation into its own packet 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 59d0a8817e Fix inconsistent naming and cover edge case 5 years ago
puvvadar da7870bb2a Fix some typos and comments 5 years ago
puvvadar 056e170eb6 Check for dns name on request player join 5 years ago
puvvadar cd5867d2fa Cleanup session changes and add on connection disconnected event 5 years ago
puvvadar fa55b495c4 Add handling for session provider ticket 5 years ago
Gene Walters 260b2851f3
Merge pull request #1148 from aws-lumberyard-dev/SPEC7174_ReceiveRPCsViaScriptViaEntityId
Allow Script Canvas Users to Listen for RPC Events Via EntityId
5 years ago
puvvadar 2b227a17d1 Remove extraneous code 5 years ago
puvvadar 45b1bbc85c Fix duplicate include 5 years ago
puvvadar 6f4c0c2ce8 Rename interfaces for clarity 5 years ago
puvvadar 03989f77bb Cleanup includes 5 years ago
puvvadar 40c7a6bd2d Integrate remaining requests and rename Handling Requests interfaces for clarity 5 years ago
Esteban Papp 36cb0f6d40
SPEC-7178 Removal of precompiled cpp files (#1171)
* SPEC-7178  Removal of precompiled cpp files

* Missing files...
5 years ago
puvvadar 5274019d31 Merge branch 'main' into mp_session_integ 5 years ago
Gene Walters 3e74c4f1e1 fixed minor type. Beh method name should say entityId, not entity 5 years ago
AMZN-koppersr 4eb5b3554e Merge branch 'main' into SpawnableEntityIdMapping 5 years ago
puvvadar 6ed6f3f808 Merge branch 'main' into mp_session_integ 5 years ago
Gene Walters c586ff1ca6 Allow script canvas user to listen for RPC events 5 years ago
Esteban Papp 76a6df341b
SPEC-2513 Fixes to enable w4457 5 years ago
puvvadar 1d6c69dea2 Merge main to mp_session_integ 5 years ago
puvvadar c55f65b78f Integrate parts of Session Server API 5 years ago
AMZN-koppersr 1e7ac60949 Reintroduced spawning multiple instances of the same entity
The following was changed:
- The remapper in AZ::IdUtils now has an additional argument to tell it what to do when it encounters the same source entity id. The original behavior of ignoring the new entity id and returning the first occurrence is the default. The alternative behavior is to store the last known entity id and return that instead.
- Split the optional arguments for SpawnAllEntities and SpawnEntities.
- SpawnEntities now has an option to continue with the entity mapping from a previous spawn call or to start with a fresh mapping. The latter is the default as the former will come at a performance cost since the mapping table has to be reconstructed.
- Entities spawned using SpawnEntities and ReloadEntities now also get the correct entity mapping applied.
- Added several new unit tests to cover most of the new functionality.
- Fixed some places where the older API version was still called.
5 years ago
Gene Walters 8666ca6467
Merge pull request #1119 from aws-lumberyard-dev/SPEC7150_AllowScriptCanvasUsersToSendRPC
SPEC-7150 Allow Script Canvas Users to Send RemoteProcedures via EntityId
5 years ago
AMZN-puvvadar e340f3ca56
Merge pull request #1102 from aws-lumberyard-dev/MultiplayerPipeline
Fixed ctrl+g port number
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
karlberg afeea87862 Fix for linux being a banned keyword 5 years ago
pereslav bffb7d1b28 Simplified the change to rely on sv_port cvar 5 years ago
pereslav 3b519c6475 removed whitespace 5 years ago
pereslav c752b9d0fc Fixed ctrl+g port number. Enabled server spawn for levels with no network entities since we can spawn net entities from the scripts 5 years ago
karlberg 38853eb2c2 Linux build fix 5 years ago
karlberg 82f9d08cfd Build fix for uniform scale changes 5 years ago
karlberg 14bc0ba8ac Merge remote-tracking branch 'origin' into MultiplayerComponents 5 years ago
karlberg b013d7ac67 Minor cleanup 5 years ago
karlberg 8ef2bd7518 Turn off desync debug by default, as this explodes network input sizes 5 years ago
karlberg a69db3bf76 Converts physx console commands from cry console to az console, fixes some bugs in the multiplayer gem 5 years ago
AMZN-koppersr c0dade8883 Merge branch 'main' into SpawnablePriorityQueue 5 years ago
Gene Walters 1a01a876a2 Merge branch 'main' into Multiplayer_AutonomousPropertiesUpdate 5 years ago
Gene Walters fe913f310d
Merge pull request #904 from aws-lumberyard-dev/SPEC6989_MultiplayerHostPlayerShouldBeMarkedAutonomous
Host's Default Player NetBinding will be Autonomous on the Host
5 years ago
AMZN-puvvadar 61fde9cb7f
Merge pull request #1016 from aws-lumberyard-dev/mp_reflect_containers
Fixes for MP Gem container scripting and non-rewindable containers
5 years ago
puvvadar 17f85be9b5 Switch size check to empty 5 years ago
pereslav 090234f1f0 Merge branch 'main' into MultiplayerPipeline 5 years ago
pereslav 42b3e3817a SPEC-7012 Added rewind-aware scene query utilities. Added frame ID to SimulatedBody 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 e737307168 Merging latest origin/main 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
Gene Walters 98d9ee44fd Merge branch 'main' into SPEC6989_MultiplayerHostPlayerShouldBeMarkedAutonomous 5 years ago
puvvadar 4d2e453b73 Cleanup flow of logic in serialization 5 years ago
AMZN-koppersr d4ce2849c7 Post-merge fixup. 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
Gene Walters c746b9939b Merge branch 'main' into SPEC6989_MultiplayerHostPlayerShouldBeMarkedAutonomous 5 years ago
puvvadar 528df7fad2 Merge branch 'main' into mp_serialize_vector 5 years ago
Gene Walters 7a16ef31f5 Merge branch 'SPEC6989_MultiplayerHostPlayerShouldBeMarkedAutonomous' into Multiplayer_AutonomousPropertiesUpdate 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
Gene Walters b5a0df00e1 Hosts which are not a dedicated server (meaning they also play the game) will spawn a default player for themselves 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
Gene Walters 12d0d9e7b7 The host will now have autonomy over the default player is has spawned for itself using the sv_defaultPlayerSpawnAsset cvar 5 years ago
puvvadar a7c41064a4 Update fixed_vector autogen to account for IsRewindable 5 years ago
Gene Walters d948bf0a77 Moved network context methods out of MultiplayerComponent into NetBindingComponent because FindComponent did not actually work with finding base classes. +1 for the ability to test! Allow scripting to detect if a networked entity is Authory, Server, Client, or Autonomous. 5 years ago
karlberg 3dd40171cd Merging latest origin 5 years ago
AMZN-puvvadar fd3927651b
Merge pull request #840 from aws-lumberyard-dev/mpgem_scripting_rpc
Add events for MP Gem RPCs plus BC reflection so ScriptCanvas can respond to them
5 years ago
Gene Walters d656afa1c3 Merge branch 'main' into SPEC6477_NetworkContextScriptCanvas 5 years ago
pereslav cb87b7cd1f Moved early return case in prefab processing 5 years ago
puvvadar d26d24d9bd Remove test RTTIs 5 years ago
puvvadar 7ecb00cca1 Cleanup jinja formatting and fix log spam 5 years ago
pereslav 43d98ac989 Fixed comment 5 years ago
pereslav 22e893ccbe Added support for nested prefabs in multiplayer pipeline 5 years ago
puvvadar 2452149e7d Add RPC Events plus reflection plus fix Ctrl+G retry 5 years ago
Gene Walters f61b9c4081 Removing spaces in behavior context method names. While whitespace works in Lua and ScriptCanvas, the Scripting team wants to keep the script API and code API consistent (ie: no spaces) 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
Gene Walters f7dfbd3955 Merge branch 'main' into SPEC6477_NetworkContextScriptCanvas 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 350e5a0cd2 Update to const auto& 5 years ago
Gene Walters 0d207eab19 fixes minor auto-formatting issue 5 years ago
Gene Walters c4641f2594 ScriptCanvas can now check if an entity net-component is authority, autonomous, server, or client 5 years ago
puvvadar e2ade654fb Address misc feedback 5 years ago
puvvadar f087b3be89 AutoComponent jinja formatting 5 years ago
puvvadar e03645f816 Disable editorsv launch by default 5 years ago
puvvadar 19316e422b Check launch process exists before waiting for 15 seconds 5 years ago
pereslav f721aa511f Fixed entity IDs of the original & networked spawnables 5 years ago
pereslav 85374ea7fc Merged from main 5 years ago
puvvadar 920f85981d Add another missed header file 5 years ago
puvvadar cf4e04ba57 Cleanup a few more headers 5 years ago
puvvadar 93e267345f Address string/mem feedback plus some misc cleanup 5 years ago
puvvadar 0d9b55bff2 Move static buffer to member to prevent potential memory issues 5 years ago
pereslav 970c87b487 Refactored spawning network entities to use SpawnableEntityManager instead of duplicating the code in NetworkEntityManager 5 years ago
puvvadar 77da0ed042 Merge main to mpgem_scripting_rpc 5 years ago
puvvadar 83a56ce71c Cleanup typo 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
puvvadar f94d0c99e7 Cleanup connection order slightly 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 e0ea9e6224 Removing debug code 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
puvvadar 1915b97c16 Cleanup server launch, misc. MP consts, and register Editor Spawnable assets server side 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 74ea093f71 More comment cleanup 5 years ago
puvvadar 467caa6175 Some whitespace and comment cleanup 5 years ago
pereslav a852da93a3 Merge branch 'main' into MultiplayerPipeline 5 years ago
puvvadar 8a39f9f1b4 Streamline MP Ctrl+G logic via MultiplayerEditorConnection 5 years ago
Gene Walters a34a240cf6 MultiplierTypes serialized so they are available in the ScriptCanvas variable window 5 years ago
karlberg cb8016bde5 Fix for validator failing on empty files 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 601dd30452 Various build and test fixes 5 years ago
karlberg eea0660d21 A couple more fixes 5 years ago
karlberg e772265871 Build fixes for gem reorganization 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 293e0057f4 Actually invoke the override OnConnect handler 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