带着同样令人困惑的剧本回来。。我修复了很多间距问题。。。但似乎错过了更多?这有什么问题——它的意思是332 self没有被定义。。。在
以下是脚本的上下几行,以防重要:#-Whats being decompiled start
#map(None,*list) = zip(*list)
class areaset(top_tsv):
def __init__(self, file_name=0, version=0):
top_tsv.__init__(self, file_name, version)
self.frombin_map = [
('ID' ,{'t':'ulong','lpad':0x04}),
('Name' ,{'t':'str','s':0x48,'rpad':0x1C}),
('RGB color' ,{'t':'color','rpad':0x01}),
('Sound effect ID' ,{'t':'long'}),
('Color RGB' ,{'t':'rcolor','rpad':0x01}),
('Lighting RGB value' ,{'t':'rcolor','rpad':0x01}),
('Lighting angle' ,{'t':'float','s':0x03,'f':0x01}),
('Is it City?' ,{'t':'ubyte','rpad':0x03}),
]
我就是想不出来,我现在想不起来。。还有很多其他的“self is not defined”错误,但是如果我修复了这个错误,那么至少我会知道如何修复其余的错误。那我该怎么办?在