Page 3 of 3 FirstFirst 1 2 3
Results 21 to 25 of 25

Thread: Problem after trying to update Java

  1. #21
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,868

    Default

    I went down another rabbit hole but have to wonder - are the working and non working cases identical in terms of startup - i.e. which things are created as tabs and which are opened as windows?

  2. #22
    Senior Member MCroft's Avatar
    Join Date
    Feb 2009
    Location
    Texas
    Posts
    260

    Default

    Here's the debug log. Doesn't look like there's anything there. Steps to produce.
    1. Double click mafia .jar file
    2. Help menu -> Start Debug Log
    3. Click login button
    4. Wait for something to happen
    5. Nothing does
    6. Help menu -> Stop Debug Log
    7. Quit kolmafia
    Originally Posted by Ethelred View Post
    What's really interesting to me about the attached debug log is what isn't there.
    When I run a debug log while logged out, I get
    Code:
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
               KoLmafia v20.7 r20454, Mac OS X, Java 13.0.2
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     Please note: [...]
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     Timestamp: Sun Oct 11 21:04:00 CDT 2020
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     User: 
     Current run: 916
     MRU Script: Unknown
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    but Ethelred doesn't have the last part of that.

    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Code:
             KoLmafia v20.7 r20283, Mac OS X, Java 1.8.0_261
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     Please note: [...]
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     Timestamp: Wed Aug 05 18:00:47 PDT 2020
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Now that's all a block from LogStream.java openStream, so it's weird that it gets that far stops adding lines, and still returns. But it's also the case that the very first line that doesn't show up is
    newStream.println( " User: " + KoLCharacter.getUserName());
    and that it's fine with me having it blank, but not with Ethelred.

    I'm not sure what this all means, but I'm suspicious. Not sure what I'm suspicious of, just suspicious.

  3. #23
    Senior Member
    Join Date
    Sep 2006
    Posts
    386

    Default

    I went down another rabbit hole but have to wonder - are the working and non working cases identical in terms of startup - i.e. which things are created as tabs and which are opened as windows?
    Originally Posted by fronobulax View Post
    I'm not quite sure what you're asking here, but I'll try to answer as best I can, perhaps too verbosely.

    On the "non-working" system, double-clicking a .jar file only leads to the login window. This login window is the same as the one that appears when double-clicking a .jar file on the "working" system. It has 3 tabs: "KoL Login", "Connection", and "Proxy Settings". The contents of the "Connection" and "Proxy Settings" are the same in both cases. Only "Forcibly time-out laggy requests" is checked in the "Connection" tab and all the fields in the "Proxy Settings" tab are blank.

    After a successful login (via double clicking the .jar file on the "working" system, or executing "java -jar <.jar file name>" via a command line on the "non-working" system, the 2 resulting mafia windows are the same: A "Main Interface window" and a "Graphical CLI" window. The "Main Interface window" contains 5 tabs: "Adventure", "Item Manager", "Daily Deeds", "Museum Display", and "Modifier Maximizer". I think that the 2 windows and the 5 tabs are results of configeration decisions I made, but since that hasn't changed in over a decade, my memory is a bit hazy. Modulo any difference due to different KoL characters on the 2 systems, the windows and tabs are the same.

    It occured to me a couple of days ago, that perhaps my settings file(s) on the "non-working" system had been somehow corrupted, so I've been going through those. I've been concentrating on "GLOBAL_prefs.txt" since neither of the other GLOBAL files have changed since before the beginning of the year, long before the problem started. So far I haven't found a smoking gun. I got excited when I found that "coinMasterIndex=2" on the "working" system and "coinMasterIndex=26" on the "non-working system", but changing the 26 to 2 didn't change the behavior at all. There were other minor differences, but nothing that struck me as suspicious.

    Thanks again for devoting some brain power to this and let me know if I failed to answer your intended question.

  4. #24
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,868

    Default

    What's really interesting to me about the attached debug log is what isn't there.
    When I run a debug log while logged out, I get
    Code:
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
               KoLmafia v20.7 r20454, Mac OS X, Java 13.0.2
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     Please note: [...]
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     Timestamp: Sun Oct 11 21:04:00 CDT 2020
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     User: 
     Current run: 916
     MRU Script: Unknown
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    but Ethelred doesn't have the last part of that.

    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Code:
             KoLmafia v20.7 r20283, Mac OS X, Java 1.8.0_261
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     Please note: [...]
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     Timestamp: Wed Aug 05 18:00:47 PDT 2020
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Now that's all a block from LogStream.java openStream, so it's weird that it gets that far stops adding lines, and still returns. But it's also the case that the very first line that doesn't show up is
    newStream.println( " User: " + KoLCharacter.getUserName());
    and that it's fine with me having it blank, but not with Ethelred.

    I'm not sure what this all means, but I'm suspicious. Not sure what I'm suspicious of, just suspicious.
    Originally Posted by MCroft View Post
    I added that data to the log "recently". It is possible that Ethelred's version and log predate that.
    Well, thank you.
    Originally Posted by Veracity View Post

  5. #25
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,868

    Default

    You answered the question but the settings are in Preferences->Look & Feel->Main Interface . Are the things in "Startup as Windows" the same on both and "Startup in Tabs" similarly the same? (You said Yes).

    I found some code that suggested what threads are used or created and the order differs if something is Window instead of a Tab. That could have been a straw to grasp at.
    Well, thank you.
    Originally Posted by Veracity View Post

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •