Template:ServerSyncMethods: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Created page with "{| class="wikitable" !Name !Description |- |none |Disables element sync entirely. Not recommended for multiplayer environments. |- |replay |Default. This will sync elements as...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
|-
|-
|replay
|replay
|Default. This will sync elements as soon as they're processed. If CPU usage is too busy and processing is slow, sync will be too.
|This will sync elements as soon as they're processed. If CPU usage is too busy and processing is slow, sync will be too.
|-
|-
|interval
|interval
|This forces sync of elements at a specified interval. Use <syncinterval> in server config to set the interval time in milliseconds (ms)
|Default. This forces sync of elements at a specified interval. Use <syncinterval> in server config to set the interval time in milliseconds (ms)
|-
|peer2peer
|Syncs elements from client to client directly. Server receives sync every few seconds to keep up to date.
|}
|}

Latest revision as of 22:35, 26 February 2024

Name Description
none Disables element sync entirely. Not recommended for multiplayer environments.
replay This will sync elements as soon as they're processed. If CPU usage is too busy and processing is slow, sync will be too.
interval Default. This forces sync of elements at a specified interval. Use <syncinterval> in server config to set the interval time in milliseconds (ms)