Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

World synchronisation :rage4: #39

Open
Ismoh opened this issue Apr 13, 2022 · 5 comments
Open

World synchronisation :rage4: #39

Ismoh opened this issue Apr 13, 2022 · 5 comments
Labels
bug Something isn't working. This will increase PATCH version number, when merged into develop. documentation Improvements or additions to documentation enhancement New feature or request. This will increase MINOR version number, when merged into develop. good_first_issue Good for newcomers help_wanted Extra attention is needed question Further information is requested rework Predicts breaking changes. This will increase MAJOR version number, when merged into develop.

Comments

@Ismoh
Copy link
Owner

Ismoh commented Apr 13, 2022

The most valuable issue of all issues 😞

We could use a research for beeing able to sync the world.
Atm the world is synced by quitting the game, because the world is saved to disc and can be sent as a zip/archive by network.

@willjallen already had a quick look in memory to get the world shown and inside the camera bounds.
Any news on that?

Do you have any ideas or suggestions to investigate research? @shebpamm @DevonX

I also had the idea to read all world files (which are binary files) in lua and sent simply the content to the clients, but I am not sure if the clients will read those files whenever those are changed. This might be an idea to investigate time.

Volunteers? Or question to this?
Feel free to add comments :)

@Ismoh Ismoh added documentation Improvements or additions to documentation enhancement New feature or request. This will increase MINOR version number, when merged into develop. help_wanted Extra attention is needed good_first_issue Good for newcomers question Further information is requested labels Apr 13, 2022
@Ismoh Ismoh pinned this issue Apr 16, 2022
@Ismoh Ismoh added bug Something isn't working. This will increase PATCH version number, when merged into develop. rework Predicts breaking changes. This will increase MAJOR version number, when merged into develop. labels Apr 16, 2022
@Ismoh
Copy link
Owner Author

Ismoh commented Apr 24, 2022

There is a lua file watcher, with this tool we can get the selected save slot. The save slot isnt accessible by the Noita API. Check the latest file changed date and time to find the selected save folder.

https://github.com/EvandroLG/lua-watcher

@Ismoh
Copy link
Owner Author

Ismoh commented Apr 24, 2022

There is a lua file watcher, with this tool we can get the selected save slot. The save slot isnt accessible by the Noita API. Check the latest file changed date and time to find the selected save folder.

https://github.com/EvandroLG/lua-watcher

This might be also interested for checking changed world files.

@Ismoh Ismoh added this to the Synchronisation milestone Sep 2, 2022
@Ismoh Ismoh unpinned this issue Sep 2, 2022
@Ismoh
Copy link
Owner Author

Ismoh commented Sep 4, 2022

Keep #70 in mind, when working on this!

@Ismoh Ismoh added this to NoitaMP Nov 22, 2022
@Ismoh Ismoh moved this to 📋 Backlog in NoitaMP Nov 22, 2022
@Ismoh
Copy link
Owner Author

Ismoh commented Nov 22, 2022

Thanks to @dextercd for his awesome tool/mod, being able to achieve this!
https://github.com/dextercd/Noita-Synchronise-Expansive-Worlds

@Ismoh
Copy link
Owner Author

Ismoh commented Aug 1, 2023

Create a PR into #67 when done, because I'll soon merge #67 into this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. This will increase PATCH version number, when merged into develop. documentation Improvements or additions to documentation enhancement New feature or request. This will increase MINOR version number, when merged into develop. good_first_issue Good for newcomers help_wanted Extra attention is needed question Further information is requested rework Predicts breaking changes. This will increase MAJOR version number, when merged into develop.
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant