New Sync System (Read Desc) #218

Merged
Rover656 merged 5 commits from feature/improved-dataslots into dev/1.20.1 2023-07-07 19:25:26 +00:00
Rover656 commented 2023-07-07 17:12:03 +00:00 (Migrated from github.com)

Description

  • Implemented simpler but (seemingly) working data syncing
  • Client now must opt to send data, rather than it being polled for.
  • Conduits no longer use data slots for client -> server, they are done with custom packets to reduce data transmission and hopefully corruption.
  • Some conduit behavioral changes.

Please test this thoroughly. I am actively testing both single and multi-player at the moment.

Todo

  • Proper conduit data slot hash function

Checklist:

  • My code follows the style guidelines of this project (.editorconfig, most IDEs will use this for you)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
# Description - Implemented simpler but (seemingly) working data syncing - Client now must opt to send data, rather than it being polled for. - Conduits no longer use data slots for client -> server, they are done with custom packets to reduce data transmission and hopefully corruption. - Some conduit behavioral changes. Please test this thoroughly. I am actively testing both single and multi-player at the moment. # Todo <!-- Remove this section if you're submitting an already-complete PR --> - [ ] Proper conduit data slot hash function # Checklist: - [ ] My code follows the style guidelines of this project (.editorconfig, most IDEs will use this for you) - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation <!-- Thanks to: https://embeddedartistry.com/blog/2017/08/04/a-github-pull-request-template-for-your-projects/ for the building blocks of this template -->
ferriarnus (Migrated from github.com) reviewed 2023-07-07 17:12:03 +00:00
justliliandev (Migrated from github.com) reviewed 2023-07-07 17:54:53 +00:00
justliliandev (Migrated from github.com) left a comment

code isn't great, but no major concerns

code isn't great, but no major concerns
justliliandev (Migrated from github.com) commented 2023-07-07 17:42:05 +00:00

this can be reverted

this can be reverted
justliliandev (Migrated from github.com) commented 2023-07-07 17:47:47 +00:00

add todo, we can't expect addons to know about core network, nor the package

add todo, we can't expect addons to know about core network, nor the package
justliliandev (Migrated from github.com) commented 2023-07-07 17:48:16 +00:00

remove

remove
justliliandev (Migrated from github.com) approved these changes 2023-07-07 17:56:22 +00:00
Rover656 (Migrated from github.com) reviewed 2023-07-07 19:09:19 +00:00
Rover656 (Migrated from github.com) commented 2023-07-07 19:09:19 +00:00

Yeah ideally in future we pass a consumer or something that lets them sync without knowledge of core

Yeah ideally in future we pass a consumer or something that lets them sync without knowledge of core
justliliandev (Migrated from github.com) approved these changes 2023-07-07 19:23:56 +00:00
justliliandev (Migrated from github.com) left a comment

havn't found any issues

havn't found any issues
Rover656 commented 2023-07-07 19:24:44 +00:00 (Migrated from github.com)

Yeah I've been quite happy in my testing too; gonna hit go. Cheers for looking over it!

Yeah I've been quite happy in my testing too; gonna hit go. Cheers for looking over it!
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Team-EnderIO/EnderIO#218
No description provided.