TheEternalCitizens / mudlet-integration

A mudlet integration for The Eternal City
GNU General Public License v2.0
3 stars 0 forks source link

Swamps assume all movement sw #142

Closed davewiththenicehat closed 4 years ago

davewiththenicehat commented 4 years ago

herdiasToday at 2:51 PM I did find a bug in the swamps. pun intended. if there's a swamp but no exit to the sw it breaks the mapper. so sw goes to swamp but it's not really sw. DaveWithTheNiceHatToday at 2:52 PM Have you noticed that anywhere else? Is it that movement fails? O also, can you check for any errors? There may not be any. I've got a shit load of ifs in the movement function. herdiasToday at 2:53 PM It created a room to the sw and completely threw me off. Glad I was watching when it happened. Luckily I was near a border to retrace my steps. It moved to the the swamp. But thought I was southwest even though I was south. There was no sw exit at the square I left from. DaveWithTheNiceHatToday at 2:55 PM Got it. I think I have a string:match where I should have a ==.

davewiththenicehat commented 4 years ago

herdiasToday at 1:48 AM Discovered a new bug. If you try to go in a direction that says "You don't see a "sw" in that direction." it breaks the mapper on the next space you move to UNLESS you move to a previously mapped room. So say I try to go sw and it tells me that. Then I go to an unmapped south. It'll keep me in same room and on next movement draw a new map. if i go to a mapped area after the you don't see echo it resolves itself.

davewiththenicehat commented 4 years ago

Resolved with commit https://github.com/TheEternalCitizens/mudlet-integration/pull/138/commits/4b64a60ea1fe00dfd47cd800a9618f366336badb