DarkMultiPlayer Client

DarkMultiPlayer Client

38.8k Downloads

Add user friendly message for windows server admin requirement

JoshBlake opened this issue ยท 1 comments

commented

Current on Windows the server requires admin elevation. Many users are lost when they don't understand this and can't figure out what the log error means. We should add a user friendly message.

Suggest something like the accepted answer here:
http://stackoverflow.com/a/1987758

Though maybe want to check for Access is Denied message or innerexception, and only show the netsh guidance when the user is on Windows. (Need OS detection.)

Another option in addition (after Windows detection) would be automatically relaunching the server process with elevation, like so:
http://stackoverflow.com/a/4019678

commented

Closed. Implemented via 572a38a.