Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
03728 Gameplay Major N/A Feb 11, 2010, 23:01 Feb 15, 2010, 12:20
Tester nightsoil View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS Windows Vista/7 (32-bit)
Status [?] Confirmed Driver
Version 0.135 Fixed in Version Build Normal
Fixed in Git Commit Github Pull Request #
Summary 03728: hypreac2: At chi disambiguation, cannot declare an inside chi.
Description In just about any mahjong game, if you call chi when more than one chi is possible, the game will prompt you to disambiguate.

In the screenshot, Clarissa has discarded a Seven Bamboo, which I called for a chi. Looking at my hand, you can see that by the rules of mahjong I can make a chi 5-6-7, 6-7-8, or 7-8-9. I tried to make the 6-7-8 chi, and the game wouldn't let me: it just made the "illegal move" buzzer sound.
Steps To Reproduce
Additional Information This is not the only bug in the gameplay. If I remember correctly, a Seven Pairs hand I once got was scored as 1 han 25 fu (!).

Unless these are emulation bugs, I would suspect that the programmer was suffering from a hangover.
Github Commit
Flags
Regression Version
Affected Sets / Systems hypreac2
Attached Files
png file icon 0000.png (34,616 bytes) Feb 11, 2010, 23:02
png file icon 0001.png (27,738 bytes) Feb 14, 2010, 11:18
? file icon hypreac2.inp (19,625 bytes) Feb 15, 2010, 11:58
png file icon joystick.png (34,264 bytes) Feb 15, 2010, 12:19
png file icon joystick2.png (35,408 bytes) Feb 15, 2010, 12:20
Relationships
There are no relationship linked to this issue.
Notes
5
User avatar
No.05713
Fujix
Administrator
Feb 14, 2010, 11:20
edited on: Feb 15, 2010, 05:36
Confirmed the problem. I uploaded my screenshot.
It is accepting large characters for Chi (in 0001.png, F, J and K).
F is for 3-4-5, J and K are for 5-6-7. There is no option for 4-5-6.
User avatar
No.05714
Haze
Senior Tester
Feb 14, 2010, 12:08
somebody could do with tracing the code that works this out. For most CPUs I'd write it off as 'Not a Bug' but this is V60, and it's possibly there are subtle bugs in the flag handling etc. I guess it could also be a memory mirroring issue like the one that used to affect Monster Slider on the same HW.

Somebody handy with the debugger should isolate the code that's doing this and look at it, but obviously being a mahjong game the number of people likely to understand it is limited.
User avatar
No.05715
nightsoil
Tester
Feb 15, 2010, 05:01
Useful reference on mahjong rules with emphasis on MAME games:
http://www.mahjonginmame.com

In my opinion, this should be required reading for anyone doing serious work on mahjong games.
User avatar
No.05717
Haze
Senior Tester
Feb 15, 2010, 11:49
I'm not going to learn how to play Mahjong games to look at the bugs, sorry. Find some devs who understand them to look.
User avatar
No.05719
Fujix
Administrator
Feb 15, 2010, 12:18
edited on: Feb 15, 2010, 13:26
Uploaded an inp file. At the end of the inp recording, the game offers CHI (borrowing an opponent's discarded tile) options only G key and M key.
By G key, it will be 5-6-7 and 7-8-9 for M key. But in general, we should make a combination "6-7-8".

BTW, when I changed the input mode to "Joystick" in the DIP menu, I can choose the first tile to contain (tiles with high-lite small characters), the tile becomes blue and the options are narrowed down.
And in the "Keyboard" mode, I found the tile becomes blue for one frame after selecting the first tile, then rejected immediately.