Nogrod updated LootConfig with a new update entry:
1.0.16

LootConfig
Allows you to adjust the server's loot list
Total Downloads: 14,976 - First Release: Mar 27, 2015 - Last Update: May 20, 2018
- 5/5, 21 likes
-
wtf...
Code:[11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown [11/12/2016 07:13:46] [Oxide] 07:13 [Info] [LootConfig] No spawngroup data found: unkown
-
Code:
(19:06:24) | [Oxide] 19:06 [Error] Error while compiling LootConfig.cs(313,52): error CS0012: The type `IServerComponent' is defined in an assembly that is not referenced. Consider adding a reference to assembly `Rust.Global, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
-
-
-
People help.
Can't find the setting which is responsible for Tech Trash. how to change the number of drop items? -
To fix this bug:
Code:[Oxide] 12:24 [Error] Error while compiling LootConfig.cs(313,52): error CS0012: The type `IServerComponent' is defined in an assembly that is not referenced. Consider adding a reference to assembly `Rust.Global, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
Code:Line 312: if (lootContainer.GetComponent<Spawnable>() == null) Line 313: { Line 314: if (lootContainer.name.Equals(lootContainer.PrefabName) || lootContainer.name.Equals(Core.Utility.GetFileNameWithoutExtension(lootContainer.PrefabName))) Line 315: { Line 316: #if DEBUG Line 317: var components = lootContainer.GetComponents<MonoBehaviour>(); Line 318: Puts("Name: {0} Identical: {1}\tActiveP: {2}\tActiveC: {3}", lootContainer.name, GameManager.server.FindPrefab(lootContainer.PrefabName) == lootContainer.gameObject, GameManager.server.FindPrefab(lootContainer.PrefabName).activeInHierarchy, lootContainer.gameObject.activeInHierarchy); Line 319: Puts("Components: {0}", string.Join(",", components.Select(c => c.GetType().FullName).ToArray())); Line 320: Puts("Position: {0}", lootContainer.transform.position); Line 321: #endif Line 322: UpdateLootContainer(_config.LootContainers, lootContainer, lootSpawns); Line 323: } Line 324: continue; Line 325: }
Code:Line 312: /* if (lootContainer.GetComponent<Spawnable>() == null) Line 313: { Line 314: if (lootContainer.name.Equals(lootContainer.PrefabName) || lootContainer.name.Equals(Core.Utility.GetFileNameWithoutExtension(lootContainer.PrefabName))) Line 315: { Line 316: #if DEBUG Line 317: var components = lootContainer.GetComponents<MonoBehaviour>(); Line 318: Puts("Name: {0} Identical: {1}\tActiveP: {2}\tActiveC: {3}", lootContainer.name, GameManager.server.FindPrefab(lootContainer.PrefabName) == lootContainer.gameObject, GameManager.server.FindPrefab(lootContainer.PrefabName).activeInHierarchy, lootContainer.gameObject.activeInHierarchy); Line 319: Puts("Components: {0}", string.Join(",", components.Select(c => c.GetType().FullName).ToArray())); Line 320: Puts("Position: {0}", lootContainer.transform.position); Line 321: #endif Line 322: UpdateLootContainer(_config.LootContainers, lootContainer, lootSpawns); Line 323: } Line 324: continue; Line 325: }*/
-
Code:
//Reference: Rust.Global
-
People help.
Can't find the setting which is responsible for Tech Trash. how to change the number of drop items? -
Anyone else getting this, or is it just on my end?
Code:[Oxide] 12:58 [Info] [LootConfig] Config save failed: Object reference not set to an instance of an object at Oxide.Plugins.LootConfig+LootSpawnEntryConverter.WriteJson (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.JsonSerializer serializer) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeConvertable (Newtonsoft.Json.JsonWriter writer, Newtonsoft.Json.JsonConverter converter, System.Object value, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonContract valueContract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList (Newtonsoft.Json.JsonWriter writer, IEnumerable values, Newtonsoft.Json.Serialization.JsonArrayContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0
Code:[Oxide] 13:55 [Info] [LootConfig] No spawngroup data found: unkown [Oxide] 13:55 [Info] [LootConfig] No spawngroup data found: unkown [Oxide] 13:55 [Info] [LootConfig] No spawngroup data found: unkown [Oxide] 13:55 [Info] [LootConfig] No spawngroup data found: unkown
Last edited by a moderator: Nov 12, 2016 -
error "[Oxide] 12:24 [Error] Error while compiling LootConfig.cs(313,52): error CS0012: The type `IServerComponent' is defined in an assembly that is not referenced. Consider adding a reference to assembly `Rust.Global, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'"
got the plugin to stop giving the plugin by editing the config
but now im just getting
[Oxide] 13:06 [Info] [LootConfig] No container data found: assets/bundled/prefabs/radtown/foodbox.prefab
Update: Found a fix for No container data found for foodbox add this to config
},
"assets/bundled/prefabs/radtown/foodbox.prefab": {
"DestroyOnEmpty": true,
"LootDefinition": "LootSpawn.TrashPile",
"MaxDefinitionsToSpawn": 3,
"MinSecondsBetweenRefresh": 900.0,
"MaxSecondsBetweenRefresh": 1800.0,
"DistributeFragments": false,
"InitialLootSpawn": true,
"SpawnType": "GENERIC",
"InventorySlots": 6
},Last edited by a moderator: Nov 12, 2016 -
Nogrod updated LootConfig with a new update entry:
1.0.17
-
Getting this again
Code:[Oxide] 12:58 [Info] [LootConfig] Config save failed: Object reference not set to an instance of an object at Oxide.Plugins.LootConfig+LootSpawnEntryConverter.WriteJson (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.JsonSerializer serializer) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeConvertable (Newtonsoft.Json.JsonWriter writer, Newtonsoft.Json.JsonConverter converter, System.Object value, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonContract valueContract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList (Newtonsoft.Json.JsonWriter writer, IEnumerable values, Newtonsoft.Json.Serialization.JsonArrayContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0
-
Code:
(14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:37) | SubCategoryIntoContainer: This should never happen! (14:07:38) | SubCategoryIntoContainer: This should never happen! (14:07:38) | SubCategoryIntoContainer: This should never happen!
-
downloaded fresh new version and i get
Code:[Oxide] 15:38 [Error] Error while compiling LootConfig.cs(323,52): error CS0012: The type `IServerComponent' is defined in an assembly that is not referenced. Consider adding a reference to assembly `Rust.Global, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
-
how to save loot config after build changes?
-
@Nogrod - I don't know if this is working right or maybe I'm using wrong but If I use this
Example:
Code:"Shortname": "ammo.rifle", "Amount": 1.0, "MaxAmount": 30.0
Regards, -