Mantis Bug Tracker

View Revisions: Issue #956 All Revisions ] Back to Issue ]
Summary 0000956: Names with 'player' in confuse the parser
Revision 2012-08-01 18:13 by EmacsUser
Description If you have a name which starts with the word 'Player', as in 'Player Alice' in the example below, then rules which refer to the player seem to go horribly wrong.

In the test case below, the 'instead of examining the player' rule should fire. I suspect that when the rule was parsed, 'player' was treated as shorthand for 'Player Alice' rather than the current player.

This causes silent, subtle breakage of games --- I only noticed in my (real) game when I started testing with a different player avatar and noticed that some rules stopped working.
Revision 2012-08-01 18:13 by EmacsUser
Description If you have a name which starts with the word 'Player', as in 'Player Alice' in the example below, then rules which refer to the player seem to go horribly wrong.

In the test case below, the 'instead of examining the player' rule should fire twice. Instead it only fires when the player is Player Alice, and not when the player is Bob. I suspect that when the rule was parsed, 'player' was treated as shorthand for 'Player Alice' rather than the current player.

This causes silent, subtle breakage of games --- I only noticed in my (real) game when I started testing with a different player avatar and noticed that some rules stopped working.


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker