Also happening at the Trainyard Tower, we need this feature very much please!
AutoDoors
Moved
Total Downloads: 13,719 - First Release: May 20, 2016 - Last Update: Jul 14, 2016
- 5/5, 22 likes
-
Wulf Community Admin
-
I added it then by myself. -
Wulf Community Admin
-
Code:void OnDoorOpened(Door door, BasePlayer player) { if (door == null || !door.IsOpen() || door.LookupPrefabName().Contains("shutter") || door.OwnerID == 0) return;
-
Wulf Community Admin
-
-
-
Wulf Community Admin
-
So an exclusion for those doors to not to close them automatic make sense in case for that 'small part' of players
-
Wulf Community Admin
-
Code:
[07/14/2016 21:01:50] [Oxide] 21:01 [Error] Error while compiling AutoDoors.cs(169,56): error CS1061: Type `Door' does not contain a definition for `LookupPrefabName' and no extension method `LookupPrefabName' of type `Door' could be found. Are you missing an assembly reference?
-
Same here...
Code:[Error] AutoDoors.cs(100,56): error CS1061: Type `Door' does not contain a definition for `LookupPrefabName' and no extension method `LookupPrefabName' of type `Door' could be found. Are you missing an assembly reference? (22:17:53) | [Oxide] 22:17 [Error] AutoDoors plugin failed to compile!
-
yep requires fix.
-
replace line 36 with this:
if (door == null || !door.IsOpen() || door.LookupPrefab().name.Contains("shutter")) return; -
Wulf Community Admin
-
Code:
Failed to initialize plugin 'AutoDoors v3.1.2' (JsonReaderException: Bad JSON escape sequence: \ . Path 'CommandUsage', line 3, position 35.) (07:59:21) | [Oxide] 07:59 [Debug] at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer (Char quote) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.JsonTextReader.ParseString (Char quote) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.JsonTextReader.ParseValue () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.JsonReader.ReadAsStringInternal () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.JsonTextReader.ReadAsString () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, Boolean hasConverter) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary (IDictionary dictionary, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00000] in <filename unknown>:0
-
Wulf Community Admin
-
So now autodoors won't close doors in pasted buildings even if I /changeowner and prod says I own the building.
Since this last update when this change was made: "Excluded doors that have no owner", how do I remove this change and still have the plugin compile?
Or how to make building owner plugin include doors, and gates when I /change owner on the whole building?
It seems that I own all the constructed parts but I don't own doors, gates, and window bars. -
Having the same issue