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

[WIP] Fix compatibility with DSP 0.9 #506

Merged
merged 68 commits into from
Feb 16, 2022
Merged

[WIP] Fix compatibility with DSP 0.9 #506

merged 68 commits into from
Feb 16, 2022

Conversation

PhantomGamers
Copy link
Collaborator

@PhantomGamers PhantomGamers commented Jan 20, 2022

We need to see what broke after the update. here is a quick list of things that come to my mind atm.

  • Belts are at least partially broken. picking up items manually does not pick them up for other players, outbound belts from advanced miners do not output stuff for others until they try to build the belts themself, ...
  • ILS code has been changed (maybe just a bit?), but its hard to update our transpiler to match the new code. Maybe its easier to rewrite it.
  • did not have a look yet at the logic but as the new item enhancement seems to give % chance boosts (afaik) maybe it could be challenging to sync that?
  • generally sync the new facilities
  • new mecha stuff

@sp00ktober sp00ktober linked an issue Jan 24, 2022 that may be closed by this pull request
10 tasks
sp00ktober and others added 24 commits January 24, 2022 16:49
…ew game update and to near host like ship rendering
- Make setting sliders only send packets when mouse button release
- Make storage max sliders only apply when dragging stop
- Change to use original method, and on postfix update the changed itemCount.
- Client will revert itemCount changes and wait for host approve.
- Drone & Ship count update now try to set the total count of working + idle,
  if total count exceed limit or not enough idle ships, hot will correct the setting value.
- AddOrRemoveItemFromStorage now include ``inc``
- Add plierCount, MaxMiningSpeed(Advance miner)
- Disable drone/ship/warper icon buttons when client sends out the request.
- Let item count changes in storage reflect immediately because they don't need to be verified by host
- Try to adjust client's Ups in range of 30~120 to match  with host when the option is enabled.
Add Sync Ups multiplayer option
…riving at a star (ILS only). Sync ILS/PLS output filter system based.
- Let client request for remoteOrder update every 180 ticks.
Refactor StationUIManager (0.9.24)
…ndering after ILS removal. not perfect but better.
…n multiple clients try to join at the same time.
@Jaymus3
Copy link

Jaymus3 commented Feb 8, 2022

Tested the mod with a couple of people. So far, everything seems to work properly in the starting system. Got this error when one player disconnected on the other client that was still connected. I've also attached the log from that client. (If this isn't where you'd like pre-release issues reported, feel free to point me to where you'd rather.)
20220207222337_1
LogOutput.log

@sp00ktober
Copy link
Collaborator

Totally fine to report here i guess.
There where some other people reporting this too, i wonder if we should handle undefined packets more gracefully

@HoshixD
Copy link

HoshixD commented Feb 8, 2022

I did ~ 10h of testing with one of my friends.
So far the mod works like a charm. Some feedback:

  • We encountered the error of the post above several times (only host). Does not seem to break the game though.
  • We encountered 3 instances of the game crashing the Laptop of my friend. We can't say whether that is due to the DSP-update or some changes you guys implemented.
  • There are still some ship artifacts left in orbit (only client) if a player is in transition between systems and the ships use warp cells. Definitely got better though...
  • Duping seems to be fixed. We found no way to simulate the environment that would allow for the client to dupe items by manually placing them on a belt leading to a storage unit. This no longer works no matter the latency of the host/client.

Thanks for the amount of work and time you put into this. Attached is the log file of the host. I can provide the client file if needed.
LogOutput.log

PhantomGamers and others added 23 commits February 8, 2022 11:58
- Editor now close when there is no existing dyson spheres
- Now only unload dyson spheres when arriaving a new star system
- Add backward compatibility in Savemanager
- Add sprayer and moniter connection syncing
Bugfix and issue list for 0.8.0 pre-release
@sp00ktober sp00ktober marked this pull request as ready for review February 16, 2022 22:06
@sp00ktober sp00ktober merged commit 250968a into master Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment