mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-05-30 21:40:15 +02:00
1.82
-MegaCrypter password links fix
This commit is contained in:
parent
354352fd64
commit
ca866be0fc
@ -61,7 +61,7 @@ import org.apache.http.auth.UsernamePasswordCredentials;
|
|||||||
*/
|
*/
|
||||||
public final class MainPanel {
|
public final class MainPanel {
|
||||||
|
|
||||||
public static final String VERSION = "1.81";
|
public static final String VERSION = "1.82";
|
||||||
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||||
public static final int STREAMER_PORT = 1337;
|
public static final int STREAMER_PORT = 1337;
|
||||||
public static final int WATCHDOG_PORT = 1338;
|
public static final int WATCHDOG_PORT = 1338;
|
||||||
|
@ -190,7 +190,7 @@
|
|||||||
<Component id="logo_label" min="-2" max="-2" attributes="0"/>
|
<Component id="logo_label" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="kiss_server_status" min="-2" pref="18" max="-2" attributes="0"/>
|
<Component id="kiss_server_status" min="-2" pref="18" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
<EmptySpace min="-2" max="-2" attributes="0"/>
|
<EmptySpace min="-2" pref="2" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
|
@ -462,7 +462,7 @@ public final class MainPanelView extends javax.swing.JFrame {
|
|||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
|
||||||
.addComponent(logo_label)
|
.addComponent(logo_label)
|
||||||
.addComponent(kiss_server_status, javax.swing.GroupLayout.PREFERRED_SIZE, 18, javax.swing.GroupLayout.PREFERRED_SIZE))
|
.addComponent(kiss_server_status, javax.swing.GroupLayout.PREFERRED_SIZE, 18, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||||
.addContainerGap())
|
.addGap(2, 2, 2))
|
||||||
);
|
);
|
||||||
|
|
||||||
pack();
|
pack();
|
||||||
|
@ -211,19 +211,14 @@ public final class MegaCrypterAPI {
|
|||||||
noexpire_token = aux[1];
|
noexpire_token = aux[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
String pass = null;
|
String pass;
|
||||||
|
|
||||||
Object pass_val = res_map.get("pass");
|
Object pass_val = res_map.get("pass");
|
||||||
|
|
||||||
if (pass_val instanceof Boolean) {
|
pass = (String) pass_val;
|
||||||
|
|
||||||
pass = null;
|
System.out.println("PASS: "+pass);
|
||||||
|
|
||||||
} else if (expire_val instanceof String) {
|
|
||||||
|
|
||||||
pass = (String) pass_val;
|
|
||||||
}
|
|
||||||
|
|
||||||
System.out.println(noexpire_token);
|
System.out.println(noexpire_token);
|
||||||
|
|
||||||
if (pass != null) {
|
if (pass != null) {
|
||||||
@ -277,8 +272,8 @@ public final class MegaCrypterAPI {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
|
|
||||||
throw new MegaCrypterAPIException("25");
|
bad_pass = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user