Summary:
When attempting to use a placed energy potion, an error appeared, but the potion seems to have been applied successfully to all hearthlings
Steps to reproduce:
- place potion
- use it
Expected Results:
No error
Actual Results:
release-699 (x64)[M]
No matching overload found, candidates: custom [double] distance_to(Point3 const&,Point3 const&)
stack traceback:
radiant/modules/common.lua:237: in function ‘report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[C]: in function ‘distance_to’
stonehearth/services/server/inventory/inventory.lua:641: in function ‘find_closest_unused_placable_item’
…/fixture_fabricator/fixture_fabricator_component.lua:235: in function ‘_place_fixture’
…/fixture_fabricator/fixture_fabricator_component.lua:217: in function ‘_start_project’
…/fixture_fabricator/fixture_fabricator_component.lua:541: in function ‘fn’
radiant/modules/events.lua:288: in function <radiant/modules/events.lua:285>
[C]: in function ‘xpcall’
radiant/modules/common.lua:257: in function ‘xpcall’
radiant/modules/events.lua:285: in function ‘trigger’
radiant/modules/entities.lua:114: in function ‘kill_entity’
stonehearth/call_handlers/resource_call_handler.lua:273: in function <stonehearth/call_handlers/resource_call_handler.lua:263>
Notes:
I’m currently investigating A20 compatability with the Rune mod, no issues thus far.
The potion in question was made be a hearthling who was a herbalist, then was promoted to cleric. The potion was placed while they were a herbalist, but used when a cleric. I also promoted a different hearthling to herbalist, who had just reached level 1.
Upon Repro attempt, no error was thrown.
Upon reload of save after error occurred, it popped up again, although shorter.
release-699 (x64)[M]
No matching overload found, candidates: custom [double] distance_to(Point3 const&,Point3 const&)
stack traceback:
[C]: ?
[C]: in function ‘distance_to’
stonehearth/services/server/inventory/inventory.lua:641: in function ‘find_closest_unused_placable_item’
…/fixture_fabricator/fixture_fabricator_component.lua:235: in function ‘_place_fixture’
…/fixture_fabricator/fixture_fabricator_component.lua:217: in function ‘_start_project’
…/fixture_fabricator/fixture_fabricator_component.lua:42: in function <…/fixture_fabricator/fixture_fabricator_component.lua:40>
Attachments:
Potion_Bug.zip (5.4 MB)
Version Number and Mods in use:
A20
Archipelago
Rune
System Information: