Jump to content
  • 0

Cannot invoke "se.krka.kahlua.vm.KahluaTable.wipe()" because "<local3>" is null at TableLib.wipe line:107


Eggon

Question

I was trying to mod ISInventoryPage:refreshBackpacks(). I copied this method to a file in my mod. No changes, just copied the code. So I'm overwriting the vanilla code with the same vanilla code, but in a different file. The game throws this weird error inside the copied code (so the overwrite does get applied to the ISInventoryPage object) on table.wipe(self.backpacks)

image.thumb.png.8a30d3d554599800dfbff5ade0f50554.png

 

self.backpacks logs as a table, not nil, so  it appears to be fine. The error is thrown when refreshBackpacks() is invoked from ISInventoryPage:createChildren() while processing loot backpacks. self.backpacks is at this moment an empty table.

 

Why can overwriting of vanilla code with the same code cause such error?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...