Arx-Game / arxcode

A text-based/web game using Evennia.
MIT License
45 stars 42 forks source link

Infinite Loop protection in weather #468

Closed ApostateCD closed 1 year ago

ApostateCD commented 1 year ago

I added in a max number of 10 attempts to the while loop, and near as I can tell the script handles a none result for emit. Still not entirely certain how the error first started. I think the most likely culprit is weather was set in game, the script was deleted in django, tried to advance and found it no longer existed and couldn't reference any weather fields. It's hard for me to tell for sure, and checking with Herja to see if I can reproduce it locally.