def __init__(self, scanItems=False): Base.__init__(self) self.scanItems = scanItems if scanItems: t = ItemThread() t.setDaemon(True) t.start()
def __init__(self): Base.__init__(self) self.client = pymysql.connect(host=self.host, user=self.user, password=self.passwod, database=self.dbanme, port=self.port, charset="utf8mb4")
def __init__(self, needCpture=True): Base.__init__(self) print(clr.AddReference("lib\\NameFinder\\NpcNameFinder")) import NpcNameFinder self.dll = NpcNameFinder.Main() self.captur = False if needCpture: self.dll.StartScreenShotThread() self.captur = True
def __init__(self, control: Control, player: Player, move_type=0, checkMount=True, type='p'): Base.__init__(self) self.player = player self.control = control self.move_type = move_type self.playerName = self.player.getName() self.checkMount = checkMount self.type = type self.hander_reapir = open( "tmp/logs/" + self.getFormatTime(False) + "_choice_pathfinding.log", 'a+')
def __init__(self, control: Control): Base.__init__(self) self.control = control from lib.spell.CastingHander import CastingHander self.castingHander = CastingHander()
def __init__(self, control: Control): Base.__init__(self) self.control = control
def __init__(self, player: Player, control: Control, filename=None, delay=4): Base.__init__(self) self.player = player self.control = control self.filename = SysConfig.record_path + filename if filename is not None else SysConfig.record_path + "DynamicConfig.py" self.delay = delay
def __init__(self, bagId): Base.__init__(self) self.id = bagId
def __init__(self, driver): Base.__init__(self) self.driver = driver
def __init__(self): Base.__init__(self) self.handler = open( "tmp/logs/" + self.getFormatTime(False) + "_ChatWatcher.log", 'a+')
def __init__(self): Base.__init__(self)
def __init__(self, x, y): Base.__init__(self) self.x = x self.y = y
def __init__(self): Base.__init__(self) self.hander = open("tmp/logs/" + self.getFormatTime(False) + "_navbase.log", 'a+')
def __init__(self): Base.__init__(self) self.player = Player()
def __init__(self, control: Control): Base.__init__(self) self.control = control self.handler = open( "tmp/logs/" + self.getFormatTime(False) + "_basebot.log", 'a+')
def __init__(self, player: Player, control: Control): Base.__init__(self) self.player = player self.control = control self.spell = Spell(control) self.move_count = 0