From aa935855c915a9d3ff1c34ed870fdb780b0f95ea Mon Sep 17 00:00:00 2001 From: Von Hresvelg Date: Wed, 16 Nov 2022 08:16:22 +0000 Subject: [PATCH] Moved drop tables into dedicated folder (data/config/shared_tables) Added Rare Seed Drop Table Reworked Aberrant Spectre drops --- Server/data/configs/drop_tables.json | 200 ++++-------------- Server/data/configs/item_configs.json | 11 +- .../{ => configs/shared_tables}/CELEDT.xml | 22 +- .../data/{ => configs/shared_tables}/GDT.xml | 0 .../shared_tables/HDT.xml} | 4 +- .../data/{ => configs/shared_tables}/RDT.xml | 0 Server/data/configs/shared_tables/RSDT.xml | 15 ++ .../shared_tables/USDT.xml} | 4 +- .../node/entity/npc/drop/HerbDropTable.java | 8 +- .../node/entity/npc/drop/NPCDropTables.java | 3 + .../entity/npc/drop/RareSeedDropTable.java | 96 +++++++++ .../npc/drop/UncommonSeedDropTable.java | 18 +- .../src/main/kotlin/rs09/ServerConstants.kt | 7 +- .../game/content/global/WeightBasedTable.kt | 20 +- .../game/system/config/ServerConfigParser.kt | 5 +- Server/src/test/resources/test.conf | 12 +- Server/worldprops/default.conf | 12 +- 17 files changed, 223 insertions(+), 214 deletions(-) rename Server/data/{ => configs/shared_tables}/CELEDT.xml (98%) rename Server/data/{ => configs/shared_tables}/GDT.xml (100%) rename Server/data/{HERBDT.xml => configs/shared_tables/HDT.xml} (97%) rename Server/data/{ => configs/shared_tables}/RDT.xml (100%) create mode 100644 Server/data/configs/shared_tables/RSDT.xml rename Server/data/{SEEDDT.xml => configs/shared_tables/USDT.xml} (98%) create mode 100644 Server/src/main/java/core/game/node/entity/npc/drop/RareSeedDropTable.java diff --git a/Server/data/configs/drop_tables.json b/Server/data/configs/drop_tables.json index 08dae7bca..5406e33dc 100644 --- a/Server/data/configs/drop_tables.json +++ b/Server/data/configs/drop_tables.json @@ -24745,207 +24745,81 @@ "main": [ { "minAmount": "1", - "weight": "50.0", - "id": "5281", - "maxAmount": "1" - }, - { - "minAmount": "1", - "weight": "50.0", - "id": "5280", - "maxAmount": "1" - }, - { - "minAmount": "1", - "weight": "50.0", - "id": "5297", - "maxAmount": "1" - }, - { - "minAmount": "1", - "weight": "50.0", - "id": "5296", - "maxAmount": "1" - }, - { - "minAmount": "1", - "weight": "50.0", - "id": "5298", - "maxAmount": "1" - }, - { - "minAmount": "1", - "weight": "25.0", - "id": "5301", - "maxAmount": "1" - }, - { - "minAmount": "1", - "weight": "25.0", - "id": "5299", - "maxAmount": "1" - }, - { - "minAmount": "1", - "weight": "25.0", - "id": "5106", - "maxAmount": "1" - }, - { - "minAmount": "1", - "weight": "25.0", - "id": "5302", - "maxAmount": "1" - }, - { - "minAmount": "1", - "weight": "5.0", - "id": "5303", - "maxAmount": "1" - }, - { - "minAmount": "1", - "weight": "5.0", - "id": "5300", - "maxAmount": "1" - }, - { - "minAmount": "1", - "weight": "5.0", - "id": "5304", - "maxAmount": "1" - }, - { - "minAmount": "1", - "weight": "50.0", - "id": "199", - "maxAmount": "3" - }, - { - "minAmount": "1", - "weight": "50.0", - "id": "201", - "maxAmount": "3" - }, - { - "minAmount": "1", - "weight": "50.0", - "id": "203", - "maxAmount": "3" - }, - { - "minAmount": "1", - "weight": "50.0", - "id": "205", - "maxAmount": "3" - }, - { - "minAmount": "1", - "weight": "50.0", - "id": "207", - "maxAmount": "3" - }, - { - "minAmount": "1", - "weight": "50.0", - "id": "209", - "maxAmount": "3" - }, - { - "minAmount": "1", - "weight": "50.0", - "id": "211", - "maxAmount": "3" - }, - { - "minAmount": "1", - "weight": "50.0", - "id": "213", - "maxAmount": "3" - }, - { - "minAmount": "1", - "weight": "25.0", - "id": "215", - "maxAmount": "3" - }, - { - "minAmount": "1", - "weight": "25.0", - "id": "2485", - "maxAmount": "3" - }, - { - "minAmount": "1", - "weight": "25.0", - "id": "217", - "maxAmount": "3" - }, - { - "minAmount": "1", - "weight": "5.0", - "id": "3051", - "maxAmount": "2" - }, - { - "minAmount": "1", - "weight": "25.0", + "weight": "3.0", "id": "1353", "maxAmount": "1" }, { "minAmount": "1", - "weight": "25.0", + "weight": "1.0", "id": "1197", "maxAmount": "1" }, { "minAmount": "1", - "weight": "25.0", + "weight": "1.0", "id": "3053", "maxAmount": "1" }, { "minAmount": "1", - "weight": "25.0", + "weight": "1.0", "id": "1073", "maxAmount": "1" }, { "minAmount": "1", - "weight": "5.0", + "weight": "1.0", "id": "1163", "maxAmount": "1" }, - { - "minAmount": "278", - "weight": "25.0", - "id": "995", - "maxAmount": "487" - }, { "minAmount": "1", - "weight": "5.0", + "weight": "0.25", "id": "4103", "maxAmount": "1" }, { "minAmount": "1", - "weight": "5.0", - "id": "1", + "weight": "33.0", + "id": "14424", "maxAmount": "1" }, { - "minAmount": "1", - "weight": "5.0", - "id": "31", - "maxAmount": "1" + "minAmount": "2", + "weight": "33.0", + "id": "14424", + "maxAmount": "2" + }, + { + "minAmount": "3", + "weight": "12.0", + "id": "14424", + "maxAmount": "3" }, { "minAmount": "1", - "weight": "100.0", + "weight": "19.0", + "id": "14428", + "maxAmount": "1" + }, + { + "minAmount": "460", + "weight": "1.0", + "id": "995", + "maxAmount": "460" + }, + { + "minAmount": "1", + "weight": "18.0", "id": "0", "maxAmount": "1" + }, + { + "minAmount": "1", + "weight": "5.0", + "id": "14426", + "maxAmount": "1" } ] }, diff --git a/Server/data/configs/item_configs.json b/Server/data/configs/item_configs.json index 9370b05ae..4d126d595 100644 --- a/Server/data/configs/item_configs.json +++ b/Server/data/configs/item_configs.json @@ -130678,17 +130678,22 @@ }, { "examine": "You should not have this.", - "name": "Uncommon Seed Drop Table", + "name": "USDT Slot", "id": "14422" }, { "examine": "You should not have this.", - "name": "Herb Drop Table", + "name": "HDT Slot", "id": "14424" }, { "examine": "You should not have this.", - "name": "Gem Drop Table", + "name": "GDT Slot", "id": "14426" + }, + { + "examine": "You should not have this.", + "name": "RSDT Slot", + "id": "14428" } ] diff --git a/Server/data/CELEDT.xml b/Server/data/configs/shared_tables/CELEDT.xml similarity index 98% rename from Server/data/CELEDT.xml rename to Server/data/configs/shared_tables/CELEDT.xml index 062f928bd..e7d8bc57d 100644 --- a/Server/data/CELEDT.xml +++ b/Server/data/configs/shared_tables/CELEDT.xml @@ -1,12 +1,12 @@ - - - - - - - - - - - + + + + + + + + + + + \ No newline at end of file diff --git a/Server/data/GDT.xml b/Server/data/configs/shared_tables/GDT.xml similarity index 100% rename from Server/data/GDT.xml rename to Server/data/configs/shared_tables/GDT.xml diff --git a/Server/data/HERBDT.xml b/Server/data/configs/shared_tables/HDT.xml similarity index 97% rename from Server/data/HERBDT.xml rename to Server/data/configs/shared_tables/HDT.xml index ae6e4793f..d8f0223c5 100644 --- a/Server/data/HERBDT.xml +++ b/Server/data/configs/shared_tables/HDT.xml @@ -1,4 +1,4 @@ - + @@ -10,4 +10,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/Server/data/RDT.xml b/Server/data/configs/shared_tables/RDT.xml similarity index 100% rename from Server/data/RDT.xml rename to Server/data/configs/shared_tables/RDT.xml diff --git a/Server/data/configs/shared_tables/RSDT.xml b/Server/data/configs/shared_tables/RSDT.xml new file mode 100644 index 000000000..58bf5ad32 --- /dev/null +++ b/Server/data/configs/shared_tables/RSDT.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Server/data/SEEDDT.xml b/Server/data/configs/shared_tables/USDT.xml similarity index 98% rename from Server/data/SEEDDT.xml rename to Server/data/configs/shared_tables/USDT.xml index 390bda00d..105e7428c 100644 --- a/Server/data/SEEDDT.xml +++ b/Server/data/configs/shared_tables/USDT.xml @@ -1,4 +1,4 @@ - + @@ -23,4 +23,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/Server/src/main/java/core/game/node/entity/npc/drop/HerbDropTable.java b/Server/src/main/java/core/game/node/entity/npc/drop/HerbDropTable.java index b1ab168d5..a40ca0971 100644 --- a/Server/src/main/java/core/game/node/entity/npc/drop/HerbDropTable.java +++ b/Server/src/main/java/core/game/node/entity/npc/drop/HerbDropTable.java @@ -56,12 +56,12 @@ public final class HerbDropTable implements StartupListener { @Override public void startup() { - if(ServerConstants.HERBDT_DATA_PATH != null && !new File(ServerConstants.HERBDT_DATA_PATH).exists()){ - SystemLogger.logErr(this.getClass(), "Can't locate HERBDT file at " + ServerConstants.HERBDT_DATA_PATH); + if(ServerConstants.HDT_DATA_PATH != null && !new File(ServerConstants.HDT_DATA_PATH).exists()){ + SystemLogger.logErr(this.getClass(), "Can't locate HDT file at " + ServerConstants.HDT_DATA_PATH); return; } - parse(ServerConstants.HERBDT_DATA_PATH); - logInfo(this.getClass(), "Initialized Herb Drop Table from " + ServerConstants.HERBDT_DATA_PATH); + parse(ServerConstants.HDT_DATA_PATH); + logInfo(this.getClass(), "Initialized Herb Drop Table from " + ServerConstants.HDT_DATA_PATH); } /** diff --git a/Server/src/main/java/core/game/node/entity/npc/drop/NPCDropTables.java b/Server/src/main/java/core/game/node/entity/npc/drop/NPCDropTables.java index a5a0b05d8..8092c724c 100644 --- a/Server/src/main/java/core/game/node/entity/npc/drop/NPCDropTables.java +++ b/Server/src/main/java/core/game/node/entity/npc/drop/NPCDropTables.java @@ -101,6 +101,9 @@ public final class NPCDropTables { if (item.getId() == GemDropTable.SLOT_ITEM_ID){ item = GemDropTable.retrieve(); } + if (item.getId() == RareSeedDropTable.SLOT_ITEM_ID){ + item = RareSeedDropTable.retrieve(); + } if (item.getId() == 995 && player.getBank().hasSpaceFor(item) && ( player.getGlobalData().isEnableCoinMachine() )) { item = new Item(995, (int) (item.getAmount() + (item.getAmount() * 0.25))); player.getBank().add(item); diff --git a/Server/src/main/java/core/game/node/entity/npc/drop/RareSeedDropTable.java b/Server/src/main/java/core/game/node/entity/npc/drop/RareSeedDropTable.java new file mode 100644 index 000000000..cd84abe38 --- /dev/null +++ b/Server/src/main/java/core/game/node/entity/npc/drop/RareSeedDropTable.java @@ -0,0 +1,96 @@ +package core.game.node.entity.npc.drop; + +import api.StartupListener; +import core.game.node.item.Item; +import core.game.node.item.WeightedChanceItem; +import core.tools.RandomFunction; +import org.w3c.dom.Document; +import org.w3c.dom.Element; +import org.w3c.dom.Node; +import org.w3c.dom.NodeList; +import rs09.ServerConstants; +import rs09.game.system.SystemLogger; + +import javax.xml.parsers.DocumentBuilder; +import javax.xml.parsers.DocumentBuilderFactory; +import javax.xml.parsers.ParserConfigurationException; +import java.io.File; +import java.util.ArrayList; +import java.util.List; + +import static rs09.game.system.SystemLogger.logInfo; + +/** + * Handles the rare seed drop table. + * @author Von Hresvelg + */ +public final class RareSeedDropTable implements StartupListener { + + /** + * The item id of the item representing the rare seed drop table slot in a drop + * table. + */ + public static final int SLOT_ITEM_ID = 14428; + + /** + * The rare seed drop table. + */ + private static final List TABLE = new ArrayList<>(20); + + + /** + * Initialize needed objects for xml reading/writing + */ + static DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); + static DocumentBuilder builder; + + static { + try { + builder = factory.newDocumentBuilder(); + } catch (ParserConfigurationException e) { + e.printStackTrace(); + } + } + + public RareSeedDropTable() throws ParserConfigurationException {} + + @Override + public void startup() { + if(ServerConstants.RSDT_DATA_PATH != null && !new File(ServerConstants.RSDT_DATA_PATH).exists()){ + SystemLogger.logErr(this.getClass(), "Can't locate RSDT file at " + ServerConstants.RSDT_DATA_PATH); + return; + } + parse(ServerConstants.RSDT_DATA_PATH); + logInfo(this.getClass(), "Initialized Rare Seed Drop Table from " + ServerConstants.RSDT_DATA_PATH); + } + + /** + * Parses the xml file for the rare seed drop table. + * @param file the .xml file containing the rare seed drop table. + */ + public static void parse(String file){ + try { + Document doc = builder.parse(file); + + NodeList itemNodes = doc.getElementsByTagName("item"); + for(int i = 0; i < itemNodes.getLength(); i++){ + Node itemNode = itemNodes.item(i); + if(itemNode.getNodeType() == Node.ELEMENT_NODE){ + Element item = (Element) itemNode; + int itemId = Integer.parseInt(item.getAttribute("id")); + int minAmt = Integer.parseInt(item.getAttribute("minAmt")); + int maxAmt = Integer.parseInt(item.getAttribute("maxAmt")); + int weight = Integer.parseInt(item.getAttribute("weight")); + + TABLE.add(new WeightedChanceItem(itemId,minAmt,maxAmt,weight)); + } + } + } catch (Exception e){ + e.printStackTrace(); + } + } + + public static Item retrieve(){ + return RandomFunction.rollWeightedChanceTable(TABLE); + } +} \ No newline at end of file diff --git a/Server/src/main/java/core/game/node/entity/npc/drop/UncommonSeedDropTable.java b/Server/src/main/java/core/game/node/entity/npc/drop/UncommonSeedDropTable.java index 2792a3b8d..226372138 100644 --- a/Server/src/main/java/core/game/node/entity/npc/drop/UncommonSeedDropTable.java +++ b/Server/src/main/java/core/game/node/entity/npc/drop/UncommonSeedDropTable.java @@ -21,19 +21,19 @@ import java.util.List; import static rs09.game.system.SystemLogger.logInfo; /** - * Handles the seed drop table. + * Handles the uncommon seed drop table. * @author Von Hresvelg */ public final class UncommonSeedDropTable implements StartupListener { /** - * The item id of the item representing the seed drop table slot in a drop + * The item id of the item representing the uncommon seed drop table slot in a drop * table. */ public static final int SLOT_ITEM_ID = 14422; /** - * The seed drop table. + * The uncommon seed drop table. */ private static final List TABLE = new ArrayList<>(20); @@ -56,17 +56,17 @@ public final class UncommonSeedDropTable implements StartupListener { @Override public void startup() { - if(ServerConstants.SEEDDT_DATA_PATH != null && !new File(ServerConstants.SEEDDT_DATA_PATH).exists()){ - SystemLogger.logErr(this.getClass(), "Can't locate SEEDDT file at " + ServerConstants.SEEDDT_DATA_PATH); + if(ServerConstants.USDT_DATA_PATH != null && !new File(ServerConstants.USDT_DATA_PATH).exists()){ + SystemLogger.logErr(this.getClass(), "Can't locate USDT file at " + ServerConstants.USDT_DATA_PATH); return; } - parse(ServerConstants.SEEDDT_DATA_PATH); - logInfo(this.getClass(), "Initialized Uncommon Seed Drop Table from " + ServerConstants.SEEDDT_DATA_PATH); + parse(ServerConstants.USDT_DATA_PATH); + logInfo(this.getClass(), "Initialized Uncommon Seed Drop Table from " + ServerConstants.USDT_DATA_PATH); } /** - * Parses the xml file for the seed drop table. - * @param file the .xml file containing the seed drop table. + * Parses the xml file for the uncommon seed drop table. + * @param file the .xml file containing the uncommon seed drop table. */ public static void parse(String file){ try { diff --git a/Server/src/main/kotlin/rs09/ServerConstants.kt b/Server/src/main/kotlin/rs09/ServerConstants.kt index 6189127de..aa682da54 100644 --- a/Server/src/main/kotlin/rs09/ServerConstants.kt +++ b/Server/src/main/kotlin/rs09/ServerConstants.kt @@ -75,14 +75,17 @@ class ServerConstants { var CELEDT_DATA_PATH: String? = null @JvmField - var SEEDDT_DATA_PATH: String? = null + var USDT_DATA_PATH: String? = null @JvmField - var HERBDT_DATA_PATH: String? = null + var HDT_DATA_PATH: String? = null @JvmField var GDT_DATA_PATH: String? = null + @JvmField + var RSDT_DATA_PATH: String? = null + //the max number of players. @JvmField var MAX_PLAYERS = 2000 diff --git a/Server/src/main/kotlin/rs09/game/content/global/WeightBasedTable.kt b/Server/src/main/kotlin/rs09/game/content/global/WeightBasedTable.kt index 1709a4abf..d87726c55 100644 --- a/Server/src/main/kotlin/rs09/game/content/global/WeightBasedTable.kt +++ b/Server/src/main/kotlin/rs09/game/content/global/WeightBasedTable.kt @@ -8,6 +8,7 @@ import core.game.node.entity.npc.drop.CELEMinorTable import core.game.node.entity.npc.drop.UncommonSeedDropTable import core.game.node.entity.npc.drop.HerbDropTable import core.game.node.entity.npc.drop.GemDropTable +import core.game.node.entity.npc.drop.RareSeedDropTable import core.game.node.entity.player.Player import core.game.node.item.Item import core.tools.RandomFunction @@ -56,9 +57,10 @@ open class WeightBasedTable : ArrayList() { SLOT_CLUE_HARD -> ClueScrollPlugin.getClue(ClueLevel.HARD) SLOT_RDT -> RareDropTable.retrieve() SLOT_CELEDT -> CELEMinorTable.retrieve() - SLOT_SEEDDT -> UncommonSeedDropTable.retrieve() - SLOT_HERBDT -> HerbDropTable.retrieve() + SLOT_USDT -> UncommonSeedDropTable.retrieve() + SLOT_HDT -> HerbDropTable.retrieve() SLOT_GDT -> GemDropTable.retrieve() + SLOT_RSDT -> RareSeedDropTable.retrieve() else -> e.getItem() } safeItems.add(safeItem) @@ -97,12 +99,12 @@ open class WeightBasedTable : ArrayList() { } fun insertSEEDDTRoll(weight: Double): WeightBasedTable{ - this.add(WeightedItem(SLOT_SEEDDT,1,1,weight,false)) + this.add(WeightedItem(SLOT_USDT,1,1,weight,false)) return this } fun insertHERBDTRoll(weight: Double): WeightBasedTable{ - this.add(WeightedItem(SLOT_HERBDT,1,1,weight,false)) + this.add(WeightedItem(SLOT_HDT,1,1,weight,false)) return this } @@ -111,6 +113,11 @@ open class WeightBasedTable : ArrayList() { return this } + fun insertRSDTRoll(weight: Double): WeightBasedTable{ + this.add(WeightedItem(SLOT_RSDT,1,1,weight,false)) + return this + } + companion object { @JvmStatic fun create(vararg items: WeightedItem): WeightBasedTable{ @@ -127,9 +134,10 @@ open class WeightBasedTable : ArrayList() { val SLOT_CLUE_MEDIUM = Items.ROTTEN_POTATO_5733 val SLOT_CLUE_HARD = Items.GRANITE_LOBSTER_POUCH_12070 val SLOT_CELEDT = Items.NULL_799 - val SLOT_SEEDDT = Items.SACRED_CLAY_POUCH_CLASS_1_14422 - val SLOT_HERBDT = Items.SACRED_CLAY_POUCH_CLASS_2_14424 + val SLOT_USDT = Items.SACRED_CLAY_POUCH_CLASS_1_14422 + val SLOT_HDT = Items.SACRED_CLAY_POUCH_CLASS_2_14424 val SLOT_GDT = Items.SACRED_CLAY_POUCH_CLASS_3_14426 + val SLOT_RSDT = Items.SACRED_CLAY_POUCH_CLASS_4_14428 } override fun toString(): String { diff --git a/Server/src/main/kotlin/rs09/game/system/config/ServerConfigParser.kt b/Server/src/main/kotlin/rs09/game/system/config/ServerConfigParser.kt index 0bb1b0558..7b69f6f68 100644 --- a/Server/src/main/kotlin/rs09/game/system/config/ServerConfigParser.kt +++ b/Server/src/main/kotlin/rs09/game/system/config/ServerConfigParser.kt @@ -110,9 +110,10 @@ object ServerConfigParser { ServerConstants.LOG_CUTSCENE = data.getBoolean("world.verbose_cutscene", false) ServerConstants.GRAND_EXCHANGE_DATA_PATH = data.getPath("paths.eco_data") ServerConstants.CELEDT_DATA_PATH = data.getPath("paths.cele_drop_table_path") - ServerConstants.SEEDDT_DATA_PATH = data.getPath("paths.seed_drop_table_path") - ServerConstants.HERBDT_DATA_PATH = data.getPath("paths.herb_drop_table_path") + ServerConstants.USDT_DATA_PATH = data.getPath("paths.uncommon_seed_drop_table_path") + ServerConstants.HDT_DATA_PATH = data.getPath("paths.herb_drop_table_path") ServerConstants.GDT_DATA_PATH = data.getPath("paths.gem_drop_table_path") + ServerConstants.RSDT_DATA_PATH = data.getPath("paths.rare_seed_drop_table_path") ServerConstants.SERVER_GE_NAME = data.getString("world.name_ge") ?: ServerConstants.SERVER_NAME ServerConstants.RULES_AND_INFO_ENABLED = data.getBoolean("world.show_rules", true) ServerConstants.BOTS_INFLUENCE_PRICE_INDEX = data.getBoolean("world.bots_influence_ge_price", true) diff --git a/Server/src/test/resources/test.conf b/Server/src/test/resources/test.conf index a44c1a0aa..269e2cf95 100644 --- a/Server/src/test/resources/test.conf +++ b/Server/src/test/resources/test.conf @@ -61,15 +61,17 @@ configs_path = "@data/configs" #this is where economy/grand exchange data gets saved grand_exchange_data_path = "@data/eco" #path to file defining the rare drop table -rare_drop_table_path = "@data/RDT.xml" +rare_drop_table_path = "@data/configs/shared_tables/RDT.xml" #path to file defining c.ele minor drop table -cele_drop_table_path = "@data/CELEDT.xml" +cele_drop_table_path = "@data/configs/shared_tables/CELEDT.xml" #path to file defining the uncommon seed drop table -seed_drop_table_path = "@data/SEEDDT.xml" +uncommon_seed_drop_table_path = "@data/configs/shared_tables/USDT.xml" #path to file defining the herb drop table -herb_drop_table_path = "@data/HERBDT.xml" +herb_drop_table_path = "@data/configs/shared_tables/HDT.xml" #path to file defining the gem drop table -gem_drop_table_path = "@data/GDT.xml" +gem_drop_table_path = "@data/configs/shared_tables/GDT.xml" +#path to file defining the rare seed drop table +rare_seed_drop_table_path = "@data/configs/shared_tables/RSDT.xml" #path to file containing boot-time object changes object_parser_path = "@data/ObjectParser.xml" #path logs are written to diff --git a/Server/worldprops/default.conf b/Server/worldprops/default.conf index b5d9afa73..dbbd88cf9 100644 --- a/Server/worldprops/default.conf +++ b/Server/worldprops/default.conf @@ -83,15 +83,17 @@ configs_path = "@data/configs" #this is where economy/grand exchange data gets saved grand_exchange_data_path = "@data/eco" #path to file defining the rare drop table -rare_drop_table_path = "@data/RDT.xml" +rare_drop_table_path = "@data/configs/shared_tables/RDT.xml" #path to file defining c.ele minor drop table -cele_drop_table_path = "@data/CELEDT.xml" +cele_drop_table_path = "@data/configs/shared_tables/CELEDT.xml" #path to file defining the uncommon seed drop table -seed_drop_table_path = "@data/SEEDDT.xml" +uncommon_seed_drop_table_path = "@data/configs/shared_tables/USDT.xml" #path to file defining the herb drop table -herb_drop_table_path = "@data/HERBDT.xml" +herb_drop_table_path = "@data/configs/shared_tables/HDT.xml" #path to file defining the gem drop table -gem_drop_table_path = "@data/GDT.xml" +gem_drop_table_path = "@data/configs/shared_tables/GDT.xml" +#path to file defining the rare seed drop table +rare_seed_drop_table_path = "@data/configs/shared_tables/RSDT.xml" #path to file containing boot-time object changes object_parser_path = "@data/ObjectParser.xml" #path logs are written to