Divine Knockout (DKO)

Divine Knockout (DKO)

27 평점
how to not get killed
ﻛﻛ𝗲ҟ 님이 작성
in this guide i will guide you on how to not get killed in DKO
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
tutorial:
don't die
댓글 6
CrispyChestnuts 2024년 10월 21일 오후 3시 22분 
RIP DKO
CrispyChestnuts 2024년 10월 21일 오후 3시 21분 
I'll do you one better: just shut down the whole game
ﻛﻛ𝗲ҟ  [작성자] 2024년 3월 3일 오후 1시 24분 
I think that my Python script handles closing DKO better than your tutorial.

import os
import psutil
import subprocess
import signal
import time

def find_process(process_name):
for proc in psutil.process_iter(['pid', 'name']):
if proc.info['name'] == process_name:
return proc.info['pid']
return None

def close_game(process_name):
pid = find_process(process_name)
if pid is not None:
try:
os.kill(pid, signal.SIGTERM)
time.sleep(1) # Wait for the process to close gracefully
if find_process(process_name) is not None:
os.kill(pid, signal.SIGKILL) # Forcefully terminate if necessary
print(f"Game with process ID {pid} has been closed.")
except Exception as e:
print(f"Failed to close the game: {e}")
else:
print("Game is not running.")

def main():
game_name = input("DKO: ")
close_game(game_name)

if __name__ == "__main__":
main()
Norso7512 2024년 3월 3일 오전 11시 16분 
you can shut it on windows by holding alt + tab and clicking thx when it shows up. or you can press windows key and click x at top of the screen.(only on windows)
rancor1322 2022년 12월 12일 오후 8시 01분 
please add a guide on how to close the dang game
Thommy Shelby 🖤 2022년 12월 12일 오전 7시 27분 
TRUE