From 7c626fbdf8ac6a6d63d41cb6fc3e0243ed125f3e Mon Sep 17 00:00:00 2001 From: jenz Date: Sun, 27 Mar 2022 12:26:28 +0200 Subject: [PATCH] removed unnecesary function --- AutismBotIngame/python/ingamefollowct.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/AutismBotIngame/python/ingamefollowct.py b/AutismBotIngame/python/ingamefollowct.py index bddef6ca..251ab231 100644 --- a/AutismBotIngame/python/ingamefollowct.py +++ b/AutismBotIngame/python/ingamefollowct.py @@ -130,15 +130,6 @@ def bot_connect(server, connected_to_other): writeCfgInput(str1) print('not yet connected') -def pairwise(it): - it = iter(it) - while True: - try: - yield next(it), next(it) - except StopIteration: - # no more elements in the iterator - return - if __name__ == '__main__': atexit.register(exit_handler) local_port = data_ports['udp_port'] @@ -231,9 +222,6 @@ if __name__ == '__main__': #X2GO_NXAGENT_DEFAULT_OPTIONS="-options nx/nx,sleep=0" /etc/x2go/x2goagent.options #keeps session as R instead of S which is needed for interaction with graphical components such as steam and CS:S -#cd /home/gameservers/ze_runner_files -#python3 ingamefollowct.py - """ .bashrc requires: if [[ $DISPLAY ]]; then @@ -243,5 +231,4 @@ if [[ $DISPLAY ]]; then steam -no-browser fi """ -#apt-get install tmux -> tmux -> cd /home/autismbot1/ze_runner -> python3 ingamefollowct.py #screen -d -m -S ze_runner python3 ingamefollowct.py