PlaneShift
Support => Technical Help: IN GAME bugs (after loading world) => Topic started by: arganon on February 16, 2005, 06:33:46 pm
-
--auto. what is it? how do i do it.
-
Assuming you mean the updater. It\'s a way to do the update without the GUI.
Run from a DOS prompt window:
updater --auto
-
that really doesnt help us stupid people
-
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.
-
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 -)
-
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.
-
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.
-
Originally posted by Disq
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.
-
Place a space between the last quote and the --auto.
A space is what you get when you hit the Space bar.
-
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.
-
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.
-
its still not working, heres the error msg in the dos prompt
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.
-
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.
-
i already had -auto and the code i put is what the dos prompt said.
re installing does help either
-
okay then try this
start
run...
type cmd
type cd\\
cd program files
cd planeshift crystal blue
updater --auto
hope it works.....^.^
-
That bit about
Invalid switch - /S is really bugging me. Where is that coming from? Does your Target field contain a rogue carriage return that\'s hiding the second line of this one-line field? Is there some system-level setting that\'s frelling things up?
I\'m really just brainstorming here; if it makes no sense just ignore me - everyone else does :P
-
Originally posted by Mr. Dave
That bit aboutInvalid switch - /S is really bugging me. Where is that coming from? Does your Target field contain a rogue carriage return that\'s hiding the second line of this one-line field? Is there some system-level setting that\'s frelling things up?
I\'m really just brainstorming here; if it makes no sense just ignore me - everyone else does :P
no way i\'ll ignore you, your the only other person who cares that its an invalid switch. i know thats why my updater is messed, but i got no clue what to do.