Comments (9)
It's weird, on my system I don't run it as admin and returns proper results, did you change/disable the UAC settings or run the game as admin by any chance?
from bnetlauncher.
Just saw your commits you made 3 days ago. It seems you already know about it. I tried reinstalling the Battle.Net client, it didn't help. I also tried cloning your code, building it and using it instead (to reflect your recent changes).
from bnetlauncher.
I have Overwatch and it's currently working with bnetlauncher when i launch it, with or without battle.net client running.
As for your test,
"If you did not use the Start method to start a process, the StartInfo property does not reflect the parameters used to start the process. For example, if you use GetProcesses to get an array of processes running on the computer, the StartInfo property of each Process does not contain the original file name or arguments used to start the process." in Process.StartInfo documentation
That is the reason why I use System.Management API to retrieve the StartInfo, should have probably added a comment about it.
As remarked in the GetProcessStartInfoById it does sometime fail which is why I have retry code but I have never had it return empty values, so at least locally I can't seem to reproduce the issue, I could try fixing it by adding a check for empty and retry but would prefer to try and figure out what's going on before I "fix it".
from bnetlauncher.
Could you enable the log file and send it over?
from bnetlauncher.
The log: http://pastebin.com/7XFDtvhU
from bnetlauncher.
I'll try debugging and finding the cause. I know there isn't much you can do about it - seems I'm the only one having the issue.
from bnetlauncher.
So I debugged it and found the problem. The searcher.Get()
was returning an empty collection, so it wasn't throwing any exception. It just skipped the foreach
loop and continued trying.
I thought - maybe it was a permission problem. So I tried setting bnetlauncher.exe
to always run as an administrator and it works now.
I can see though, that you have <requestedExecutionLevel level="asInvoker" uiAccess="false" />
in app.manifest
, so it should require the permission automatically.
So I assume my OS is acting weird and it is not your app's problem.
Thanks for this great app and good luck with future development. And sorry that I bothered you with this without even trying such a basic thing like running it as an administrator.
from bnetlauncher.
Yes, my UAC is set to never notify and I have set Overwatch to run as an administrator. That was exactly the problem.
from bnetlauncher.
I'll try and see if there's any way to fix it or at the very least provide some warnings about it, thanks for all the testing and debugging.
from bnetlauncher.
Related Issues (20)
- WoW Classic not launching HOT 1
- WoW Classic TBC HOT 9
- Crash Bandicoot 4 doesn't launch. HOT 12
- CoD: MW 2019 not launching properly HOT 2
- Cannot launch warzone with bnetlauncher. HOT 2
- Add support for Blizzard Arcade Collection HOT 3
- Add support for Call of Duty: Vanguard HOT 1
- Add support for SoM version of Classic WOW HOT 5
- Add support for Classic World of Warcraft HOT 3
- A way to launch overwatch 2 beta HOT 5
- Add support for Diablo Immortal HOT 2
- Breaks XInput in Overwatch HOT 7
- Not Launching Overwatch 2 HOT 32
- Add support for COD Modern Warfare 2 (CODhq) HOT 5
- Modern Warfare II does not launch properly HOT 4
- Vanguard launches with error HOT 3
- Steam Deck support HOT 5
- Spelling error in program.cs
- Diablo 4 Support HOT 1
- Error: Client not found & steam overlay not working
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 bnetlauncher.