V12: Error in chat display. Monster attack shows no results (bug with Roll#evaluate?) #455
Open
5 tasks done
Labels
bug
Issues pertaining to bugs
Describe the bug
In Version 11 the results of a Monster Attack where shown in the chat.
Even in a complete blank new world without use of any modules, now in v12 I see no entry after DICE, DAMAGE, RANGE, TYPE anymore.
The second chat window shows the correct dice results, as before.
Please see screenshot
Reproduction
Open a Monster sheet with minimum one attack assigned (existing monster a new new created) and click on "Attacks" for execution. Then see in the chat, if DICE, DAMAGE, RANGE, TYPE is correctly displayed.
see Screenshot.
System Info
Logs
Foundry VTT | Rendering ForbiddenLandsMonsterAttackSheet
foundry-esm.js:4621 Error: The {{select}} handlebars helper is deprecated in favor of using the {{selectOptions}} helper or the foundry.applications.fields.createSelectInput, foundry.applications.fields.createMultiSelectElement, or foundry.applications.fields.prepareSelectOptionGroups methods.
Deprecated since Version 12
Backwards-compatible support will be removed in Version 14
at Object.logCompatibilityWarning (foundry-esm.js:4609:19)
at Object.select (foundry.js:8349:19)
at Object.c (handlebars.min.js:27:27865)
at Object.eval [as main] (eval at createFunctionContext (handlebars.min.js:29:10011), :27:129)
at c (handlebars.min.js:27:23534)
at d (handlebars.min.js:27:23849)
at e (handlebars.min.js:28:30886)
at renderTemplate (foundry.js:7902:10)
at async ForbiddenLandsMonsterAttackSheet._renderInner (foundry.js:6013:16)
at async ForbiddenLandsMonsterAttackSheet._renderInner (foundry.js:6583:18)
logCompatibilityWarning @ foundry-esm.js:4621
select @ foundry.js:8349
c @ handlebars.min.js:27
eval @ VM128464:27
c @ handlebars.min.js:27
d @ handlebars.min.js:27
e @ handlebars.min.js:28
renderTemplate @ foundry.js:7902
await in renderTemplate
_renderInner @ foundry.js:6013
_renderInner @ foundry.js:6583
_renderInner @ forbidden-lands.js:70
await in _renderInner
_render @ foundry.js:5844
await in _render
_render @ foundry.js:6572
_render @ foundry.js:7158
render @ foundry.js:5793
(anonym) @ forbidden-lands.js:44
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
foundry-esm.js:4621 Error: The {{select}} handlebars helper is deprecated in favor of using the {{selectOptions}} helper or the foundry.applications.fields.createSelectInput, foundry.applications.fields.createMultiSelectElement, or foundry.applications.fields.prepareSelectOptionGroups methods.
Deprecated since Version 12
Backwards-compatible support will be removed in Version 14
at Object.logCompatibilityWarning (foundry-esm.js:4609:19)
at Object.select (foundry.js:8349:19)
at Object.c (handlebars.min.js:27:27865)
at Object.eval [as main] (eval at createFunctionContext (handlebars.min.js:29:10011), :35:129)
at c (handlebars.min.js:27:23534)
at d (handlebars.min.js:27:23849)
at e (handlebars.min.js:28:30886)
at renderTemplate (foundry.js:7902:10)
at async ForbiddenLandsMonsterAttackSheet._renderInner (foundry.js:6013:16)
at async ForbiddenLandsMonsterAttackSheet._renderInner (foundry.js:6583:18)
logCompatibilityWarning @ foundry-esm.js:4621
select @ foundry.js:8349
c @ handlebars.min.js:27
eval @ VM128464:35
c @ handlebars.min.js:27
d @ handlebars.min.js:27
e @ handlebars.min.js:28
renderTemplate @ foundry.js:7902
await in renderTemplate
_renderInner @ foundry.js:6013
_renderInner @ foundry.js:6583
_renderInner @ forbidden-lands.js:70
await in _renderInner
_render @ foundry.js:5844
await in _render
_render @ foundry.js:6572
_render @ foundry.js:7158
render @ foundry.js:5793
(anonym) @ forbidden-lands.js:44
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
foundry-esm.js:4621 Error: The async option for Roll#evaluate has been removed. Use Roll#evaluateSync for synchronous roll evaluation.
at Object.logCompatibilityWarning (foundry-esm.js:4609:19)
at Roll.evaluate (foundry-esm.js:63561:23)
at Roll.roll (foundry-esm.js:63742:19)
at ForbiddenLandsMonsterSheet.rollAttack (forbidden-lands.js:49:1403)
at HTMLButtonElement. (forbidden-lands.js:49:1016)
at HTMLButtonElement.dispatch (jquery.min.js:2:40035)
at v.handle (jquery.min.js:2:38006)
logCompatibilityWarning @ foundry-esm.js:4621
evaluate @ foundry-esm.js:63561
roll @ foundry-esm.js:63742
rollAttack @ forbidden-lands.js:49
(anonym) @ forbidden-lands.js:49
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
foundry-esm.js:4621 Error: The async option for Roll#evaluate has been removed. Use Roll#evaluateSync for synchronous roll evaluation.
at Object.logCompatibilityWarning (foundry-esm.js:4609:19)
at FBLRoll.evaluate (foundry-esm.js:63561:23)
at FBLRoll.roll (foundry-esm.js:63742:19)
at ForbiddenLandsMonsterSheet.rollSpecificAttack (forbidden-lands.js:49:2104)
at ForbiddenLandsMonsterSheet.rollAttack (forbidden-lands.js:49:1492)
logCompatibilityWarning @ foundry-esm.js:4621
evaluate @ foundry-esm.js:63561
roll @ foundry-esm.js:63742
rollSpecificAttack @ forbidden-lands.js:49
rollAttack @ forbidden-lands.js:49
await in rollAttack
(anonym) @ forbidden-lands.js:49
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
foundry-esm.js:4621 Error: CONST.CHAT_MESSAGE_TYPES is deprecated in favor of CONST.CHAT_MESSAGE_STYLES because the ChatMessage#type field has been renamed to ChatMessage#style
Deprecated since Version 12
Backwards-compatible support will be removed in Version 14
at Object.logCompatibilityWarning (foundry-esm.js:4609:19)
at Object.get (foundry-esm.js:2492:21)
at FBLRoll.toMessage (forbidden-lands.js:17:42282)
at ForbiddenLandsMonsterSheet.rollSpecificAttack (forbidden-lands.js:49:2126)
logCompatibilityWarning @ foundry-esm.js:4621
get @ foundry-esm.js:2492
toMessage @ forbidden-lands.js:17
rollSpecificAttack @ forbidden-lands.js:49
await in rollSpecificAttack
rollAttack @ forbidden-lands.js:49
await in rollAttack
(anonym) @ forbidden-lands.js:49
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
foundry-esm.js:4621 Error: CONST.CHAT_MESSAGE_STYLES.ROLL is deprecated in favor of defining rolls directly in ChatMessage#rolls
Deprecated since Version 12
Backwards-compatible support will be removed in Version 14
at Object.logCompatibilityWarning (foundry-esm.js:4609:19)
at Proxy.get (foundry-esm.js:2505:23)
at Reflect.get ()
at Object.get (foundry-esm.js:2493:22)
at FBLRoll.toMessage (forbidden-lands.js:17:42282)
at ForbiddenLandsMonsterSheet.rollSpecificAttack (forbidden-lands.js:49:2126)
logCompatibilityWarning @ foundry-esm.js:4621
get @ foundry-esm.js:2505
get @ foundry-esm.js:2493
toMessage @ forbidden-lands.js:17
rollSpecificAttack @ forbidden-lands.js:49
await in rollSpecificAttack
rollAttack @ forbidden-lands.js:49
await in rollAttack
(anonym) @ forbidden-lands.js:49
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
foundry-esm.js:4621 Error: CONST.CHAT_MESSAGE_TYPES is deprecated in favor of CONST.CHAT_MESSAGE_STYLES because the ChatMessage#type field has been renamed to ChatMessage#style
Deprecated since Version 12
Backwards-compatible support will be removed in Version 14
at Object.logCompatibilityWarning (foundry-esm.js:4609:19)
at Object.get (foundry-esm.js:2492:21)
at FBLRoll.toMessage (forbidden-lands.js:17:23499)
at FBLRoll.toMessage (forbidden-lands.js:17:42313)
at ForbiddenLandsMonsterSheet.rollSpecificAttack (forbidden-lands.js:49:2126)
logCompatibilityWarning @ foundry-esm.js:4621
get @ foundry-esm.js:2492
toMessage @ forbidden-lands.js:17
toMessage @ forbidden-lands.js:17
rollSpecificAttack @ forbidden-lands.js:49
await in rollSpecificAttack
rollAttack @ forbidden-lands.js:49
await in rollAttack
(anonym) @ forbidden-lands.js:49
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
foundry-esm.js:4621 Error: CONST.CHAT_MESSAGE_STYLES.ROLL is deprecated in favor of defining rolls directly in ChatMessage#rolls
Deprecated since Version 12
Backwards-compatible support will be removed in Version 14
at Object.logCompatibilityWarning (foundry-esm.js:4609:19)
at Proxy.get (foundry-esm.js:2505:23)
at Reflect.get ()
at Object.get (foundry-esm.js:2493:22)
at FBLRoll.toMessage (forbidden-lands.js:17:23499)
at FBLRoll.toMessage (forbidden-lands.js:17:42313)
at ForbiddenLandsMonsterSheet.rollSpecificAttack (forbidden-lands.js:49:2126)
logCompatibilityWarning @ foundry-esm.js:4621
get @ foundry-esm.js:2505
get @ foundry-esm.js:2493
toMessage @ forbidden-lands.js:17
toMessage @ forbidden-lands.js:17
rollSpecificAttack @ forbidden-lands.js:49
await in rollSpecificAttack
rollAttack @ forbidden-lands.js:49
await in rollAttack
(anonym) @ forbidden-lands.js:49
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
foundry.js:7845 Foundry VTT | Retrieved and compiled template templates/sidebar/chat-message.html
Validations
The text was updated successfully, but these errors were encountered: