Troubleshooting guide for MacOSX: Difference between revisions

From PSwiki
Jump to navigation Jump to search
No edit summary
Loremipsum (talk | contribs)
mNo edit summary
 
(17 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 Question 1: When Trying to launch the game the picture with the arcane magic comes up and then the bar fills and then it freezes up.  So wI went into the updater and it says "an update is available but I don't have the correct permissions to continue"
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!


Answer 1: Ok, I assume you've downloaded the file from the website- it should say PlaneShift-v0.5.7.dmg, then you've clicked that and it expands into a white hard drive-looking icon that just says PlaneShift, and inside is a folder that says PlaneShift. You need to drag that entire folder into your main Applications folder (the one that looks like an 'A' made out of pencils when you open a new finder window)
==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.


Now, the client probably needs updating, so you'll need to run 'pslaunch' which is the updater. If you're still getting a permissions error, then try to change the permissions of both 'psclient' and 'pslaunch.' To do that, right-click on each and select 'get info.' At the bottom of the box it should say 'sharing and permissions.' Open that, and switch the privilege of both yourself and admin to 'read and write.'
==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.


If that still doesn't work, try turning every application off, and opening "Disk Utility" (which is found inside Utilities inside the Applications). Click on your hard drive at the left, then click 'repair disk permissions.' That will reset all permissions to what the computer thinks should be the correct settings.
'''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.


You may need to re-open the 'get info' for 'pslaunch' and 'psclient' and repeat setting the permissions there.
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 none of that helps... then sorry, you'll have to ask someone more knowledgable.
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.


'''Guide to run PlaneShift on Mac OSX'''
===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>


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):
===Still stuck?===
[url=http://www.planeshift.it/download.html][Color=Blue]PlaneShift SB Download Page[/color][/url]
* 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.


2. Run the enclosed file PlaneShift-v0.4.03.app). Follow the on-screen instructions to complete the installation.
'''See you all in Yliakum!'''


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).


4. Double-click pssetup(.app) to modify your settings and then psclient(.app) and play.
==Guide to installing PlaneShift on Mac OSX==


For some basic fixes and known bugs, see [url=http://www.hydlaaplaza.com/smf/index.php?topic=34250.0]this thread[/url].
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.
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].
For help applying basic fixes and other utilities, please visit [url=http://planeshift.caarrie.org/]this site[/url].


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 Torrent Link===
# Go to the [http://www.planeshift.it/Download Download page] (it may help to ctrl-click and open this in a new tab)
# 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


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.
===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


IMPORTANT2: if you are having trouble getting onto the server (i.e. "Server unreachable", please follow the following steps:
===Installing the Game===
1. Ensure that you are connected to the internet (just to be on the safe side ;) ).
# Double-click the file ''PlaneShift-v0.5.8.dmg'' (if you downloaded the direct link with Safari, it may have already opened)
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.
# Select the folder inside entitled ''Planeshift''
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.
# Drag it to your Applications folder.
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).
# Once transferred, open the folder you just moved and double-click ''pslaunch(.app)''.
It should end up something like this:
# The game should now update itself, synching with the server. This may take some time.
[code]<serverlist>
# Once the game has updated, close the updater and double-click ''psclient(.app)''
<server name="Fragnetics (RP)" ip="laanx.fragnetics.com" port="7777"/>
# Enjoy! Any problems, please see troubleshooting.
<server name="Ezpcusa (Non-RP)" ip="planeshift.ezpcusa.com" port="7777"/>
</serverlist>
[/code]


See you all in Yliakum!


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]!
==Launching Planeshift with Arguments from Terminal==


P.P.S. For those who are annoyed when Planeshift pauses whenever it loses focus, here's a quick fix for you:
Go under Applications and find the "Terminal" program, launch it, a window will open.
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:
If you are confused about using terminal read this: http://blog.teamtreehouse.com/introduction-to-the-mac-os-x-command-line


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.
In the terminal type:


The steps required to use PSClientCMD are as follows:
  cd /Applications/PlaneShift
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.
As a response you will get something like:


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].
  luca-MacBook-Pro:Planeshift luca$


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).
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:


5. Save the file in your Planeshift folder as "PSClientCMDlist.txt" (a plain text document). This exact name must be used.
  ./pslaunch.app/Contents/MacOS/pslaunch_static -console


6. Double-click "PSClientCMD.jar" whenever you want to run PlaneShift. The arguments will be passed when the client launches.
And you can also launch the client with the console, to print a lot more information to detect errors:


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:
  ./psclient.app/Contents/MacOS/psclient_static -console
[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 have problem with the client, then copy all the text you get by the last command, and put it on forums asking for help.
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 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!'''
 
[[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!