ghoulsblade wrote:
i think it's the paperdoll-image of the weapon that's causing problems, looks like the id wasn't found or failed to load,
local w,h = GetGumpSize(iGumpID) returned nil for width and height.
EDIT : i just added a warning and a dummy size so it doesn't crash the whole client, please try with the bow again, and post the output here, you probably won't see it, but at least it shouldn't crash the whole client, and there should be a warning giving the gumpid, so we can test later.
Code:
:: Sat Aug 02 00:17:27 2008
LuaError
error running function `Main': ..//lugre/lua/lib.util.lua:418: attempt to compare number with nil
LuaStackTrace:
..//lugre/lua/lib.util.lua:418: in function `texsize'
..//lua/gui/gui.gumpmaker.lua:158: in function `MakeBorderGumpPart'
..//lua/gui/gui.paperdoll.lua:253: in function <..//lua/gui/gui.paperdoll.lua:219>
..//lua/gui/gui.paperdoll.lua:391: in function `RebuildPaperdoll'
..//lua/obj/obj.mobile.lua:159: in function `Update'
..//lua/obj/obj.mobile.lua:110: in function `UpdateContent'
..//lua/obj/obj.container.lua:35: in function `AddContentObject'
..//lua/obj/obj.dynamic.lua:187: in function `SetContainer'
..//lua/obj/obj.dynamic.lua:136: in function `Update'
..//lua/obj/obj.dynamic.lua:70: in function `CreateOrUpdateDynamic'
..//lua/obj/obj.container.lua:117: in function `HandleEquipItem'
..//lua/net/net.dynamic.lua:19: in function `handler'
..//lua/lib.protocol.lua:73: in function `HandlePackets'
..//lua/lib.net.lua:91: in function `NetStep'
..//lua/main.lua:396: in function `MainStep'
..//lua/main.lua:352: in function <..//lua/main.lua:276>
..\lugre\src\lugre_main.cpp:182:Lugre::Lugre_Run
..\lugre\src\lugre_game.cpp:19:Lugre::cGame::Run
..\lugre\src\lugre_scripting.cpp:263:Lugre::cScripting::LuaCall
..\lugre\src\lugre_scripting.cpp:209:Lugre::LuaErrorHandler
PrintLuaStackTrace:
LuaStackTrace:
haha.. It made me crash again, and I can tell you something more:
I saw on paperdoll a title of my char, that wasn't before. And the sentence exceeds the paperdoll. I mean, it not continues in the second line.