rename main to g_earth
@ -1,3 +1,3 @@
|
||||
Manifest-Version: 1.0
|
||||
Main-Class: main.Main
|
||||
Main-Class: g_earth.Main
|
||||
|
||||
|
@ -1,16 +1,12 @@
|
||||
package main;
|
||||
package g_earth;
|
||||
|
||||
import javafx.application.Application;
|
||||
import javafx.application.Platform;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Parent;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.stage.Modality;
|
||||
import javafx.stage.Stage;
|
||||
import javafx.stage.StageStyle;
|
||||
import main.ui.GEarthController;
|
||||
|
||||
import java.util.Arrays;
|
||||
import g_earth.ui.GEarthController;
|
||||
|
||||
// run as root issue Invalid MIT-MAGIC-COOKIE-1 key fix: https://stackoverflow.com/questions/48139447/invalid-mit-magic-cookie-1-key
|
||||
|
@ -1,8 +1,8 @@
|
||||
package main.extensions;
|
||||
package g_earth.extensions;
|
||||
|
||||
import main.protocol.HMessage;
|
||||
import main.protocol.HPacket;
|
||||
import main.ui.extensions.Extensions;
|
||||
import g_earth.protocol.HMessage;
|
||||
import g_earth.protocol.HPacket;
|
||||
import g_earth.ui.extensions.Extensions;
|
||||
|
||||
import java.io.*;
|
||||
import java.net.Socket;
|
@ -1,10 +1,10 @@
|
||||
package main.extensions;
|
||||
package g_earth.extensions;
|
||||
|
||||
import javafx.application.Application;
|
||||
import javafx.application.Platform;
|
||||
import javafx.stage.Stage;
|
||||
import main.protocol.HMessage;
|
||||
import main.protocol.HPacket;
|
||||
import g_earth.protocol.HMessage;
|
||||
import g_earth.protocol.HPacket;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 22/09/18.
|
@ -1,4 +1,4 @@
|
||||
package main.extensions;
|
||||
package g_earth.extensions;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
@ -1,9 +1,9 @@
|
||||
package main.extensions.examples.adminonconnect;
|
||||
package g_earth.extensions.examples.adminonconnect;
|
||||
|
||||
import main.extensions.Extension;
|
||||
import main.extensions.ExtensionInfo;
|
||||
import main.protocol.HMessage;
|
||||
import main.protocol.HPacket;
|
||||
import g_earth.extensions.Extension;
|
||||
import g_earth.extensions.ExtensionInfo;
|
||||
import g_earth.protocol.HMessage;
|
||||
import g_earth.protocol.HPacket;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 26/06/18.
|
@ -1,4 +1,4 @@
|
||||
package main.extensions.examples.blockreplacepackets;
|
||||
package g_earth.extensions.examples.blockreplacepackets;
|
||||
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Parent;
|
||||
@ -7,11 +7,9 @@ import javafx.scene.control.Button;
|
||||
import javafx.scene.control.ComboBox;
|
||||
import javafx.scene.control.TextField;
|
||||
import javafx.stage.Stage;
|
||||
import main.extensions.ExtensionForm;
|
||||
import main.extensions.ExtensionInfo;
|
||||
import main.ui.GEarthController;
|
||||
|
||||
import java.net.URL;
|
||||
import g_earth.extensions.ExtensionForm;
|
||||
import g_earth.extensions.ExtensionInfo;
|
||||
import g_earth.ui.GEarthController;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 22/09/18.
|
@ -12,7 +12,7 @@
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
|
||||
<TabPane prefHeight="255.0" prefWidth="580.0" tabClosingPolicy="UNAVAILABLE" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="main.extensions.examples.blockreplacepackets.BlockAndReplacePackets">
|
||||
<TabPane prefHeight="255.0" prefWidth="580.0" tabClosingPolicy="UNAVAILABLE" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="g_earth.extensions.examples.blockreplacepackets.BlockAndReplacePackets">
|
||||
<tabs>
|
||||
<Tab text="Block/replace packet">
|
||||
<content>
|
@ -1,9 +1,9 @@
|
||||
package main.extensions.examples.speechcolorizer;
|
||||
package g_earth.extensions.examples.speechcolorizer;
|
||||
|
||||
import main.extensions.Extension;
|
||||
import main.extensions.ExtensionInfo;
|
||||
import main.protocol.HMessage;
|
||||
import main.protocol.HPacket;
|
||||
import g_earth.extensions.Extension;
|
||||
import g_earth.extensions.ExtensionInfo;
|
||||
import g_earth.protocol.HMessage;
|
||||
import g_earth.protocol.HPacket;
|
||||
|
||||
import java.util.Random;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package main.extensions.extra;
|
||||
package g_earth.extensions.extra;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 22/09/18.
|
@ -1,6 +1,6 @@
|
||||
package main.misc;
|
||||
package g_earth.misc;
|
||||
|
||||
import main.Main;
|
||||
import g_earth.Main;
|
||||
import org.json.simple.JSONObject;
|
||||
import org.json.simple.parser.JSONParser;
|
||||
import org.json.simple.parser.ParseException;
|
||||
@ -9,9 +9,6 @@ import java.io.File;
|
||||
import java.io.FileWriter;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 28/09/18.
|
@ -1,4 +1,4 @@
|
||||
package main.misc;
|
||||
package g_earth.misc;
|
||||
|
||||
import javafx.scene.Group;
|
||||
import javafx.scene.Node;
|
@ -1,4 +1,4 @@
|
||||
package main.misc;
|
||||
package g_earth.misc;
|
||||
|
||||
public class OSValidator {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package main.misc;
|
||||
package g_earth.misc;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 14/06/18.
|
@ -1,12 +1,12 @@
|
||||
package main.protocol;
|
||||
package g_earth.protocol;
|
||||
|
||||
import main.misc.Cacher;
|
||||
import main.protocol.hostreplacer.HostReplacer;
|
||||
import main.protocol.hostreplacer.HostReplacerFactory;
|
||||
import main.protocol.memory.Rc4Obtainer;
|
||||
import main.protocol.packethandler.Handler;
|
||||
import main.protocol.packethandler.IncomingHandler;
|
||||
import main.protocol.packethandler.OutgoingHandler;
|
||||
import g_earth.misc.Cacher;
|
||||
import g_earth.protocol.hostreplacer.HostReplacer;
|
||||
import g_earth.protocol.hostreplacer.HostReplacerFactory;
|
||||
import g_earth.protocol.memory.Rc4Obtainer;
|
||||
import g_earth.protocol.packethandler.Handler;
|
||||
import g_earth.protocol.packethandler.IncomingHandler;
|
||||
import g_earth.protocol.packethandler.OutgoingHandler;
|
||||
|
||||
import java.io.*;
|
||||
import java.net.InetAddress;
|
@ -1,6 +1,6 @@
|
||||
package main.protocol;
|
||||
package g_earth.protocol;
|
||||
|
||||
import main.misc.StringifyAble;
|
||||
import g_earth.misc.StringifyAble;
|
||||
|
||||
public class HMessage implements StringifyAble {
|
||||
|
@ -1,14 +1,12 @@
|
||||
package main.protocol;
|
||||
package g_earth.protocol;
|
||||
|
||||
import main.misc.StringifyAble;
|
||||
import g_earth.misc.StringifyAble;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
public class HPacket implements StringifyAble {
|
||||
// te komen: toExpressions (+impl. expressies)
|
@ -1,4 +1,4 @@
|
||||
package main.protocol;
|
||||
package g_earth.protocol;
|
||||
|
||||
public interface StateChangeListener {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package main.protocol;
|
||||
package g_earth.protocol;
|
||||
|
||||
public interface TrafficListener {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package main.protocol.crypto;
|
||||
package g_earth.protocol.crypto;
|
||||
/*
|
||||
* Copyright (C) 2003 Clarence Ho (clarence@clarenceho.net)
|
||||
* All rights reserved.
|
||||
@ -33,11 +33,7 @@ package main.protocol.crypto;
|
||||
* THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
import main.protocol.HPacket;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* This is a simple implementation of the RC4 (tm) encryption algorithm. The
|
@ -1,4 +1,4 @@
|
||||
package main.protocol.hostreplacer;
|
||||
package g_earth.protocol.hostreplacer;
|
||||
|
||||
public interface HostReplacer {
|
||||
|
@ -1,6 +1,6 @@
|
||||
package main.protocol.hostreplacer;
|
||||
package g_earth.protocol.hostreplacer;
|
||||
|
||||
import main.misc.OSValidator;
|
||||
import g_earth.misc.OSValidator;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 04/04/18.
|
@ -1,4 +1,4 @@
|
||||
package main.protocol.hostreplacer;
|
||||
package g_earth.protocol.hostreplacer;
|
||||
|
||||
import java.io.*;
|
||||
import java.util.ArrayList;
|
@ -1,4 +1,4 @@
|
||||
package main.protocol.hostreplacer;
|
||||
package g_earth.protocol.hostreplacer;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 04/04/18.
|
@ -1,16 +1,15 @@
|
||||
package main.protocol.memory;
|
||||
package g_earth.protocol.memory;
|
||||
|
||||
import main.protocol.HConnection;
|
||||
import main.protocol.HMessage;
|
||||
import main.protocol.HPacket;
|
||||
import main.protocol.crypto.RC4;
|
||||
import main.protocol.memory.habboclient.HabboClient;
|
||||
import main.protocol.memory.habboclient.HabboClientFactory;
|
||||
import main.protocol.memory.habboclient.linux.LinuxHabboClient;
|
||||
import main.protocol.packethandler.Handler;
|
||||
import main.protocol.packethandler.IncomingHandler;
|
||||
import main.protocol.packethandler.OutgoingHandler;
|
||||
import main.protocol.packethandler.PayloadBuffer;
|
||||
import g_earth.protocol.HConnection;
|
||||
import g_earth.protocol.HMessage;
|
||||
import g_earth.protocol.HPacket;
|
||||
import g_earth.protocol.crypto.RC4;
|
||||
import g_earth.protocol.memory.habboclient.HabboClient;
|
||||
import g_earth.protocol.memory.habboclient.HabboClientFactory;
|
||||
import g_earth.protocol.packethandler.Handler;
|
||||
import g_earth.protocol.packethandler.IncomingHandler;
|
||||
import g_earth.protocol.packethandler.OutgoingHandler;
|
||||
import g_earth.protocol.packethandler.PayloadBuffer;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
@ -1,6 +1,6 @@
|
||||
package main.protocol.memory.habboclient;
|
||||
package g_earth.protocol.memory.habboclient;
|
||||
|
||||
import main.protocol.HConnection;
|
||||
import g_earth.protocol.HConnection;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package main.protocol.memory.habboclient;
|
||||
package g_earth.protocol.memory.habboclient;
|
||||
|
||||
import main.misc.OSValidator;
|
||||
import main.protocol.HConnection;
|
||||
import main.protocol.memory.habboclient.linux.LinuxHabboClient;
|
||||
import main.protocol.memory.habboclient.windows.WindowsHabboClient;
|
||||
import g_earth.misc.OSValidator;
|
||||
import g_earth.protocol.HConnection;
|
||||
import g_earth.protocol.memory.habboclient.linux.LinuxHabboClient;
|
||||
import g_earth.protocol.memory.habboclient.windows.WindowsHabboClient;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 13/06/18.
|
@ -1,7 +1,7 @@
|
||||
package main.protocol.memory.habboclient.linux;
|
||||
package g_earth.protocol.memory.habboclient.linux;
|
||||
|
||||
import main.protocol.HConnection;
|
||||
import main.protocol.memory.habboclient.HabboClient;
|
||||
import g_earth.protocol.HConnection;
|
||||
import g_earth.protocol.memory.habboclient.HabboClient;
|
||||
|
||||
import java.io.*;
|
||||
import java.nio.file.Files;
|
@ -1,4 +1,4 @@
|
||||
package main.protocol.memory.habboclient.linux;
|
||||
package g_earth.protocol.memory.habboclient.linux;
|
||||
|
||||
public class LinuxMemorySnippet {
|
||||
long offset;
|
@ -1,4 +1,4 @@
|
||||
package main.protocol.memory.habboclient.windows;
|
||||
package g_earth.protocol.memory.habboclient.windows;
|
||||
|
||||
//import com.sun.jna.Memory;
|
||||
//import com.sun.jna.Native;
|
||||
@ -8,13 +8,9 @@ package main.protocol.memory.habboclient.windows;
|
||||
//import com.sun.jna.platform.win32.WinBase;
|
||||
//import com.sun.jna.platform.win32.WinNT;
|
||||
//import com.sun.jna.ptr.IntByReference;
|
||||
import main.protocol.HConnection;
|
||||
import main.protocol.memory.habboclient.HabboClient;
|
||||
import g_earth.protocol.HConnection;
|
||||
import g_earth.protocol.memory.habboclient.HabboClient;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.lang.reflect.Array;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
@ -1,4 +1,4 @@
|
||||
package main.protocol.packethandler;
|
||||
package g_earth.protocol.packethandler;
|
||||
|
||||
|
||||
public interface BufferListener {
|
@ -1,9 +1,9 @@
|
||||
package main.protocol.packethandler;
|
||||
package g_earth.protocol.packethandler;
|
||||
|
||||
import main.protocol.HMessage;
|
||||
import main.protocol.HPacket;
|
||||
import main.protocol.TrafficListener;
|
||||
import main.protocol.crypto.RC4;
|
||||
import g_earth.protocol.HMessage;
|
||||
import g_earth.protocol.HPacket;
|
||||
import g_earth.protocol.TrafficListener;
|
||||
import g_earth.protocol.crypto.RC4;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
@ -1,8 +1,8 @@
|
||||
package main.protocol.packethandler;
|
||||
package g_earth.protocol.packethandler;
|
||||
|
||||
import main.protocol.HMessage;
|
||||
import main.protocol.HPacket;
|
||||
import main.protocol.TrafficListener;
|
||||
import g_earth.protocol.HMessage;
|
||||
import g_earth.protocol.HPacket;
|
||||
import g_earth.protocol.TrafficListener;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
@ -1,11 +1,10 @@
|
||||
package main.protocol.packethandler;
|
||||
package g_earth.protocol.packethandler;
|
||||
|
||||
import main.protocol.HMessage;
|
||||
import main.protocol.HPacket;
|
||||
import g_earth.protocol.HMessage;
|
||||
import g_earth.protocol.HPacket;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
import java.util.List;
|
||||
|
||||
public class OutgoingHandler extends Handler {
|
||||
|
@ -1,6 +1,6 @@
|
||||
package main.protocol.packethandler;
|
||||
package g_earth.protocol.packethandler;
|
||||
|
||||
import main.protocol.HPacket;
|
||||
import g_earth.protocol.HPacket;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
@ -7,7 +7,7 @@
|
||||
|
||||
<!--maxHeight="19.0" minHeight="19.0"-->
|
||||
|
||||
<VBox xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="main.ui.GEarthController">
|
||||
<VBox xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="g_earth.ui.GEarthController">
|
||||
<Pane fx:id="mover" maxHeight="0.0" minHeight="0.0" prefWidth="200.0" />
|
||||
<TabPane fx:id="tabBar" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="295.0" prefWidth="565.0" tabClosingPolicy="UNAVAILABLE">
|
||||
<tabs>
|
@ -1,18 +1,18 @@
|
||||
package main.ui;
|
||||
package g_earth.ui;
|
||||
|
||||
import javafx.scene.control.Tab;
|
||||
import javafx.scene.control.TabPane;
|
||||
import javafx.scene.layout.Pane;
|
||||
import javafx.stage.Stage;
|
||||
import main.protocol.HConnection;
|
||||
import main.ui.connection.Connection;
|
||||
import main.ui.extensions.Extensions;
|
||||
import main.ui.info.Info;
|
||||
import main.ui.injection.Injection;
|
||||
import main.ui.logger.Logger;
|
||||
import main.ui.scheduler.Scheduler;
|
||||
import main.ui.settings.Settings;
|
||||
import main.ui.tools.Tools;
|
||||
import g_earth.protocol.HConnection;
|
||||
import g_earth.ui.connection.Connection;
|
||||
import g_earth.ui.extensions.Extensions;
|
||||
import g_earth.ui.info.Info;
|
||||
import g_earth.ui.injection.Injection;
|
||||
import g_earth.ui.logger.Logger;
|
||||
import g_earth.ui.scheduler.Scheduler;
|
||||
import g_earth.ui.settings.Settings;
|
||||
import g_earth.ui.tools.Tools;
|
||||
|
||||
public class GEarthController {
|
||||
|
@ -1,11 +1,7 @@
|
||||
package main.ui;
|
||||
package g_earth.ui;
|
||||
|
||||
|
||||
import main.protocol.HConnection;
|
||||
import main.protocol.HMessage;
|
||||
import main.protocol.HPacket;
|
||||
|
||||
import java.awt.*;
|
||||
import g_earth.protocol.HConnection;
|
||||
|
||||
public class SubForm {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package main.ui.buttons;
|
||||
package g_earth.ui.buttons;
|
||||
|
||||
import javafx.event.EventHandler;
|
||||
import javafx.scene.Cursor;
|
@ -1,8 +1,4 @@
|
||||
package main.ui.buttons;
|
||||
|
||||
import org.omg.CORBA.Environment;
|
||||
|
||||
import java.io.File;
|
||||
package g_earth.ui.buttons;
|
||||
|
||||
public class DeleteButton extends BoxButton {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package main.ui.buttons;
|
||||
package g_earth.ui.buttons;
|
||||
|
||||
public class EditButton extends BoxButton {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package main.ui.buttons;
|
||||
package g_earth.ui.buttons;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 26/09/18.
|
@ -1,4 +1,4 @@
|
||||
package main.ui.buttons;
|
||||
package g_earth.ui.buttons;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 26/09/18.
|
@ -1,4 +1,4 @@
|
||||
package main.ui.buttons;
|
||||
package g_earth.ui.buttons;
|
||||
|
||||
import javafx.beans.InvalidationListener;
|
||||
import javafx.event.EventHandler;
|
@ -1,4 +1,4 @@
|
||||
package main.ui.buttons;
|
||||
package g_earth.ui.buttons;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 26/09/18.
|
@ -1,4 +1,4 @@
|
||||
package main.ui.buttons;
|
||||
package g_earth.ui.buttons;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 19/07/18.
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 443 B After Width: | Height: | Size: 443 B |
Before Width: | Height: | Size: 460 B After Width: | Height: | Size: 460 B |
Before Width: | Height: | Size: 454 B After Width: | Height: | Size: 454 B |
Before Width: | Height: | Size: 644 B After Width: | Height: | Size: 644 B |
Before Width: | Height: | Size: 538 B After Width: | Height: | Size: 538 B |
Before Width: | Height: | Size: 677 B After Width: | Height: | Size: 677 B |
Before Width: | Height: | Size: 642 B After Width: | Height: | Size: 642 B |
Before Width: | Height: | Size: 725 B After Width: | Height: | Size: 725 B |
Before Width: | Height: | Size: 621 B After Width: | Height: | Size: 621 B |
Before Width: | Height: | Size: 643 B After Width: | Height: | Size: 643 B |
Before Width: | Height: | Size: 535 B After Width: | Height: | Size: 535 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 446 B After Width: | Height: | Size: 446 B |
@ -11,7 +11,7 @@
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<GridPane alignment="CENTER" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="main.ui.connection.Connection">
|
||||
<GridPane alignment="CENTER" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="g_earth.ui.connection.Connection">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
</columnConstraints>
|
@ -1,17 +1,10 @@
|
||||
package main.ui.connection;
|
||||
package g_earth.ui.connection;
|
||||
|
||||
import javafx.application.Platform;
|
||||
import javafx.beans.InvalidationListener;
|
||||
import javafx.beans.Observable;
|
||||
import javafx.event.ActionEvent;
|
||||
import javafx.event.Event;
|
||||
import javafx.event.EventHandler;
|
||||
import javafx.event.EventType;
|
||||
import javafx.scene.control.*;
|
||||
import main.protocol.HConnection;
|
||||
import main.protocol.HMessage;
|
||||
import main.protocol.TrafficListener;
|
||||
import main.ui.SubForm;
|
||||
import g_earth.protocol.HConnection;
|
||||
import g_earth.ui.SubForm;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
@ -1,4 +1,4 @@
|
||||
package main.ui.extensions;
|
||||
package g_earth.ui.extensions;
|
||||
|
||||
import javafx.event.EventHandler;
|
||||
import javafx.geometry.Insets;
|
||||
@ -8,17 +8,13 @@ import javafx.scene.input.MouseEvent;
|
||||
import javafx.scene.layout.*;
|
||||
import javafx.scene.paint.Paint;
|
||||
import javafx.scene.text.Font;
|
||||
import main.extensions.Extension;
|
||||
import main.misc.ConfirmationDialog;
|
||||
import main.ui.buttons.*;
|
||||
import main.ui.extensions.executer.ExecutionInfo;
|
||||
import main.ui.extensions.executer.ExtensionRunner;
|
||||
import main.ui.extensions.executer.ExtensionRunnerFactory;
|
||||
import main.ui.extensions.executer.NormalExtensionRunner;
|
||||
import main.ui.scheduler.ScheduleItem;
|
||||
import g_earth.misc.ConfirmationDialog;
|
||||
import g_earth.ui.buttons.*;
|
||||
import g_earth.ui.extensions.executer.ExecutionInfo;
|
||||
import g_earth.ui.extensions.executer.ExtensionRunner;
|
||||
import g_earth.ui.extensions.executer.ExtensionRunnerFactory;
|
||||
import g_earth.ui.extensions.executer.NormalExtensionRunner;
|
||||
|
||||
import javax.tools.Tool;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
|
||||
/**
|
@ -1,4 +1,4 @@
|
||||
package main.ui.extensions;
|
||||
package g_earth.ui.extensions;
|
||||
|
||||
import javafx.scene.Node;
|
||||
import javafx.scene.control.ScrollPane;
|
@ -10,7 +10,7 @@
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="main.ui.extensions.Extensions">
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="g_earth.ui.extensions.Extensions">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="1.7976931348623157E308" minWidth="10.0" prefWidth="277.0" />
|
||||
</columnConstraints>
|
@ -1,8 +1,6 @@
|
||||
package main.ui.extensions;
|
||||
package g_earth.ui.extensions;
|
||||
|
||||
import javafx.application.Platform;
|
||||
import javafx.beans.*;
|
||||
import javafx.beans.Observable;
|
||||
import javafx.event.ActionEvent;
|
||||
import javafx.scene.control.Button;
|
||||
import javafx.scene.control.ScrollPane;
|
||||
@ -10,20 +8,16 @@ import javafx.scene.control.TextField;
|
||||
import javafx.scene.layout.GridPane;
|
||||
import javafx.scene.layout.VBox;
|
||||
import javafx.stage.FileChooser;
|
||||
import main.Main;
|
||||
import main.protocol.*;
|
||||
import main.ui.SubForm;
|
||||
import main.ui.extensions.executer.ExecutionInfo;
|
||||
import main.ui.extensions.executer.ExtensionRunner;
|
||||
import main.ui.extensions.executer.ExtensionRunnerFactory;
|
||||
import main.ui.scheduler.ScheduleItem;
|
||||
import sun.misc.ExtensionInfo;
|
||||
import g_earth.Main;
|
||||
import g_earth.protocol.*;
|
||||
import g_earth.ui.SubForm;
|
||||
import g_earth.ui.extensions.executer.ExecutionInfo;
|
||||
import g_earth.ui.extensions.executer.ExtensionRunner;
|
||||
import g_earth.ui.extensions.executer.ExtensionRunnerFactory;
|
||||
import g_earth.ui.scheduler.ScheduleItem;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.File;
|
||||
import java.io.FileReader;
|
||||
import java.io.IOException;
|
||||
import java.net.ServerSocket;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
@ -1,7 +1,7 @@
|
||||
package main.ui.extensions;
|
||||
package g_earth.ui.extensions;
|
||||
|
||||
import javafx.beans.InvalidationListener;
|
||||
import main.protocol.HPacket;
|
||||
import g_earth.protocol.HPacket;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.IOException;
|
@ -1,4 +1,4 @@
|
||||
package main.ui.extensions;
|
||||
package g_earth.ui.extensions;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.ServerSocket;
|
@ -1,4 +1,4 @@
|
||||
package main.ui.extensions.executer;
|
||||
package g_earth.ui.extensions.executer;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
@ -1,10 +1,4 @@
|
||||
package main.ui.extensions.executer;
|
||||
|
||||
import java.nio.file.Path;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
package g_earth.ui.extensions.executer;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 21/09/18.
|
@ -1,4 +1,4 @@
|
||||
package main.ui.extensions.executer;
|
||||
package g_earth.ui.extensions.executer;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 22/09/18.
|
@ -1,6 +1,6 @@
|
||||
package main.ui.extensions.executer;
|
||||
package g_earth.ui.extensions.executer;
|
||||
|
||||
import main.Main;
|
||||
import g_earth.Main;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
@ -6,7 +6,7 @@
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="main.ui.info.Info">
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="g_earth.ui.info.Info">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="367.0" minWidth="10.0" prefWidth="332.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="390.0" minWidth="10.0" prefWidth="233.0" />
|
@ -1,7 +1,7 @@
|
||||
package main.ui.info;
|
||||
package g_earth.ui.info;
|
||||
|
||||
import javafx.scene.control.TextArea;
|
||||
import main.ui.SubForm;
|
||||
import g_earth.ui.SubForm;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 06/04/18.
|
@ -9,7 +9,7 @@
|
||||
<?import javafx.scene.text.Font?>
|
||||
<?import javafx.scene.text.Text?>
|
||||
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="main.ui.injection.Injection">
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="g_earth.ui.injection.Injection">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
</columnConstraints>
|
@ -1,4 +1,4 @@
|
||||
package main.ui.injection;
|
||||
package g_earth.ui.injection;
|
||||
|
||||
import javafx.application.Platform;
|
||||
import javafx.event.ActionEvent;
|
||||
@ -7,9 +7,9 @@ import javafx.scene.control.TextArea;
|
||||
import javafx.scene.paint.Color;
|
||||
import javafx.scene.paint.Paint;
|
||||
import javafx.scene.text.Text;
|
||||
import main.protocol.HConnection;
|
||||
import main.protocol.HPacket;
|
||||
import main.ui.SubForm;
|
||||
import g_earth.protocol.HConnection;
|
||||
import g_earth.protocol.HPacket;
|
||||
import g_earth.ui.SubForm;
|
||||
|
||||
public class Injection extends SubForm {
|
||||
public TextArea inputPacket;
|
@ -12,7 +12,7 @@
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.text.TextFlow?>
|
||||
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="main.ui.logger.Logger">
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="g_earth.ui.logger.Logger">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="293.0" minWidth="10.0" prefWidth="242.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="390.0" minWidth="10.0" prefWidth="323.0" />
|
@ -1,4 +1,4 @@
|
||||
package main.ui.logger;
|
||||
package g_earth.ui.logger;
|
||||
|
||||
import javafx.application.Platform;
|
||||
import javafx.event.ActionEvent;
|
||||
@ -9,15 +9,13 @@ import javafx.scene.input.KeyCode;
|
||||
import javafx.scene.paint.Color;
|
||||
import javafx.scene.text.Text;
|
||||
import javafx.scene.text.TextFlow;
|
||||
import main.protocol.HConnection;
|
||||
import main.protocol.HMessage;
|
||||
import main.ui.SubForm;
|
||||
import main.ui.logger.loggerdisplays.PacketLogger;
|
||||
import main.ui.logger.loggerdisplays.PacketLoggerFactory;
|
||||
import g_earth.protocol.HConnection;
|
||||
import g_earth.protocol.HMessage;
|
||||
import g_earth.ui.SubForm;
|
||||
import g_earth.ui.logger.loggerdisplays.PacketLogger;
|
||||
import g_earth.ui.logger.loggerdisplays.PacketLoggerFactory;
|
||||
|
||||
import java.util.Calendar;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class Logger extends SubForm {
|
||||
|
@ -1,6 +1,6 @@
|
||||
package main.ui.logger.loggerdisplays;
|
||||
package g_earth.ui.logger.loggerdisplays;
|
||||
|
||||
import main.protocol.HPacket;
|
||||
import g_earth.protocol.HPacket;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
@ -1,7 +1,6 @@
|
||||
package main.ui.logger.loggerdisplays;
|
||||
package g_earth.ui.logger.loggerdisplays;
|
||||
|
||||
import main.protocol.HMessage;
|
||||
import main.protocol.HPacket;
|
||||
import g_earth.protocol.HPacket;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 04/04/18.
|
@ -1,6 +1,6 @@
|
||||
package main.ui.logger.loggerdisplays;
|
||||
package g_earth.ui.logger.loggerdisplays;
|
||||
|
||||
import main.misc.OSValidator;
|
||||
import g_earth.misc.OSValidator;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 04/04/18.
|
@ -1,6 +1,6 @@
|
||||
package main.ui.logger.loggerdisplays;
|
||||
package g_earth.ui.logger.loggerdisplays;
|
||||
|
||||
import main.protocol.HPacket;
|
||||
import g_earth.protocol.HPacket;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 04/04/18.
|
@ -1,4 +1,4 @@
|
||||
package main.ui.scheduler;
|
||||
package g_earth.ui.scheduler;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 11/04/18.
|
@ -1,12 +1,12 @@
|
||||
package main.ui.scheduler;
|
||||
package g_earth.ui.scheduler;
|
||||
|
||||
import javafx.beans.InvalidationListener;
|
||||
import javafx.beans.property.SimpleBooleanProperty;
|
||||
import javafx.beans.property.SimpleIntegerProperty;
|
||||
import javafx.beans.property.SimpleObjectProperty;
|
||||
import main.misc.StringifyAble;
|
||||
import main.protocol.HMessage;
|
||||
import main.protocol.HPacket;
|
||||
import g_earth.misc.StringifyAble;
|
||||
import g_earth.protocol.HMessage;
|
||||
import g_earth.protocol.HPacket;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,4 +1,4 @@
|
||||
package main.ui.scheduler;
|
||||
package g_earth.ui.scheduler;
|
||||
|
||||
import javafx.geometry.Insets;
|
||||
import javafx.geometry.Pos;
|
||||
@ -7,9 +7,9 @@ import javafx.scene.control.ScrollPane;
|
||||
import javafx.scene.input.MouseEvent;
|
||||
import javafx.scene.layout.*;
|
||||
import javafx.scene.text.Font;
|
||||
import main.ui.buttons.DeleteButton;
|
||||
import main.ui.buttons.EditButton;
|
||||
import main.ui.buttons.PauseResumeButton;
|
||||
import g_earth.ui.buttons.DeleteButton;
|
||||
import g_earth.ui.buttons.EditButton;
|
||||
import g_earth.ui.buttons.PauseResumeButton;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 07/04/18.
|
@ -12,7 +12,7 @@
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="main.ui.scheduler.Scheduler">
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="g_earth.ui.scheduler.Scheduler">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="1.7976931348623157E308" minWidth="10.0" prefWidth="277.0" />
|
||||
</columnConstraints>
|
@ -1,16 +1,14 @@
|
||||
package main.ui.scheduler;
|
||||
package g_earth.ui.scheduler;
|
||||
|
||||
import javafx.application.Platform;
|
||||
import javafx.beans.InvalidationListener;
|
||||
import javafx.beans.Observable;
|
||||
import javafx.event.ActionEvent;
|
||||
import javafx.scene.control.*;
|
||||
import javafx.scene.layout.GridPane;
|
||||
import javafx.scene.layout.VBox;
|
||||
import javafx.stage.FileChooser;
|
||||
import main.protocol.HMessage;
|
||||
import main.protocol.HPacket;
|
||||
import main.ui.SubForm;
|
||||
import g_earth.protocol.HMessage;
|
||||
import g_earth.protocol.HPacket;
|
||||
import g_earth.ui.SubForm;
|
||||
|
||||
import java.io.*;
|
||||
import java.util.ArrayList;
|
@ -3,7 +3,7 @@
|
||||
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="main.ui.settings.Settings">
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="g_earth.ui.settings.Settings">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="303.0" minWidth="10.0" prefWidth="277.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="390.0" minWidth="10.0" prefWidth="288.0" />
|
@ -1,6 +1,6 @@
|
||||
package main.ui.settings;
|
||||
package g_earth.ui.settings;
|
||||
|
||||
import main.ui.SubForm;
|
||||
import g_earth.ui.SubForm;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 06/04/18.
|
@ -10,7 +10,7 @@
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="main.ui.tools.Tools">
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="262.0" prefWidth="565.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="g_earth.ui.tools.Tools">
|
||||
<rowConstraints>
|
||||
<RowConstraints maxHeight="158.0" minHeight="10.0" prefHeight="134.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints maxHeight="141.0" minHeight="10.0" prefHeight="128.0" vgrow="SOMETIMES" />
|
@ -1,17 +1,14 @@
|
||||
package main.ui.tools;
|
||||
package g_earth.ui.tools;
|
||||
|
||||
import javafx.event.ActionEvent;
|
||||
import javafx.event.EventHandler;
|
||||
import javafx.scene.control.Button;
|
||||
import javafx.scene.control.TextArea;
|
||||
import javafx.scene.control.TextField;
|
||||
import javafx.scene.input.KeyCode;
|
||||
import javafx.scene.input.KeyEvent;
|
||||
import main.protocol.HPacket;
|
||||
import main.ui.SubForm;
|
||||
import g_earth.protocol.HPacket;
|
||||
import g_earth.ui.SubForm;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.ByteOrder;
|
||||
|
||||
|
||||
public class Tools extends SubForm {
|