def botaktif31(self): self.state = True self.deneme = True PM = pymem.Pymem() PM.open_process_from_id(int(self.lineEdit_25.text())) OFFSET = 0x4 while self.state: try: PlayerX = PM.read_float(self.PointerAddress(PM.base_address + int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["playerbasepointer"]), OFFSETS=[int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["playerbaseoffset"]), int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["playerx"])])) PlayerY = PM.read_float(self.PointerAddress(PM.base_address + int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["playerbasepointer"]), OFFSETS=[int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["playerbaseoffset"]), int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["playery"])])) MobX = PM.read_float(self.PointerAddress(PM.base_address + int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["mobbase"]), OFFSETS=[OFFSET, int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["mobx"])])) MobY = PM.read_float(self.PointerAddress(PM.base_address + int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["mobbase"]), OFFSETS=[OFFSET, int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["moby"])])) attackvid = PM.read_int(self.PointerAddress(PM.base_address + int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["attackbasepointer"]), OFFSETS=[int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["attackoffset"])])) mobvid = PM.read_int(self.PointerAddress(PM.base_address + int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["mobbase"]), OFFSETS=[OFFSET, int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["mobvid"])])) mobtype = PM.read_int(self.PointerAddress(PM.base_address + int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["mobbase"]), OFFSETS=[OFFSET, int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["mobtype"])])) except: OFFSET += 0x4 if OFFSET >= 0x600: OFFSET = 0x4 continue if self.radioButton_20.isChecked(): #YÜRÜMELİ if mobtype == 2: PM.write_int(self.PointerAddress(PM.base_address + int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["attackbasepointer"]), OFFSETS=[int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["attackoffset"])]), mobvid) while attackvid != 0: # Wait for the current mob to die attackvid = PM.read_int(self.PointerAddress(PM.base_address + int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["attackbasepointer"]), OFFSETS=[int(self.ServerPointerListe[self.comboBox_8.currentIndex()]["attackoffset"])])) time.sleep(0.1) # Add a small delay to prevent excessive CPU usage print(f"Mob {mobvid} öldü, yeni mob aranıyor.") OFFSET += 0x4 if OFFSET >= 0x600: OFFSET = 0x4