Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct_SNP Crash if Not Launched As Admin #877

Open
NiteKat opened this issue Jul 11, 2021 · 1 comment
Open

Direct_SNP Crash if Not Launched As Admin #877

NiteKat opened this issue Jul 11, 2021 · 1 comment

Comments

@NiteKat
Copy link

NiteKat commented Jul 11, 2021

If you do not run Chaos Launcher as Admin, Local PC multiplayer option will crash the game.

To reproduce:
1.) Run Chaos Launcher as normal, without Admin. Can be multi-instance or normal launcher.
2.) Run with BWAPI injected. Can be either release or debug.
3.) Select Multiplayer menu.
4.) Select Local PC.
5.) Click Cancel or OK. Both buttons will crash the game

Attached is a crashlog with personal information masked:
crashlog.txt

The error message given is "The instruction at 0x68DF3C2F referenced memory at 0x00000000. The memory could not be written." I truncated some leading 0s off the numbers.

@heinermann
Copy link
Member

The storm call being made is SNetEnumGamesEx which makes a call to spiUnlockGameList. The only call it can make from there is LocalPC::requestAds.

I'm not sure what could be crashing it from there but this code could really use some modernization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants