HarpyWar / nfsuserver

Server emulator for the game Need For Speed: Underground
100 stars 28 forks source link

Unable to configure hosts file on Windows 11 #17

Closed sametkrt closed 1 hour ago

sametkrt commented 2 hours ago

Issue: Screenshot 2024-11-01 180845

How to fix this issue?

Can anyone please share how hosts file look like for a given server?

sametkrt commented 2 hours ago

@Pelorojo @HarpyWar @ian-travers @NicknineTheEagle

NicknineTheEagle commented 2 hours ago

Did you seriously just blindly ping everyone whose name you saw in the repository? Have you got no manners?

Pelorojo commented 2 hours ago

@sametkrt hosts file is located at %windir%\system32\drivers\etc and the line for nfsuclient always looks like ps2nfs04.ea.com 127.0.0.1 to fix the problem there are several solutions: a) you edit the hosts file yourself by adding this line and ignore this warning b) you start nfsuclient as administrator so it can edit the hosts file for you without any warnings c) use kickstart netplay launcher instead -> http://nfsa.ca/f7903

sametkrt commented 1 hour ago

Cool this works thanks a lot @Pelorojo

Note: hosts file cannot be overridden even when you run the app with admin privileges.