QUEST COMPLETE!", line)
}
+ limitScrolling(player, line, false)
}
}
diff --git a/Server/src/main/content/region/misthalin/varrock/quest/allfiredup/AllFiredUp.kt b/Server/src/main/content/region/misthalin/varrock/quest/allfiredup/AllFiredUp.kt
index b97a4fd07..f3e992ffc 100644
--- a/Server/src/main/content/region/misthalin/varrock/quest/allfiredup/AllFiredUp.kt
+++ b/Server/src/main/content/region/misthalin/varrock/quest/allfiredup/AllFiredUp.kt
@@ -1,13 +1,13 @@
package content.region.misthalin.varrock.quest.allfiredup
+import content.minigame.allfiredup.AFUBeacon
+import core.api.setVarbit
import core.game.node.entity.player.Player
import core.game.node.entity.player.link.quest.Quest
import core.game.node.entity.skill.Skills
import core.game.node.item.Item
import core.plugin.Initializable
import org.rs09.consts.Items
-import content.minigame.allfiredup.AFUBeacon
-import core.api.*
/**
* Represents the "All Fired Up" quest.
@@ -30,6 +30,7 @@ class AllFiredUp : Quest("All Fired Up", 157, 156, 1){
line(player, "To start this quest, I require:", line++)
line(player, "!!43 Firemaking??", line++, player.skills.getLevel(Skills.FIREMAKING) >= 43)
line(player, "!!Completion of Priest in Peril??", line++, player.questRepository.isComplete("Priest in Peril"))
+ limitScrolling(player, line, true)
} else {
line(player, "I have agreed to help King Roald test the beacon network", line++, true)
line(player, "that he hopes will serve as an early warning system,", line++, true)
@@ -133,6 +134,7 @@ class AllFiredUp : Quest("All Fired Up", 157, 156, 1){
line++
line(player,"
QUEST COMPLETE!", line)
}
+ limitScrolling(player, line, false)
}
}
diff --git a/Server/src/main/content/region/morytania/quest/creatureoffenkenstrain/CreatureOfFenkenstrain.kt b/Server/src/main/content/region/morytania/quest/creatureoffenkenstrain/CreatureOfFenkenstrain.kt
index 4b35fb36b..0959d87e6 100644
--- a/Server/src/main/content/region/morytania/quest/creatureoffenkenstrain/CreatureOfFenkenstrain.kt
+++ b/Server/src/main/content/region/morytania/quest/creatureoffenkenstrain/CreatureOfFenkenstrain.kt
@@ -58,6 +58,7 @@ class CreatureOfFenkenstrain : Quest("Creature of Fenkenstrain", 41, 40, 2, 399,
line(player, "I also need to have completed the following quests:", line++, false)
line(player, "Priest in Peril", line++, isQuestComplete(player, "Priest in Peril"))
line(player, "Restless Ghost", line++, isQuestComplete(player, "The Restless Ghost"))
+ limitScrolling(player, line, true)
} else {
line(player, "I read the signpost in Canifis, which tells of a butler", line++, true)
line(player, "position that is available at the castle to the northeast.", line++, true)
@@ -123,6 +124,7 @@ class CreatureOfFenkenstrain : Quest("Creature of Fenkenstrain", 41, 40, 2, 399,
line++
line(player,"
QUEST COMPLETE!", line)
}
+ limitScrolling(player, line, false)
}
}
diff --git a/Server/src/main/core/game/node/entity/player/link/diary/AchievementDiary.java b/Server/src/main/core/game/node/entity/player/link/diary/AchievementDiary.java
index 81b80bd7b..ddcdddeaf 100644
--- a/Server/src/main/core/game/node/entity/player/link/diary/AchievementDiary.java
+++ b/Server/src/main/core/game/node/entity/player/link/diary/AchievementDiary.java
@@ -114,13 +114,12 @@ public class AchievementDiary {
}
child++;
}
- // sendString(player, builder.toString(), 11);
- //Changes the size of the scroll bar
- //player.getPacketDispatch().sendRunScript(1207, "i", new Object[] { 330 });
- //sendString(player, builder.toString(), 11);
if (!player.getInterfaceManager().isOpened()) {
player.getInterfaceManager().open(new Component(DIARY_COMPONENT));
}
+ // Changes the size of the scroll bar (see 1207.cs2 for more)
+ // (args1: 1 is to start from top of scroll) (args0: child-12 lines to display)
+ player.getPacketDispatch().sendRunScript(1207, "ii", 1, child - 10);
}
/**
diff --git a/Server/src/main/core/game/node/entity/player/link/quest/Quest.java b/Server/src/main/core/game/node/entity/player/link/quest/Quest.java
index 8b50bdac2..b4fab393c 100644
--- a/Server/src/main/core/game/node/entity/player/link/quest/Quest.java
+++ b/Server/src/main/core/game/node/entity/player/link/quest/Quest.java
@@ -1,6 +1,5 @@
package core.game.node.entity.player.link.quest;
-import core.game.component.CloseEvent;
import core.game.component.Component;
import core.game.node.entity.player.Player;
import core.plugin.Plugin;
@@ -215,6 +214,20 @@ public abstract class Quest implements Plugin