Check the TZ_DUMMY table inside Pangya_S4_Th Database. It should not be empty and have a simple sequence ... means entrys starting at 1 and counting up (2,3,4,5 and so on).
Its used by some procedures like USP_TREASURE_INSERT which will transfer you the treasure items. Without a sequence in...