Halo Posted October 11, 2013 Share Posted October 11, 2013 Добрый день По причине наличия нескольких аккаунтов для старта игры использую .BAT файл приблизительно такого содержания: copy "USERPROFILE%\My Documents\WorldOfTanks\preferences_eu.xml" %APPDATA%\wargaming.net\WorldOfTanks\preferences.xml cd "D:\Program Files\Games\World of Tanks""D:\Program Files\Games\World of Tanks\WorldOfTanks.exe" copy %APPDATA%\wargaming.net\WorldOfTanks\preferences.xml "USERPROFILE%\My Documents\WorldOfTanks\preferences_eu.xml" однако при таком запуске не работает пинг кластеров в ангаре. Часть лога: [ERROR] _pingAsync() exception: Traceback (most recent call last): File "xvmstat/pinger.py", line 93, in _pingAsync File "xvmstat/pinger.py", line 131, in _pingAsyncWindows File "scripts/common/Lib/subprocess.py", line 614, in __init__ File "scripts/common/Lib/subprocess.py", line 722, in _get_handles File "scripts/common/Lib/subprocess.py", line 761, in _make_inheritableWindowsError: [Error 6] The handle is invalid Есть / Будет ли возможность продолжать использовать .BAT файл, но видеть ping ? @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted October 11, 2013 Share Posted October 11, 2013 (edited) "D:\Program Files\Games\World of Tanks\WorldOfTanks.exe" по идее должно быть без разницы, но попробуй запускать танки так: cmd /c WorldOfTanks.exe Edited October 11, 2013 by sirmax @ Quote Link to comment Short link Share on other sites More sharing options...
seriych Posted October 11, 2013 Share Posted October 11, 2013 (edited) copy "USERPROFILE%\My Documents\WorldOfTanks\preferences_eu.xml" %APPDATA%\wargaming.net\WorldOfTanks\preferences.xml cd "D:\Program Files\Games\World of Tanks" "D:\Program Files\Games\World of Tanks\WorldOfTanks.exe" copy %APPDATA%\wargaming.net\WorldOfTanks\preferences.xml "USERPROFILE%\My Documents\WorldOfTanks\preferences_eu.xml" тут половина вообще не работает, а остальное не работает в определенных случаях. copy /y "%USERPROFILE%\My Documents\WorldOfTanks\preferences_eu.xml" "%APPDATA%\wargaming.net\WorldOfTanks\preferences.xml" cd /d "D:\Program Files\Games\World of Tanks" start /wait "" "D:\Program Files\Games\World of Tanks\WorldOfTanks.exe" copy /y "%APPDATA%\wargaming.net\WorldOfTanks\preferences.xml" "%USERPROFILE%\My Documents\WorldOfTanks\preferences_eu.xml" А лучше так: @echo off copy /y "%USERPROFILE%\My Documents\WorldOfTanks\preferences_eu.xml" "%APPDATA%\wargaming.net\WorldOfTanks\preferences.xml" :restart cd /d "D:\Program Files\Games\World of Tanks" start /wait "" "D:\Program Files\Games\World of Tanks\WorldOfTanks.exe" IF %ERRORLEVEL% EQU 0 ( copy /y "%APPDATA%\wargaming.net\WorldOfTanks\preferences.xml" "%USERPROFILE%\My Documents\WorldOfTanks\preferences_eu.xml" ) ELSE ( goto restart ) Тогда при вылете игры игра будет просто перезапускаться Edited October 11, 2013 by seriych @ Quote Link to comment Short link Share on other sites More sharing options...
Progrev_T Posted October 13, 2013 Share Posted October 13, 2013 не работает пинг кластеров в ангаре У меня та же беда и cmd /c WorldOfTanks.exe не помогает. Проблема началась только в этом патче, в прошлом небыло, там танки запускались через файл xvm-stat. cmd /c WorldOfTanks.exexcopy %APPDATA%\wargaming.net\WorldOfTanks\battle_results\*.dat "d:\Games\3D\World_of_Tanks\replays\" /s /c /y @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.