Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- from win10toast import ToastNotifier
- toaster = ToastNotifier()
- maps = ["Academy",
- "Ancient City",
- "Arena",
- "Armoury",
- "Bone Crypt",
- "Cage",
- "Cells",
- "Colosseum",
- "Conservatory",
- "Coral Ruins",
- "Core",
- "Courtyard",
- "Cursed Crypt",
- "Desert",
- "Dungeon",
- "Factory",
- "Flooded Mine",
- "Gardens",
- "Ivory Temple",
- "Lava Chamber",
- "Maze",
- "Mineral Pools",
- "Museum",
- "Necropolis",
- "Orchard",
- "Overgrown Ruin",
- "Overgrown Shrine",
- "Palace",
- "Pen",
- "Pier",
- "Pit",
- "Plaza",
- "Precinct",
- "Residence",
- "Scriptorium",
- "Shrine",
- "Sunken City",
- "Vaal Pyramid",
- "Villa",
- "Wasteland"]
- with open('C:\Program Files (x86)\Grinding Gear Games\Path of Exile\logs\Client.txt', 'r') as file:
- file.seek(0, 2)
- while True:
- where = file.tell()
- line = file.readline()
- if not line:
- time.sleep(1)
- file.seek(where)
- else:
- print(line)
- for map in maps:
- if map in line:
- if "You have entered" not in line:
- continue
- toaster.show_toast("DO NOT RUN MAP", map)
- toaster.show_toast("DO NOT RUN MAP", map)
- toaster.show_toast("DO NOT RUN MAP", map)
Advertisement
Add Comment
Please, Sign In to add comment