Skip to content

Change send and receive behaviors#520

Merged
sp00ktober merged 8 commits intoNebulaModTeam:masterfrom
starfi5h:pr-pause
Mar 6, 2022
Merged

Change send and receive behaviors#520
sp00ktober merged 8 commits intoNebulaModTeam:masterfrom
starfi5h:pr-pause

Conversation

@starfi5h
Copy link
Collaborator

@starfi5h starfi5h commented Feb 8, 2022

NebulaConnection

Switch to SendAsync and add sending packet queuing.

NetPacketProcessor

Add enable property, can pause or resume packet processor.
It is used to pause packet processing when loading factory data.

PlayerManager

Syncing player now will be added to connectedPlayers at the moment of requesting factory data, so he can receive the following factory update.

@starfi5h starfi5h marked this pull request as draft February 10, 2022 15:42
@starfi5h starfi5h changed the base branch from fix-0.9 to master February 17, 2022 00:09
@starfi5h starfi5h marked this pull request as ready for review February 17, 2022 00:11
- Switch to SendAsync and add sending packet queueing
- Block PacketProcessor during the time loading factory
- Player now add to connected player list at the moment of requesting factory data
@starfi5h starfi5h marked this pull request as draft February 23, 2022 06:51
@starfi5h starfi5h changed the title Add GameStatesManager, implement semi-pause Change send and receive behaviors Feb 23, 2022
- Add default NebulaAPI dependent mod checking
- Move NebulaModAPI.OnPlanetLoadFinished
add hook entries
@starfi5h starfi5h marked this pull request as ready for review February 27, 2022 09:23
Copy link
Collaborator

@sp00ktober sp00ktober left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked really good with the BulletTime.dll supplied in our discord server!
This is really cool :D

@sp00ktober sp00ktober merged commit 09ba1cf into NebulaModTeam:master Mar 6, 2022
@starfi5h starfi5h deleted the pr-pause branch March 15, 2022 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants