Exemplo n.º 1
0
 def small(self,insim, packet):
     #TODO manage SubT to just care about IS_GTH subtype packets 
     InsimClient.small(self, insim, packet)
     id=packet.ReqI
     t=packet.UVal
     print 'adding time to id ', id+1 ,' time ',t 
     self.crash_list[id-1].c_time=t
     #save in file
     #TODO add if
     self.write_csv()
Exemplo n.º 2
0
 def small(self,insim, packet):
     InsimClient.small(self,insim, packet)
     if(packet.UVal==pyinsim.SMALL_SSG):
         self.send_reorder()