Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

empty zones that are "asleep" will miss updates that happen onGameDay etc (the objects in the zones miss it) #1384

Open
2 tasks done
TeoTwawki opened this issue Oct 17, 2020 · 3 comments

Comments

@TeoTwawki
Copy link
Contributor

I have:

  • searched existing issues (http://project-topaz.com/issues/) to see if the issue has already been opened
  • checked the commit log to see if the issue has been resolved since my server was last updated

Additional Information (Steps to reproduce/Expected behavior) :
Example: enter Sacrarium and see the wrong days door/floor configuration because its running whatever the last update it saw was. we need something to update these zones when they awaken from sleep.

@zach2good
Copy link
Contributor

I was looking at these systems today, commenting so I'm reminded of this later (Zone OnCountIncrease CreateTimer, add lua binding there)

@cocosolos
Copy link
Contributor

Just wanna clarify that the stuff in onGameDay still gets run when the zone is empty, the problem with Sacrarium is that it calls setAnimation which relies on the AI controller to update the entity, which is what gets killed when a zone empties.

@TeoTwawki TeoTwawki changed the title emoty zone sthat are "asleep" will miss updates that happen onGameDay etc empty zone sthat are "asleep" will miss updates that happen onGameDay etc Oct 17, 2020
@TeoTwawki
Copy link
Contributor Author

TeoTwawki commented Oct 17, 2020

Just wanna clarify that the stuff in onGameDay still gets run when the zone is empty, the problem with Sacrarium is that it calls setAnimation which relies on the AI controller to update the entity, which is what gets killed when a zone empties.

Yeah I think before the great AI rewrite when a zone "woke up" the 1st tick was supposed to make all the AI do an immediate update with whatever happened during the zones sleep happening all immediately. No idea if that ever worked correctly, but that was what had been intended.

@TeoTwawki TeoTwawki changed the title empty zone sthat are "asleep" will miss updates that happen onGameDay etc empty zones that are "asleep" will miss updates that happen onGameDay etc (the objects in the zones miss it) Oct 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants