Gene Walters
c00d7ff658
Small formatting fix to jinja for autocomponent's behavior context
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Tommy Walton
21d5e62f85
Merge commit 'cb1a45f9ec01ebaede35da2924bde66f31c31ea2' into amzn-tommy/gitflow_211116_o3de2
4 years ago
amzn-sean
38a03817bb
Removal and Replacement of the CryTimer (gEnv->pTimer) ( #5409 )
...
Replaced and removed the CryTimer (gEnv->pTimer). The new TimeSystem is a merger of the current time functionality found in the engine.
* Rename TimeSystemComponent.h/.cpp to TimeSystem.h/.cpp
* Adding New TimeSystem
* remove old timer cvars
* small improvements to the time system.
- updated parts to use the time conversion functions.
- in AdvanceTickDeltaTimes applying t_simulationTickScale is now uses doubles instead of floats.
* Replace gEnv->pTimer / ITimer usages with TimeSystem
* Updating usages of AZ::TimeMs{ 0 } and AZ::TimeUs{ 0 } to AZ::Time::ZeroTimeMs and AZ::Time::ZeroTimeUs
* red code the CryTimer
* using TimeUs instead of TimeMs is some cases + updating usages of old cvars to new
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
4 years ago
Gene Walters
2cd732de6c
Fixing RPC autogen so that RPCs without parameters compile (and function).
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Nicholas Van Sickle
8d5dd4e35f
Merge remote-tracking branch 'upstream/stabilization/2110' into nvsickle/StabToDevNov21
...
Signed-off-by: Nicholas Van Sickle <nvsickle@amazon.com>
4 years ago
Gene Walters
c99071533d
Small: fix typo
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
Gene Walters
c8b9f05079
Ensuring the 4 types of RPCs (1)Autonomous->Authority (2)Authority->Autonomous (3)Authority->Client and (4)Server->Authority all compile. Invoking anything that starts from Autonomous or Authority requires a controller (otherwise just requires a component), and anything handled by Authority or Autonomous requires a controller for Handle on OnEvent methods (otherwise OnEvent and Handle occurs on the component)
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
kberg-amzn
479ff188a0
merging latest development
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
kberg-amzn
989952e106
Fix comment
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
kberg-amzn
ed06ef7ed2
Removing ITimeoutHandler to simplify timeout queue interface, removes some unneeded code
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
kberg-amzn
8a3d055f8b
Some cleanup around handling of migrations to simplify interfaces and add additional hooks for functionality
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
Gene Walters
6d673643be
Re-merging latest dev after rebasing to fix DCO. Re-resolving conflicts
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
Gene Walters
b324b3a1a9
Minor code comment grammar change
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
Gene Walters
e6650f1ff4
LYN-7655 Fix Race Condition When Launching at Editor-Server ( #4946 )
...
* Fix a race condition where the editor tries to connect to the editor-server before the editor-server is ready (originally discovered on lower-spec Jenkin machines). Change editor-server so that editor waits to receive a EditorServerReadyForInit before trying to send all the level data.
* The editor might not be the connector so make sure to connect to the actual MP simulation even if the editor isn't the editor-server connect (if editorsv_launch=true then the editor-server will connect to the editor)
* Adding warnings if MPEditorConnection cannot find certain cvars
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
Gene Walters
6ef6164ad8
merging latest dev
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
Gene Walters
569dbc7db3
Merge editor-server race condition fix; will test on Jenkins
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
Gene Walters
0c5110b1ed
Fix a race condition where the editor tries to connect to the editor-server before the editor-server is ready (originally discovered on lower-spec Jenkin machines). Change editor-server so that editor waits to receive a EditorServerReadyForInit before trying to send all the level data.
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
Olex Lozitskiy
775dda8ed2
NetBindComponent::SetOwningConnectionId is for a hierarchy based on its root's network entity
...
- for hierarchies, on both servers and clients NetBindComponent::SetOwningConnectionId is set for the all involved entities based on the root entity owning connection id
- added new unit tests to cover these scenarios
- all unit tests pass, hierarchy benchmarks remain unaffected
5 years ago
AMZN-Olex
37873f81cf
Setting owning connection id based on the hierarchy root network entity.
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
5 years ago
kberg-amzn
79b41686c4
Merging latest dev
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
Olex Lozitskiy
9e2eba2829
Network Hierarchy optimizations for rebuilding hierarchies
...
- reworked recursive rebuilding to iterative breadth first method
- some minor optimization here and there
5 years ago
Gene Walters
928cfcf1e5
Removing an accidental pragma once
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
pereslav
62971fa7bd
PR feedback, removed unnecessary code
...
Signed-off-by: pereslav <pereslav@amazon.com>
5 years ago
Gene Walters
580153b16e
Adding EditorPython methods to Multiplayer gem for launching the editor gamemode with a server. Adding a test for networkinput with scriptcanvas to ensure the autonomous client can create input and that the server can receive and process the input via script canvas.
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
AMZN-Olex
ceb9b7afd7
Merge branch 'development' of https://github.com/o3de/o3de into Network/olexl/hierarchy_optimizations_cr
5 years ago
kberg-amzn
3040f74c41
Merging latest development
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
kberg-amzn
a6e7a81b79
More fixes to migration, plus some quality of life fixes to TimeoutQueue to allow lambda based handlers and a quick fix to OctreeSystemComponent to more gracefully handle enumerate calls that lie outside the vis system bounds
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
kberg-amzn
05e8b2941a
Removing unused member, simplify API
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
kberg-amzn
4449e83c3b
Further fixes to get client migrations functional, plus a bug fix from the netBindComponent lookup optimization
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
pereslav
08b1529da8
Merge from development
...
Signed-off-by: pereslav <pereslav@amazon.com>
5 years ago
pereslav
0c2c042fde
Fixed crash in ConstEntityHandle. Added hierarchical correction data serialization
...
Signed-off-by: pereslav <pereslav@amazon.com>
5 years ago
kberg-amzn
18340f2b1b
Changes to get client migration partially functional
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
Gene Walters
d2da35aec3
merging latest dev + resolving 1 conflict
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
Gene Walters
b464ff966c
merging latest dev + resolving 1 merge conflict
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
pereslav
a58325e691
Enabled multi-entities player prefabs. Added updating replication set for hierarchy children. PR feedback addressing
...
Signed-off-by: pereslav <pereslav@amazon.com>
5 years ago
Gene Walters
d36041d1b7
Update based on feedback. Adding event to MPSystemComponent for receiving a server acceptance packet. The editor system component subscribes to this event and tells the server we're ready for entity updates
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
Gene Walters
26079f7350
Update based on feedback. Adding event to MPSystemComponent for receiving a server acceptance packet. The editor system component subscribes to this event and tells the server we're ready for entity updates
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
pereslav
801e54c599
Merge branch 'development' of https://github.com/o3de/o3de into NetHierarchyInput
5 years ago
AMZN-Olex
d05d5d1e97
Hierarchy components optimizations
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
5 years ago
Olex Lozitskiy
52d3e4c601
[SIG-Network] Google benchmarks for network hierarchy components.
...
First google benchmarks for hierarchy components.
5 years ago
kberg-amzn
eb2470fe38
Merging latest development
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
kberg-amzn
c1c8709206
Fix 3-way replication for when an object migrates in rapid succession
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
puvvadar
170a32d667
Merge latest to mp_handshake_conndata
...
Signed-off-by: puvvadar <puvvadar@amazon.com>
5 years ago
kberg-amzn
5acb360fbb
Merge pull request #4253 from aws-lumberyard-dev/MigrationFixup
...
Migration fixup
5 years ago
AMZN-Olex
3321f9e5ea
First google benchmarks for hierarchy logic.
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
5 years ago
pereslav
64068991ed
Merge branch 'development' of https://github.com/o3de/o3de into NetHierarchyInput
5 years ago
kberg-amzn
bf136a567b
Some shutdown crash fixes, reverted a whitespace, and added some basic unit tests for time additions
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
kberg-amzn
865ed60007
merging latest dev
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
kberg-amzn
8d993494f6
Entity migrations now totally functional again, plus some fixes to network rigid bodies to make them work properly as they migrate around
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
5 years ago
puvvadar
f6638420f0
Formatting fix up
...
Signed-off-by: puvvadar <puvvadar@amazon.com>
5 years ago