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

Refactor Pending Loads #267

Merged
merged 1 commit into from
Feb 14, 2013
Merged

Refactor Pending Loads #267

merged 1 commit into from
Feb 14, 2013

Conversation

Hoikas
Copy link
Member

@Hoikas Hoikas commented Jan 19, 2013

I noticed in my Relto on MOULa that I have stale physical SDL variables from the Neighborhood ("OrangeCone15") hanging around in the game server blob. This is all well and good except for the fact that the old pending load code would attempt to deliver pending SDL states long after all the pages that are actually in an age are actually loaded. This causes the game to load all the Neighborhood_nb01 keys every second.

So, I have refactored the state delivery code to make more sense and to only attempt to deliver state once when the age is fully loaded. If the age is still loading, states are allowed to remain queued until the age is fully loaded. Anything that fails after the age is fully loaded is tossed out.

@branan
Copy link
Member

branan commented Jan 22, 2013

Are there any Cyan ages which rely on paging in/out nodes (minkata?) I can see this having possible side-effects in such a situation...

@Hoikas
Copy link
Member Author

Hoikas commented Jan 22, 2013

The only object in Minkata that (should, AFAIK) have SDL state is the soccer ball, and it's in a page that's always loaded.

@Mystler
Copy link
Contributor

Mystler commented Jan 22, 2013

I know that the city is working with node PageIns/PageOuts... https://github.com/H-uru/moul-scripts/blob/master/Python/city.py#L123

@Hoikas
Copy link
Member Author

Hoikas commented Jan 22, 2013

Those occur before kPlayingGame is set

@Mystler
Copy link
Contributor

Mystler commented Feb 2, 2013

What's the status of this? Does this still need any specific testing?

@Hoikas
Copy link
Member Author

Hoikas commented Feb 13, 2013

After one month of being opened, this will be merged at 12:01am UTC-5 barring any blocking comments.

Hoikas added a commit that referenced this pull request Feb 14, 2013
@Hoikas Hoikas merged commit a0a375d into H-uru:master Feb 14, 2013
@Hoikas Hoikas deleted the pendingload branch February 14, 2013 05:17
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.

None yet

3 participants