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