mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 00:31:54 +00:00
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:
@@ -1,6 +1,6 @@
|
||||
package com.rs2.game.dialogues;
|
||||
|
||||
import com.rs2.GameConstants;
|
||||
import com.rs2.Constants;
|
||||
import com.rs2.GameEngine;
|
||||
import com.rs2.game.bots.Bot;
|
||||
import com.rs2.game.bots.BotHandler;
|
||||
@@ -157,7 +157,7 @@ public class DialogueHandler {
|
||||
|
||||
case 14: // lumby guide
|
||||
sendNpcChat1(
|
||||
"Greetings, welcome to " + GameConstants.SERVER_NAME + ".",
|
||||
"Greetings, welcome to " + Constants.SERVER_NAME + ".",
|
||||
player.talkingNpc, "Lumbridge Guide");
|
||||
player.nextChat = 0;
|
||||
break;
|
||||
@@ -3962,7 +3962,7 @@ public class DialogueHandler {
|
||||
player.nextChat = 1016;
|
||||
break;
|
||||
case 1016:
|
||||
sendNpcChat2("This is the bank of " + GameConstants.SERVER_NAME + ".", "We have many branches in many towns.", player.talkingNpc, "Banker");
|
||||
sendNpcChat2("This is the bank of " + Constants.SERVER_NAME + ".", "We have many branches in many towns.", player.talkingNpc, "Banker");
|
||||
player.nextChat = 0;
|
||||
break;
|
||||
/**
|
||||
@@ -5023,7 +5023,7 @@ public class DialogueHandler {
|
||||
chatboxText(
|
||||
|
||||
"To start the tutorial use your left mouse button to click on the",
|
||||
"" + GameConstants.SERVER_NAME
|
||||
"" + Constants.SERVER_NAME
|
||||
+ " in this room. He is indicated by a flashing",
|
||||
"yellow arrow above his head. If you can't see him, use your",
|
||||
"keyboard's arrow keys to rotate the view.",
|
||||
@@ -5783,7 +5783,7 @@ public class DialogueHandler {
|
||||
chatboxText(
|
||||
|
||||
"Follow the path and you will come to the front of the building.",
|
||||
"This is the Bank of " + GameConstants.SERVER_NAME
|
||||
"This is the Bank of " + Constants.SERVER_NAME
|
||||
+ ", where you can store all your",
|
||||
"most valued items. To open your bank box just right click on an",
|
||||
"open booth indicated and select 'use'.", "Banking");
|
||||
@@ -5837,7 +5837,7 @@ public class DialogueHandler {
|
||||
case 3085:
|
||||
sendNpcChat3(
|
||||
"Now, the next way to earn money quickly is by quests.",
|
||||
"Many people on " + GameConstants.SERVER_NAME
|
||||
"Many people on " + Constants.SERVER_NAME
|
||||
+ " have things they need",
|
||||
"doing, which they will reward you for.",
|
||||
player.talkingNpc, "Financial Advisor");
|
||||
@@ -6117,7 +6117,7 @@ public class DialogueHandler {
|
||||
|
||||
case 3114:
|
||||
sendNpcChat3(
|
||||
"If all else fails, visit the " + GameConstants.SERVER_NAME
|
||||
"If all else fails, visit the " + Constants.SERVER_NAME
|
||||
+ " website for a whole",
|
||||
"chestload of information on quests, skills, and minigames",
|
||||
"as well as a very good starter's guide.",
|
||||
@@ -6137,7 +6137,7 @@ public class DialogueHandler {
|
||||
break;
|
||||
|
||||
case 3116:
|
||||
if(GameConstants.VARIABLE_XP_RATE) {
|
||||
if(Constants.VARIABLE_XP_RATE) {
|
||||
player.getDialogueHandler().sendDialogues(10001, -1);
|
||||
} else {
|
||||
player.getPacketSender().showInterface(3559);
|
||||
@@ -7603,7 +7603,7 @@ public class DialogueHandler {
|
||||
player.nextChat = 10002;
|
||||
break;
|
||||
case 10002:
|
||||
sendOption("x" + GameConstants.VARIABLE_XP_RATES[0], "x" + GameConstants.VARIABLE_XP_RATES[1], "x" + GameConstants.VARIABLE_XP_RATES[2], "x" + GameConstants.VARIABLE_XP_RATES[3]);
|
||||
sendOption("x" + Constants.VARIABLE_XP_RATES[0], "x" + Constants.VARIABLE_XP_RATES[1], "x" + Constants.VARIABLE_XP_RATES[2], "x" + Constants.VARIABLE_XP_RATES[3]);
|
||||
player.dialogueAction = 10002;
|
||||
break;
|
||||
case 10003:
|
||||
@@ -7615,15 +7615,15 @@ public class DialogueHandler {
|
||||
player.dialogueAction = 10004;
|
||||
break;
|
||||
case 10005:
|
||||
sendOption("x" + GameConstants.VARIABLE_XP_RATES[1], "x" + GameConstants.VARIABLE_XP_RATES[2], "x" + GameConstants.VARIABLE_XP_RATES[3]);
|
||||
sendOption("x" + Constants.VARIABLE_XP_RATES[1], "x" + Constants.VARIABLE_XP_RATES[2], "x" + Constants.VARIABLE_XP_RATES[3]);
|
||||
player.dialogueAction = 10005;
|
||||
break;
|
||||
case 10006:
|
||||
sendOption("x" + GameConstants.VARIABLE_XP_RATES[2], "x" + GameConstants.VARIABLE_XP_RATES[3]);
|
||||
sendOption("x" + Constants.VARIABLE_XP_RATES[2], "x" + Constants.VARIABLE_XP_RATES[3]);
|
||||
player.dialogueAction = 10006;
|
||||
break;
|
||||
case 10007:
|
||||
sendOption("x" + GameConstants.VARIABLE_XP_RATES[3], "Don't Change");
|
||||
sendOption("x" + Constants.VARIABLE_XP_RATES[3], "Don't Change");
|
||||
player.dialogueAction = 10007;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user