Author Topic: wutz --auto mean?  (Read 2278 times)

arganon

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
wutz --auto mean?
« on: February 16, 2005, 06:33:46 pm »
--auto. what is it? how do i do it.

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
(No subject)
« Reply #1 on: February 16, 2005, 06:45:04 pm »
Assuming you mean the updater.  It\'s a way to do the update without the GUI.

Run from a DOS prompt window:

updater --auto
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

Disq

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #2 on: February 16, 2005, 10:45:50 pm »
that really doesnt help us stupid people

Mr. Dave

  • Hydlaa Resident
  • *
  • Posts: 65
    • View Profile
(No subject)
« Reply #3 on: February 16, 2005, 10:56:27 pm »
Try this then:

The PlaneShift updater application is actually in two parts: the GUI (which displays the pretty red & blue progress bars) and the updater engine (which downloads new files & replaces the old files with them.)

There has been a recurring problem on Windows with the GUI part of the app crashing after it\'s been run once; using the --auto switch allows you to run the updater even when you can\'t run the GUI.

I suspect this switch was intended to allow the updater to run as a scheduled background job. I recommend against this, however (and so do many other people in many other threads) until things are much more stable - a situation which, though still far in the future, draws visibly nearer with each update ;)

As to how (forgive me if I assume Windows): In the Updater shortcut\'s Properties pane, find the field labeled \"Target\". It will contain something like \"C:\\Program Files\\blah\\blah\\Planeshift\\updater.exe\" in quotes. After the closing quote, add --auto so it looks like
\"C:\\Program Files\\blah\\blah\\Planeshift\\updater.exe\" --auto
and you shoud be shiny.

I\'m not really familiar with the *nix GUIs, but I expect you would have to write a shell script with something like
$PLANESHIFT_HOME/updater --auto
ant then attach it to an icon somehow.
« Last Edit: February 17, 2005, 09:06:23 am by Mr. Dave »
This is a case of errant pedantry, up with which I shall not put... -- W. Churchill

Androgos

  • Guest
(No subject)
« Reply #4 on: February 17, 2005, 08:07:32 am »
Yeah, it\'s mostly a debug / schedule option but it seems it\'s quite usefull in day-to-day operations too :)

Btw, you don\'t really need to have -- last time I checked, it worked fine with -auto (one -)

lynx_lupo

  • Veteran
  • *
  • Posts: 1431
  • Sorbus aria!
    • View Profile
    • Linux pri nas
(No subject)
« Reply #5 on: February 17, 2005, 09:52:11 am »
Yeah, all the options are with one dash. An uncommon practice :P
Auto is good, since it can be used in noninteractive scripts, like my saveMeFromTheDestructiveUpdaterAndStillUpdate.sh :D

It\'s actually just updater.sh ;), which sets updater into train mode, out of the tank one.
« Last Edit: February 17, 2005, 09:53:24 am by lynx_lupo »
"Amor sceleratus habendi"- Ovid
"First they ignore you, then they laugh at you, then they fight you, then you eat them." -Godzilla

Disq

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #6 on: February 17, 2005, 09:13:34 pm »
Quote
Originally posted by Mr. Dave
As to how (forgive me if I assume Windows): In the Updater shortcut\'s Properties pane, find the field labeled \"Target\". It will contain something like \"C:\\Program Files\\blah\\blah\\Planeshift\\updater.exe\" in quotes. After the closing quote, add --auto so it looks like
\"C:\\Program Files\\blah\\blah\\Planeshift\\updater.exe\" --auto
and you shoud be shiny.


ive done that but it said it was invalid and keeps on crashing.

Mr. Dave

  • Hydlaa Resident
  • *
  • Posts: 65
    • View Profile
(No subject)
« Reply #7 on: February 17, 2005, 10:20:56 pm »
Quote
Originally posted by Disq
Quote
Originally posted by Mr. Dave
[edit]
After the closing quote, add --auto so it looks like
\"C:\\Program Files\\blah\\blah\\Planeshift\\updater.exe\" --auto
and you shoud be shiny.


ive done that but it said it was invalid and keeps on crashing.

If the error message is \"invalid path\" then you may need to read my previous post more closely. The exact syntax is
Open-Quote C:\\Program Files\\blah\\blah\\Planeshift\\updater.exe Close-Quote  Space --auto

Note that the file path must be in quotes because it contains embedded spaces. The --auto switch must be outside the quotes because it is not part of the file path.

If your error message is something else, please post it here and, with luck, someone can figure it out.

Hope that\'s a little clearer now.
This is a case of errant pedantry, up with which I shall not put... -- W. Churchill

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
(No subject)
« Reply #8 on: February 17, 2005, 10:35:19 pm »
Place a space between the last quote and the --auto.
A space is what you get when you hit the Space bar.
We're not evil. We're simply amazing.

Disq

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #9 on: February 18, 2005, 12:43:07 pm »
Quote
Originally posted by ThomPhoenix
Place a space between the last quote and the --auto.
A space is what you get when you hit the Space bar.

im not that stupid.

heres exactly what i put
\"C:\\Program Files\\PlaneShift Crystal Blue\\updater.exe\" --auto
all i added was the --auto. and thats the target, not the start in. i didnt touch the start in.

Socrates Demise

  • Hydlaa Resident
  • *
  • Posts: 132
    • View Profile
(No subject)
« Reply #10 on: February 18, 2005, 01:03:29 pm »
If you are having problems try this...

Go to Start and open Run

Type in

C:\\progra~1\\planes~1\\updater.exe --auto

Of course this won\'t work if you installed Planeshift in another directory.

Edit: Horrid misspeeelings.
« Last Edit: February 18, 2005, 01:05:52 pm by Socrates Demise »

Disq

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #11 on: February 18, 2005, 09:24:41 pm »
its still not working, heres the error msg in the dos prompt

Code: [Select]
Critical files ((critical)) not found (server only)
NOTIFY: psUpdaterEngine initalized.
Invalid switch - /S
Downloading registry
0%....25%....50%....75%....100%
Couldn\'t delete temporary repository zip (updatertemp/repos.zip)
Loaded registry
Server has another updater, going to fetch it..
Updating updater to another build
0%....25%....50%....75%....100%


then after hitting the ok button, it flashes a bunch of times then says it\'ll run the new updater, which crashes as soon as it loads.
« Last Edit: February 18, 2005, 09:25:01 pm by Disq »

Tumppi

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
(No subject)
« Reply #12 on: February 19, 2005, 10:35:03 am »
Here\'s what I did:

Re-install the game.

Make a shortcut for the updater. Click the shortcut with your right mouse button and click properties from the menu.

In the properties panel, there\'s the \"target\" path.
In the target path you have the path to your updater which ends somehow like this:

...\\updater.exe\"

Now add the famous \"--auto\" to the end of the path textbox so it looks like this:

...\\updater.exe\" --auto

Now when you run the updater, it says that it found a new updater and is gonna download it. After it has downloaded it,  the updater flashes couple of times on the screen and after that, it says it\'s gonna try to start the updater. Don\'t worry though, the updater probably isn\'t gonna work, so it gives you the illegal operation error or similar. Just run the updater from the shortcut again and it should start downloading the update.

Here\'s how I got it to work. I hope this helps if you already haven\'t figured it out.
« Last Edit: February 19, 2005, 10:35:52 am by Tumppi »

Disq

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #13 on: February 19, 2005, 11:48:28 pm »
i already had -auto and the code i put is what the dos prompt said.

re installing does help either

XeNoDeMoS

  • Hydlaa Resident
  • *
  • Posts: 172
    • View Profile
try this.......
« Reply #14 on: February 20, 2005, 12:54:15 am »
okay then try this
start
run...
type cmd
type cd\\
cd program files
cd planeshift crystal blue
updater --auto
hope it works.....^.^