Terasology / JoshariasSurvival

Survival a la Josharias
1 stars 10 forks source link

Player logged out for some time may log back in then nearly immediately starve to death #19

Open Cervator opened 8 years ago

Cervator commented 8 years ago

It may more aptly be a bug in the Hunger module where the hunger/thirst counters go down even while a player is offline, but it is the most noticeable in JS since that's what we often test so creating the issue here :-)

In short: either the player should not have their hunger/thirst bar reduce while offline or at least it should be configurable by whatever gameplay is depending on the Hunger module.

The impact could be a little less dramatic if it was easier to access some simple sources of food or water, which are a bit lacking. Maybe some gameplay would want to starve the player while offline, but give a chance on login to fix it real quick before succumbing.


Update (June 2022): This issue still exists.

How to reproduce

  1. Start Terasology (host)
  2. Host a world with "JoshariasSurvival"
  3. Start a second Terasology instance (client)
  4. Join the hosted JS world with the client
  5. Observe the filling of the orange hunger and blue thirst bar
  6. Go back to the main menu with the client
  7. Wait a few minutes
  8. Join the hosted JS world with the client again
  9. Note that the hunger and thirst bars are filled (way) less than before
bbarker commented 7 years ago

I think I noticed something similar while having the game paused (or may be it wasn't paused: I was in singleplayer mode and in the menu, which I tend to associate with being paused); was eating dinner, only to hear a very loud sound, which thankfully wasn't a water pipe doing something odd in the house (I'm fairly confident about this after coming back to see my character dead from starvation :-)).

syntaxi commented 7 years ago

So Terasology doesn't actually pause when one has the menu open and still in a world. It's something we should probably change so feel free to make an issue for jt