Page 1 of 1

{b28} Inventory bug in /engine/utils.lua 743 bad Argument

Posted: Sat Jul 02, 2011 4:01 pm
by shaf
I Just identified Storm Giant Wraps (Fur lined Leather Wraps) whenever I open the Inventory Screen I get the error
/engine/utils.lua 743:bad Argument

Heres the section of code:

for i = 1, #list do
v = list
tv = type(v)
if tv == "string" then
if on_word then on_word_w, on_word_h = on_word(v, w, h) end
if on_word_w and on_word_h then
w, h = on_word_w, on_word_h
else
s:drawStringBlended(font, v, x + w, y + h, r, g, b, not no_alpha)
w = w + fontoldsize(font, v)
end
elseif tv == "boolean" then
w = 0
h = h + fh
max_lines = max_lines - 1
if max_lines <= 0 then break end
else