PlaneShift

Support => Technical Help: Problems BEFORE entering the game => Topic started by: Xordan on March 02, 2008, 07:44:50 am

Title: Updater
Post by: Xordan on March 02, 2008, 07:44:50 am
Just to let everyone know, it's safe to run the updater now and we've already put a few fixes on it.

Make sure you run the updater with write permissions in the dir that it's installed in. For windows users that means running psupdater.exe as admin (so right click the Updater shortcut, click "Run as administrator" if it's there).

These fixes are unrelated to the server being down as of now if people are wondering. They include a few crash fixes and one art fix.

Please report any issues with the updater in this thread.

Thanks.
Title: Re: Updater
Post by: Mordaan on March 02, 2008, 03:10:46 pm
Thanks Xordan.  Good work.

Wow, I haven't used updater in forever.  Good to see it back.
And that was the quickest experience I have ever had with it.   :D    :thumbup:
Title: Re: Updater
Post by: Prolix on March 02, 2008, 11:26:41 pm
As I posted  here  (http://hydlaa.com/smf/index.php?topic=31681.msg364641#msg364641) there does not seem to be a gui for the updater. I ran planeshift-updater as the user specified in the installation. should I have run it as root as root installed it? or am I missing something?
Title: Re: Updater
Post by: Caarrie on March 02, 2008, 11:29:34 pm
As I posted  here  (http://hydlaa.com/smf/index.php?topic=31681.msg364641#msg364641) there does not seem to be a gui for the updater. I ran planeshift-updater as the user specified in the installation. should I have run it as root as root installed it? or am I missing something?

there is no gui so far for the updater
Title: Re: Updater
Post by: neko kyouran on March 03, 2008, 12:12:58 am
gui coming "soon"(tm)
Title: Re: Updater
Post by: Jonerian on March 03, 2008, 12:22:53 am
I think a batchscript that just pops up on Windows with a cmd would be enough, actually. On linux this can also be done with $TERM, but linux people tend to be more okay with console applications anyways.

It could also be possible, that there is just a simple message box that tells if there was an succesfull update or not, for people in need of a GUI. Everything else is not really needed. It is an updater, not a game  ::)
Title: Re: Updater
Post by: ThomPhoenix on March 03, 2008, 01:05:37 am
A GUI could just be a nice background with room for a textbox to display the updater messages in, and a progress bar. Nothing too fancy, but still nice :)

However, I think the current updater is quite nice and effective, and a GUI for it is not high on my wish-list ;)
Title: Re: Updater
Post by: Jonerian on March 03, 2008, 01:33:53 am
There is one thing though that is really annoying about the updater:  It breaks the permissions.

Example:
psclient was set up root:games 754 before
and after psclient was updated it was
root:root 770

So you could only play as root or change it manually. I think this is a bug so i also reported it:
http://www.hydlaa.com/flyspray_upgrade/index.php?do=details&task_id=1162
Title: Re: Updater
Post by: Xordan on March 03, 2008, 05:12:14 pm
Okay, I'll take a look at that permissions problem. I'll have to store the permissions before updating the file and then restore them afterwards.
Title: Re: Updater
Post by: Uldics on March 04, 2008, 04:39:50 pm
Temporary solution for me was uninstalling and installing non-system wide. As user in his home somewhere. I could not find all files with wrong permissions.

+ I dont care about permissions anymore
-  I am the only user able to play it on that machine
Title: Re: Updater
Post by: Jonerian on March 05, 2008, 11:23:53 pm
Right now I run that automatically after I did run the updater:
Code: [Select]
#!/bin/bash
  # set correct group
  chown -R root:games *

  # Set correct permissions for files and folders
  find . -type f -exec chmod 644 {} +
  find . -type d -exec chmod 755 {} +

  # Set correct permissions for executables
  chmod 754 {psclient,pssetup,psupdater}.bin ps{client,setup,updater} $0

  # Set correct permissions for configs
  # might not be needed anymore
  chmod 664 {psclient,pssetup,vfs}.cfg

It is part of my Arch Linux PKGBUILD and not a general solution since you have to adapt the permissions for your installation manually.
If somebody is interested in the new PKGBUILD, just tell me. For now I will wait until some things are fixed by update before I send my build to the current maintainer (who can send a message to me if he actually is also working on this already)

PS:
It might also be an option to make everything writeable for the group games, so the updater can be run not beeing root, too.
Title: Re: Updater
Post by: Punishre on March 06, 2008, 01:01:41 am
Okay. I run the Updater, but it says that it couldn't connect to the first thing, and it tries three mirrors, which don't have the file, according to it. What's going on?
Title: Re: Updater
Post by: Caarrie on March 06, 2008, 01:25:38 am
Okay. I run the Updater, but it says that it couldn't connect to the first thing, and it tries three mirrors, which don't have the file, according to it. What's going on?

You have the old updater, download the new client off the download page and make sure it is 0.4.00 and not 0.3.020
Title: Re: Updater
Post by: lethal_khaos on March 26, 2008, 08:06:28 pm
I tried running the updater too. I had to change updaterinfo file to a .xml extension. after that it said that there were no updates.
Title: Re: Updater
Post by: Caarrie on March 26, 2008, 08:27:57 pm
I tried running the updater too. I had to change updaterinfo file to a .xml extension. after that it said that there were no updates.

http://hydlaa.com/smf/index.php?topic=21401.msg366496#msg366496 either that helps or i have no idea what you are doing.
Title: Re: Updater
Post by: lethal_khaos on March 26, 2008, 09:01:37 pm
the file had two extensions on it .xml.dak. the updater froze on my and the .dak stuck. all i had to do was change the file name and it runs smooth now. as far as the server failiing i guess thats just because its DOWN AGAIN. so i'm good.
Title: Re: Updater
Post by: Mariano on May 24, 2008, 05:38:57 pm
Hi, I'm new here. I'm having some trouble with the game.

I have a AMD Athlon 64 X2 with 2GB RAM, GeForce 8600GT with 512 MB RAM and Ubuntu Gutsy (wich, frankly, I'm not expert at). Just finished downloading and installed the game (local, not wide), I have all the proper permits (every file "looks" green with "ls" in the console). I also have the icons in the desktop... and nothing runs... If I "double click" on the "Updater", nothing happens, and if (via console) I go to the installation directory, using "psupdater" (/.psupdater) only returns an error ("command not found"). It also happens if I use the "update --auto" line that appears in the webpage... I know it's probably something I'm forgetting or misspeling, but I can't find out. Please, someone help me. I didn't try to run the game itself, since I tried to follow the instructions (run the updater first).

Thanks for your time and patience.

I apologize for my english, but it's not my mother language.

Mariano 8)
Title: Re: Updater
Post by: peeg on May 24, 2008, 06:28:23 pm
Try "./psupdater" instead of "/.psupdater"  :)
Title: Cannot run updater
Post by: silverjuggler on June 26, 2008, 04:11:17 pm
Hi,
I just downloaded the game and when trying to run the client, it immediately crashes. When I run it as administrator by right-clicking, it starts up but tells me the connection to the Fragnetics server fails. I am using a virtual network at a workplace, is there any way to check from my computer if there is a remote firewall in operation? I have shut down my own, I think. How do I check this, please?

When trying to run the Updater off the Start menu, it says "Checking for updates. Couldn't open xml file '/this/updaterinfo.xml'!". When I try to run the Updater as admin, it just flashes by. How do I properly run the Updater?

My system stats are the following:
AMD Turion(tm) 64 X2 Mobile Technology TL-58
Minne (RAM) 2,00 GB
Grafik ATI Mobility Radeon HD 2400 XT
Spelgrafik 1023 MB tillgängligt grafikminne (accessible graphics memory)
Primär hårddisk 20GB ledigt (70GB totalt) (Primary hard drive, 20 gb free)

Thanks for any help,
best,
Andreas
Sweden
Title: Re: Updater
Post by: Caarrie on June 26, 2008, 04:28:03 pm
take a look at http://hydlaa.com/smf/index.php?topic=21401.msg366496#msg366496 also make sure you are running 0.4.00 client and not an older version.
Title: Re: Updater
Post by: silverjuggler on June 26, 2008, 04:33:52 pm
Caarie,

thanks, I read that link, but no, the Updater does not work for me, I do not get that reply, I don't get any information back. And yes, I am using the 0.4.00 client, it says so when I run the Client as admin (and it fails to connect to the server).

More advice? I would think I am behind some kind of firewall blocking my access to the server - how do I check whether this is the case, please?

Best,
a.
Title: Now playing.
Post by: silverjuggler on June 28, 2008, 10:49:37 am
Hi,

suddenly yesterday when I tried again to log in the server worked. So now I am exploring the game. Thanks all.  \\o// Andreas

Caarie,

thanks, I read that link, but no, the Updater does not work for me, I do not get that reply, I don't get any information back. And yes, I am using the 0.4.00 client, it says so when I run the Client as admin (and it fails to connect to the server).

More advice? I would think I am behind some kind of firewall blocking my access to the server - how do I check whether this is the case, please?

Best,
a.