看板DIABLO
感謝大大分享多開的執行檔
但我在執行的時候失敗了
由於沒有程式編寫的經驗
可否請大大確認一下我格式是否有錯誤
echo off
set folder="C:\Program Files (x86)\Diablo II Resurrected"
set handle=C:\Program Files (x86)\handle.exe
set account="C:\Program Files (x86)\Diablo II Resurrected"
[email protected](空格+密碼) <-此處未分行
="C:\Program Files (x86)\Diablo II Resurrected"
[email protected](空格+密碼)
="C:\Program Files (x86)\Diablo II Resurrected"
[email protected](空格+密碼)
(以下直接貼上複製+貼上您的程式碼 完全沒有更動/換行)
set /p region=Select the server(KR/us/eu): || SET "region=kr"
if %region% EQU kr goto startd2r
if %region% EQU KR SET "region=kr" && goto startd2r
if %region% EQU us goto startd2r
if %region% EQU US SET "region=us" && goto startd2r
if %region% EQU eu goto startd2r
if %region% EQU EU SET "region=eu" && goto startd2r
:startd2r
for /f "tokens=1,2" %%x in (%account%) do (
START "" /D %folder% D2R.exe -username %%x -password %%y -address
%region%.actual.battle.net %*
timeout 5 > NUL
for /f "tokens=3,6 delims= " %%a in ('%handle% -a "Check For Other
Instances" -nobanner') do %handle% -p %%a -c %%
感謝您花時間判讀
--
※ 批踢踢實業坊(ptt.cc), 來自: 1.161.32.183 (臺灣)※ 文章網址: https://www.ptt.cc/bbs/DIABLO/M.1711615772.A.15D.html
→ a849070 : 你的set account就有問題了...可以再看一下文章 03/28 17:11
→ a849070 : 而且你這篇是不是要站內信... 03/28 17:12
推 a22028504 : 連第一個遊戲都開不起來嗎 03/28 17:33
推 a22028504 : Set account 那邊好像跟p大寫的不太一樣… 03/28 17:39