Comments (10)
@shupershuff
Hi thanks for the quick response. This is a wonderful project btw.
I open the project with admin access using VS code and execute the script within a powershell terminal. The reason I open it with visual studio code is to be able to see and edit all the file.
- No error messages appear within the script or window powershell window.
- The D2 window that I switch away from closes when I switch to another window. Example, I open both instances at the same time. Select my Sorc on my primary account and create a game. Select my Barb and join the same game. Then go to wp. When I switch to my sorc again, the barb at the leaves the game and window closes. I have to press "a" to reopen D2 and connect again. It doesn't go to single player screen.
- handle64.exe is located in the handle directory. I didn't copy handle.exe. Should I copy the 3 that come when downloading handle?
- I am not using any mods.
I hope this clarifies everything. Let me know if you need any more details.
from diablo2rloader.
Firstly and most importantly, you mentioned you run the script from Visual Studio instead of PowerShell. Have you tried launching it from the desktop icon instead?
If that doesn't fix it, a few more questions:
- Does the script show any error message when this happens?
- When you say primary account closes, does the Window itself fully close (leaving only one instance running) OR do both instances stay open with one instance reverting to the single player screen?
- Have you placed handle.exe in the appropriate directory?
- Are you using any mods?
from diablo2rloader.
- Before trying this script I followed the simple process explorer routine, without success.
You mention you didn't get much success with old method. Did you experience the same behaviour here with one instance randomly shutting down?
It's certainly and odd issue but it's possible there isn't enough RAM and/or VRAM to run an additional instance and the extra instance is crashing.
Can you please list your PC specs?
Something else to try too, try launching the games in windowed mode instead of full screen and switching between them to see if one still crashes.
from diablo2rloader.
I did try the old method with process explorer and it did not work. Same behaviour I currently am experiencing.
I use full screen mode.
Here are my specs:
Processor 11th Gen Intel(R) Core(TM) i7-11700F @ 2.50GHz 2.50 GHz
Installed RAM 16.0 GB (15.7 GB usable)
System type 64-bit operating system, x64-based processor
GPU NVIDIA GeForce RTX 3070 8GB
OS Windows 11
I tried optimizing all my settings for performance. Making windows 1080p, ultra performance, low graphics settings.
I managed to BO and teleport, but then switching back to barb, it closed my other window.
from diablo2rloader.
I commented out the lines that clear the host to keep track of the handles being killed. So I know that the script that handled killing check instances works.
from diablo2rloader.
What is your RAM utilisation with one instance running?
from diablo2rloader.
Have you had much luck with this since? It kind of seems like you're maxing out on memory usage and it's causing an instance to crash.
What other apps are running that can be closed? Have you tried just running in PowerShell instead of Visual Studio (it might reduce some RAM usage).
Also have you set a frame rate cap within the games video settings?
on that note, did you try changing the settings to that the game is in full screen (windowed) instead of full screen?
Some other thoughts, check that your GPU drivers are up to date and perhaps check if there is anything in Event Viewer that would suggest the cause of the crash.
from diablo2rloader.
Hey @shupershuff
Sorry for the delayed response. I think you might be right. I have not had any success getting my ram seems to alway be capped when I am playing with both windows. I have mostly given up at this point. I would think that 16gb would be more than enough ram, but it always appears to be at around 16gb of usage.
I had some success make even smaller windows and capping the frames at 30fps, I can manage to go for about a minute before it crashes. With this window size, it's unplayable. I have a 49 in ultra wide, not sure if the massive monitor is what causes such high ram usage.
Drivers, OS, and bios are all up to date.
from diablo2rloader.
I think RAM is possibly your issue, if you can close any memory hogging apps prior to running you might have better luck.
I recently just upgraded from 32GB to 64GB as with 3 instances I would start maxing out. I could run 4 instances on 32GB but had similar issues where after a while a client would stutter or just crash. 16GB isn't much by today's standards so perhaps it's time for an upgrade :)
I don't believe larger resolution would impact RAM usage, but it will impact on VRAM (which can also cause crashes when it's maxed out).
from diablo2rloader.
@shupershuff
Just received some new ram. With 2 instances, it uses > 25gb of ram consistently.
from diablo2rloader.
Related Issues (20)
- Issue with Time Played displaying incorrectly HOT 2
- Prevent Alt key from being recognised as an input HOT 2
- Not an issue but to say thank you! HOT 1
- Worked the first time when loading one character HOT 2
- Is there a set way to open a windowed account on a specific spot? HOT 1
- Issue with windows 11? HOT 13
- Feature Idea, Voice Alarms for DClone HOT 3
- Function to kill open handles HOT 3
- Doesn't work on Asia server HOT 2
- Issues with the Asia server HOT 6
- Issue switching to any realm besides NA HOT 11
- Issue with Region display HOT 1
- Tune up ingame settings.json a little bit. HOT 12
- How to kill a cow king? HOT 1
- TZ and Dclone updates fail with d2emu.com HOT 2
- Is this out of date? HOT 3
- Unable to connect to battle net HOT 10
- Error page to get token doesn't work; here's an alternative HOT 9
- Accounts.csv has duplicate IDs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diablo2rloader.