The World of Layonara

The Layonara Community => General Discussion => Topic started by: Script Wrecked on April 20, 2012, 04:25:53 am

Title: NWN Master Server
Post by: Script Wrecked on April 20, 2012, 04:25:53 am
If you are tired of waiting for NWN authorising your player name against a Master Server (http://social.bioware.com/forum/1/topic/199/index/8398695/1) which (still) isn't there, you can add the following line to your "hosts" file:

Quote
0.0.0.0      nwmaster.bioware.com



The hosts (http://en.wikipedia.org/wiki/Hosts_file) file is found here:

[INDENT]
[NOPARSE]Windows 95/98/Me|c:\\windows\\hosts
Windows XP/Vista/7|c:\\windows\\system32\\drivers\\etc\\hosts
Mac OS X 10.0 – 10.1.5|(via NetInfo or niload)
Mac OS X 10.2 and newer|/etc/hosts
[/NOPARSE][/TABLE][/INDENT]


You will still have to click to acknowledge that it couldn't find the Master Server, but at least you won't have to wait for it.
Title: Re: NWN Master Server
Post by: davidhoff on April 20, 2012, 05:42:17 am
Thanks Script,

I have windows xp and after c:\\windows\\system32\\drivers\\etc, I don't have "hosts"; I have "services", "networks" and "protocol".  So, not sure what to do now.

Davidhoff
Title: Re: NWN Master Server
Post by: Xaltotun on April 20, 2012, 07:05:18 am
Thanks Script - this is a real help.

There are some issues with Windows 7 and I presume Vista too since they work the same way.

Although I could edit the file, it would not save it as it was already open (windows 7 on my machine). It also would not save it with a new name in the \\etc folder, so my solution was to:


This worked and I get the result Script says I should.

And ps, the /etc is actually a folder in Windows 7 and not a comment by Script to suggest etc, etc, sort of thing. :)
Title: Re: NWN Master Server
Post by: Script Wrecked on April 20, 2012, 08:03:44 am
Quote from: davidhoff
Thanks Script,

I have windows xp and after [NOPARSE]c:\\windows\\system32\\drivers\\etc[/NOPARSE], I don't have "hosts"; I have "services", "networks" and "protocol".  So, not sure what to do now.

Davidhoff


Create the hosts file in the folder. Its a plain text file. Make sure that when you save it, it has no file extension, e.g., no ".txt" or similar.
Title: Re: NWN Master Server
Post by: miltonyorkcastle on April 20, 2012, 09:14:24 am
This is very handy. Stickied.
Title: Re: NWN Master Server
Post by: Jilseponie Wyndon on April 20, 2012, 11:59:08 am
This is what I see: [Host Folder]

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost


Where do I add this line?  And do I put a # before it?
Title: Re: NWN Master Server
Post by: davidhoff on April 20, 2012, 01:01:12 pm
Quote
Create the hosts file in the folder. Its a plain text file. Make sure that when you save it, it has no file extension, e.g., no ".txt" or similar.


Thanks for the help Script.  I created a Miscrosoft Word document called "HOSTS", saved it in the ETC folder and in the body I wrote the info you suggested "0.0.0.0 nwmaster.bioware.com".  Then I changed to name to remove the .doc at the end.  It didn't speed up my NWN loading time...still  have to wait.  What did I mess up?  Do I need to do a restart?

Thanks again

EDIT: Ahhhh, ok, I got it to work now.  I had to change it to a "plain text file".  Now it works to skip the wait time on load.  Muchas Gracias.
Title: Re: NWN Master Server
Post by: Masterjack on April 20, 2012, 02:14:57 pm
Quote from: Jilseponie Wyndon
This is what I see: [Host Folder]

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost


Where do I add this line?  And do I put a # before it?


I had the same thing. Just add the line to the bottom and save. The # sign in front of each line tells the computer to ignore that line. By adding the line it gives it something to do.

I had to make sure I had admin rights in order to save the file.

P.S. I was using Windows 7 64 bit.
Title: Re: NWN Master Server
Post by: Dorax Windsmith on April 20, 2012, 09:03:56 pm
How do you make it a "plain text file"?  I only see 2 options

1) text documents (*.txt)
or
2) All Files
Title: Re: NWN Master Server
Post by: Script Wrecked on April 20, 2012, 09:32:15 pm
Quote from: Dorax Windsmith
How do you make it a "plain text file"?  I only see 2 options

1) text documents (*.txt)
or
2) All Files


Are you creating the file, or editing an existing file? Which application are you using to edit the file?
Title: Re: NWN Master Server
Post by: davidhoff on April 20, 2012, 11:01:58 pm
Quote
How do you make it a "plain text file"? I only see 2 options


I think what I did is I created a file in microsoft word first and didn't worry about it being "plain text" file.  Then when that didn't work, I think I either copied it or just open it and performed a "save as" action.  At the bottom of the save screen it had a drop-down list for "file type" (mine had about 10+ options for file type), and I chose plain text.  Hope that helps.
Title: Re: NWN Master Server
Post by: willhoff on April 21, 2012, 01:04:45 am
Thanks Script,

I run wind xp and clicked on the "Hosts" file.  I got a pop window asking what program I wanted to open the file in and clicked on microsoft word.  All I saw was a single sentence and the rest of the page blank.  I pasted your formula "0.0.0.0 nwmaster.bioware.com" the next line under the existing sentence.  I clicked save under the file options.  I got a pop window that asked me if I wanted to save as a text file and I clicked yes.  Closed out the screens and it worked.
Title: Re: NWN Master Server
Post by: Xaltotun on April 21, 2012, 04:23:13 am
For anyone struggling to edit or create the file Script talks about, I would advise using erither Notepad or Notepad 2 (for Windows based machines only) as they create the type of file you need. When you save the file, make sure you DO NOT save any extension with it, as the file needs to be called hosts and not hosts.txt, hosts.doc or anything else with a suffix.
Title: Re: NWN Master Server
Post by: Jilseponie Wyndon on April 21, 2012, 10:18:16 am
I made the changes and unfortunately ... nothing changed. I still have to wait.  :(
Title: Re: NWN Master Server
Post by: Script Wrecked on April 21, 2012, 11:43:42 am
Quote from: Jilseponie Wyndon
I made the changes and unfortunately ... nothing changed. I still have to wait.  :(


Your hosts file would now look like this:

Code: [Select]
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
0.0.0.0 nwmaster.bioware.com


It should be in text format, with no extension. I am a little bit thrown by "[Host Folder]" in your earlier post.
Title: Re: NWN Master Server
Post by: Jilseponie Wyndon on April 21, 2012, 12:13:05 pm
Folder ... meant file.  Not really much of a computer tech. Sorry.  I used Notepad and Microsoft Word.  Tried Plain Text and that still didn't work.  Don't know how to make it without the .txt extension.  Can you make one whereas you can send it to me? [In a Bones McCoy Voice] D*mmit Jim, I'm a Daycare Provider/Tax preparer, not a computer tech!  :D
Title: Re: NWN Master Server
Post by: Dorax Windsmith on April 21, 2012, 12:48:29 pm
I've tried editing the file similar to what Xaltotun did and creating a new file.  I've used notepad and MS Word.  I don't see the option to "plain text file" with notepad but I did see that option with the save as command when using MS Word...the problem with that was when I dragged my "plain text file" into the etc folder the icon doesn't look like the other files in there which can't be edited (and I already deleted the original hosts file).  Even without the .txt extension, when right-clicking and viewing the file properties, it's still saving as a .txt file.  I'm using MS 7 Home edition....maybe it's my operating system?  I'm logged in as the administrator, but nothing seems to be working.

Any other suggestions or ideas?
Title: Re: NWN Master Server
Post by: Aphel on April 21, 2012, 01:41:41 pm
I'm using Windows 7 Home Premium and it worked perfectly for me when using Notepad++
Title: Re: NWN Master Server
Post by: Chazzler on April 21, 2012, 07:51:01 pm
You can select the file, right click with your mouse, select Rename and then press the arrow to the right button, which takes you to the end of the name of the file, then tap the backspace until .txt is removed from the name of the file.

If you can't for some reason see the .txt suffix, you need to (in Windows 7, and most other more modern Windows OS'), click on the folder's top left corner's Organize button (might be that name, mine is finnish in language, so there might be slight differences), from there select Folder And Search Options -> from the upper top side of three options, select Show, scroll down to the bottom, and you'll see a checkbox with "Hide the suffixes of known file types" or somesuch, on top of the selection of "Hidden Files And Folders". Uncheck the box and you will be able to see the .xyz .txt etc suffixes of all your files.
Title: Re: NWN Master Server
Post by: Dorax Windsmith on April 23, 2012, 01:15:32 am
Success!  Thanks Chazzler....after changing that folder option, I was able to use the right-click/properties for the hosts file and delete the extension which worked!  Thanks for bringing this up Script Wrecked....you wouldn't think that the 5 seconds or so is that big a deal, but not waiting for that to process is really nice.
Title: Re: NWN Master Server
Post by: Jilseponie Wyndon on April 23, 2012, 10:18:04 am
Yes, thank you all, its working fine now :)
Title: Dear All, If, like me, you're
Post by: Xaltotun on November 09, 2014, 07:13:51 am
Dear All,
 
If, like me, you're a little peeved by the delay to be told you can't connect to Bioware's server when trying to log into Layo following Bioware's removal of their service, then here's a solution that works for me on a Windows based machine and following on from Scriptwrecked's first post on the topic:
 
First of all, find the hosts file on your Windows PC: it is usually stored in the folder C:\\Windows\\System32\\drivers\\etc
 
Open the file in Notepad or Notepad 2 or any other text editor and scroll to the bottom of the file. You should see several lines that start with a #
 
Go to the end of this file and start a new line then add these lines to the file (and you may already have the first line as per Script's first post)...
 
0.0.0.0 nwmaster.bioware.com
0.0.0.0 nwn.master.gamespy.com
0.0.0.0 peerchat.gamespy.com
 
Save the file, making sure you DO NOT add an extension to the file such as .txt, .doc or anything else.
If the file won't save to the original folder, save it to your desktop, without an extension, and then copy and paste the file on the desktop to the original folder and overwrite the original file. You may have to provide administrator rights to do this in later versions of Windows.
 
Now when you try to play Layo, you will still get the message saying Connection failed, try another Nick, but it appears right away and you can happily click Cancel and then connect to Layo.
 
Happy play
Title: Xalt thanks a ton!  Worked
Post by: davidhoff on November 10, 2014, 12:15:30 am

Xalt thanks a ton!  Worked like a charm and thanks for taking the time to share