From 04a5d43d9fba5b1c2ff931080c6f63a75f6403f0 Mon Sep 17 00:00:00 2001 From: Badhad <46411657+BadHad@users.noreply.github.com> Date: Mon, 29 Mar 2021 18:54:27 -0400 Subject: [PATCH 1/3] NPC Fixes - Fix 412 Bat examine and animations --- Server/data/configs/npc_configs.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Server/data/configs/npc_configs.json b/Server/data/configs/npc_configs.json index ffadce483..dbf270e93 100644 --- a/Server/data/configs/npc_configs.json +++ b/Server/data/configs/npc_configs.json @@ -5199,7 +5199,7 @@ "attack_level": "1" }, { - "examine": "Examine not added", + "examine": "An annoying flappy thing.", "slayer_task": "5", "attack_speed": "5", "magic_level": "10", @@ -5207,6 +5207,9 @@ "weakness": "4", "slayer_exp": "8", "death_animation": "4918", + "melee_animation": "4915", + "range_animation": "4915", + "defence_animation": "4916", "name": "Bat", "defence_level": "2", "safespot": null, From e2e8d5cad8aaf81cda63ebb77b38e6313c770be9 Mon Sep 17 00:00:00 2001 From: Woah Date: Wed, 31 Mar 2021 06:23:23 -0400 Subject: [PATCH 2/3] Client sound fix (dropping still has sound issues) Cache now includes all music + sfx + sound (taken from revision 550) Drop item handler - removed useless send audio --- .../java/core/game/content/global/action/DropItemHandler.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Server/src/main/java/core/game/content/global/action/DropItemHandler.java b/Server/src/main/java/core/game/content/global/action/DropItemHandler.java index 7801e62ba..6564310b8 100644 --- a/Server/src/main/java/core/game/content/global/action/DropItemHandler.java +++ b/Server/src/main/java/core/game/content/global/action/DropItemHandler.java @@ -36,7 +36,6 @@ public final class DropItemHandler { return true; } player.getDialogueInterpreter().close(); - player.getAudioManager().send(new Audio(2393, 0, 0)); player.getPulseManager().clear(); if (option.equalsIgnoreCase("destroy") || option.equalsIgnoreCase("dissolve")) { player.getDialogueInterpreter().open(9878, item); @@ -48,7 +47,7 @@ public final class DropItemHandler { } if (player.getInventory().replace(null, item.getSlot()) == item) { item = item.getDropItem(); - player.getAudioManager().send(new Audio(item.getId() == 995 ? 10 : 2739, 1, 0)); + player.getAudioManager().send(new Audio(item.getId() == 995 ? 10 : 2739, 1, 0));//2739 ACTUAL DROP SOUND GroundItemManager.create(item, player.getLocation(), player); PlayerParser.save(player); } From e21205563ad7c70894dbecb0dcb3759addebc195 Mon Sep 17 00:00:00 2001 From: Woah Date: Wed, 31 Mar 2021 07:38:55 -0400 Subject: [PATCH 3/3] Little bit of client fun for Easter. Lasts until the 8th.