michaelbarlow7 / dungeon-crawl-android

Dungeon Crawl: Stone Soup for Android (console version)
Other
41 stars 6 forks source link

Strange behaviour with mobs and stairs #57

Closed michaelbarlow7 closed 9 years ago

michaelbarlow7 commented 9 years ago

According to Matty O'Toole on Google Play:

"If you go up/down stairs with mobs next to you they don't follow you up/down the stairs. This makes avoiding mobs too easy and kind of ruins the difficulty of the game. Summoned allies will follow you up/down stairs but will be placed in a random location on the level rather than next to you. Mobs will also occasionally get stuck in walls, sometimes killing you instantly despite not being on the map"

unforgettableid commented 9 years ago

I, too, am reliably able to reproduce this bug.

unforgettableid commented 9 years ago

I spoke with _miek on IRC today. He has also experienced the bug, but has no idea what causes it.

Nistenf commented 9 years ago

I can also reproduce this bug

simex909 commented 9 years ago

I am experiencing the same thing. Running lollipop 5.1. Is it possible to download previous builds before the bug was introduced?

unforgettableid commented 9 years ago

Was there ever any old version of console DCSS for Android which didn't have this bug?

simex909 commented 9 years ago

Yes. I'm not sure which version, but I had one that was sometime after they introduced felids and octopodes, but before they got rid of weight. It did not have the stair bug.

michaelbarlow7 commented 9 years ago

Found the issue. This Android build doesn't use the same Makefile, so the ASSERTS flag wasn't being switched on. There were a couple of methods regarding following creature placement that were wrapped in ASSERT preprocessor directives. Since ASSERTs weren't switched on, these methods were essentially taken out by the compiler. This shouldn't happen, and is technically a minor bug in the crawl code, but for now I need to explicitly turn on ASSERTS. This will be fixed in the next build.

kribjo commented 9 years ago

Hooray! Mobs-Players 1-0! :)

michaelbarlow7 commented 9 years ago

Gonna do a pull request on the official code later, but for the app, this is closed. New build should be on Google Play within a few hours.