xKiv
Active member
Today I have finally managed to capture this elusive beast (as soon as I put my debugging printouts in mafia code, it stopped happening for several runs).
What happens:
- I go to tavern cellar
- click the first square manually
- then go to each new square using mafia's 'explore next unexplored'
- eventually mafia will try to explore an already explored square
In this case ...
This last drunken rat resulted from hitting cellar.php?action=explore&whichspot=16 , which redirected to fight.php?ireallymeanit=1461982269
No change to tavernLayout happened during or after that.
I would see something in stdout if postTavernVisit went through the fight.php branch or kept going until the end. (also I was healthy, with adventures left, and not drunk)
TavernRequest.postTavernVisit then calls parseCellarMap and quits without any futher modification of tavernLayout
TavernRequest.parseCellarMap did NOT change tavernLayout
What happens:
- I go to tavern cellar
- click the first square manually
- then go to each new square using mafia's 'explore next unexplored'
- eventually mafia will try to explore an already explored square
In this case ...
Code:
...
[30] The Typical Tavern Cellar (row 2, col 1)
Encounter: Those Who Came Before You
You acquire an item: Ben-Gal™ Balm
You acquire an item: shiny ring
[31] The Typical Tavern Cellar (row 3, col 1)
Encounter: A Rat's Home...
[31] The Typical Tavern Cellar (row 4, col 1)
Encounter: drunken rat
No change to tavernLayout happened during or after that.
I would see something in stdout if postTavernVisit went through the fight.php branch or kept going until the end. (also I was healthy, with adventures left, and not drunk)
TavernRequest.postTavernVisit then calls parseCellarMap and quits without any futher modification of tavernLayout
TavernRequest.parseCellarMap did NOT change tavernLayout