From ee17d4592e1cf6f2a52dd1f91ed1a9576906b47a Mon Sep 17 00:00:00 2001 From: Avi Weinstock Date: Mon, 18 Oct 2021 13:48:27 -0400 Subject: [PATCH] Fix varrock newspaper interface indicies, and fix a syntax error in `npc_spawns.json`. --- Server/data/configs/npc_spawns.json | 2 +- .../main/java/core/game/interaction/item/NewsPaperPlugin.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Server/data/configs/npc_spawns.json b/Server/data/configs/npc_spawns.json index c3db5b9d7..4e471a235 100644 --- a/Server/data/configs/npc_spawns.json +++ b/Server/data/configs/npc_spawns.json @@ -4433,7 +4433,7 @@ }, { "npc_id": "2329", - "loc_data": "{3093,3260,0,1,6}-{1702.4822,0,0,0]" + "loc_data": "{3093,3260,0,1,6}-{1702,4822,0,0,0}" }, { "npc_id": "2330", diff --git a/Server/src/main/java/core/game/interaction/item/NewsPaperPlugin.java b/Server/src/main/java/core/game/interaction/item/NewsPaperPlugin.java index 164b4c92c..1f4538d1d 100644 --- a/Server/src/main/java/core/game/interaction/item/NewsPaperPlugin.java +++ b/Server/src/main/java/core/game/interaction/item/NewsPaperPlugin.java @@ -23,8 +23,8 @@ public class NewsPaperPlugin extends OptionHandler { player.getInterfaceManager().open(new Component(530)); final String page1 = "Varrock gets Makeover! The city of Varrock is the latest recipient of a complete makeover. When interviewed, King Roald said, 'In order to keep visitors coming to see the sights of our beautiful capital, we felt that tidying-up the city would be more effective than just issuing a decree - make sure you visit the new museum while you are here.'"; final String page2 = "Obituaries Goblin-Died Giant Rat-Died Unicorn-Died Varrock Guard-Died Varrock Guard-Died Bear-Died. Classifieds."; - player.getPacketDispatch().sendString(page1, 530, 2); - player.getPacketDispatch().sendString(page2, 530, 4); + player.getPacketDispatch().sendString(page1, 530, 7); + player.getPacketDispatch().sendString(page2, 530, 8); return true; } else player.getDialogueInterpreter().open(70099, "Come to the Al Kharid Market place! Highquality", "produce at low, low prices! Show this flyer to a", "merchant for money off your next purchase,", "courtesy of Ali Morrisane!");