chiark / gitweb /
Add "PCTB:" to the error that PCTB gives nowadays
[jarrg-ian.git] / src / net / chiark / yarrg / MarketUploader.java
index 37be105196b8286d3b6905317bf867a0e58c2559..f1e98ca1bec828df4ea0f39a5aba7a9a7d294f5b 100644 (file)
@@ -160,7 +160,7 @@ implements Runnable, TopLevelWindowListener, GUIInitializedListener {
     }
                
     uploadToYarrg=prefs.getBoolean("uploadToYarrg", true);
-    uploadToPCTB=prefs.getBoolean("uploadToPCTB", true);
+    uploadToPCTB=prefs.getBoolean("uploadToPCTB", false);
     showArbitrage=prefs.getBoolean("showArbitrage", true);
 
     debuglog("main on dispatch thread: "+EventQueue.isDispatchThread());
@@ -774,7 +774,7 @@ implements Runnable, TopLevelWindowListener, GUIInitializedListener {
         e.getPropertyName().equals
         (AccessibleContext.ACCESSIBLE_CHILD_PROPERTY)) {
        Accessible islandInfo =
-         descendNodes(window,new int[] {0,1,0,0,2,2,0,0,0,0,1,2});;
+         descendNodes(window,new int[] {0,1,0,0,2,2,0,0,0,0,1,3});;
        String text = islandInfo.getAccessibleContext().getAccessibleText()
          .getAtIndex(AccessibleText.SENTENCE,0);
        int index = text.indexOf(":");
@@ -1023,7 +1023,7 @@ implements Runnable, TopLevelWindowListener, GUIInitializedListener {
       }
     } catch(Exception e) {
       e.printStackTrace();
-      error("Unable to load Commodity list from server!");
+      error("PCTB: Unable to load Commodity list from server!");
       return null;
     }
     commodMap = map;