Ejemplo n.º 1
0
 def lib2Dock(self):
     proc = self.proc
     while(dolScript.getLocationType(proc) == dolCallEnum.LocType.House):
         dolCall.enterDoor(proc, self.cityRead.libOutID)
         time.sleep(0.5)
     while(dolScript.getLocationType(proc) == dolCallEnum.LocType.City):
         dolCall.move(proc, dolCallEnum.MoveTo.Dock)
         time.sleep(0.5)
     
     self.nextDoFunc = self.toSecDock
     self.nextDoPara = []
Ejemplo n.º 2
0
 def dock2Lib(self):
     self.makeAllDo(dolCall.move, [self.cityRead.downShip])
     
     proc = self.proc
     while(dolScript.getLocationType(proc) != dolCallEnum.LocType.City):
         dolCall.move(proc, self.cityRead.downShip)
         time.sleep(1.5)
     
     myid = dolScript.getPCID(proc)
     self.makeAllDo(dolCall.follow, [myid])    
     
     x, y = self.cityRead.libEnterPos
     dolCall.walk(proc, x, y)
     time.sleep(1)
     dolCall.enterDoor(proc, self.cityRead.libEnterID)
     
     self.nextDoFunc = self.read
     self.nextDoPara = [self.hwnd, self.proc]