From 43d6d4c80cc6a9440c08f56a0f93d6b8c8feb7df Mon Sep 17 00:00:00 2001 From: sirjonasxx <36828922+sirjonasxx@users.noreply.github.com> Date: Sat, 13 Oct 2018 22:54:52 +0200 Subject: [PATCH] test --- .gitignore | 7 +- Extensions/AdminOnConnect/pom.xml | 110 ++++++++++++++ .../adminonconnect/AdminOnConnect.java | 12 +- Extensions/BlockReplacePackets/pom.xml | 135 +++++++++++++++++ .../BlockAndReplacePackets.java | 8 +- .../blockreplacepackets/blockreplace.fxml | 2 +- Extensions/SpeechColorizer/pom.xml | 133 +++++++++++++++++ .../speechcolorizer/SpeechColorizer.java | 10 +- G-Earth-UI/pom.xml | 140 ++++++++++++++++++ G-Earth-UI/src/META-INF/MANIFEST.MF | 3 + .../src/main/java/gearth}/Main.java | 4 +- .../java/gearth}/extensions/Extension.java | 10 +- .../gearth}/extensions/ExtensionForm.java | 6 +- .../gearth}/extensions/ExtensionInfo.java | 2 +- .../gearth}/extensions/extra/Inspector.java | 2 +- .../src/main/java/gearth}/misc/Cacher.java | 39 +++-- .../java/gearth}/misc/ConfirmationDialog.java | 2 +- .../main/java/gearth}/misc/OSValidator.java | 2 +- .../main/java/gearth}/misc/StringifyAble.java | 2 +- .../java/gearth}/protocol/HConnection.java | 30 ++-- .../main/java/gearth}/protocol/HMessage.java | 6 +- .../main/java/gearth}/protocol/HPacket.java | 4 +- .../gearth}/protocol/StateChangeListener.java | 2 +- .../gearth}/protocol/TrafficListener.java | 2 +- .../java/gearth}/protocol/crypto/RC4.java | 2 +- .../protocol/hostreplacer/HostReplacer.java | 2 +- .../hostreplacer/HostReplacerFactory.java | 4 +- .../hostreplacer/UnixHostReplacer.java | 2 +- .../hostreplacer/WindowsHostReplacer.java | 2 +- .../gearth}/protocol/memory/Rc4Obtainer.java | 22 +-- .../memory/habboclient/HabboClient.java | 4 +- .../habboclient/HabboClientFactory.java | 10 +- .../habboclient/linux/LinuxHabboClient.java | 6 +- .../habboclient/linux/LinuxMemorySnippet.java | 2 +- .../windows/WindowsHabboClient.java | 48 +++--- .../packethandler/BufferListener.java | 2 +- .../protocol/packethandler/Handler.java | 10 +- .../packethandler/IncomingHandler.java | 8 +- .../packethandler/OutgoingHandler.java | 6 +- .../protocol/packethandler/PayloadBuffer.java | 4 +- .../src/main/java/gearth}/ui/G-Earth.fxml | 2 +- .../java/gearth}/ui/GEarthController.java | 20 +-- .../src/main/java/gearth}/ui/SubForm.java | 4 +- .../src/main/java/gearth}/ui/bootstrap3.css | 0 .../java/gearth}/ui/buttons/BoxButton.java | 6 +- .../java/gearth}/ui/buttons/DeleteButton.java | 2 +- .../java/gearth}/ui/buttons/EditButton.java | 2 +- .../java/gearth}/ui/buttons/ExitButton.java | 2 +- .../java/gearth}/ui/buttons/FireButton.java | 2 +- .../gearth}/ui/buttons/PauseResumeButton.java | 10 +- .../java/gearth}/ui/buttons/ReloadButton.java | 2 +- .../gearth}/ui/buttons/SimpleClickButton.java | 2 +- .../gearth}/ui/buttons/files/ButtonDelete.png | Bin .../ui/buttons/files/ButtonDeleteHover.png | Bin .../gearth}/ui/buttons/files/ButtonEdit.png | Bin .../ui/buttons/files/ButtonEditHover.png | Bin .../gearth}/ui/buttons/files/ButtonExit.png | Bin .../ui/buttons/files/ButtonExitHover.png | Bin .../gearth}/ui/buttons/files/ButtonFire.png | Bin .../ui/buttons/files/ButtonFireHover.png | Bin .../gearth}/ui/buttons/files/ButtonPause.png | Bin .../ui/buttons/files/ButtonPauseHover.png | Bin .../gearth}/ui/buttons/files/ButtonReload.png | Bin .../ui/buttons/files/ButtonReloadHover.png | Bin .../gearth}/ui/buttons/files/ButtonResume.png | Bin .../ui/buttons/files/ButtonResumeHover.png | Bin .../gearth}/ui/connection/Connection.fxml | 2 +- .../gearth}/ui/connection/Connection.java | 6 +- .../ui/extensions/ExtensionItemContainer.java | 14 +- .../ExtensionItemContainerProducer.java | 2 +- .../gearth}/ui/extensions/Extensions.fxml | 2 +- .../gearth}/ui/extensions/Extensions.java | 18 +-- .../ui/extensions/GEarthExtension.java | 4 +- .../extensions/GEarthExtensionsRegistrer.java | 2 +- .../ui/extensions/executer/ExecutionInfo.java | 2 +- .../extensions/executer/ExtensionRunner.java | 2 +- .../executer/ExtensionRunnerFactory.java | 2 +- .../executer/NormalExtensionRunner.java | 4 +- .../src/main/java/gearth}/ui/info/Info.fxml | 2 +- .../src/main/java/gearth}/ui/info/Info.java | 4 +- .../java/gearth}/ui/injection/Injection.fxml | 2 +- .../java/gearth}/ui/injection/Injection.java | 8 +- .../main/java/gearth}/ui/logger/Logger.fxml | 2 +- .../main/java/gearth}/ui/logger/Logger.java | 12 +- .../loggerdisplays/LinuxTerminalLogger.java | 4 +- .../logger/loggerdisplays/PacketLogger.java | 4 +- .../loggerdisplays/PacketLoggerFactory.java | 4 +- .../loggerdisplays/SimpleTerminalLogger.java | 4 +- .../java/gearth}/ui/scheduler/Interval.java | 2 +- .../gearth}/ui/scheduler/ScheduleItem.java | 8 +- .../ui/scheduler/ScheduleItemContainer.java | 8 +- .../java/gearth}/ui/scheduler/Scheduler.fxml | 2 +- .../java/gearth}/ui/scheduler/Scheduler.java | 8 +- .../java/gearth}/ui/settings/Settings.fxml | 2 +- .../java/gearth}/ui/settings/Settings.java | 4 +- .../src/main/java/gearth}/ui/tools/Tools.fxml | 2 +- .../src/main/java/gearth}/ui/tools/Tools.java | 6 +- json-simple-1.1.1.jar | Bin 23737 -> 0 bytes pom.xml | 29 ++++ src/META-INF/MANIFEST.MF | 3 - 100 files changed, 793 insertions(+), 248 deletions(-) create mode 100644 Extensions/AdminOnConnect/pom.xml rename {src/g_earth/extensions/examples => Extensions/AdminOnConnect/src/main/java/extensions}/adminonconnect/AdminOnConnect.java (84%) create mode 100644 Extensions/BlockReplacePackets/pom.xml rename {src/g_earth/extensions/examples => Extensions/BlockReplacePackets/src/main/java/extensions}/blockreplacepackets/BlockAndReplacePackets.java (89%) rename {src/g_earth/extensions/examples => Extensions/BlockReplacePackets/src/main/java/extensions}/blockreplacepackets/blockreplace.fxml (97%) create mode 100644 Extensions/SpeechColorizer/pom.xml rename {src/g_earth/extensions/examples => Extensions/SpeechColorizer/src/main/java/extensions}/speechcolorizer/SpeechColorizer.java (88%) create mode 100644 G-Earth-UI/pom.xml create mode 100644 G-Earth-UI/src/META-INF/MANIFEST.MF rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/Main.java (96%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/extensions/Extension.java (98%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/extensions/ExtensionForm.java (97%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/extensions/ExtensionInfo.java (91%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/extensions/extra/Inspector.java (66%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/misc/Cacher.java (61%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/misc/ConfirmationDialog.java (98%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/misc/OSValidator.java (98%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/misc/StringifyAble.java (95%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/HConnection.java (95%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/HMessage.java (95%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/HPacket.java (99%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/StateChangeListener.java (82%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/TrafficListener.java (75%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/crypto/RC4.java (99%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/hostreplacer/HostReplacer.java (75%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/hostreplacer/HostReplacerFactory.java (81%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/hostreplacer/UnixHostReplacer.java (98%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/hostreplacer/WindowsHostReplacer.java (85%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/memory/Rc4Obtainer.java (87%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/memory/habboclient/HabboClient.java (81%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/memory/habboclient/HabboClientFactory.java (56%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/memory/habboclient/linux/LinuxHabboClient.java (98%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/memory/habboclient/linux/LinuxMemorySnippet.java (85%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/memory/habboclient/windows/WindowsHabboClient.java (75%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/packethandler/BufferListener.java (63%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/packethandler/Handler.java (96%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/packethandler/IncomingHandler.java (90%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/packethandler/OutgoingHandler.java (91%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/protocol/packethandler/PayloadBuffer.java (95%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/G-Earth.fxml (97%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/GEarthController.java (88%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/SubForm.java (89%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/bootstrap3.css (100%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/BoxButton.java (92%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/DeleteButton.java (83%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/EditButton.java (82%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/ExitButton.java (86%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/FireButton.java (86%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/PauseResumeButton.java (91%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/ReloadButton.java (86%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/SimpleClickButton.java (87%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/files/ButtonDelete.png (100%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/files/ButtonDeleteHover.png (100%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/files/ButtonEdit.png (100%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/files/ButtonEditHover.png (100%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/files/ButtonExit.png (100%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/files/ButtonExitHover.png (100%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/files/ButtonFire.png (100%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/files/ButtonFireHover.png (100%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/files/ButtonPause.png (100%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/files/ButtonPauseHover.png (100%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/files/ButtonReload.png (100%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/files/ButtonReloadHover.png (100%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/files/ButtonResume.png (100%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/buttons/files/ButtonResumeHover.png (100%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/connection/Connection.fxml (99%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/connection/Connection.java (97%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/extensions/ExtensionItemContainer.java (95%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/extensions/ExtensionItemContainerProducer.java (97%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/extensions/Extensions.fxml (99%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/extensions/Extensions.java (97%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/extensions/GEarthExtension.java (99%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/extensions/GEarthExtensionsRegistrer.java (97%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/extensions/executer/ExecutionInfo.java (96%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/extensions/executer/ExtensionRunner.java (86%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/extensions/executer/ExtensionRunnerFactory.java (88%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/extensions/executer/NormalExtensionRunner.java (98%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/info/Info.fxml (96%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/info/Info.java (94%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/injection/Injection.fxml (98%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/injection/Injection.java (94%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/logger/Logger.fxml (99%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/logger/Logger.java (95%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/logger/loggerdisplays/LinuxTerminalLogger.java (97%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/logger/loggerdisplays/PacketLogger.java (89%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/logger/loggerdisplays/PacketLoggerFactory.java (85%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/logger/loggerdisplays/SimpleTerminalLogger.java (95%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/scheduler/Interval.java (97%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/scheduler/ScheduleItem.java (97%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/scheduler/ScheduleItemContainer.java (96%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/scheduler/Scheduler.fxml (99%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/scheduler/Scheduler.java (98%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/settings/Settings.fxml (94%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/settings/Settings.java (60%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/tools/Tools.fxml (99%) rename {src/g_earth => G-Earth-UI/src/main/java/gearth}/ui/tools/Tools.java (98%) delete mode 100644 json-simple-1.1.1.jar create mode 100644 pom.xml delete mode 100644 src/META-INF/MANIFEST.MF diff --git a/.gitignore b/.gitignore index 8e86036..030d93a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,8 @@ .idea/ out/ -G-Earth2.iml +bin/ +**/target/ /G-WinMem/.vs /G-WinMem/x64 /G-WinMem/G-WinMem/x64 -/Extensions/ -G-Earth.iml -/G-EarthWindows.iml \ No newline at end of file +*.iml diff --git a/Extensions/AdminOnConnect/pom.xml b/Extensions/AdminOnConnect/pom.xml new file mode 100644 index 0000000..7a5eab6 --- /dev/null +++ b/Extensions/AdminOnConnect/pom.xml @@ -0,0 +1,110 @@ + + + 4.0.0 + + AdminOnConnect + + jar + + 0.0.1-beta + + + G-Earth + G-Earth-Parent + 0.0.1-beta + + + + + + + false + src/main/java + + **/*.fxml + **/*.css + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.7.0 + + 1.8 + 1.8 + + + + + maven-resources-plugin + 2.6 + + + copy-resources + validate + + copy-resources + + + ${project.build.directory} + + + src/main/resources + + + + + + + + + maven-dependency-plugin + + + package + + copy-dependencies + + + ${project.build.directory}/bin/lib + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.5 + + ${project.build.directory}/bin + + + true + true + extensions.adminonconnect.AdminOnConnect + false + lib/ + true + + + ${artifactId} + + + + + + + + G-Earth + G-Earth-UI + 0.0.1-beta + + + + \ No newline at end of file diff --git a/src/g_earth/extensions/examples/adminonconnect/AdminOnConnect.java b/Extensions/AdminOnConnect/src/main/java/extensions/adminonconnect/AdminOnConnect.java similarity index 84% rename from src/g_earth/extensions/examples/adminonconnect/AdminOnConnect.java rename to Extensions/AdminOnConnect/src/main/java/extensions/adminonconnect/AdminOnConnect.java index c45b141..e7106c8 100644 --- a/src/g_earth/extensions/examples/adminonconnect/AdminOnConnect.java +++ b/Extensions/AdminOnConnect/src/main/java/extensions/adminonconnect/AdminOnConnect.java @@ -1,16 +1,14 @@ -package g_earth.extensions.examples.adminonconnect; +package extensions.adminonconnect; -import g_earth.extensions.Extension; -import g_earth.extensions.ExtensionInfo; -import g_earth.protocol.HMessage; -import g_earth.protocol.HPacket; +import gearth.extensions.Extension; +import gearth.extensions.ExtensionInfo; +import gearth.protocol.HMessage; +import gearth.protocol.HPacket; /** * Created by Jonas on 26/06/18. */ - - @ExtensionInfo( Title = "Always admin!", Description = "Gives you admin permission on connect", diff --git a/Extensions/BlockReplacePackets/pom.xml b/Extensions/BlockReplacePackets/pom.xml new file mode 100644 index 0000000..1eb4c34 --- /dev/null +++ b/Extensions/BlockReplacePackets/pom.xml @@ -0,0 +1,135 @@ + + + 4.0.0 + + BlockReplacePackets + + jar + + 0.0.1-beta + + + G-Earth + G-Earth-Parent + 0.0.1-beta + + + + + + + false + src/main/java + + **/*.fxml + **/*.css + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.7.0 + + 1.8 + 1.8 + + + + + maven-resources-plugin + 2.6 + + + copy-resources + validate + + copy-resources + + + ${project.build.directory} + + + src/main/resources + + + + + + + + + maven-dependency-plugin + + + package + + copy-dependencies + + + ${project.build.directory}/bin/lib + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.5 + + ${project.build.directory}/bin + + + true + true + extensions.blockreplacepackets.BlockAndReplacePackets + false + lib/ + true + + + ${artifactId} + + + + + maven-assembly-plugin + + + package + + single + + + + + ${project.parent.basedir}/bin + + + extensions.blockreplacepackets.BlockAndReplacePackets + + + + jar-with-dependencies + + BlockAndReplacePackets + false + + + + + + + + G-Earth + G-Earth-UI + 0.0.1-beta + + + + \ No newline at end of file diff --git a/src/g_earth/extensions/examples/blockreplacepackets/BlockAndReplacePackets.java b/Extensions/BlockReplacePackets/src/main/java/extensions/blockreplacepackets/BlockAndReplacePackets.java similarity index 89% rename from src/g_earth/extensions/examples/blockreplacepackets/BlockAndReplacePackets.java rename to Extensions/BlockReplacePackets/src/main/java/extensions/blockreplacepackets/BlockAndReplacePackets.java index f646c3e..fb0361e 100644 --- a/src/g_earth/extensions/examples/blockreplacepackets/BlockAndReplacePackets.java +++ b/Extensions/BlockReplacePackets/src/main/java/extensions/blockreplacepackets/BlockAndReplacePackets.java @@ -1,5 +1,6 @@ -package g_earth.extensions.examples.blockreplacepackets; +package extensions.blockreplacepackets; +import gearth.ui.GEarthController; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; @@ -7,9 +8,8 @@ import javafx.scene.control.Button; import javafx.scene.control.ComboBox; import javafx.scene.control.TextField; import javafx.stage.Stage; -import g_earth.extensions.ExtensionForm; -import g_earth.extensions.ExtensionInfo; -import g_earth.ui.GEarthController; +import gearth.extensions.ExtensionForm; +import gearth.extensions.ExtensionInfo; /** * Created by Jonas on 22/09/18. diff --git a/src/g_earth/extensions/examples/blockreplacepackets/blockreplace.fxml b/Extensions/BlockReplacePackets/src/main/java/extensions/blockreplacepackets/blockreplace.fxml similarity index 97% rename from src/g_earth/extensions/examples/blockreplacepackets/blockreplace.fxml rename to Extensions/BlockReplacePackets/src/main/java/extensions/blockreplacepackets/blockreplace.fxml index 70d73c2..893f2a8 100644 --- a/src/g_earth/extensions/examples/blockreplacepackets/blockreplace.fxml +++ b/Extensions/BlockReplacePackets/src/main/java/extensions/blockreplacepackets/blockreplace.fxml @@ -12,7 +12,7 @@ - + diff --git a/Extensions/SpeechColorizer/pom.xml b/Extensions/SpeechColorizer/pom.xml new file mode 100644 index 0000000..54ae551 --- /dev/null +++ b/Extensions/SpeechColorizer/pom.xml @@ -0,0 +1,133 @@ + + + 4.0.0 + + SpeechColorizer + + jar + + 0.0.1-beta + + + G-Earth + G-Earth-Parent + 0.0.1-beta + + + + + + + false + src/main/java + + **/*.fxml + **/*.css + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.7.0 + + 1.8 + 1.8 + + + + + maven-resources-plugin + 2.6 + + + copy-resources + validate + + copy-resources + + + ${project.build.directory} + + + src/main/resources + + + + + + + + + maven-dependency-plugin + + + package + + copy-dependencies + + + ${project.build.directory}/bin/lib + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.5 + + ${project.build.directory}/bin + + + true + true + extensions.speechcolorizer.SpeechColorizer + false + lib/ + true + + + ${artifactId} + + + + + maven-assembly-plugin + + + package + + single + + + + + ${project.parent.basedir}/target/bin + + + extensions.speechcolorizer.SpeechColorizer + + + + jar-with-dependencies + + + + + + + + + G-Earth + G-Earth-UI + 0.0.1-beta + + + + \ No newline at end of file diff --git a/src/g_earth/extensions/examples/speechcolorizer/SpeechColorizer.java b/Extensions/SpeechColorizer/src/main/java/extensions/speechcolorizer/SpeechColorizer.java similarity index 88% rename from src/g_earth/extensions/examples/speechcolorizer/SpeechColorizer.java rename to Extensions/SpeechColorizer/src/main/java/extensions/speechcolorizer/SpeechColorizer.java index c1bef35..f01feb7 100644 --- a/src/g_earth/extensions/examples/speechcolorizer/SpeechColorizer.java +++ b/Extensions/SpeechColorizer/src/main/java/extensions/speechcolorizer/SpeechColorizer.java @@ -1,9 +1,9 @@ -package g_earth.extensions.examples.speechcolorizer; +package extensions.speechcolorizer; -import g_earth.extensions.Extension; -import g_earth.extensions.ExtensionInfo; -import g_earth.protocol.HMessage; -import g_earth.protocol.HPacket; +import gearth.extensions.Extension; +import gearth.extensions.ExtensionInfo; +import gearth.protocol.HMessage; +import gearth.protocol.HPacket; import java.util.Random; diff --git a/G-Earth-UI/pom.xml b/G-Earth-UI/pom.xml new file mode 100644 index 0000000..2643b90 --- /dev/null +++ b/G-Earth-UI/pom.xml @@ -0,0 +1,140 @@ + + + 4.0.0 + + G-Earth-UI + + jar + + 0.0.1-beta + + + G-Earth + G-Earth-Parent + 0.0.1-beta + + + + + + + false + src/main/java + + **/*.fxml + **/*.css + **/*.png + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.7.0 + + 1.8 + 1.8 + + + + + + maven-dependency-plugin + + + package + + copy-dependencies + + + ${project.build.directory}/bin/lib + + + + + + + maven-resources-plugin + 2.6 + + + copy-resources + validate + + copy-resources + + + ${project.build.directory} + + + src/main/resources + + + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.5 + + ${project.build.directory}/bin + + + true + true + lib/ + gearth.Main + false + + + + + + + maven-assembly-plugin + + + package + + single + + + + + ${project.parent.basedir}/bin + + + gearth.Main + + + + jar-with-dependencies + + G-Earth-${project.version} + false + + + + + + + + org.json + json + 20180813 + + + org.fxmisc.richtext + richtextfx + 0.9.1 + + + \ No newline at end of file diff --git a/G-Earth-UI/src/META-INF/MANIFEST.MF b/G-Earth-UI/src/META-INF/MANIFEST.MF new file mode 100644 index 0000000..c12866f --- /dev/null +++ b/G-Earth-UI/src/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Main-Class: gearth.Main + diff --git a/src/g_earth/Main.java b/G-Earth-UI/src/main/java/gearth/Main.java similarity index 96% rename from src/g_earth/Main.java rename to G-Earth-UI/src/main/java/gearth/Main.java index 484c434..06c87c7 100644 --- a/src/g_earth/Main.java +++ b/G-Earth-UI/src/main/java/gearth/Main.java @@ -1,4 +1,4 @@ -package g_earth; +package gearth; import javafx.application.Application; import javafx.application.Platform; @@ -6,7 +6,7 @@ import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; -import g_earth.ui.GEarthController; +import gearth.ui.GEarthController; // run as root issue Invalid MIT-MAGIC-COOKIE-1 key fix: https://stackoverflow.com/questions/48139447/invalid-mit-magic-cookie-1-key diff --git a/src/g_earth/extensions/Extension.java b/G-Earth-UI/src/main/java/gearth/extensions/Extension.java similarity index 98% rename from src/g_earth/extensions/Extension.java rename to G-Earth-UI/src/main/java/gearth/extensions/Extension.java index f7a893d..b4dc3e0 100644 --- a/src/g_earth/extensions/Extension.java +++ b/G-Earth-UI/src/main/java/gearth/extensions/Extension.java @@ -1,8 +1,8 @@ -package g_earth.extensions; +package gearth.extensions; -import g_earth.protocol.HMessage; -import g_earth.protocol.HPacket; -import g_earth.ui.extensions.Extensions; +import gearth.protocol.HMessage; +import gearth.protocol.HPacket; +import gearth.ui.extensions.Extensions; import java.io.*; import java.net.Socket; @@ -134,7 +134,7 @@ public abstract class Extension { onEndConnection(); } else if (packet.headerId() == Extensions.OUTGOING_MESSAGES_IDS.FLAGSCHECK) { - // body = an array of G-Earths main flags + // body = an array of G-Earths gearth flags if (flagRequestCallback != null) { int arraysize = packet.readInteger(); String[] gEarthArgs = new String[arraysize]; diff --git a/src/g_earth/extensions/ExtensionForm.java b/G-Earth-UI/src/main/java/gearth/extensions/ExtensionForm.java similarity index 97% rename from src/g_earth/extensions/ExtensionForm.java rename to G-Earth-UI/src/main/java/gearth/extensions/ExtensionForm.java index 6317f06..75d04fd 100644 --- a/src/g_earth/extensions/ExtensionForm.java +++ b/G-Earth-UI/src/main/java/gearth/extensions/ExtensionForm.java @@ -1,10 +1,10 @@ -package g_earth.extensions; +package gearth.extensions; import javafx.application.Application; import javafx.application.Platform; import javafx.stage.Stage; -import g_earth.protocol.HMessage; -import g_earth.protocol.HPacket; +import gearth.protocol.HMessage; +import gearth.protocol.HPacket; /** * Created by Jonas on 22/09/18. diff --git a/src/g_earth/extensions/ExtensionInfo.java b/G-Earth-UI/src/main/java/gearth/extensions/ExtensionInfo.java similarity index 91% rename from src/g_earth/extensions/ExtensionInfo.java rename to G-Earth-UI/src/main/java/gearth/extensions/ExtensionInfo.java index 98425ab..3e2a527 100644 --- a/src/g_earth/extensions/ExtensionInfo.java +++ b/G-Earth-UI/src/main/java/gearth/extensions/ExtensionInfo.java @@ -1,4 +1,4 @@ -package g_earth.extensions; +package gearth.extensions; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; diff --git a/src/g_earth/extensions/extra/Inspector.java b/G-Earth-UI/src/main/java/gearth/extensions/extra/Inspector.java similarity index 66% rename from src/g_earth/extensions/extra/Inspector.java rename to G-Earth-UI/src/main/java/gearth/extensions/extra/Inspector.java index b8962ed..89acbf5 100644 --- a/src/g_earth/extensions/extra/Inspector.java +++ b/G-Earth-UI/src/main/java/gearth/extensions/extra/Inspector.java @@ -1,4 +1,4 @@ -package g_earth.extensions.extra; +package gearth.extensions.extra; /** * Created by Jonas on 22/09/18. diff --git a/src/g_earth/misc/Cacher.java b/G-Earth-UI/src/main/java/gearth/misc/Cacher.java similarity index 61% rename from src/g_earth/misc/Cacher.java rename to G-Earth-UI/src/main/java/gearth/misc/Cacher.java index 5c4d135..2866e0e 100644 --- a/src/g_earth/misc/Cacher.java +++ b/G-Earth-UI/src/main/java/gearth/misc/Cacher.java @@ -1,49 +1,48 @@ -package g_earth.misc; +package gearth.misc; -import g_earth.Main; -import org.json.simple.JSONObject; -import org.json.simple.parser.JSONParser; -import org.json.simple.parser.ParseException; +import gearth.Main; +import org.json.JSONArray; +import org.json.JSONObject; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.nio.file.Files; +import java.util.List; /** * Created by Jonas on 28/09/18. */ public class Cacher { - private static final String CACHEFILENAME = "cache.json"; + private static final String CACHE_FILENAME = "cache.json"; private static String getCacheDir() { return new File(Main.class.getProtectionDomain().getCodeSource().getLocation().getPath()).getParent(); } private static boolean cacheFileExists() { - File f = new File(getCacheDir(), CACHEFILENAME); + File f = new File(getCacheDir(), CACHE_FILENAME); return (f.exists() && !f.isDirectory()); } private static JSONObject getCacheContents() { if (cacheFileExists()) { try { - File f = new File(getCacheDir(), CACHEFILENAME); + File f = new File(getCacheDir(), CACHE_FILENAME); String contents = String.join("\n", Files.readAllLines(f.toPath())); - JSONParser parser = new JSONParser(); - return (JSONObject) parser.parse(contents); - } catch (IOException | ParseException e) { + return new JSONObject(contents); + } catch (IOException e) { e.printStackTrace(); } } return new JSONObject(); } private static void updateCache(JSONObject contents) { - try (FileWriter file = new FileWriter(new File(getCacheDir(), CACHEFILENAME))) { + try (FileWriter file = new FileWriter(new File(getCacheDir(), CACHE_FILENAME))) { - file.write(contents.toJSONString()); + file.write(contents.toString()); file.flush(); } catch (IOException e) { @@ -53,16 +52,24 @@ public class Cacher { public static void put(String key, Object val) { JSONObject object = getCacheContents(); - if (object.containsKey(key)) object.remove(key); + if (object.has(key)) object.remove(key); object.put(key, val); updateCache(object); } + public static Object get(String key) { JSONObject object = getCacheContents(); - - return object.get(key); + if (object.has(key)) return object.get(key); + else return null; } + + public static List getList(String key) { + JSONObject object = getCacheContents(); + if (object.has(key)) return ((JSONArray)object.get(key)).toList(); + else return null; + } + public static void clear() { updateCache(new JSONObject()); } diff --git a/src/g_earth/misc/ConfirmationDialog.java b/G-Earth-UI/src/main/java/gearth/misc/ConfirmationDialog.java similarity index 98% rename from src/g_earth/misc/ConfirmationDialog.java rename to G-Earth-UI/src/main/java/gearth/misc/ConfirmationDialog.java index aa1e915..3f9e7c6 100644 --- a/src/g_earth/misc/ConfirmationDialog.java +++ b/G-Earth-UI/src/main/java/gearth/misc/ConfirmationDialog.java @@ -1,4 +1,4 @@ -package g_earth.misc; +package gearth.misc; import javafx.scene.Group; import javafx.scene.Node; diff --git a/src/g_earth/misc/OSValidator.java b/G-Earth-UI/src/main/java/gearth/misc/OSValidator.java similarity index 98% rename from src/g_earth/misc/OSValidator.java rename to G-Earth-UI/src/main/java/gearth/misc/OSValidator.java index 4857428..6e3264a 100644 --- a/src/g_earth/misc/OSValidator.java +++ b/G-Earth-UI/src/main/java/gearth/misc/OSValidator.java @@ -1,4 +1,4 @@ -package g_earth.misc; +package gearth.misc; public class OSValidator { diff --git a/src/g_earth/misc/StringifyAble.java b/G-Earth-UI/src/main/java/gearth/misc/StringifyAble.java similarity index 95% rename from src/g_earth/misc/StringifyAble.java rename to G-Earth-UI/src/main/java/gearth/misc/StringifyAble.java index e3cf562..5039c80 100644 --- a/src/g_earth/misc/StringifyAble.java +++ b/G-Earth-UI/src/main/java/gearth/misc/StringifyAble.java @@ -1,4 +1,4 @@ -package g_earth.misc; +package gearth.misc; /** * Created by Jonas on 14/06/18. diff --git a/src/g_earth/protocol/HConnection.java b/G-Earth-UI/src/main/java/gearth/protocol/HConnection.java similarity index 95% rename from src/g_earth/protocol/HConnection.java rename to G-Earth-UI/src/main/java/gearth/protocol/HConnection.java index a2d20fa..a3c9763 100644 --- a/src/g_earth/protocol/HConnection.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/HConnection.java @@ -1,12 +1,13 @@ -package g_earth.protocol; +package gearth.protocol; -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 gearth.misc.Cacher; +import gearth.protocol.hostreplacer.HostReplacer; +import gearth.protocol.hostreplacer.HostReplacerFactory; +import gearth.protocol.memory.Rc4Obtainer; +import gearth.protocol.packethandler.Handler; +import gearth.protocol.packethandler.IncomingHandler; +import gearth.protocol.packethandler.OutgoingHandler; +import org.json.JSONArray; import java.io.*; import java.net.InetAddress; @@ -78,11 +79,11 @@ public class HConnection { autoDetectHosts.add("game-tr.habbo.com:30000"); autoDetectHosts.add("game-us.habbo.com:38101"); - List additionalCachedHotels = (List) Cacher.get(HOTELS_CACHE_KEY); + List additionalCachedHotels = Cacher.getList(HOTELS_CACHE_KEY); if (additionalCachedHotels != null) { - for (String additionalHotel : additionalCachedHotels) { + for (Object additionalHotel : additionalCachedHotels) { if (!autoDetectHosts.contains(additionalHotel)) { - autoDetectHosts.add(additionalHotel); + autoDetectHosts.add((String)additionalHotel); } } } @@ -123,7 +124,7 @@ public class HConnection { // manual method public void prepare(String domain, int port) { - List additionalCachedHotels = (List) Cacher.get(HOTELS_CACHE_KEY); + List additionalCachedHotels = Cacher.getList(HOTELS_CACHE_KEY); if (additionalCachedHotels == null) { additionalCachedHotels = new ArrayList<>(); } @@ -132,7 +133,6 @@ public class HConnection { Cacher.put(HOTELS_CACHE_KEY, additionalCachedHotels); } - List potentialHost = new ArrayList<>(); potentialHost.add(domain+":"+port); prepare(potentialHost); @@ -171,9 +171,9 @@ public class HConnection { } } - List additionalCachedHotels = (List) Cacher.get(HOTELS_CACHE_KEY); + List additionalCachedHotels = Cacher.getList(HOTELS_CACHE_KEY); if (additionalCachedHotels != null) { - for (String host: willremove) { + for (String host : willremove) { additionalCachedHotels.remove(host); } Cacher.put(HOTELS_CACHE_KEY, additionalCachedHotels); diff --git a/src/g_earth/protocol/HMessage.java b/G-Earth-UI/src/main/java/gearth/protocol/HMessage.java similarity index 95% rename from src/g_earth/protocol/HMessage.java rename to G-Earth-UI/src/main/java/gearth/protocol/HMessage.java index d284287..a64a8d1 100644 --- a/src/g_earth/protocol/HMessage.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/HMessage.java @@ -1,6 +1,6 @@ -package g_earth.protocol; +package gearth.protocol; -import g_earth.misc.StringifyAble; +import gearth.misc.StringifyAble; public class HMessage implements StringifyAble { @@ -75,7 +75,7 @@ public class HMessage implements StringifyAble { return message.hPacket.equals(hPacket) && (side == message.side) && (index == message.index); } -// public static void main(String[] args) { +// public static void gearth(String[] args) { // HPacket packet3 = new HPacket(81, new byte[]{0,0,0,1,0,0}); // // HPacket packet = new HPacket(82, new byte[]{0,0,0,1,0,0}); diff --git a/src/g_earth/protocol/HPacket.java b/G-Earth-UI/src/main/java/gearth/protocol/HPacket.java similarity index 99% rename from src/g_earth/protocol/HPacket.java rename to G-Earth-UI/src/main/java/gearth/protocol/HPacket.java index b294f68..f87dc87 100644 --- a/src/g_earth/protocol/HPacket.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/HPacket.java @@ -1,6 +1,6 @@ -package g_earth.protocol; +package gearth.protocol; -import g_earth.misc.StringifyAble; +import gearth.misc.StringifyAble; import java.io.UnsupportedEncodingException; import java.nio.ByteBuffer; diff --git a/src/g_earth/protocol/StateChangeListener.java b/G-Earth-UI/src/main/java/gearth/protocol/StateChangeListener.java similarity index 82% rename from src/g_earth/protocol/StateChangeListener.java rename to G-Earth-UI/src/main/java/gearth/protocol/StateChangeListener.java index 64e1887..3fed137 100644 --- a/src/g_earth/protocol/StateChangeListener.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/StateChangeListener.java @@ -1,4 +1,4 @@ -package g_earth.protocol; +package gearth.protocol; public interface StateChangeListener { diff --git a/src/g_earth/protocol/TrafficListener.java b/G-Earth-UI/src/main/java/gearth/protocol/TrafficListener.java similarity index 75% rename from src/g_earth/protocol/TrafficListener.java rename to G-Earth-UI/src/main/java/gearth/protocol/TrafficListener.java index ab5b034..da5a11c 100644 --- a/src/g_earth/protocol/TrafficListener.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/TrafficListener.java @@ -1,4 +1,4 @@ -package g_earth.protocol; +package gearth.protocol; public interface TrafficListener { diff --git a/src/g_earth/protocol/crypto/RC4.java b/G-Earth-UI/src/main/java/gearth/protocol/crypto/RC4.java similarity index 99% rename from src/g_earth/protocol/crypto/RC4.java rename to G-Earth-UI/src/main/java/gearth/protocol/crypto/RC4.java index 5288fd6..4e51cbe 100644 --- a/src/g_earth/protocol/crypto/RC4.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/crypto/RC4.java @@ -1,4 +1,4 @@ -package g_earth.protocol.crypto; +package gearth.protocol.crypto; /* * Copyright (C) 2003 Clarence Ho (clarence@clarenceho.net) * All rights reserved. diff --git a/src/g_earth/protocol/hostreplacer/HostReplacer.java b/G-Earth-UI/src/main/java/gearth/protocol/hostreplacer/HostReplacer.java similarity index 75% rename from src/g_earth/protocol/hostreplacer/HostReplacer.java rename to G-Earth-UI/src/main/java/gearth/protocol/hostreplacer/HostReplacer.java index 7c83237..596fae7 100644 --- a/src/g_earth/protocol/hostreplacer/HostReplacer.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/hostreplacer/HostReplacer.java @@ -1,4 +1,4 @@ -package g_earth.protocol.hostreplacer; +package gearth.protocol.hostreplacer; public interface HostReplacer { diff --git a/src/g_earth/protocol/hostreplacer/HostReplacerFactory.java b/G-Earth-UI/src/main/java/gearth/protocol/hostreplacer/HostReplacerFactory.java similarity index 81% rename from src/g_earth/protocol/hostreplacer/HostReplacerFactory.java rename to G-Earth-UI/src/main/java/gearth/protocol/hostreplacer/HostReplacerFactory.java index 578380a..a895828 100644 --- a/src/g_earth/protocol/hostreplacer/HostReplacerFactory.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/hostreplacer/HostReplacerFactory.java @@ -1,6 +1,6 @@ -package g_earth.protocol.hostreplacer; +package gearth.protocol.hostreplacer; -import g_earth.misc.OSValidator; +import gearth.misc.OSValidator; /** * Created by Jonas on 04/04/18. diff --git a/src/g_earth/protocol/hostreplacer/UnixHostReplacer.java b/G-Earth-UI/src/main/java/gearth/protocol/hostreplacer/UnixHostReplacer.java similarity index 98% rename from src/g_earth/protocol/hostreplacer/UnixHostReplacer.java rename to G-Earth-UI/src/main/java/gearth/protocol/hostreplacer/UnixHostReplacer.java index 18f3ab1..80ed3d6 100644 --- a/src/g_earth/protocol/hostreplacer/UnixHostReplacer.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/hostreplacer/UnixHostReplacer.java @@ -1,4 +1,4 @@ -package g_earth.protocol.hostreplacer; +package gearth.protocol.hostreplacer; import java.io.*; import java.util.ArrayList; diff --git a/src/g_earth/protocol/hostreplacer/WindowsHostReplacer.java b/G-Earth-UI/src/main/java/gearth/protocol/hostreplacer/WindowsHostReplacer.java similarity index 85% rename from src/g_earth/protocol/hostreplacer/WindowsHostReplacer.java rename to G-Earth-UI/src/main/java/gearth/protocol/hostreplacer/WindowsHostReplacer.java index deed8fa..092c73f 100644 --- a/src/g_earth/protocol/hostreplacer/WindowsHostReplacer.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/hostreplacer/WindowsHostReplacer.java @@ -1,4 +1,4 @@ -package g_earth.protocol.hostreplacer; +package gearth.protocol.hostreplacer; /** * Created by Jonas on 04/04/18. diff --git a/src/g_earth/protocol/memory/Rc4Obtainer.java b/G-Earth-UI/src/main/java/gearth/protocol/memory/Rc4Obtainer.java similarity index 87% rename from src/g_earth/protocol/memory/Rc4Obtainer.java rename to G-Earth-UI/src/main/java/gearth/protocol/memory/Rc4Obtainer.java index a280bc5..b1a3c8b 100644 --- a/src/g_earth/protocol/memory/Rc4Obtainer.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/memory/Rc4Obtainer.java @@ -1,15 +1,15 @@ -package g_earth.protocol.memory; +package gearth.protocol.memory; -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 gearth.protocol.HConnection; +import gearth.protocol.HMessage; +import gearth.protocol.HPacket; +import gearth.protocol.crypto.RC4; +import gearth.protocol.memory.habboclient.HabboClient; +import gearth.protocol.memory.habboclient.HabboClientFactory; +import gearth.protocol.packethandler.Handler; +import gearth.protocol.packethandler.IncomingHandler; +import gearth.protocol.packethandler.OutgoingHandler; +import gearth.protocol.packethandler.PayloadBuffer; import java.util.Arrays; import java.util.List; diff --git a/src/g_earth/protocol/memory/habboclient/HabboClient.java b/G-Earth-UI/src/main/java/gearth/protocol/memory/habboclient/HabboClient.java similarity index 81% rename from src/g_earth/protocol/memory/habboclient/HabboClient.java rename to G-Earth-UI/src/main/java/gearth/protocol/memory/habboclient/HabboClient.java index 26f3fc7..67817e4 100644 --- a/src/g_earth/protocol/memory/habboclient/HabboClient.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/memory/habboclient/HabboClient.java @@ -1,6 +1,6 @@ -package g_earth.protocol.memory.habboclient; +package gearth.protocol.memory.habboclient; -import g_earth.protocol.HConnection; +import gearth.protocol.HConnection; import java.util.List; diff --git a/src/g_earth/protocol/memory/habboclient/HabboClientFactory.java b/G-Earth-UI/src/main/java/gearth/protocol/memory/habboclient/HabboClientFactory.java similarity index 56% rename from src/g_earth/protocol/memory/habboclient/HabboClientFactory.java rename to G-Earth-UI/src/main/java/gearth/protocol/memory/habboclient/HabboClientFactory.java index d8bef02..584f83c 100644 --- a/src/g_earth/protocol/memory/habboclient/HabboClientFactory.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/memory/habboclient/HabboClientFactory.java @@ -1,9 +1,9 @@ -package g_earth.protocol.memory.habboclient; +package gearth.protocol.memory.habboclient; -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; +import gearth.misc.OSValidator; +import gearth.protocol.HConnection; +import gearth.protocol.memory.habboclient.linux.LinuxHabboClient; +import gearth.protocol.memory.habboclient.windows.WindowsHabboClient; /** * Created by Jonas on 13/06/18. diff --git a/src/g_earth/protocol/memory/habboclient/linux/LinuxHabboClient.java b/G-Earth-UI/src/main/java/gearth/protocol/memory/habboclient/linux/LinuxHabboClient.java similarity index 98% rename from src/g_earth/protocol/memory/habboclient/linux/LinuxHabboClient.java rename to G-Earth-UI/src/main/java/gearth/protocol/memory/habboclient/linux/LinuxHabboClient.java index b5b6a14..cb9f652 100644 --- a/src/g_earth/protocol/memory/habboclient/linux/LinuxHabboClient.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/memory/habboclient/linux/LinuxHabboClient.java @@ -1,7 +1,7 @@ -package g_earth.protocol.memory.habboclient.linux; +package gearth.protocol.memory.habboclient.linux; -import g_earth.protocol.HConnection; -import g_earth.protocol.memory.habboclient.HabboClient; +import gearth.protocol.HConnection; +import gearth.protocol.memory.habboclient.HabboClient; import java.io.*; import java.nio.file.Files; diff --git a/src/g_earth/protocol/memory/habboclient/linux/LinuxMemorySnippet.java b/G-Earth-UI/src/main/java/gearth/protocol/memory/habboclient/linux/LinuxMemorySnippet.java similarity index 85% rename from src/g_earth/protocol/memory/habboclient/linux/LinuxMemorySnippet.java rename to G-Earth-UI/src/main/java/gearth/protocol/memory/habboclient/linux/LinuxMemorySnippet.java index 8e9537f..15b054c 100644 --- a/src/g_earth/protocol/memory/habboclient/linux/LinuxMemorySnippet.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/memory/habboclient/linux/LinuxMemorySnippet.java @@ -1,4 +1,4 @@ -package g_earth.protocol.memory.habboclient.linux; +package gearth.protocol.memory.habboclient.linux; public class LinuxMemorySnippet { long offset; diff --git a/src/g_earth/protocol/memory/habboclient/windows/WindowsHabboClient.java b/G-Earth-UI/src/main/java/gearth/protocol/memory/habboclient/windows/WindowsHabboClient.java similarity index 75% rename from src/g_earth/protocol/memory/habboclient/windows/WindowsHabboClient.java rename to G-Earth-UI/src/main/java/gearth/protocol/memory/habboclient/windows/WindowsHabboClient.java index 3410787..4bb41bd 100644 --- a/src/g_earth/protocol/memory/habboclient/windows/WindowsHabboClient.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/memory/habboclient/windows/WindowsHabboClient.java @@ -1,12 +1,10 @@ -package g_earth.protocol.memory.habboclient.windows; +package gearth.protocol.memory.habboclient.windows; - -import g_earth.misc.Cacher; -import g_earth.protocol.HConnection; -import g_earth.protocol.HMessage; -import g_earth.protocol.TrafficListener; -import g_earth.protocol.memory.habboclient.HabboClient; -import org.json.simple.JSONObject; +import gearth.misc.Cacher; +import gearth.protocol.HConnection; +import gearth.protocol.HMessage; +import gearth.protocol.memory.habboclient.HabboClient; +import org.json.JSONObject; import java.io.BufferedReader; import java.io.File; @@ -24,22 +22,16 @@ public class WindowsHabboClient extends HabboClient { super(connection); connection.addTrafficListener(0, message -> { - if (message.getDestination() == HMessage.Side.TOSERVER && message.getPacket().headerId() == PRODUCTIONID) { + if (message.getDestination() == HMessage.Side.TOSERVER && message.getPacket().headerId() == PRODUCTION_ID) { production = message.getPacket().readString(); } }); } - private static final int PRODUCTIONID = 4000; + private static final String OFFSETS_CACHE_KEY = "RC4Offsets"; + private static final int PRODUCTION_ID = 4000; private String production = ""; - private String getOffsetsCacheKey() { - return "RC4Offsets"; - } - - private String getOffsetsRevision() { - return production; - } @Override public List getRC4cached() { @@ -59,15 +51,16 @@ public class WindowsHabboClient extends HabboClient { } private ArrayList readPossibleBytes(boolean useCache) throws IOException, URISyntaxException { - ProcessBuilder pb = null; - JSONObject revisionList = (JSONObject) Cacher.get(getOffsetsCacheKey()); + ProcessBuilder pb; + JSONObject revisionList = (JSONObject) Cacher.get(OFFSETS_CACHE_KEY); if (revisionList == null) { - Cacher.put(getOffsetsCacheKey(), new JSONObject()); - revisionList = (JSONObject) Cacher.get(getOffsetsCacheKey()); // refresh + Cacher.put(OFFSETS_CACHE_KEY, new JSONObject()); + revisionList = (JSONObject) Cacher.get(OFFSETS_CACHE_KEY); } - List cachedOffsets = (List) revisionList.get(getOffsetsRevision()); + assert revisionList != null; + List cachedOffsets = revisionList.getJSONArray(production).toList(); StringJoiner joiner = new StringJoiner(" "); if (useCache) { @@ -75,8 +68,8 @@ public class WindowsHabboClient extends HabboClient { return null; } - for (String s : cachedOffsets) { - joiner.add(s); + for (Object s : cachedOffsets) { + joiner.add((String)s); } } @@ -109,8 +102,9 @@ public class WindowsHabboClient extends HabboClient { possibleData.add(line); } } - revisionList.put(getOffsetsRevision(), cachedOffsets); - Cacher.put(getOffsetsCacheKey(), revisionList); + + revisionList.put(production, cachedOffsets); + Cacher.put(OFFSETS_CACHE_KEY, revisionList); p.destroy(); return possibleData; } @@ -130,7 +124,7 @@ public class WindowsHabboClient extends HabboClient { return result; } - public static byte[] hexStringToByteArray(String s) { + private static byte[] hexStringToByteArray(String s) { int len = s.length(); byte[] data = new byte[len / 2]; for (int i = 0; i < len; i += 2) { diff --git a/src/g_earth/protocol/packethandler/BufferListener.java b/G-Earth-UI/src/main/java/gearth/protocol/packethandler/BufferListener.java similarity index 63% rename from src/g_earth/protocol/packethandler/BufferListener.java rename to G-Earth-UI/src/main/java/gearth/protocol/packethandler/BufferListener.java index 6f616b1..ce79c49 100644 --- a/src/g_earth/protocol/packethandler/BufferListener.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/packethandler/BufferListener.java @@ -1,4 +1,4 @@ -package g_earth.protocol.packethandler; +package gearth.protocol.packethandler; public interface BufferListener { diff --git a/src/g_earth/protocol/packethandler/Handler.java b/G-Earth-UI/src/main/java/gearth/protocol/packethandler/Handler.java similarity index 96% rename from src/g_earth/protocol/packethandler/Handler.java rename to G-Earth-UI/src/main/java/gearth/protocol/packethandler/Handler.java index f894af4..7afa84f 100644 --- a/src/g_earth/protocol/packethandler/Handler.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/packethandler/Handler.java @@ -1,9 +1,9 @@ -package g_earth.protocol.packethandler; +package gearth.protocol.packethandler; -import g_earth.protocol.HMessage; -import g_earth.protocol.HPacket; -import g_earth.protocol.TrafficListener; -import g_earth.protocol.crypto.RC4; +import gearth.protocol.HMessage; +import gearth.protocol.HPacket; +import gearth.protocol.TrafficListener; +import gearth.protocol.crypto.RC4; import java.io.IOException; import java.io.OutputStream; diff --git a/src/g_earth/protocol/packethandler/IncomingHandler.java b/G-Earth-UI/src/main/java/gearth/protocol/packethandler/IncomingHandler.java similarity index 90% rename from src/g_earth/protocol/packethandler/IncomingHandler.java rename to G-Earth-UI/src/main/java/gearth/protocol/packethandler/IncomingHandler.java index fba7260..0ecbfa2 100644 --- a/src/g_earth/protocol/packethandler/IncomingHandler.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/packethandler/IncomingHandler.java @@ -1,8 +1,8 @@ -package g_earth.protocol.packethandler; +package gearth.protocol.packethandler; -import g_earth.protocol.HMessage; -import g_earth.protocol.HPacket; -import g_earth.protocol.TrafficListener; +import gearth.protocol.HMessage; +import gearth.protocol.HPacket; +import gearth.protocol.TrafficListener; import java.io.IOException; import java.io.OutputStream; diff --git a/src/g_earth/protocol/packethandler/OutgoingHandler.java b/G-Earth-UI/src/main/java/gearth/protocol/packethandler/OutgoingHandler.java similarity index 91% rename from src/g_earth/protocol/packethandler/OutgoingHandler.java rename to G-Earth-UI/src/main/java/gearth/protocol/packethandler/OutgoingHandler.java index 1ca36b4..e98d314 100644 --- a/src/g_earth/protocol/packethandler/OutgoingHandler.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/packethandler/OutgoingHandler.java @@ -1,7 +1,7 @@ -package g_earth.protocol.packethandler; +package gearth.protocol.packethandler; -import g_earth.protocol.HMessage; -import g_earth.protocol.HPacket; +import gearth.protocol.HMessage; +import gearth.protocol.HPacket; import java.io.IOException; import java.io.OutputStream; diff --git a/src/g_earth/protocol/packethandler/PayloadBuffer.java b/G-Earth-UI/src/main/java/gearth/protocol/packethandler/PayloadBuffer.java similarity index 95% rename from src/g_earth/protocol/packethandler/PayloadBuffer.java rename to G-Earth-UI/src/main/java/gearth/protocol/packethandler/PayloadBuffer.java index 06b6bf2..3593976 100644 --- a/src/g_earth/protocol/packethandler/PayloadBuffer.java +++ b/G-Earth-UI/src/main/java/gearth/protocol/packethandler/PayloadBuffer.java @@ -1,6 +1,6 @@ -package g_earth.protocol.packethandler; +package gearth.protocol.packethandler; -import g_earth.protocol.HPacket; +import gearth.protocol.HPacket; import java.util.ArrayList; import java.util.Arrays; diff --git a/src/g_earth/ui/G-Earth.fxml b/G-Earth-UI/src/main/java/gearth/ui/G-Earth.fxml similarity index 97% rename from src/g_earth/ui/G-Earth.fxml rename to G-Earth-UI/src/main/java/gearth/ui/G-Earth.fxml index 6e30d2f..0541f2f 100644 --- a/src/g_earth/ui/G-Earth.fxml +++ b/G-Earth-UI/src/main/java/gearth/ui/G-Earth.fxml @@ -7,7 +7,7 @@ - + diff --git a/src/g_earth/ui/GEarthController.java b/G-Earth-UI/src/main/java/gearth/ui/GEarthController.java similarity index 88% rename from src/g_earth/ui/GEarthController.java rename to G-Earth-UI/src/main/java/gearth/ui/GEarthController.java index 1c68535..00b9e7c 100644 --- a/src/g_earth/ui/GEarthController.java +++ b/G-Earth-UI/src/main/java/gearth/ui/GEarthController.java @@ -1,18 +1,18 @@ -package g_earth.ui; +package gearth.ui; import javafx.scene.control.Tab; import javafx.scene.control.TabPane; import javafx.scene.layout.Pane; import javafx.stage.Stage; -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; +import gearth.protocol.HConnection; +import gearth.ui.connection.Connection; +import gearth.ui.extensions.Extensions; +import gearth.ui.info.Info; +import gearth.ui.injection.Injection; +import gearth.ui.logger.Logger; +import gearth.ui.scheduler.Scheduler; +import gearth.ui.settings.Settings; +import gearth.ui.tools.Tools; public class GEarthController { diff --git a/src/g_earth/ui/SubForm.java b/G-Earth-UI/src/main/java/gearth/ui/SubForm.java similarity index 89% rename from src/g_earth/ui/SubForm.java rename to G-Earth-UI/src/main/java/gearth/ui/SubForm.java index cbb1788..3fe1412 100644 --- a/src/g_earth/ui/SubForm.java +++ b/G-Earth-UI/src/main/java/gearth/ui/SubForm.java @@ -1,7 +1,7 @@ -package g_earth.ui; +package gearth.ui; -import g_earth.protocol.HConnection; +import gearth.protocol.HConnection; public class SubForm { diff --git a/src/g_earth/ui/bootstrap3.css b/G-Earth-UI/src/main/java/gearth/ui/bootstrap3.css similarity index 100% rename from src/g_earth/ui/bootstrap3.css rename to G-Earth-UI/src/main/java/gearth/ui/bootstrap3.css diff --git a/src/g_earth/ui/buttons/BoxButton.java b/G-Earth-UI/src/main/java/gearth/ui/buttons/BoxButton.java similarity index 92% rename from src/g_earth/ui/buttons/BoxButton.java rename to G-Earth-UI/src/main/java/gearth/ui/buttons/BoxButton.java index 000ee1f..0afd90c 100644 --- a/src/g_earth/ui/buttons/BoxButton.java +++ b/G-Earth-UI/src/main/java/gearth/ui/buttons/BoxButton.java @@ -1,4 +1,4 @@ -package g_earth.ui.buttons; +package gearth.ui.buttons; import javafx.event.EventHandler; import javafx.scene.Cursor; @@ -18,8 +18,8 @@ public class BoxButton extends StackPane { //paths zijn relatief aan deze classpath public BoxButton(String imageName, String imageOnHoverName) { - this.image = new Image(getClass().getResourceAsStream("files" + File.separator + imageName)); - this.imageOnHover = new Image(getClass().getResourceAsStream("files" + File.separator + imageOnHoverName)); + this.image = new Image(getClass().getResourceAsStream("files/" + imageName)); + this.imageOnHover = new Image(getClass().getResourceAsStream("files/" + imageOnHoverName)); this.imageView = new ImageView(); setCursor(Cursor.DEFAULT); diff --git a/src/g_earth/ui/buttons/DeleteButton.java b/G-Earth-UI/src/main/java/gearth/ui/buttons/DeleteButton.java similarity index 83% rename from src/g_earth/ui/buttons/DeleteButton.java rename to G-Earth-UI/src/main/java/gearth/ui/buttons/DeleteButton.java index a87ff37..9b31a14 100644 --- a/src/g_earth/ui/buttons/DeleteButton.java +++ b/G-Earth-UI/src/main/java/gearth/ui/buttons/DeleteButton.java @@ -1,4 +1,4 @@ -package g_earth.ui.buttons; +package gearth.ui.buttons; public class DeleteButton extends BoxButton { diff --git a/src/g_earth/ui/buttons/EditButton.java b/G-Earth-UI/src/main/java/gearth/ui/buttons/EditButton.java similarity index 82% rename from src/g_earth/ui/buttons/EditButton.java rename to G-Earth-UI/src/main/java/gearth/ui/buttons/EditButton.java index 52af85e..f0470e8 100644 --- a/src/g_earth/ui/buttons/EditButton.java +++ b/G-Earth-UI/src/main/java/gearth/ui/buttons/EditButton.java @@ -1,4 +1,4 @@ -package g_earth.ui.buttons; +package gearth.ui.buttons; public class EditButton extends BoxButton { diff --git a/src/g_earth/ui/buttons/ExitButton.java b/G-Earth-UI/src/main/java/gearth/ui/buttons/ExitButton.java similarity index 86% rename from src/g_earth/ui/buttons/ExitButton.java rename to G-Earth-UI/src/main/java/gearth/ui/buttons/ExitButton.java index 6ee9a2d..fe5d28b 100644 --- a/src/g_earth/ui/buttons/ExitButton.java +++ b/G-Earth-UI/src/main/java/gearth/ui/buttons/ExitButton.java @@ -1,4 +1,4 @@ -package g_earth.ui.buttons; +package gearth.ui.buttons; /** * Created by Jonas on 26/09/18. diff --git a/src/g_earth/ui/buttons/FireButton.java b/G-Earth-UI/src/main/java/gearth/ui/buttons/FireButton.java similarity index 86% rename from src/g_earth/ui/buttons/FireButton.java rename to G-Earth-UI/src/main/java/gearth/ui/buttons/FireButton.java index 7e68624..0018d95 100644 --- a/src/g_earth/ui/buttons/FireButton.java +++ b/G-Earth-UI/src/main/java/gearth/ui/buttons/FireButton.java @@ -1,4 +1,4 @@ -package g_earth.ui.buttons; +package gearth.ui.buttons; /** * Created by Jonas on 26/09/18. diff --git a/src/g_earth/ui/buttons/PauseResumeButton.java b/G-Earth-UI/src/main/java/gearth/ui/buttons/PauseResumeButton.java similarity index 91% rename from src/g_earth/ui/buttons/PauseResumeButton.java rename to G-Earth-UI/src/main/java/gearth/ui/buttons/PauseResumeButton.java index 9180a7e..9f50777 100644 --- a/src/g_earth/ui/buttons/PauseResumeButton.java +++ b/G-Earth-UI/src/main/java/gearth/ui/buttons/PauseResumeButton.java @@ -1,4 +1,4 @@ -package g_earth.ui.buttons; +package gearth.ui.buttons; import javafx.beans.InvalidationListener; import javafx.event.EventHandler; @@ -32,10 +32,10 @@ public class PauseResumeButton extends StackPane{ public PauseResumeButton(boolean isPaused) { this.isPaused[0] = isPaused; - this.imagePause = new Image(getClass().getResourceAsStream("files"+ File.separator+"ButtonPause.png")); - this.imagePauseOnHover = new Image(getClass().getResourceAsStream("files"+ File.separator+"ButtonPauseHover.png")); - this.imageResume = new Image(getClass().getResourceAsStream("files"+ File.separator+"ButtonResume.png")); - this.imageResumeOnHover = new Image(getClass().getResourceAsStream("files"+ File.separator+"ButtonResumeHover.png")); + this.imagePause = new Image(getClass().getResourceAsStream("files/ButtonPause.png")); + this.imagePauseOnHover = new Image(getClass().getResourceAsStream("files/ButtonPauseHover.png")); + this.imageResume = new Image(getClass().getResourceAsStream("files/ButtonResume.png")); + this.imageResumeOnHover = new Image(getClass().getResourceAsStream("files/ButtonResumeHover.png")); this.imageView = new ImageView(); setCursor(Cursor.DEFAULT); diff --git a/src/g_earth/ui/buttons/ReloadButton.java b/G-Earth-UI/src/main/java/gearth/ui/buttons/ReloadButton.java similarity index 86% rename from src/g_earth/ui/buttons/ReloadButton.java rename to G-Earth-UI/src/main/java/gearth/ui/buttons/ReloadButton.java index 2d3e725..bad2e99 100644 --- a/src/g_earth/ui/buttons/ReloadButton.java +++ b/G-Earth-UI/src/main/java/gearth/ui/buttons/ReloadButton.java @@ -1,4 +1,4 @@ -package g_earth.ui.buttons; +package gearth.ui.buttons; /** * Created by Jonas on 26/09/18. diff --git a/src/g_earth/ui/buttons/SimpleClickButton.java b/G-Earth-UI/src/main/java/gearth/ui/buttons/SimpleClickButton.java similarity index 87% rename from src/g_earth/ui/buttons/SimpleClickButton.java rename to G-Earth-UI/src/main/java/gearth/ui/buttons/SimpleClickButton.java index 1e7d54c..ad1d51d 100644 --- a/src/g_earth/ui/buttons/SimpleClickButton.java +++ b/G-Earth-UI/src/main/java/gearth/ui/buttons/SimpleClickButton.java @@ -1,4 +1,4 @@ -package g_earth.ui.buttons; +package gearth.ui.buttons; /** * Created by Jonas on 19/07/18. diff --git a/src/g_earth/ui/buttons/files/ButtonDelete.png b/G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonDelete.png similarity index 100% rename from src/g_earth/ui/buttons/files/ButtonDelete.png rename to G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonDelete.png diff --git a/src/g_earth/ui/buttons/files/ButtonDeleteHover.png b/G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonDeleteHover.png similarity index 100% rename from src/g_earth/ui/buttons/files/ButtonDeleteHover.png rename to G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonDeleteHover.png diff --git a/src/g_earth/ui/buttons/files/ButtonEdit.png b/G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonEdit.png similarity index 100% rename from src/g_earth/ui/buttons/files/ButtonEdit.png rename to G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonEdit.png diff --git a/src/g_earth/ui/buttons/files/ButtonEditHover.png b/G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonEditHover.png similarity index 100% rename from src/g_earth/ui/buttons/files/ButtonEditHover.png rename to G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonEditHover.png diff --git a/src/g_earth/ui/buttons/files/ButtonExit.png b/G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonExit.png similarity index 100% rename from src/g_earth/ui/buttons/files/ButtonExit.png rename to G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonExit.png diff --git a/src/g_earth/ui/buttons/files/ButtonExitHover.png b/G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonExitHover.png similarity index 100% rename from src/g_earth/ui/buttons/files/ButtonExitHover.png rename to G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonExitHover.png diff --git a/src/g_earth/ui/buttons/files/ButtonFire.png b/G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonFire.png similarity index 100% rename from src/g_earth/ui/buttons/files/ButtonFire.png rename to G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonFire.png diff --git a/src/g_earth/ui/buttons/files/ButtonFireHover.png b/G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonFireHover.png similarity index 100% rename from src/g_earth/ui/buttons/files/ButtonFireHover.png rename to G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonFireHover.png diff --git a/src/g_earth/ui/buttons/files/ButtonPause.png b/G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonPause.png similarity index 100% rename from src/g_earth/ui/buttons/files/ButtonPause.png rename to G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonPause.png diff --git a/src/g_earth/ui/buttons/files/ButtonPauseHover.png b/G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonPauseHover.png similarity index 100% rename from src/g_earth/ui/buttons/files/ButtonPauseHover.png rename to G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonPauseHover.png diff --git a/src/g_earth/ui/buttons/files/ButtonReload.png b/G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonReload.png similarity index 100% rename from src/g_earth/ui/buttons/files/ButtonReload.png rename to G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonReload.png diff --git a/src/g_earth/ui/buttons/files/ButtonReloadHover.png b/G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonReloadHover.png similarity index 100% rename from src/g_earth/ui/buttons/files/ButtonReloadHover.png rename to G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonReloadHover.png diff --git a/src/g_earth/ui/buttons/files/ButtonResume.png b/G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonResume.png similarity index 100% rename from src/g_earth/ui/buttons/files/ButtonResume.png rename to G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonResume.png diff --git a/src/g_earth/ui/buttons/files/ButtonResumeHover.png b/G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonResumeHover.png similarity index 100% rename from src/g_earth/ui/buttons/files/ButtonResumeHover.png rename to G-Earth-UI/src/main/java/gearth/ui/buttons/files/ButtonResumeHover.png diff --git a/src/g_earth/ui/connection/Connection.fxml b/G-Earth-UI/src/main/java/gearth/ui/connection/Connection.fxml similarity index 99% rename from src/g_earth/ui/connection/Connection.fxml rename to G-Earth-UI/src/main/java/gearth/ui/connection/Connection.fxml index 1da38d2..8c15eb6 100644 --- a/src/g_earth/ui/connection/Connection.fxml +++ b/G-Earth-UI/src/main/java/gearth/ui/connection/Connection.fxml @@ -11,7 +11,7 @@ - + diff --git a/src/g_earth/ui/connection/Connection.java b/G-Earth-UI/src/main/java/gearth/ui/connection/Connection.java similarity index 97% rename from src/g_earth/ui/connection/Connection.java rename to G-Earth-UI/src/main/java/gearth/ui/connection/Connection.java index af96385..254075b 100644 --- a/src/g_earth/ui/connection/Connection.java +++ b/G-Earth-UI/src/main/java/gearth/ui/connection/Connection.java @@ -1,10 +1,10 @@ -package g_earth.ui.connection; +package gearth.ui.connection; import javafx.application.Platform; import javafx.event.ActionEvent; import javafx.scene.control.*; -import g_earth.protocol.HConnection; -import g_earth.ui.SubForm; +import gearth.protocol.HConnection; +import gearth.ui.SubForm; import java.io.IOException; import java.util.ArrayList; diff --git a/src/g_earth/ui/extensions/ExtensionItemContainer.java b/G-Earth-UI/src/main/java/gearth/ui/extensions/ExtensionItemContainer.java similarity index 95% rename from src/g_earth/ui/extensions/ExtensionItemContainer.java rename to G-Earth-UI/src/main/java/gearth/ui/extensions/ExtensionItemContainer.java index 7b86b8c..f1dd7da 100644 --- a/src/g_earth/ui/extensions/ExtensionItemContainer.java +++ b/G-Earth-UI/src/main/java/gearth/ui/extensions/ExtensionItemContainer.java @@ -1,4 +1,4 @@ -package g_earth.ui.extensions; +package gearth.ui.extensions; import javafx.event.EventHandler; import javafx.geometry.Insets; @@ -8,12 +8,12 @@ import javafx.scene.input.MouseEvent; import javafx.scene.layout.*; import javafx.scene.paint.Paint; import javafx.scene.text.Font; -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 gearth.misc.ConfirmationDialog; +import gearth.ui.buttons.*; +import gearth.ui.extensions.executer.ExecutionInfo; +import gearth.ui.extensions.executer.ExtensionRunner; +import gearth.ui.extensions.executer.ExtensionRunnerFactory; +import gearth.ui.extensions.executer.NormalExtensionRunner; import java.nio.file.Paths; diff --git a/src/g_earth/ui/extensions/ExtensionItemContainerProducer.java b/G-Earth-UI/src/main/java/gearth/ui/extensions/ExtensionItemContainerProducer.java similarity index 97% rename from src/g_earth/ui/extensions/ExtensionItemContainerProducer.java rename to G-Earth-UI/src/main/java/gearth/ui/extensions/ExtensionItemContainerProducer.java index fba8a9e..e7cdde9 100644 --- a/src/g_earth/ui/extensions/ExtensionItemContainerProducer.java +++ b/G-Earth-UI/src/main/java/gearth/ui/extensions/ExtensionItemContainerProducer.java @@ -1,4 +1,4 @@ -package g_earth.ui.extensions; +package gearth.ui.extensions; import javafx.scene.Node; import javafx.scene.control.ScrollPane; diff --git a/src/g_earth/ui/extensions/Extensions.fxml b/G-Earth-UI/src/main/java/gearth/ui/extensions/Extensions.fxml similarity index 99% rename from src/g_earth/ui/extensions/Extensions.fxml rename to G-Earth-UI/src/main/java/gearth/ui/extensions/Extensions.fxml index a149b3a..6cba7b5 100644 --- a/src/g_earth/ui/extensions/Extensions.fxml +++ b/G-Earth-UI/src/main/java/gearth/ui/extensions/Extensions.fxml @@ -10,7 +10,7 @@ - + diff --git a/src/g_earth/ui/extensions/Extensions.java b/G-Earth-UI/src/main/java/gearth/ui/extensions/Extensions.java similarity index 97% rename from src/g_earth/ui/extensions/Extensions.java rename to G-Earth-UI/src/main/java/gearth/ui/extensions/Extensions.java index ccd7dd2..4ae1b15 100644 --- a/src/g_earth/ui/extensions/Extensions.java +++ b/G-Earth-UI/src/main/java/gearth/ui/extensions/Extensions.java @@ -1,4 +1,4 @@ -package g_earth.ui.extensions; +package gearth.ui.extensions; import javafx.application.Platform; import javafx.event.ActionEvent; @@ -8,13 +8,13 @@ import javafx.scene.control.TextField; import javafx.scene.layout.GridPane; import javafx.scene.layout.VBox; import javafx.stage.FileChooser; -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 gearth.Main; +import gearth.protocol.*; +import gearth.ui.SubForm; +import gearth.ui.extensions.executer.ExecutionInfo; +import gearth.ui.extensions.executer.ExtensionRunner; +import gearth.ui.extensions.executer.ExtensionRunnerFactory; +import gearth.ui.scheduler.ScheduleItem; import java.io.File; import java.io.IOException; @@ -67,7 +67,7 @@ import java.util.*; * | 3 | PACKET-INTERCEPT* | Includes the whole HMessage as body, needs response with the | * | | | manipulated HMessage (OUTGOING id: 2) | * ----------------------------------------------------------------------------------------------------- - * | 4 | FLAGS-CHECK** | Body: String with G-Earth's boot flags (args from static main method) | + * | 4 | FLAGS-CHECK** | Body: String with G-Earth's boot flags (args from static gearth method) | * ----------------------------------------------------------------------------------------------------- * | 5 | CONNECTION START | Empty body, just a note that a new connection has been made, | * | | | you could check this yourself as well (listen to out:4000 packet) | diff --git a/src/g_earth/ui/extensions/GEarthExtension.java b/G-Earth-UI/src/main/java/gearth/ui/extensions/GEarthExtension.java similarity index 99% rename from src/g_earth/ui/extensions/GEarthExtension.java rename to G-Earth-UI/src/main/java/gearth/ui/extensions/GEarthExtension.java index 9b59142..5dd240f 100644 --- a/src/g_earth/ui/extensions/GEarthExtension.java +++ b/G-Earth-UI/src/main/java/gearth/ui/extensions/GEarthExtension.java @@ -1,7 +1,7 @@ -package g_earth.ui.extensions; +package gearth.ui.extensions; import javafx.beans.InvalidationListener; -import g_earth.protocol.HPacket; +import gearth.protocol.HPacket; import java.io.DataInputStream; import java.io.IOException; diff --git a/src/g_earth/ui/extensions/GEarthExtensionsRegistrer.java b/G-Earth-UI/src/main/java/gearth/ui/extensions/GEarthExtensionsRegistrer.java similarity index 97% rename from src/g_earth/ui/extensions/GEarthExtensionsRegistrer.java rename to G-Earth-UI/src/main/java/gearth/ui/extensions/GEarthExtensionsRegistrer.java index 7d6b6c2..083c181 100644 --- a/src/g_earth/ui/extensions/GEarthExtensionsRegistrer.java +++ b/G-Earth-UI/src/main/java/gearth/ui/extensions/GEarthExtensionsRegistrer.java @@ -1,4 +1,4 @@ -package g_earth.ui.extensions; +package gearth.ui.extensions; import java.io.IOException; import java.net.ServerSocket; diff --git a/src/g_earth/ui/extensions/executer/ExecutionInfo.java b/G-Earth-UI/src/main/java/gearth/ui/extensions/executer/ExecutionInfo.java similarity index 96% rename from src/g_earth/ui/extensions/executer/ExecutionInfo.java rename to G-Earth-UI/src/main/java/gearth/ui/extensions/executer/ExecutionInfo.java index 0cc7d1b..9d0f241 100644 --- a/src/g_earth/ui/extensions/executer/ExecutionInfo.java +++ b/G-Earth-UI/src/main/java/gearth/ui/extensions/executer/ExecutionInfo.java @@ -1,4 +1,4 @@ -package g_earth.ui.extensions.executer; +package gearth.ui.extensions.executer; import java.util.ArrayList; import java.util.HashMap; diff --git a/src/g_earth/ui/extensions/executer/ExtensionRunner.java b/G-Earth-UI/src/main/java/gearth/ui/extensions/executer/ExtensionRunner.java similarity index 86% rename from src/g_earth/ui/extensions/executer/ExtensionRunner.java rename to G-Earth-UI/src/main/java/gearth/ui/extensions/executer/ExtensionRunner.java index 5ed28d4..229cad4 100644 --- a/src/g_earth/ui/extensions/executer/ExtensionRunner.java +++ b/G-Earth-UI/src/main/java/gearth/ui/extensions/executer/ExtensionRunner.java @@ -1,4 +1,4 @@ -package g_earth.ui.extensions.executer; +package gearth.ui.extensions.executer; /** * Created by Jonas on 21/09/18. diff --git a/src/g_earth/ui/extensions/executer/ExtensionRunnerFactory.java b/G-Earth-UI/src/main/java/gearth/ui/extensions/executer/ExtensionRunnerFactory.java similarity index 88% rename from src/g_earth/ui/extensions/executer/ExtensionRunnerFactory.java rename to G-Earth-UI/src/main/java/gearth/ui/extensions/executer/ExtensionRunnerFactory.java index 034e2ec..5d4a5d8 100644 --- a/src/g_earth/ui/extensions/executer/ExtensionRunnerFactory.java +++ b/G-Earth-UI/src/main/java/gearth/ui/extensions/executer/ExtensionRunnerFactory.java @@ -1,4 +1,4 @@ -package g_earth.ui.extensions.executer; +package gearth.ui.extensions.executer; /** * Created by Jonas on 22/09/18. diff --git a/src/g_earth/ui/extensions/executer/NormalExtensionRunner.java b/G-Earth-UI/src/main/java/gearth/ui/extensions/executer/NormalExtensionRunner.java similarity index 98% rename from src/g_earth/ui/extensions/executer/NormalExtensionRunner.java rename to G-Earth-UI/src/main/java/gearth/ui/extensions/executer/NormalExtensionRunner.java index a47ad90..4a5e91f 100644 --- a/src/g_earth/ui/extensions/executer/NormalExtensionRunner.java +++ b/G-Earth-UI/src/main/java/gearth/ui/extensions/executer/NormalExtensionRunner.java @@ -1,6 +1,6 @@ -package g_earth.ui.extensions.executer; +package gearth.ui.extensions.executer; -import g_earth.Main; +import gearth.Main; import java.io.File; import java.io.IOException; diff --git a/src/g_earth/ui/info/Info.fxml b/G-Earth-UI/src/main/java/gearth/ui/info/Info.fxml similarity index 96% rename from src/g_earth/ui/info/Info.fxml rename to G-Earth-UI/src/main/java/gearth/ui/info/Info.fxml index 43417f2..9d38147 100644 --- a/src/g_earth/ui/info/Info.fxml +++ b/G-Earth-UI/src/main/java/gearth/ui/info/Info.fxml @@ -6,7 +6,7 @@ - + diff --git a/src/g_earth/ui/info/Info.java b/G-Earth-UI/src/main/java/gearth/ui/info/Info.java similarity index 94% rename from src/g_earth/ui/info/Info.java rename to G-Earth-UI/src/main/java/gearth/ui/info/Info.java index 5932e84..c3f491f 100644 --- a/src/g_earth/ui/info/Info.java +++ b/G-Earth-UI/src/main/java/gearth/ui/info/Info.java @@ -1,7 +1,7 @@ -package g_earth.ui.info; +package gearth.ui.info; import javafx.scene.control.TextArea; -import g_earth.ui.SubForm; +import gearth.ui.SubForm; /** * Created by Jonas on 06/04/18. diff --git a/src/g_earth/ui/injection/Injection.fxml b/G-Earth-UI/src/main/java/gearth/ui/injection/Injection.fxml similarity index 98% rename from src/g_earth/ui/injection/Injection.fxml rename to G-Earth-UI/src/main/java/gearth/ui/injection/Injection.fxml index c78b620..42bfd50 100644 --- a/src/g_earth/ui/injection/Injection.fxml +++ b/G-Earth-UI/src/main/java/gearth/ui/injection/Injection.fxml @@ -9,7 +9,7 @@ - + diff --git a/src/g_earth/ui/injection/Injection.java b/G-Earth-UI/src/main/java/gearth/ui/injection/Injection.java similarity index 94% rename from src/g_earth/ui/injection/Injection.java rename to G-Earth-UI/src/main/java/gearth/ui/injection/Injection.java index 1fb29fa..9dea343 100644 --- a/src/g_earth/ui/injection/Injection.java +++ b/G-Earth-UI/src/main/java/gearth/ui/injection/Injection.java @@ -1,4 +1,4 @@ -package g_earth.ui.injection; +package gearth.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 g_earth.protocol.HConnection; -import g_earth.protocol.HPacket; -import g_earth.ui.SubForm; +import gearth.protocol.HConnection; +import gearth.protocol.HPacket; +import gearth.ui.SubForm; public class Injection extends SubForm { public TextArea inputPacket; diff --git a/src/g_earth/ui/logger/Logger.fxml b/G-Earth-UI/src/main/java/gearth/ui/logger/Logger.fxml similarity index 99% rename from src/g_earth/ui/logger/Logger.fxml rename to G-Earth-UI/src/main/java/gearth/ui/logger/Logger.fxml index d8f914f..d903d11 100644 --- a/src/g_earth/ui/logger/Logger.fxml +++ b/G-Earth-UI/src/main/java/gearth/ui/logger/Logger.fxml @@ -12,7 +12,7 @@ - + diff --git a/src/g_earth/ui/logger/Logger.java b/G-Earth-UI/src/main/java/gearth/ui/logger/Logger.java similarity index 95% rename from src/g_earth/ui/logger/Logger.java rename to G-Earth-UI/src/main/java/gearth/ui/logger/Logger.java index d1bda64..30f4909 100644 --- a/src/g_earth/ui/logger/Logger.java +++ b/G-Earth-UI/src/main/java/gearth/ui/logger/Logger.java @@ -1,4 +1,4 @@ -package g_earth.ui.logger; +package gearth.ui.logger; import javafx.application.Platform; import javafx.event.ActionEvent; @@ -9,11 +9,11 @@ import javafx.scene.input.KeyCode; import javafx.scene.paint.Color; import javafx.scene.text.Text; import javafx.scene.text.TextFlow; -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 gearth.protocol.HConnection; +import gearth.protocol.HMessage; +import gearth.ui.SubForm; +import gearth.ui.logger.loggerdisplays.PacketLogger; +import gearth.ui.logger.loggerdisplays.PacketLoggerFactory; import java.util.Calendar; diff --git a/src/g_earth/ui/logger/loggerdisplays/LinuxTerminalLogger.java b/G-Earth-UI/src/main/java/gearth/ui/logger/loggerdisplays/LinuxTerminalLogger.java similarity index 97% rename from src/g_earth/ui/logger/loggerdisplays/LinuxTerminalLogger.java rename to G-Earth-UI/src/main/java/gearth/ui/logger/loggerdisplays/LinuxTerminalLogger.java index 616c253..a39b950 100644 --- a/src/g_earth/ui/logger/loggerdisplays/LinuxTerminalLogger.java +++ b/G-Earth-UI/src/main/java/gearth/ui/logger/loggerdisplays/LinuxTerminalLogger.java @@ -1,6 +1,6 @@ -package g_earth.ui.logger.loggerdisplays; +package gearth.ui.logger.loggerdisplays; -import g_earth.protocol.HPacket; +import gearth.protocol.HPacket; import java.util.HashMap; import java.util.Map; diff --git a/src/g_earth/ui/logger/loggerdisplays/PacketLogger.java b/G-Earth-UI/src/main/java/gearth/ui/logger/loggerdisplays/PacketLogger.java similarity index 89% rename from src/g_earth/ui/logger/loggerdisplays/PacketLogger.java rename to G-Earth-UI/src/main/java/gearth/ui/logger/loggerdisplays/PacketLogger.java index 6b5d18b..31dfc58 100644 --- a/src/g_earth/ui/logger/loggerdisplays/PacketLogger.java +++ b/G-Earth-UI/src/main/java/gearth/ui/logger/loggerdisplays/PacketLogger.java @@ -1,6 +1,6 @@ -package g_earth.ui.logger.loggerdisplays; +package gearth.ui.logger.loggerdisplays; -import g_earth.protocol.HPacket; +import gearth.protocol.HPacket; /** * Created by Jonas on 04/04/18. diff --git a/src/g_earth/ui/logger/loggerdisplays/PacketLoggerFactory.java b/G-Earth-UI/src/main/java/gearth/ui/logger/loggerdisplays/PacketLoggerFactory.java similarity index 85% rename from src/g_earth/ui/logger/loggerdisplays/PacketLoggerFactory.java rename to G-Earth-UI/src/main/java/gearth/ui/logger/loggerdisplays/PacketLoggerFactory.java index 1e42d68..0c810eb 100644 --- a/src/g_earth/ui/logger/loggerdisplays/PacketLoggerFactory.java +++ b/G-Earth-UI/src/main/java/gearth/ui/logger/loggerdisplays/PacketLoggerFactory.java @@ -1,6 +1,6 @@ -package g_earth.ui.logger.loggerdisplays; +package gearth.ui.logger.loggerdisplays; -import g_earth.misc.OSValidator; +import gearth.misc.OSValidator; /** * Created by Jonas on 04/04/18. diff --git a/src/g_earth/ui/logger/loggerdisplays/SimpleTerminalLogger.java b/G-Earth-UI/src/main/java/gearth/ui/logger/loggerdisplays/SimpleTerminalLogger.java similarity index 95% rename from src/g_earth/ui/logger/loggerdisplays/SimpleTerminalLogger.java rename to G-Earth-UI/src/main/java/gearth/ui/logger/loggerdisplays/SimpleTerminalLogger.java index b54e4a9..70e5ccd 100644 --- a/src/g_earth/ui/logger/loggerdisplays/SimpleTerminalLogger.java +++ b/G-Earth-UI/src/main/java/gearth/ui/logger/loggerdisplays/SimpleTerminalLogger.java @@ -1,6 +1,6 @@ -package g_earth.ui.logger.loggerdisplays; +package gearth.ui.logger.loggerdisplays; -import g_earth.protocol.HPacket; +import gearth.protocol.HPacket; /** * Created by Jonas on 04/04/18. diff --git a/src/g_earth/ui/scheduler/Interval.java b/G-Earth-UI/src/main/java/gearth/ui/scheduler/Interval.java similarity index 97% rename from src/g_earth/ui/scheduler/Interval.java rename to G-Earth-UI/src/main/java/gearth/ui/scheduler/Interval.java index 2de7ee6..436065f 100644 --- a/src/g_earth/ui/scheduler/Interval.java +++ b/G-Earth-UI/src/main/java/gearth/ui/scheduler/Interval.java @@ -1,4 +1,4 @@ -package g_earth.ui.scheduler; +package gearth.ui.scheduler; /** * Created by Jonas on 11/04/18. diff --git a/src/g_earth/ui/scheduler/ScheduleItem.java b/G-Earth-UI/src/main/java/gearth/ui/scheduler/ScheduleItem.java similarity index 97% rename from src/g_earth/ui/scheduler/ScheduleItem.java rename to G-Earth-UI/src/main/java/gearth/ui/scheduler/ScheduleItem.java index 33d0824..4fd1321 100644 --- a/src/g_earth/ui/scheduler/ScheduleItem.java +++ b/G-Earth-UI/src/main/java/gearth/ui/scheduler/ScheduleItem.java @@ -1,12 +1,12 @@ -package g_earth.ui.scheduler; +package gearth.ui.scheduler; import javafx.beans.InvalidationListener; import javafx.beans.property.SimpleBooleanProperty; import javafx.beans.property.SimpleIntegerProperty; import javafx.beans.property.SimpleObjectProperty; -import g_earth.misc.StringifyAble; -import g_earth.protocol.HMessage; -import g_earth.protocol.HPacket; +import gearth.misc.StringifyAble; +import gearth.protocol.HMessage; +import gearth.protocol.HPacket; import java.util.ArrayList; import java.util.List; diff --git a/src/g_earth/ui/scheduler/ScheduleItemContainer.java b/G-Earth-UI/src/main/java/gearth/ui/scheduler/ScheduleItemContainer.java similarity index 96% rename from src/g_earth/ui/scheduler/ScheduleItemContainer.java rename to G-Earth-UI/src/main/java/gearth/ui/scheduler/ScheduleItemContainer.java index 706fd47..9e8b5fa 100644 --- a/src/g_earth/ui/scheduler/ScheduleItemContainer.java +++ b/G-Earth-UI/src/main/java/gearth/ui/scheduler/ScheduleItemContainer.java @@ -1,4 +1,4 @@ -package g_earth.ui.scheduler; +package gearth.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 g_earth.ui.buttons.DeleteButton; -import g_earth.ui.buttons.EditButton; -import g_earth.ui.buttons.PauseResumeButton; +import gearth.ui.buttons.DeleteButton; +import gearth.ui.buttons.EditButton; +import gearth.ui.buttons.PauseResumeButton; /** * Created by Jonas on 07/04/18. diff --git a/src/g_earth/ui/scheduler/Scheduler.fxml b/G-Earth-UI/src/main/java/gearth/ui/scheduler/Scheduler.fxml similarity index 99% rename from src/g_earth/ui/scheduler/Scheduler.fxml rename to G-Earth-UI/src/main/java/gearth/ui/scheduler/Scheduler.fxml index 336389f..447e01c 100644 --- a/src/g_earth/ui/scheduler/Scheduler.fxml +++ b/G-Earth-UI/src/main/java/gearth/ui/scheduler/Scheduler.fxml @@ -12,7 +12,7 @@ - + diff --git a/src/g_earth/ui/scheduler/Scheduler.java b/G-Earth-UI/src/main/java/gearth/ui/scheduler/Scheduler.java similarity index 98% rename from src/g_earth/ui/scheduler/Scheduler.java rename to G-Earth-UI/src/main/java/gearth/ui/scheduler/Scheduler.java index 4145af7..964542e 100644 --- a/src/g_earth/ui/scheduler/Scheduler.java +++ b/G-Earth-UI/src/main/java/gearth/ui/scheduler/Scheduler.java @@ -1,4 +1,4 @@ -package g_earth.ui.scheduler; +package gearth.ui.scheduler; import javafx.application.Platform; import javafx.event.ActionEvent; @@ -6,9 +6,9 @@ import javafx.scene.control.*; import javafx.scene.layout.GridPane; import javafx.scene.layout.VBox; import javafx.stage.FileChooser; -import g_earth.protocol.HMessage; -import g_earth.protocol.HPacket; -import g_earth.ui.SubForm; +import gearth.protocol.HMessage; +import gearth.protocol.HPacket; +import gearth.ui.SubForm; import java.io.*; import java.util.ArrayList; diff --git a/src/g_earth/ui/settings/Settings.fxml b/G-Earth-UI/src/main/java/gearth/ui/settings/Settings.fxml similarity index 94% rename from src/g_earth/ui/settings/Settings.fxml rename to G-Earth-UI/src/main/java/gearth/ui/settings/Settings.fxml index b336648..f55c5a5 100644 --- a/src/g_earth/ui/settings/Settings.fxml +++ b/G-Earth-UI/src/main/java/gearth/ui/settings/Settings.fxml @@ -3,7 +3,7 @@ - + diff --git a/src/g_earth/ui/settings/Settings.java b/G-Earth-UI/src/main/java/gearth/ui/settings/Settings.java similarity index 60% rename from src/g_earth/ui/settings/Settings.java rename to G-Earth-UI/src/main/java/gearth/ui/settings/Settings.java index 491c43a..2ae0c2a 100644 --- a/src/g_earth/ui/settings/Settings.java +++ b/G-Earth-UI/src/main/java/gearth/ui/settings/Settings.java @@ -1,6 +1,6 @@ -package g_earth.ui.settings; +package gearth.ui.settings; -import g_earth.ui.SubForm; +import gearth.ui.SubForm; /** * Created by Jonas on 06/04/18. diff --git a/src/g_earth/ui/tools/Tools.fxml b/G-Earth-UI/src/main/java/gearth/ui/tools/Tools.fxml similarity index 99% rename from src/g_earth/ui/tools/Tools.fxml rename to G-Earth-UI/src/main/java/gearth/ui/tools/Tools.fxml index 392ef26..98848fa 100644 --- a/src/g_earth/ui/tools/Tools.fxml +++ b/G-Earth-UI/src/main/java/gearth/ui/tools/Tools.fxml @@ -10,7 +10,7 @@ - + diff --git a/src/g_earth/ui/tools/Tools.java b/G-Earth-UI/src/main/java/gearth/ui/tools/Tools.java similarity index 98% rename from src/g_earth/ui/tools/Tools.java rename to G-Earth-UI/src/main/java/gearth/ui/tools/Tools.java index 3282e6e..d08543e 100644 --- a/src/g_earth/ui/tools/Tools.java +++ b/G-Earth-UI/src/main/java/gearth/ui/tools/Tools.java @@ -1,12 +1,12 @@ -package g_earth.ui.tools; +package gearth.ui.tools; import javafx.event.ActionEvent; import javafx.scene.control.Button; import javafx.scene.control.TextArea; import javafx.scene.control.TextField; import javafx.scene.input.KeyCode; -import g_earth.protocol.HPacket; -import g_earth.ui.SubForm; +import gearth.protocol.HPacket; +import gearth.ui.SubForm; import java.nio.ByteBuffer; diff --git a/json-simple-1.1.1.jar b/json-simple-1.1.1.jar deleted file mode 100644 index 66347a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{AA9ik&bNp~F!neJwJMuZ=b7R|x^M}5+5uXo7 z+gOpGEf=!%tu}m$S3kj+(@qq@fR**wrsTSp81K(PmI{4aZll9gO^uIOf=81fi;tZ1 zw?)@y6d3SS3~yPI%8i1E=_888Zv~whYTy8fMZbpXH-$`KXLOI)?m-}CS4M22PYHlg z?76X$yM&V5SbxMnW{>;4S@*M$vUcSQ-#{|L+e6H*vf&?=Kc($fJdoi5dD`FZqJK&z zxry#!>*wS@*i`f@E?&C*aQSu&1 zHlF0hha?-%Jyh?mjQ?#`-%UNqyZW!}>c5NO#|4$KYx6|%Nc>aAkIU!T_l$3@ihoKY zxhU=dw5tdE$Bgm&p*DFoNnJzkJ4NzP+=J#XvVU|`+|NaBEkjbG??H^==aKC5t=dmU zZtC(Q8Rp<`$oBO8`^m`d1NioawfoGC`PXFRt}y%A$hG(+%Yi-Uvj3XxCj)~0l;rZg zA7`t_@oP#lNk2K+{-sA!{O!T($j@Zo%N)o_NDG5p0!PyO?VfAh!EG?Y|YiPkg^{Y(FV^0m+Y}JudTG(qC1d?I$MR z4DNoUWI!wYmYA#>Wj`PJ9~@~5xrYO$f8ZnAP@3pd?f%kGP_U97ySIOW1?km)0Pd{B A{Qv*} diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..ff1cce7 --- /dev/null +++ b/pom.xml @@ -0,0 +1,29 @@ + + + 4.0.0 + + G-Earth + G-Earth-Parent + pom + 0.0.1-beta + + + 1.8 + 1.8 + + + G-Earth + https://github.com/sirjonasxx/G-Earth + + + + G-Earth-UI + + + Extensions/AdminOnConnect + Extensions/BlockReplacePackets + Extensions/SpeechColorizer + + \ No newline at end of file diff --git a/src/META-INF/MANIFEST.MF b/src/META-INF/MANIFEST.MF deleted file mode 100644 index 422fcc4..0000000 --- a/src/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -Manifest-Version: 1.0 -Main-Class: g_earth.Main -