mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-06 16:50:39 +00:00
[CLEANUP] Cleaned up Landing and using verbose now
This commit is contained in:
@@ -29,11 +29,6 @@ public final class Landing {
|
|||||||
private static String password;
|
private static String password;
|
||||||
public static void main(String... args) throws IOException {
|
public static void main(String... args) throws IOException {
|
||||||
parseArgs(args);
|
parseArgs(args);
|
||||||
try{
|
|
||||||
org.parabot.environment.api.utils.WindowsPreferences.userRoot().remove("Software\\JavaSoft\\Prefs");
|
|
||||||
}catch (Exception e){
|
|
||||||
// Ikov likes to creates preference keys, doesn't it?
|
|
||||||
}
|
|
||||||
|
|
||||||
Core.verbose("Debug mode: " + Core.inDebugMode());
|
Core.verbose("Debug mode: " + Core.inDebugMode());
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
package org.parabot.core.asm.redirect;
|
package org.parabot.core.asm.redirect;
|
||||||
|
|
||||||
|
import org.parabot.core.Core;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.net.URI;
|
import java.net.URI;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@@ -85,7 +87,7 @@ public class FileRedirect extends File{
|
|||||||
|
|
||||||
private static void sout(String s){
|
private static void sout(String s){
|
||||||
if (!cachedFiles.contains(s)) {
|
if (!cachedFiles.contains(s)) {
|
||||||
System.out.println("Requesting file: " + s);
|
Core.verbose("Server requested file: " + s);
|
||||||
cachedFiles.add(s);
|
cachedFiles.add(s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,6 +21,12 @@ public abstract class ServerExecuter {
|
|||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
try {
|
try {
|
||||||
|
try{
|
||||||
|
org.parabot.environment.api.utils.WindowsPreferences.userRoot().remove("Software\\JavaSoft\\Prefs");
|
||||||
|
}catch (Exception e){
|
||||||
|
// Ikov likes to creates preference keys, doesn't it?
|
||||||
|
}
|
||||||
|
|
||||||
Context context = Context.getInstance(provider);
|
Context context = Context.getInstance(provider);
|
||||||
context.load();
|
context.load();
|
||||||
PaintComponent.getInstance().startPainting(context);
|
PaintComponent.getInstance().startPainting(context);
|
||||||
|
|||||||
Reference in New Issue
Block a user