d2jsp
Log InRegister
d2jsp Forums > Diablo II > Diablo 2: Resurrected > D2:R Discussion > Easy D2r Multiclient Method
1235Next
Add Reply New Topic New Poll
Member
Posts: 124,724
Joined: May 2 2009
Gold: 92,887.69
Nov 18 2023 11:06pm

Step 1:

Go to your D2R folder and create a shortcut of D2R.exe

Go to Properties


Add the line below to the end of the Target line of the shortcut (press spacebar once)

-username "youremail" -password "yourpassword" -realm "yourrealm"



Edit in your email, password, and your realm (americas or europe). I dont think Asia is currently working with this method.

Complete this process for each account you want to load

Step 2:

You can use Process Explorer to kill the handle
or you can use this Powershell script to do it much faster

Download handle from the official microsoft site here: https://learn.microsoft.com/en-us/sysinternals/downloads/handle
put handle64 in a new folder with the following Powershell script

Open a new text document, copy the following code and save it as D2Rhandle_del.ps1
Then just right click D2Rhandle_del.ps1 and Run with Powershell


Code
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit }

& "$PSScriptRoot\handle64.exe" -accepteula -a -p D2R.exe > $PSScriptRoot\d2r_handles.txt

$proc_id_populated = ""
$handle_id_populated = ""

foreach($line in Get-Content $PSScriptRoot\d2r_handles.txt) {


$proc_id = $line | Select-String -Pattern '^D2R.exe pid\: (?<g1>.+) ' | %{$_.Matches.Groups[1].value}
if ($proc_id)
{
$proc_id_populated = $proc_id
}
$handle_id = $line | Select-String -Pattern '^(?<g2>.+): Event.*DiabloII Check For Other Instances' | %{$_.Matches.Groups[1].value}
if ($handle_id)
{
$handle_id_populated = $handle_id
}

if($handle_id){

Write-Host "Closing" $proc_id_populated $handle_id_populated
& "$PSScriptRoot\handle64.exe" -p $proc_id_populated -c $handle_id_populated -y

}

}

read-host "Press ENTER to continue..."
Member
Posts: 19,309
Joined: Feb 24 2018
Gold: 9,765.50
Nov 18 2023 11:17pm
A for each loop for what I can do with just two mouse clicks?
Member
Posts: 9,460
Joined: Feb 17 2008
Gold: 55,947.77
Nov 19 2023 07:46am
Sounds interesting. I personnaly use the process explorer method.

Can other people confirm that code is safe from an IT perspective?

Also, is using that code bannable by a false positive on the anti-bot detection?

Edit: I heard that adding the "nosound" parameter helps to load faster?

I wish there was a parameter to skip D2R intro videos.

This post was edited by DarthLeader on Nov 19 2023 07:47am
Member
Posts: 7,447
Joined: Jun 15 2021
Gold: 1,780.00
Nov 19 2023 08:09am
hmmm
this seems better than the current method I use, because I dont have to install x times.
Quote (DarthLeader @ 19 Nov 2023 14:46)
Sounds interesting. I personnaly use the process explorer method.

Can other people confirm that code is safe from an IT perspective?

Also, is using that code bannable by a false positive on the anti-bot detection?

Edit: I heard that adding the "nosound" parameter helps to load faster?

I wish there was a parameter to skip D2R intro videos.


I dont know, but it does nothing with the running game itself, just helps with starting up as you can see....
Member
Posts: 6,559
Joined: Oct 2 2021
Gold: 8,509.04
Nov 19 2023 10:57am
Awesome!!
Thanks for sharing this!
Member
Posts: 5,065
Joined: Nov 10 2012
Gold: 150.00
Nov 19 2023 04:26pm
Quote (DarthLeader @ Nov 19 2023 02:46pm)
Also, is using that code bannable by a false positive on the anti-bot detection?

Automating the process kill isn't a problem for Blizzard, most probably because what's automated isn't their code at all.
I haven't heard of a single player being banned for that, and it's been used by a lot of folks for a very long time, including myself.
Member
Posts: 46,717
Joined: Jun 6 2015
Gold: 42,128.67
Nov 19 2023 04:30pm
KIDS GOATED
Member
Posts: 24,998
Joined: Jun 18 2016
Gold: 9,669.69
Nov 19 2023 04:30pm
Sounds like a hack

Just plug 2nd computer and run that
Member
Posts: 11,083
Joined: Jul 20 2015
Gold: 143,829.62
Nov 19 2023 04:32pm
I tried this method and now all my items are gone
beware
Member
Posts: 26,005
Joined: Apr 21 2006
Gold: 3,001.67
Nov 19 2023 05:29pm
Quote (fearoftdark @ Nov 19 2023 05:30pm)
Sounds like a hack

Just plug 2nd computer and run that


Quote (escroto @ Nov 19 2023 05:32pm)
I tried this method and now all my items are gone
beware


Yeah don’t want to lose my 30/15/2os Coa!!!! 1K Fg right there lol

I rather get a cheap 800 dolloars Laptop n run second D2R after 2 years of saving up, only 40 bucks per month saved for 2 years will get 5 year entertainment out of it.

48x Char slots are more than enough for hoarding :D

This post was edited by jaybomber on Nov 19 2023 05:29pm
Go Back To D2:R Discussion Topic List
1235Next
Add Reply New Topic New Poll