Author Topic: Updater.jar Split/Update  (Read 4890 times)

r.guppy

  • Guest
(No subject)
« Reply #15 on: November 22, 2005, 06:28:56 pm »

 to show graphics, ran update again no crashes so far.   :))
After a lot of testing load GUI at start takes 3to 4 mins map joins the same, and crashes 50/50 towords end of load GUI at start up, also crash if i try to get tria from inventry and if i click on guild flag it crash. Hope this helps.

 I have a console log zipped but daunt no haw to send it to you ChaOS ?
« Last Edit: November 23, 2005, 03:26:36 pm by r.guppy »

wain

  • Hydlaa Resident
  • *
  • Posts: 50
    • View Profile
(No subject)
« Reply #16 on: November 23, 2005, 01:46:43 pm »
Woo! After using the new updater, I can finally run psclient again. Thanks Cha0s :)

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #17 on: November 23, 2005, 07:02:48 pm »
wain: great!

r.guppy: email it to ctta0s @t gmail D0T com

Note that the zero in \"ctta0s\" actually is a zero.
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

r.guppy

  • Guest
(No subject)
« Reply #18 on: November 23, 2005, 07:32:46 pm »
Sent it to you and little note hope it helps. :))

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #19 on: November 24, 2005, 06:48:47 pm »
Sent it to dfryer. By the way, could you remind Pip to update her specs in the User System Specs sticky? Thanks.

P.S. I\'ve added a new command to Updater.jar: \"-mir \" allows you to pick the mirror you want it to try first when running from the command line.
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

Pip

  • Hydlaa Resident
  • *
  • Posts: 128
    • View Profile
(No subject)
« Reply #20 on: November 24, 2005, 07:03:56 pm »
Have updated my specs, thanks.

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #21 on: November 26, 2005, 11:31:06 pm »
Two notes: First, I\'ve updated the \"old\" version of Updater.jar (Updater-old.jar) to include all of my changes/bug fixes up to this point (except proxies, of course). This means that all the 10.2 and 10.3 users have hashes!

Second, dfryer seems to have fixed the 10.3/nVIDIA bug. You should see this fix in the next update. :)

EDIT: Updater.jar and Updater-old.jar have both been updated so as to be able to update themselves! Joy. :)
« Last Edit: November 30, 2005, 04:17:16 am by Cha0s »
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

Felix Yellowhair

  • Hydlaa Resident
  • *
  • Posts: 120
    • View Profile
(No subject)
« Reply #22 on: November 30, 2005, 06:48:22 am »
I ran the updater (reg) after being told that my version of PS was wrong.
Tried it again after the updater ran and got same message.
Ran updater.jar and for the heck of it, I tried pssetup and it worked.
I than ran psclient and got on.    PS still has problems but was able to play until it crashed.
Thank you ChaOs and DFreyer for all your work.   Oh when I got on I heard that Linux was down.  
« Last Edit: November 30, 2005, 06:49:24 am by Felix Yellowhair »
Felix Yellowhair
:D

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #23 on: December 01, 2005, 12:55:49 am »
Good the hear Felix! And yes, dfryer did fix pssetup. :)

In other news, Updater.jar and Updater-old.jar have been updated again. Those who downloaded Updater.jar yesterday when I made my announcement about the auto-update can simply run Updater.jar to get the new Updater.jar. Note that there was a bug in Updater-old.jar that screws up self-updating which has been fixed in this version. You\'ll have to download manually this time. This update, in addition to addressing the aforementioned bug (as well as a few others) adds the mirror selection option to the GUI as well as moving around the GUI a bit and adding a new command, -noselfupdate, which tells the updater to not check for updates to itself and carry on updating as usual.

Note: if you haven\'t noticed, I\'ve worked out a system for co-distributing Updater.jar and Updater-old.jar together. This costs be about 10-15 minutes of extra time (plus debug time, which can add up), but is overall not too much of burden. In the long run, i.e. a year or two, I will probably drop Updater-old.jar... So thinking ahead, make it your New Year\'s resolution to upgrade to 10.4. :)
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

wain

  • Hydlaa Resident
  • *
  • Posts: 50
    • View Profile
(No subject)
« Reply #24 on: December 01, 2005, 12:10:29 pm »
Using the latest version of Updater.jar, I forced it to use mirror 3 (nice feature, btw!). It said:

Using mirror 3.
Downloading zipped repository
Unzipping repository
Error getting zip entries from file.
Update failed at 12/01/2005: 21:03:01.

So, it appears that mirror 3 is still corrupt. This is the same error it\'s been giving me for many weeks.

Also a trivial nitpick;)... It seems to be using the US date system (month/day/year) despite the fact that my system is set to use day/month/year. I wonder if that\'s a bug with Apple Java, or if it\'s something you\'ve hard coded?

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #25 on: December 01, 2005, 07:19:06 pm »
Interesting. Mirrors 2-4 work fine for me. Could you run it from Terminal with -debugmode and tell me the output you get there?

As for the date thing, yes that is hard-coded. I\'m looking into an option to fix it. If I remember, I\'ll probably include it in today\'s update (yes, I\'m on a three-day streak. :) ).
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

wain

  • Hydlaa Resident
  • *
  • Posts: 50
    • View Profile
(No subject)
« Reply #26 on: December 01, 2005, 09:47:59 pm »
I\'m actually not sure how to run Updater.jar from the command line any more.

It seems that the java command line interpreter still assumes Java 1.4.2 by default, regardless of what version was set by the Java Preferences utility. I can\'t find an Apple document on how to correct that.

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #27 on: December 02, 2005, 12:00:45 am »
Part 2b of the Guide should do it. ;) And I haven\'t finished the update yet, so don\'t go rushing off to download it or anything... :P

EDIT: Updater updated to include a Quit button and a few bug fixes. Also, date/time strings should be displayed correctly based on your area (i.e. day before month in Europe), though I\'m not guaranteeing anything...
« Last Edit: December 02, 2005, 03:09:10 am by Cha0s »
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

wain

  • Hydlaa Resident
  • *
  • Posts: 50
    • View Profile
(No subject)
« Reply #28 on: December 03, 2005, 12:09:12 pm »
Quote
Originally posted by Cha0s
Part 2b of the Guide should do it. ;)


Unfortunately, the script file mentioned in part 2b doesn\'t seem to be working. I followed exactly what part 2b said to do. When I click run, it just opens a new terminal window, with no request for a password or anything. And nothing is changed.

However, I manually executed the script instructions (which is actually much simpler than all the hassle of downloading and running the script anyway!), and got the shell Java interpreter to execute Updater.jar. Yay.

When trying to update from mirror 3, it gives the following errors:

Freya:/Applications/Planeshift3D Wayne$ java -jar Updater.jar -mir 3 -debugmode
Debug mode on.
Proxy not active.
java.lang.Exception: Proxy not active.
        at Updater.getConfiguration(Updater.java:459)
        at Updater.main(Updater.java:314)
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.(ZipFile.java:203)
        at java.util.zip.ZipFile.(ZipFile.java:84)
        at Updater.unzip(Updater.java:1829)
        at Updater.getRepository(Updater.java:822)
        at Updater.access$3000(Updater.java:29)
        at Updater$3.run(Updater.java:697)
        at java.lang.Thread.run(Thread.java:613)
« Last Edit: December 03, 2005, 12:10:48 pm by wain »

wain

  • Hydlaa Resident
  • *
  • Posts: 50
    • View Profile
(No subject)
« Reply #29 on: December 03, 2005, 12:32:59 pm »
Assuming that updaterconfig.xml is the correct file, the parameters for mirror 3 are:

Just thought I should add that, in case your settings are different.


BTW, would it be a hassle to wrap your JAR file as an application bundle before distribution? It seems that Jar Bundler does most of the work for you, and it\'d save a lot of troubles at the user end (version changing, etc.), and make the application a lot more Mac-like. The core .jar file would still be pure Java, and therefore remain cross-platform, it\'s just the wrapper that\'s Mac-specific.
« Last Edit: December 03, 2005, 12:33:40 pm by wain »