riperiperi / FreeSO

Re-implementation of The Sims Online.
http://freeso.org
Mozilla Public License 2.0
817 stars 95 forks source link

[Server] Lot-City Connection failure causes lots to become stuck. #69

Closed riperiperi closed 6 years ago

riperiperi commented 7 years ago

When the lot-city connection fails, all lots on the lot server are closed and released to ensure consistency, and to release those lots' claims in the database. However, if the city is still alive, it will still have allocations for these lots set up in LotAllocations, meaning that the city server believes the lot server is hosting the lot when it has already shut down.

When a user attempts to re-open their lot after this, LotAllocations believes it is already open, and tells the user to connect to it on the lot server. However, when the user connects to the lot server, they are booted off immediately because the lot is not actually being hosted.

Any additional lots will start and allocate as normal. image

Solution:

riperiperi commented 6 years ago

Re-establish has been implemented and appears to be working. Closing.