วันอังคารที่ 6 ธันวาคม พ.ศ. 2559

GW2-MultiBox_Run_Auto_5_ID .BAT File

@echo off

set "_mail1=firstaccount@login.com"
set "_PW1=yourpassword"

set "_mail2=secondaccount@login.com"
set "_PW2=yourpassword"

set "_mail3=thirdaccount@login.com"
set "_PW3=yourpassword"

set "_mail4=fourthaccount@login.com"
set "_PW4=yourpassword"

set "_mail5=fifthaccount@login.com"
set "_PW5=yourpassword"


set "_user1=G01"
set "_user2=G02"
set "_user3=G03"
set "_user4=G04"
set "_user5=G05"


rem don't change anything from here(ห้ามแก้ไขอะไรด้านล่างนี้)
set "_handle=C:\\"Guild Wars 2\Multi Box\"\Handle\handle.exe"
set "_GW=C:\Guild Wars 2\Gw2-64.exe"
echo **************************************************************************
echo *                                                                        *
echo *                       Credit : The Legend                              *
echo *                                                                        *
echo *                       Guildwars2 Thailand                              *
echo *                                                                        *
echo *    https://technet.microsoft.com/en-gb/sysinternals/bb896655.aspx      *
echo **************************************************************************
runas /savecred /user:%_user1% "%_GW% -image"
ping -n 15 127.0.0.1 > nul

runas /savecred /user:%_user2% "%_GW% -image"
ping -n 15 127.0.0.1 > nul

runas /savecred /user:%_user3% "%_GW% -image"
ping -n 15 127.0.0.1 > nul

runas /savecred /user:%_user4% "%_GW% -image"
ping -n 15 127.0.0.1 > nul

runas /savecred /user:%_user5% "%_GW% -image"
ping -n 15 127.0.0.1 > nul

for /F "tokens=3,6 delims=: " %%I in ('%_handle% -accepteula -a "AN-Mutex-Window-Guild Wars 2"') do if not "%%J" == "" %_handle% -accepteula -c %%J -y -p %%I
ping -n 2 127.0.0.1 > nul
runas /savecred /user:%_user1% "%_GW% -email %_mail1% -password \"%_PW1%\" -autologin -nopatchui -maploadinfo -shareArchive -windowed"
ping -n 5 127.0.0.1 > nul

for /F "tokens=3,6 delims=: " %%I in ('%_handle% -accepteula -a "AN-Mutex-Window-Guild Wars 2"') do if not "%%J" == "" %_handle% -accepteula -c %%J -y -p %%I
ping -n 2 127.0.0.1 > nul
runas /savecred /user:%_user2% "%_GW% -email %_mail2% -password \"%_PW2%\" -autologin -nopatchui -maploadinfo -shareArchive -windowed"
ping -n 5 127.0.0.1 > nul

for /F "tokens=3,6 delims=: " %%I in ('%_handle% -accepteula -a "AN-Mutex-Window-Guild Wars 2"') do if not "%%J" == "" %_handle% -accepteula -c %%J -y -p %%I
ping -n 2 127.0.0.1 > nul
runas /savecred /user:%_user3% "%_GW% -email %_mail3% -password \"%_PW3%\" -autologin -nopatchui -maploadinfo -shareArchive -windowed"
ping -n 5 127.0.0.1 > nul

for /F "tokens=3,6 delims=: " %%I in ('%_handle% -accepteula -a "AN-Mutex-Window-Guild Wars 2"') do if not "%%J" == "" %_handle% -accepteula -c %%J -y -p %%I
ping -n 2 127.0.0.1 > nul
runas /savecred /user:%_user4% "%_GW% -email %_mail4% -password \"%_PW4%\" -autologin -nopatchui -maploadinfo -shareArchive -windowed"
ping -n 5 127.0.0.1 > nul

for /F "tokens=3,6 delims=: " %%I in ('%_handle% -accepteula -a "AN-Mutex-Window-Guild Wars 2"') do if not "%%J" == "" %_handle% -accepteula -c %%J -y -p %%I
ping -n 2 127.0.0.1 > nul
runas /savecred /user:%_user5% "%_GW% -email %_mail5% -password \"%_PW5%\" -autologin -nopatchui -maploadinfo -shareArchive -windowed"
ping -n 5 127.0.0.1 > nul

echo Done

ไม่มีความคิดเห็น:

แสดงความคิดเห็น