Various Changes (#614)

* Clean Old Log Files

* Various Changes

* Moved minutes.log to log folder
* Made SERVER_LOG_DIR constant
* Moved FILE_SYSTEM_DIR to GameConstants & Deleted org.apollo.jagcached.Constants
* Removed unused minutes.log from data/data
* Removed Duplicate RSAKeyGen
* Moved RSAKeyGen from com.rs2.net.rsa to com.rs2.util.rsa

* Removed data/net.xml & Created Moved NetworkConstants.java

* Add HTTP & Jaggrab Port's to ConfigLoader

* IntelliJ Reformat ConfigLoader.java

* Fix Mistake

* Attempt #2

* Woops, wrong port
This commit is contained in:
Josh Shippam authored and GitHub committed 2023-02-09 01:05:06 +00:00
1 parent 88a9562e03
commit 55ca851d07
201 files changed
+1264 -12570

No files matched your search

@@ -1,6 +1,6 @@
package com.rs2.game.npcs;
import com.rs2.GameConstants;
import com.rs2.Constants;
import com.rs2.game.content.StaticNpcList;
import com.rs2.game.content.quests.QuestAssistant;
import com.rs2.game.content.skills.core.Fishing;
@@ -207,10 +207,10 @@ public class NpcActions {
player.getDialogueHandler().sendDialogues(1349, npcType);
break;
case MARTIN_THWAIT:
if (player.playerLevel[GameConstants.THIEVING] > 98) {
if (player.playerLevel[Constants.THIEVING] > 98) {
player.getShopAssistant().openShop(118);
} else if (player.playerLevel[GameConstants.THIEVING] > 49
&& player.playerLevel[GameConstants.AGILITY] > 49) {
} else if (player.playerLevel[Constants.THIEVING] > 49
&& player.playerLevel[Constants.AGILITY] > 49) {
player.getShopAssistant().openShop(118);
} else {
player.getPacketSender().sendMessage(
@@ -524,7 +524,7 @@ public class NpcActions {
}
break;
case GERTRUDE:
if (player.playerLevel[GameConstants.FISHING] < 4) {
if (player.playerLevel[Constants.FISHING] < 4) {
player.getDialogueHandler().sendStatement(
"You don't have the requirements to do this quest.");
return;
@@ -1017,10 +1017,10 @@ public class NpcActions {
Tanning.sendTanningInterface(player);
break;
case MARTIN_THWAIT:
if (player.playerLevel[GameConstants.THIEVING] > 98) {
if (player.playerLevel[Constants.THIEVING] > 98) {
player.getShopAssistant().openShop(118);
} else if (player.playerLevel[GameConstants.THIEVING] > 49
&& player.playerLevel[GameConstants.AGILITY] > 49) {
} else if (player.playerLevel[Constants.THIEVING] > 49
&& player.playerLevel[Constants.AGILITY] > 49) {
player.getShopAssistant().openShop(118);
} else {
player.getPacketSender().sendMessage(
@@ -1126,7 +1126,7 @@ public class NpcActions {
player.getPlayerAssistant().startTeleport(2911, 4832, 0, type);
break;
case MAGE_OF_ZAMORAK:
if (player.playerLevel[GameConstants.RUNECRAFTING] < 35) {
if (player.playerLevel[Constants.RUNECRAFTING] < 35) {
player.getPacketSender().sendMessage("You need a Runecrafting level of 35 to enter the Abyss.");
return;
}