Troubleshooting guide for MacOSX: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Created page with 'PLEASE HELP US TO IMPROVE THIS GUIDE!! Frequent Questions: Far too many people have come through the Mac OS X thread asking the same questions and I'm sure there are more sti…'
 
Loremipsum (talk | contribs)
mNo edit summary
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
PLEASE HELP US TO IMPROVE THIS GUIDE!!
Welcome to the Troubleshooting Guide for the Mac OSX. Have a seat, a mug of cocoa and relax. You're in good hands!


Frequent Questions:
If there's anything critical we've missed, please tell us in the discussions page - and bear in mind that this page is relatively new!


==Tips==
* Ensure you have created an account on the server. [http://209.59.234.149/register/ You can do that here].
* For those who are annoyed when Planeshift pauses whenever it loses focus, here's a quick fix for you:
*# Open the file psclient.cfg with TextEdit (it's in <Home directory>/Library/Application Support/Planeshift/psclient.cfg).
*# Append the following line to the end of the file: <br><code> System.RunWhenNotFocused = true</code>
*# Save and close. Play Planeshift.
* For some people, Planeshift only works if you are the primary administrator. The reason for this is not entirely understood. If you're having problems, try logging in as the primary admin if possible.


Far too many people have come through the Mac OS X thread asking the same questions and I'm sure there are more still to come. All of them ask, "How do I get Planeshift working?". Well, here's the answer, so stop asking! :P
==Troubleshooting==
===Updater lacks Permissions===
'''Q''' : When trying to launch the game the picture with the arcane magic comes up, the bar fills... and then it freezes.  So I went into the updater and it says "an update is available", but I don't have the correct permissions to continue.


Just a few small things to note, before we get started:
'''A''' : First, ensure you've installed it corectly (see Installation, below) and that you're not trying to run the game nor its updater off the downloaded .dmg. The applications must be run off your Hard Drive.


First, this guide is meant for everyone, so it may seem overly-detailed at times. It is intended this way so that even those that have little computer experience can use it.
Second, right-click on both ''psclient'' and ''pslaunch'', select "get info". Check the bottom part of the dialogue(s) that appear and, under "Sharing & Permissions" make sure that both Admin and yourself can 'read & write'. If not, change it so you can (you may need an Admin password). Close and try to update again.


Also, be aware that even when you get it working and get to play, you will probably experience some bugs and crashes. Remember that this game is still a tech demo and try to be patient. For detailed status information (including major known bugs and whether or not Planeshift will run on the Mac at this time), please see the [url=http://www.hydlaaplaza.com/smf/index.php?topic=18245.0]Mac Client Status thread[/url].
If that still does not work, close all applications (except Finder, obviously) and then go to Utilities (subfolder of Applications) and double-click "Disk Utility". Select your system hard-drive from the left-hand side, and then press "Repair Disk Permissions". This will set all permissions back to what OSX thinks they ''should'' be. Once complete, you may need to repeat the "Second, right-click..." step above.


If you have any problems with the game, please use the link in my signature or the link at the top of the forum to search for more information [i]before[/i] posting a new topic. Only post a new thread if your problem has not been addressed before. Also make sure that the issue you're posting about is actually a Mac-specific issue. If it isn't, post it in one of the other applicable forums ([url=http://www.hydlaaplaza.com/smf/index.php?board=1.0]Newbie Help[/url], [url=http://www.hydlaaplaza.com/smf/index.php?board=17.0]Technical Help[/url]).
If it still doesn't work, seek further help.


**DISCLAIMER: By following this guide and/or using any of the linked applications within, you understand that I, the writer of this guide and the linked applications, am in no way liable for anything that happens as a result of following this guide or using the linked applications. By following the steps in this guide and/or using the linked applications, you hereby waive the right to take any legal action against me whatsoever. Note that this disclaimer is simply for my own protection and that it is unlikely that any damage will occur as a result of following this guide and/or using the linked applications.
===Server Unreachable===
If you are having trouble getting onto the server (i.e. "Server unreachable") then please follow the following steps:
# Ensure that you are connected to the internet (just to be on the safe side ;) ).
# Ensure you're connecting to the right server.
#* As of 11th December 2011, the Non-RP server ''Ezpcusa'' is [http://www.hydlaaplaza.com/smf/index.php?topic=40495.0 offline due to lack of use].
#* In February 2012, PlaneShift [http://www.hydlaaplaza.com/smf/index.php?topic=40713.0 relocated its main server] from ''Zero Ping'' to ''Subhosting.net''.
#* In June 2013, PlaneShift [http://www.hydlaaplaza.com/smf/index.php?topic=41295.0 relocated its main server] from ''Subhosting.net'' to ''Teamix GmbH''.
# Ensure that the server is up: [http://planeshift.teamix.org/ go here] and look at the ''Stats'' on the left side of the screen. If the number of ''Total Online'' is 0 (or there is no number listed) or if the ''Report Time'' is more than a minute or so different from the ''Time'', then the server is down and you will be unable to connect. Try again in a few minutes.
# Ensure that you are not behind a hardware or software firewall, or, if you are, that you have allowed incoming traffic on port 7777. Note that if you are on a college campus, school campus, or at an office, you will probably be behind a firewall; if you are, your only option is to (politely) ask your network administrator to open port 7777 for incoming traffic.
# If it still won't work, open your Planeshift folder, open the "data" folder, and open "servers.xml"  (/Applications/PlaneShift/data/servers.xml) in TextEdit (click on servers.xml and drag it to /Applications/TextEdit(.app) ). Ensure that the port for the server is set to 7777 (if not, change it).
It should end up looking something like this (there may be a description as well):
<serverlist>
    <server name="Laanx Server (Main)" ip="planeshift.teamix.org" port="7777"/>
</serverlist>


BEFORE FOLLOWING THIS GUIDE: Please take a look at the [url=http://www.hydlaaplaza.com/smf/index.php?topic=18245.0]Mac Client Status thread[/url]. It may have important information pertaining to running Planeshift on the Mac. Anything said in that thread supersedes the Guide.
===Still stuck?===
* For some basic fixes and known bugs, see [http://www.hydlaaplaza.com/smf/index.php?topic=34250.0 this thread].
* If you're having trouble on an old Mac with OS 10.4.x (Tiger), take a look at [http://www.hydlaaplaza.com/smf/index.php?topic=32477.0|this thread].
* For help applying basic fixes and other utilities, please visit [http://planeshift.caarrie.org/ this site].
* If you have a MacBook running Leopard [10.5] AND you have an intel GMA 3100 graphics card and you have issues loading some maps, make sure texture downsampling is at 1/2 or further to the right.


1. Download the latest full release from the PlaneShift main site (I suggest you use the BitTorrent download) and unzip the ZIP archive by double-clicking on it (note the archive may unzip automatically if you download it directly from a mirror with Safari):
'''See you all in Yliakum!'''
[url=http://www.planeshift.it/download.html][Color=Blue]PlaneShift SB Download Page[/color][/url]


2. Run the enclosed file PlaneShift-v0.4.03.app). Follow the on-screen instructions to complete the installation.


3. Use the built-in updater to get the latest files: Double-click the file updater(.app) in your Planeshift 3D folder. Once it finishes launching, click "Update," sit back and relax (you're in for a pretty long wait at times).
==Guide to installing PlaneShift on Mac OSX==


4. Double-click pssetup(.app) to modify your settings and then psclient(.app) and play.
You are advised to use the Torrent Download as this places less strain on the Servers. This does however require a torrent tracker. If you do not have one, there is one available for download just above the  [http://www.planeshift.it/Download torrent links]. Alternatively you may use the direct link.


For some basic fixes and known bugs, see [url=http://www.hydlaaplaza.com/smf/index.php?topic=34250.0]this thread[/url].
===Using the Torrent Link===
If you're having trouble on an old Mac with OS 10.4.x (Tiger), take a look at [url=http://www.hydlaaplaza.com/smf/index.php?topic=32477.0]this thread[/url].
# Go to the [http://www.planeshift.it/Download Download page] (it may help to ctrl-click and open this in a new tab)
For help applying basic fixes and other utilities, please visit [url=http://planeshift.caarrie.org/]this site[/url].
# Scroll a little way down to the uTorrent links
# Click on ''PlaneShift-v0.5.8.dmg torrent'' and download.
# Once downloaded, open the file ''PlaneShift-v0.5.8.dmg.torrent'' in your favourite torrent Tracker.
# Begin the Torrent
# If you have not done so already, this would be an excellent time to create your user account on the server. (see Tips)
# Once the torrent has completed, you should now have a file called ''PlaneShift-v0.5.8.dmg''
# Follow the 'installation' instructions below


If you have a MacBook running Leopard [10.5] AND you have an intel GMA 3100 graphics card and you have issues loading some maps, make sure texture downsampling is at 1/2 or further to the right.
===Using the Direct Link===
# Go to the [http://www.planeshift.it/Download Direct Download] links. (it may help to ctrl-click and open this in a new tab)
# Choose your link, and download (about 1GB of data).
# If you have not done so already, this would be an excellent time to create your user account on the server. (see Tips)
# Once downloaded you should now have a file called ''PlaneShift-v0.5.8.dmg''
# Follow the 'installation' instructions below


IMPORTANT1: For some people, Planeshift only works if you are the primary administrator. The reason for this is not entirely understood. If you're having problems, try logging in as the primary admin if possible.
===Installing the Game===
# Double-click the file ''PlaneShift-v0.5.8.dmg'' (if you downloaded the direct link with Safari, it may have already opened)
# Select the folder inside entitled ''Planeshift''
# Drag it to your Applications folder.
# Once transferred, open the folder you just moved and double-click ''pslaunch(.app)''.
# The game should now update itself, synching with the server. This may take some time.
# Once the game has updated, close the updater and double-click ''psclient(.app)''
# Enjoy! Any problems, please see troubleshooting.


IMPORTANT2: if you are having trouble getting onto the server (i.e. "Server unreachable", please follow the following steps:
1. Ensure that you are connected to the internet (just to be on the safe side ;) ).
2. Ensure that the server is up: go to [url=http://laanx.fragnetics.com]http://laanx.fragnetics.com[/url] and look at the report on the left side of the screen. If the number of user accounts is 0 (or there is no number listed) or if the [b]Report Time[/b] is more than a minute or so different from the [b]Time[/b], the server is down and you will be unable to connect.
3. Ensure that you are not behind a hardware or software firewall, or, if you are, that you have allowed incoming traffic on port 7777. Note that if you are on a college campus, school campus, or at an office, you will probably be behind a firewall; if you are, your only option is to ask your network administrator to open port 7777 for incoming traffic.
4. If it still won't work, open your Planeshift folder, open the "data" folder, and open "server.xml"  (/Applications/PlaneShift/data/servers.xml) in TextEdit (click on servers.xml and drag it to /Applications/TextEdit(.app) ). Ensure that the port for server "Fragnetics" and/or "Ezpcusa" is set to 7777 (if not, change it).
It should end up something like this:
[code]<serverlist>
<server name="Fragnetics (RP)" ip="laanx.fragnetics.com" port="7777"/>
<server name="Ezpcusa (Non-RP)" ip="planeshift.ezpcusa.com" port="7777"/>
</serverlist>
[/code]


See you all in Yliakum!
==Launching Planeshift with Arguments from Terminal==


P.S. Make sure to [url=http://laanx.fragnetics.com/register/]create an account on Fragnetics[/url] and/or at [url=http://planeshift.ezpcusa.com/register]create one on Ezpcusa[/url]!
Go under Applications and find the "Terminal" program, launch it, a window will open.


P.P.S. For those who are annoyed when Planeshift pauses whenever it loses focus, here's a quick fix for you:
If you are confused about using terminal read this: http://blog.teamtreehouse.com/introduction-to-the-mac-os-x-command-line
Open the file psclient.cfg with TextEdit (it's in <Home directory>/Library/Application Support/Planeshift/psclient.cfg). Append the following line to the end of the file:
"System.RunWhenNotFocused = true"
Save and close. Play Planeshift.


P.P.P.S. Those who want to launch Planeshift with an extra command or option, read the following:
In the terminal type:


I have brought back PSClientCMD to help Planeshifters that would like to run Planeshift with special arguments but don't want to launch it from the command line. There is basically a two-step setup procedure which I've elongated to six steps to make it easy for anyone to use.
  cd /Applications/PlaneShift


The steps required to use PSClientCMD are as follows:
As a response you will get something like:
1. Downlaod the application: [url=http://www.world-of-cha0s.hostrocket.com/PSUpdater/PSClientCMD.jar][Color=Blue]PSClientCMD.jar (2 k)[/color][/url]


2. Move the application into your PlaneShift folder.
  luca-MacBook-Pro:Planeshift luca$


3. Open TextEdit (/Applications/TextEdit(.app)). Create a new document if one is not already open (from the "File" menu, select "New"). Pull down the "Format" menu. If the option "Make Plain Text" is available, select it. If the option instead reads "Make Rich Text" then [u][b]do nothing[/b][/u].
This means you (luca) are now in the folder called PlaneShift. This is the main PlaneShift directory. From here you can launch the launcher without UI, so it's safer:


4. Type any arguments you want to send to PlaneShift when it runs. Include a dash ("-") before each argument and separate each argument with a space (" "). Do [u][b]not[/b][/u] enclose the arguments in quotes. All the arguments must be on one line (line wrapping is ok; just don't press the return or enter key).
  ./pslaunch.app/Contents/MacOS/pslaunch_static -console


5. Save the file in your Planeshift folder as "PSClientCMDlist.txt" (a plain text document). This exact name must be used.
And you can also launch the client with the console, to print a lot more information to detect errors:


6. Double-click "PSClientCMD.jar" whenever you want to run PlaneShift. The arguments will be passed when the client launches.
  ./psclient.app/Contents/MacOS/psclient_static -console


You can get a list of available arguments by running psclient with "-help" as an argument. Note that this list is not exhaustive: some options exist that are not listed. I've copied the current list here:
If you have problem with the client, then copy all the text you get by the last command, and put it on forums asking for help.
[code]Options for MacOS X 2D graphics drivers:
  -screen=<num>      Screen number to display on (default=0)
Options for Crystal Space 2D driver for MacOS/X (OpenGL):
  -depth=<val>      Display depth (32)
  -[no]fs            Fullscreen if available (no)
  -mode=<val>        Window size or resolution (1280x854)
Options for Crystal Space 3D Engine:
  -fov=<val>        Field of Vision (0)
  -renderloop=<val>  Override the default render loop ()
General options:
  -help              this help
  -video=<a>        the 3D rendering driver (opengl, software, ...)
  -canvas=<a>        the 2D canvas driver (asciiart, x2d, ...)
  -plugin=<a>        load the plugin after all others
  -verbose          be more verbose; print better diagnostic messages
[/code]


[b]
If you get a "No such file or directory" as a response of the commands above, means you have typed the command wrong or PlaneShift is installed in another place. Remember the text above is case-sensitive, so watch upper/lower case. Best way is to copy it from here to the terminal with "command+c" and "command+p"
Many many thanks to everyone who has helped me with this guide. It's only as useful as it is thanks to your ideas and suggestions!
 
[/b]
If for some reason you cannot copy the text execute this command:
 
  ./psclient.app/Contents/MacOS/psclient_static -console > ~/Documents/logfile.txt
 
This will create a file with the text in Documents folder. Consider that it may not create the file in your user document folder but on the main document folder under the hard drive. Also before sending the file consider there may be your name in the text.
 
'''Many many thanks to everyone who has helped me with this guide. It's only as useful as it is thanks to your ideas and suggestions!'''
 
[[Category:Game Guides]]

Latest revision as of 06:20, 29 November 2013

Welcome to the Troubleshooting Guide for the Mac OSX. Have a seat, a mug of cocoa and relax. You're in good hands!

If there's anything critical we've missed, please tell us in the discussions page - and bear in mind that this page is relatively new!

Tips

  • Ensure you have created an account on the server. You can do that here.
  • For those who are annoyed when Planeshift pauses whenever it loses focus, here's a quick fix for you:
    1. Open the file psclient.cfg with TextEdit (it's in <Home directory>/Library/Application Support/Planeshift/psclient.cfg).
    2. Append the following line to the end of the file:
      System.RunWhenNotFocused = true
    3. Save and close. Play Planeshift.
  • For some people, Planeshift only works if you are the primary administrator. The reason for this is not entirely understood. If you're having problems, try logging in as the primary admin if possible.

Troubleshooting

Updater lacks Permissions

Q : When trying to launch the game the picture with the arcane magic comes up, the bar fills... and then it freezes. So I went into the updater and it says "an update is available", but I don't have the correct permissions to continue.

A : First, ensure you've installed it corectly (see Installation, below) and that you're not trying to run the game nor its updater off the downloaded .dmg. The applications must be run off your Hard Drive.

Second, right-click on both psclient and pslaunch, select "get info". Check the bottom part of the dialogue(s) that appear and, under "Sharing & Permissions" make sure that both Admin and yourself can 'read & write'. If not, change it so you can (you may need an Admin password). Close and try to update again.

If that still does not work, close all applications (except Finder, obviously) and then go to Utilities (subfolder of Applications) and double-click "Disk Utility". Select your system hard-drive from the left-hand side, and then press "Repair Disk Permissions". This will set all permissions back to what OSX thinks they should be. Once complete, you may need to repeat the "Second, right-click..." step above.

If it still doesn't work, seek further help.

Server Unreachable

If you are having trouble getting onto the server (i.e. "Server unreachable") then please follow the following steps:

  1. Ensure that you are connected to the internet (just to be on the safe side ;) ).
  2. Ensure you're connecting to the right server.
  3. Ensure that the server is up: go here and look at the Stats on the left side of the screen. If the number of Total Online is 0 (or there is no number listed) or if the Report Time is more than a minute or so different from the Time, then the server is down and you will be unable to connect. Try again in a few minutes.
  4. Ensure that you are not behind a hardware or software firewall, or, if you are, that you have allowed incoming traffic on port 7777. Note that if you are on a college campus, school campus, or at an office, you will probably be behind a firewall; if you are, your only option is to (politely) ask your network administrator to open port 7777 for incoming traffic.
  5. If it still won't work, open your Planeshift folder, open the "data" folder, and open "servers.xml" (/Applications/PlaneShift/data/servers.xml) in TextEdit (click on servers.xml and drag it to /Applications/TextEdit(.app) ). Ensure that the port for the server is set to 7777 (if not, change it).

It should end up looking something like this (there may be a description as well):

<serverlist>
    <server name="Laanx Server (Main)" ip="planeshift.teamix.org" port="7777"/>
</serverlist>

Still stuck?

  • For some basic fixes and known bugs, see this thread.
  • If you're having trouble on an old Mac with OS 10.4.x (Tiger), take a look at thread.
  • For help applying basic fixes and other utilities, please visit this site.
  • If you have a MacBook running Leopard [10.5] AND you have an intel GMA 3100 graphics card and you have issues loading some maps, make sure texture downsampling is at 1/2 or further to the right.

See you all in Yliakum!


Guide to installing PlaneShift on Mac OSX

You are advised to use the Torrent Download as this places less strain on the Servers. This does however require a torrent tracker. If you do not have one, there is one available for download just above the torrent links. Alternatively you may use the direct link.

Using the Torrent Link

  1. Go to the Download page (it may help to ctrl-click and open this in a new tab)
  2. Scroll a little way down to the uTorrent links
  3. Click on PlaneShift-v0.5.8.dmg torrent and download.
  4. Once downloaded, open the file PlaneShift-v0.5.8.dmg.torrent in your favourite torrent Tracker.
  5. Begin the Torrent
  6. If you have not done so already, this would be an excellent time to create your user account on the server. (see Tips)
  7. Once the torrent has completed, you should now have a file called PlaneShift-v0.5.8.dmg
  8. Follow the 'installation' instructions below

Using the Direct Link

  1. Go to the Direct Download links. (it may help to ctrl-click and open this in a new tab)
  2. Choose your link, and download (about 1GB of data).
  3. If you have not done so already, this would be an excellent time to create your user account on the server. (see Tips)
  4. Once downloaded you should now have a file called PlaneShift-v0.5.8.dmg
  5. Follow the 'installation' instructions below

Installing the Game

  1. Double-click the file PlaneShift-v0.5.8.dmg (if you downloaded the direct link with Safari, it may have already opened)
  2. Select the folder inside entitled Planeshift
  3. Drag it to your Applications folder.
  4. Once transferred, open the folder you just moved and double-click pslaunch(.app).
  5. The game should now update itself, synching with the server. This may take some time.
  6. Once the game has updated, close the updater and double-click psclient(.app)
  7. Enjoy! Any problems, please see troubleshooting.


Launching Planeshift with Arguments from Terminal

Go under Applications and find the "Terminal" program, launch it, a window will open.

If you are confused about using terminal read this: http://blog.teamtreehouse.com/introduction-to-the-mac-os-x-command-line

In the terminal type:

 cd /Applications/PlaneShift

As a response you will get something like:

 luca-MacBook-Pro:Planeshift luca$

This means you (luca) are now in the folder called PlaneShift. This is the main PlaneShift directory. From here you can launch the launcher without UI, so it's safer:

 ./pslaunch.app/Contents/MacOS/pslaunch_static -console

And you can also launch the client with the console, to print a lot more information to detect errors:

 ./psclient.app/Contents/MacOS/psclient_static -console

If you have problem with the client, then copy all the text you get by the last command, and put it on forums asking for help.

If you get a "No such file or directory" as a response of the commands above, means you have typed the command wrong or PlaneShift is installed in another place. Remember the text above is case-sensitive, so watch upper/lower case. Best way is to copy it from here to the terminal with "command+c" and "command+p"

If for some reason you cannot copy the text execute this command:

 ./psclient.app/Contents/MacOS/psclient_static -console > ~/Documents/logfile.txt

This will create a file with the text in Documents folder. Consider that it may not create the file in your user document folder but on the main document folder under the hard drive. Also before sending the file consider there may be your name in the text.

Many many thanks to everyone who has helped me with this guide. It's only as useful as it is thanks to your ideas and suggestions!