KhymChanur: (alpha14) Using barehanded combat can cause the engine to go into an infinite loop. The Lua stack trace is:
file `/engine/util.lua' , function (null), line 589 C , function call, line -1 file `/engine/util.lua' , function rng, line 580 file `/engine/subsystems/combat_barehand_default.lua' , function do_hit, line 65 file `/engine/subsystems/combat_barehand_default.lua' , function attack, line 210 file `/engine/combat.lua' , function (null), line 56
The problem seems to be the "repeat ... until" block in combat.default_barehand():
repeat
ma_ptr = blow_table[rng(max)]
until not ((ma_ptr.level > plev) or (rng(plev) < ma_ptr.chance))
Not sure if the problem is in the engine, or in the blow table returned by the ToME module.
NerdanelVampire: The problem exists in alpha12 too. I confirmed it in both ToME and Zothiqband modules, which doesn't mean that much as Zothiqband uses the barehand from ToME.
NeilStevens: Well does your module have a blow table set up? You can't rely on using ToME's of course.
Or is this part of that subsystem out of date? heh
ToME Wiki