Server Totals
M'Chek - (4)
Wilderness - (1)
Elysia - (1)
Ferrell - (0)
Le'Or - (0)
Deglos - (0)
Visimontium - (0)
Underdark - (0)
Mikona - (0)
Total players: 6
Gallery

Links Menu

Ubuntu question

Moderators: Nighthawk4, Dungeon Masters

Ubuntu question

PostAuthor: plap33 » Wed Sep 09, 2009 5:27 am

Hello.

I recently setup a computer with Ubuntu Linux and loaded NWN on it. Everything seems to work fine except for two things that I noticed so far. I crash when I enter the AKN in Visimontium ~most~ of the time I try. At first I thought maybe I didn't have all the files moved over, so I fiddled with it and re-did the ./fixinstall command and it worked, I was able to go in and out of the AKN a few times. When I tried to go into the AKN the next time I played "crash!" and has now ever since.

The other problem is, I want to have a friend play on my Windows machine while I play on my Linux machine, but I crash whenever I try and have them both on at the same time. I have two different accounts, one install is Platinum the other is Diamond with different codes. I don't think it's my network, because I can log in with two Windows machines, just not a Windows and a LInux. I noticed that when the Linux machine crashes, the character I was playing stays stuck on the server I was on. I can even log in the same character and see a copy of it.

I hope I am making sense. I am just a N00b13 trying to learn not to be. Can anyone help me...please!?

plap33
Platinum Lifer
 
Posts: 148
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Re: Ubuntu question

PostAuthor: Darkfire » Wed Sep 09, 2009 5:34 am

For your logging on at the same time issue:


Find your directory file for NWN on ubuntu, and open up the nwnplayer.ini file. On Windows it is (by default) located in C:\NeverwinterNights\NWN\

Locate the ' Client Port=51## '

Make sure the two numbers are different for each user (your friends and yours), ie:

Client Port=5121
Client Port=5122
CoEMF :devil: :feuer:
WrathOG777: This is a roleplaying game. There is no such thing as winning or losing. Only playing.
Player of Dameon Nepirtas
User avatar
Darkfire
Major DM
Major DM
 
Posts: 13684
Images: 3
Joined: Sat Feb 12, 2005 4:50 pm
Location: Missouri
Timezone: CST (-5 GMT)

Re: Ubuntu question

PostAuthor: plap33 » Wed Sep 09, 2009 5:51 am

Thank you, that did the trick on logging in simultaneously. Any ideas on why it crashes in the AKN?

Thanks again

plap33

plap33
Platinum Lifer
 
Posts: 148
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Re: Ubuntu question

PostAuthor: Darkfire » Wed Sep 09, 2009 5:53 am

My guesses would be corrupted haks, but they're just guesses.


Re download Ferrell HAKs here:

http://wiki.avlis.org/Needed_files#Ferrell




Try the CTP Generic Doors hak - 1.69 first. If it still doesn't work, then go ahead and try out the rest.
CoEMF :devil: :feuer:
WrathOG777: This is a roleplaying game. There is no such thing as winning or losing. Only playing.
Player of Dameon Nepirtas
User avatar
Darkfire
Major DM
Major DM
 
Posts: 13684
Images: 3
Joined: Sat Feb 12, 2005 4:50 pm
Location: Missouri
Timezone: CST (-5 GMT)

Re: Ubuntu question

PostAuthor: plap33 » Wed Sep 09, 2009 5:59 am

Thanks, I'll give that a try.

plap33
Platinum Lifer
 
Posts: 148
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Re: Ubuntu question

PostAuthor: plap33 » Wed Sep 09, 2009 6:31 am

I notice when I run ./fixinstall there are a number of hak, erf, and custom music files that are not getting their case changed. I suppose I'll have to change them manually?

plap33
Platinum Lifer
 
Posts: 148
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Re: Ubuntu question

PostAuthor: Darkfire » Wed Sep 09, 2009 6:34 am

plap33 wrote:I notice when I run ./fixinstall there are a number of hak, erf, and custom music files that are not getting their case changed. I suppose I'll have to change them manually?



Make a copy of the hak folder and use it as a backup. Start changing the files in the hak folder manually. If anything messes up, just delete the hak folder and rename the copied backup to haks to revert the changes. Won't hurt to try and see if that will help.

(I've only used Ubuntu just a few times, so until someone more knowledgeable about linux/unix stuff pops in, you'll have to settle with my help :P)
CoEMF :devil: :feuer:
WrathOG777: This is a roleplaying game. There is no such thing as winning or losing. Only playing.
Player of Dameon Nepirtas
User avatar
Darkfire
Major DM
Major DM
 
Posts: 13684
Images: 3
Joined: Sat Feb 12, 2005 4:50 pm
Location: Missouri
Timezone: CST (-5 GMT)

Re: Ubuntu question

PostAuthor: plap33 » Wed Sep 09, 2009 6:40 am

Your help has been great so far. I'll try what suggest.

Thanks again

plap33
Platinum Lifer
 
Posts: 148
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Re: Ubuntu question

PostAuthor: Marleh » Wed Sep 09, 2009 7:50 am

He's talking about the Visimontium AKN, not the Ferrell branch.

I remember that the Visimontium AKN had three of the glowing crystal placeables set in the floor in the entrance hall and that was causing a lot of people to crash. There was a thread about it in the AKN forums, but it looks like it's been deleted. Maybe check the AKN private boards about it?
Image Dame Moira Celyn (Windspar) Callindraes - Just a little bit...
User avatar
Marleh
QA Resource
 
Posts: 8649
Joined: Mon Jun 07, 2004 5:34 pm
Location: GMT -7

Re: Ubuntu question

PostAuthor: Darkfire » Wed Sep 09, 2009 7:52 am

Arg, I forgot about that by the time I got around to posting the Ubuntu fix.

Thanks
CoEMF :devil: :feuer:
WrathOG777: This is a roleplaying game. There is no such thing as winning or losing. Only playing.
Player of Dameon Nepirtas
User avatar
Darkfire
Major DM
Major DM
 
Posts: 13684
Images: 3
Joined: Sat Feb 12, 2005 4:50 pm
Location: Missouri
Timezone: CST (-5 GMT)

Re: Ubuntu question

PostAuthor: Pekarion » Wed Sep 09, 2009 8:56 am

So tasty
Image
Ice-T on D&D:
"Dungeons & Dragons is some of the most crazy, deep, deep, deep nerd shit ever invented. Every word you're saying is made up. Motherfuckers talk like Yoda.".
User avatar
Pekarion
Sage
 
Posts: 1760
Joined: Tue May 13, 2003 2:03 pm
Location: Norway
Timezone: GMT+1

Re: Ubuntu question

PostAuthor: tizmo » Mon Sep 14, 2009 3:38 am

If you find a solution to the crashing problem when entering the Visi AKN, I'd like to know. I'm running on Ubuntu and it takes several tries to get into the AKN successfully.

Thanks!

Tizmo

tizmo
CCC
CCC
 
Posts: 1359
Joined: Thu May 19, 2005 2:53 pm
Location: Washington, DC
Timezone: GMT-4

Re: Ubuntu question

PostAuthor: plap33 » Tue Sep 15, 2009 5:25 am

I still don't have it solved. If I run ./fixinstall it works like it should, but exiting the game, or shutting off the computer, I'm not sure which, does something to make it crash.

plap33
Platinum Lifer
 
Posts: 148
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Re: Ubuntu question

PostAuthor: Themicles » Tue Sep 15, 2009 5:57 am

The fix install has a quite specific list of files to go after.

I found a very handy script searching the internet. Used it on my newer Linux based server's hak directory to great effect.
BioWare could have just used this to cover everything. Copy and paste into your favorite text editor and save as a .sh then run it.
Code: Select all
#!/bin/sh
# lowerit
# convert all file names in the current directory to lower case
# only operates on plain files--does not change the name of directories
# will ask for verification before overwriting an existing file
for x in `ls`
  do
  if [ ! -f $x ]; then
    continue
    fi
  lc=`echo $x  | tr '[A-Z]' '[a-z]'`
  if [ $lc != $x ]; then
    mv -i $x $lc
  fi
  done

EDIT: Note that I've only used it on one directory at a time, from within that directory. It doesn't appear to be written in such a way as to support sub directories.
A wise man does not dwell on his past. He learns from it, he grows from it, and then moves ahead into his future.

And some wise words from a wise man. :P
Orleron wrote:You have to excuse Themi. Tact, diplomacy, and softness are not his best traits, but he does not mean anything by his writing. He's a nice guy. You just get used to it after a while because he doesn't seem to learn. :)
User avatar
Themicles
CoPaP Ambassador
 
Posts: 2677
Joined: Wed Jan 29, 2003 10:45 pm
Location: Wolverine Lake, MI

Re: Ubuntu question

PostAuthor: plap33 » Wed Sep 16, 2009 2:46 am

Thank you for posting this script. Let me just make sure I understand the proper way to run this script. I save the file in a text editor as lowerit.sh and move it into my hak file then in a terminal move to the hak directory and type this?

chmod +x lowerit.sh
sh ./lowerit.sh

Is this right?

plap33
Platinum Lifer
 
Posts: 148
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Re: Ubuntu question

PostAuthor: tizmo » Wed Sep 16, 2009 3:35 am

correct.

tizmo
CCC
CCC
 
Posts: 1359
Joined: Thu May 19, 2005 2:53 pm
Location: Washington, DC
Timezone: GMT-4

Re: Ubuntu question

PostAuthor: plap33 » Wed Sep 16, 2009 4:44 am

I ran the script in the hak directory, but I'm still experiencing intermittent crashes when entering the Visimontium AKN. Is there perhaps another folder I should also run it in?

thanks

plap33

plap33
Platinum Lifer
 
Posts: 148
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Re: Ubuntu question

PostAuthor: Gorgon » Wed Sep 16, 2009 5:49 am

Marleh wrote:He's talking about the Visimontium AKN, not the Ferrell branch.

I remember that the Visimontium AKN had three of the glowing crystal placeables set in the floor in the entrance hall and that was causing a lot of people to crash. There was a thread about it in the AKN forums, but it looks like it's been deleted. Maybe check the AKN private boards about it?


I had the same bug with those gems when they were partially sunk too far behind walls in another project. I still crash going in the AKN sometimes myself, though I haven't tried in a long while, so I don't think it is just your running Linux. I'm running XP btw. I can't remember exactly what I did to fix it after this much time, but I think I had to keep them not static. This means they can be blown up with AoE spells, so it kinda sucks, but they can always make them plot if they are really important. I'm pretty sure it was just the blue one that causes the problem, since I (of course) had to like blue gems at the time. I remember testing others as replacements, and them working fine, though I could have just been lucky.

If I have some free time in the next day or two, I'll run some experiments.
"God not only plays dice, he throws them in the corner where you can't see them."
-- Stephen William Hawking (b. 1942) --


Sprucing up ye olde NWN | Modifying nwn.ini and nwnplayer.ini | ~Rare Items Wanted~ | Stealth Modifiers
User avatar
Gorgon
QA's 2nd|CCC Mobster
QA's 2nd|CCC Mobster
 
Posts: 5866
Images: 38
Joined: Fri Oct 17, 2003 10:14 pm
Location: Vancouver, BC, Canada
Timezone: PDT -7

Re: Ubuntu question

PostAuthor: Themicles » Wed Sep 16, 2009 5:05 pm

Gorgon wrote:
Marleh wrote:He's talking about the Visimontium AKN, not the Ferrell branch.

I remember that the Visimontium AKN had three of the glowing crystal placeables set in the floor in the entrance hall and that was causing a lot of people to crash. There was a thread about it in the AKN forums, but it looks like it's been deleted. Maybe check the AKN private boards about it?


I had the same bug with those gems when they were partially sunk too far behind walls in another project. I still crash going in the AKN sometimes myself, though I haven't tried in a long while, so I don't think it is just your running Linux. I'm running XP btw. I can't remember exactly what I did to fix it after this much time, but I think I had to keep them not static. This means they can be blown up with AoE spells, so it kinda sucks, but they can always make them plot if they are really important. I'm pretty sure it was just the blue one that causes the problem, since I (of course) had to like blue gems at the time. I remember testing others as replacements, and them working fine, though I could have just been lucky.

If I have some free time in the next day or two, I'll run some experiments.

Now that you mention that... yes I remember running into this on Tairis and coming to the same conclusion. They cannot be set to static or there are client crash issues.
A wise man does not dwell on his past. He learns from it, he grows from it, and then moves ahead into his future.

And some wise words from a wise man. :P
Orleron wrote:You have to excuse Themi. Tact, diplomacy, and softness are not his best traits, but he does not mean anything by his writing. He's a nice guy. You just get used to it after a while because he doesn't seem to learn. :)
User avatar
Themicles
CoPaP Ambassador
 
Posts: 2677
Joined: Wed Jan 29, 2003 10:45 pm
Location: Wolverine Lake, MI

Re: Ubuntu question

PostAuthor: Buddha » Wed Sep 16, 2009 5:10 pm

Themicles wrote:
Gorgon wrote:but I think I had to keep them not static.

Now that you mention that... yes I remember running into this on Tairis and coming to the same conclusion. They cannot be set to static or there are client crash issues.

:shock: :evil:

That's the answer? FFS, I think I tried everything EXCEPT not setting it to static to get one of the yellow crystals to work!

/me bangs his head on the desk

If this works, I owe you both a couple of drinks.
User avatar
Buddha
CCC
CCC
 
Posts: 2604
Joined: Tue Mar 15, 2005 11:06 pm
Location: Sitting Down
Timezone: GMT+1 (DST)

Re: Ubuntu question

PostAuthor: maxinion » Wed Sep 16, 2009 5:11 pm

It ought to work Buddha. I've heard this as well.
User avatar
maxinion
Team Member; Retired with Honors
 
Posts: 2780
Joined: Mon Mar 17, 2003 7:44 pm
Location: Bay Area, CA
DM Avatar: Andrinor


Return to NWN General Discussion

Who is online

Registered users: Bing [Bot], Google [Bot]