From 8dfd80fa89f10cc156c25f5e2719e8ad69a3d3f9 Mon Sep 17 00:00:00 2001 From: Danial Date: Sat, 14 Mar 2020 09:12:28 +1300 Subject: [PATCH 1/2] Removed some more Donator checks to fix slots 5 and 6 on the GE interface (#169) Co-authored-by: Qweqker --- .../org/crandor/game/content/eco/ge/GrandExchange.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Server/src/org/crandor/game/content/eco/ge/GrandExchange.java b/Server/src/org/crandor/game/content/eco/ge/GrandExchange.java index c182256c9..3181c51b5 100644 --- a/Server/src/org/crandor/game/content/eco/ge/GrandExchange.java +++ b/Server/src/org/crandor/game/content/eco/ge/GrandExchange.java @@ -457,10 +457,6 @@ public final class GrandExchange implements SavingModule { * @param index The offer index. */ public void openBuy(int index) { - if (index > 3 && !player.isDonator()) { - player.getPacketDispatch().sendMessage("You have to be a member to unlock this slot."); - return; - } this.openedIndex = index; sendConfiguration(offers[index], false); openSearch(); @@ -470,10 +466,6 @@ public final class GrandExchange implements SavingModule { * Opens the selling screen. */ public void openSell(int index) { - if (index > 3 && !player.isDonator()) { - player.getPacketDispatch().sendMessage("You have to be a member to unlock this slot."); - return; - } this.openedIndex = index; sendConfiguration(offers[index], true); player.getInterfaceManager().openSingleTab(new Component(107)).open(player); From 01094d9635fc1866b24e2dbcff16a8db98dd1abc Mon Sep 17 00:00:00 2001 From: jamix77 <> Date: Sat, 14 Mar 2020 12:30:31 +0000 Subject: [PATCH 2/2] Fixed wildy course Fixed the wildy course finally xD --- Server/src/plugin/skill/agility/WildernessCourse.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/src/plugin/skill/agility/WildernessCourse.java b/Server/src/plugin/skill/agility/WildernessCourse.java index f93e57ec7..15d47672c 100644 --- a/Server/src/plugin/skill/agility/WildernessCourse.java +++ b/Server/src/plugin/skill/agility/WildernessCourse.java @@ -252,7 +252,7 @@ public final class WildernessCourse extends AgilityCourse { switch (n.getId()) { case 2283: return Location.create(3005, 3953, 0); - case 2311: + case 37704: return Location.create(3002, 3960, 0); case 2297: return Location.create(3002, 3945, 0); @@ -269,7 +269,7 @@ public final class WildernessCourse extends AgilityCourse { ObjectDefinition.forId(2307).getConfigurations().put("option:open", this); ObjectDefinition.forId(2288).getConfigurations().put("option:squeeze-through", this); ObjectDefinition.forId(2283).getConfigurations().put("option:swing-on", this); - ObjectDefinition.forId(2311).getConfigurations().put("option:cross", this); + ObjectDefinition.forId(37704).getConfigurations().put("option:cross", this); ObjectDefinition.forId(2297).getConfigurations().put("option:walk-across", this); ObjectDefinition.forId(2328).getConfigurations().put("option:climb", this); }