PlaneShift

Support => Technical Help: Problems BEFORE entering the game => Topic started by: Xyl on June 11, 2004, 10:41:51 am

Title: Anotehr Linux noob with an easy error for the pros to correct
Post by: Xyl on June 11, 2004, 10:41:51 am
WARNING! Linux N00b ahead!

[teamvertex@localhost planeshift]$ ./psclient
Please set CEL environment var!

That?s the error I get when I try to run the ./psclient from Konsole in Mandrake 9.2.

Any help on how to set these variables would be greatly appreciated :)
Title:
Post by: Karosh_Steinkatz on June 11, 2004, 07:43:18 pm
Quote
Originally posted by Xyl
WARNING! Linux N00b ahead!

Indeed :P

There are several threads about this, but here we go again:
export CRYSTAL=
export CEL=
export CSCONFPATH=

For example:
export CRYSTAL=/opt/CS
export CEL=/opt/cel
export CSCONFPATH=/opt/cel

enter these exports in your console before playing, but they will be gone if you close the shell. It*s better to put them into a small shell script to set the exports and run the client. Another way is to put them into your .bashrc file in your home dir.

Little advice: next time use this ->  (http://images/ps/top_suche.gif)
Title:
Post by: Xyl on June 14, 2004, 10:44:48 am
Cheers, I\'ll have a crack at setting it up. I\'m not sure if it has been said, but where can i find the bashrc file? I searched and couldn\'t find it :(
Title:
Post by: Androgos on June 14, 2004, 10:48:30 am
/home/username/.bashrc

not always it exists though, if it doesn\'t, just create it
Title:
Post by: Seytra on June 15, 2004, 09:02:09 pm
I think the problem is the \".\". As _we_ know, it\'s a hidden file because of that so you can only see it if you use the -a option to ls. Also, when posted on a website, the leading period will most likely be interpreted as a typo, as can clearly be seen by the fact that Xyl asked for \"bashrc\" and not for \".bashrc\", as would have been correct.
But the \".\"  (any period, for that matter) is also part of the filename (as opposed in Windoze and DOS), so \".bashrc\" and \"bashrc\" can _both_ exist simultaneously inside the same directory without interference, except some minor user confusion. :)
Therefore, if Xal would create a file named \"bashrc\" and would place the stuff in there, nothing would happen because the system reads the file \".bashrc\".
Also note that linux is case-sensitive WRT filenames so you can also have \".Bashrc\" in addition to \"bashrc\", \".bashrc\" and even \"..bashrc\", so watch your typing! ;)