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 someBodyWihsperMe(palyerName): whisper = PixelData.getPointByIndex( SysConfig.pixelIndex["sombody_whisper_me"]).getInt() if whisper > Player.whisper: Player.whisper = whisper from lib.tools.mail import sendmail from lib.base.Base import Base from run.config.UserConfig import UserConfig sendmail(UserConfig.email, palyerName + "some one whisper to me ", "", Base.screenshot("sombody_whisper_me"))
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, player: Player, control: Control): Base.__init__(self) self.player = player self.control = control self.spell = Spell(control) self.move_count = 0
def __init__(self, control: Control): Base.__init__(self) self.control = control
def getRGB(self): return Base.get_color_RGB(self.x, self.y)
def getFloat(self, mod=1): rgb = self.getRGB() return int(Base.RGB_to_Hex(rgb), 16) / mod
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, bagId): Base.__init__(self) self.id = bagId
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): Base.__init__(self) self.player = Player()
def __init__(self, control: Control): Base.__init__(self) self.control = control from lib.spell.CastingHander import CastingHander self.castingHander = CastingHander()
def __init__(self): Base.__init__(self) self.hander = open("tmp/logs/" + self.getFormatTime(False) + "_navbase.log", 'a+')