On servers with /remover tool, that is irrelevent. Perhaps a non-default section of code in the plugin solely for server admin who want an infinite rotate option?
RotateOnUpgrade [Unmaintained]
Discussion in 'Plugin Support' started by KeyboardCavemen, Jul 28, 2015.
-
What do I need to set the value of amountOfMinutesAfterUpgrade to let people rotate things forever? Cheers.
-
-
That would be great, it's very handy to be able to rotate stairs.
-
KeyboardCavemen updated RotateOnUpgrade with a new update entry:
1.2.0
Last edited by a moderator: Aug 17, 2015 -
can you make "AllowAdminDestroy" and a feature to disable rotate/demolish if damage have been dealt x radious away from the building? that would prevent poeple from removing stuff during fights and raids
-
Every time I hit "download" the page loads a sec then nothing happens. I looked in my downloads and I restarted my comp. I tried it yesterday and today and still nothing.
-
-
whenever i put this plugin on my server it starts to lag very bad. we remove it and its gone right away then add it and lag comes back. any idea whats up?
-
seems like your plugin makes the server freeze for some people with high population.
Server freezes for 5-10 seconds | Oxide
i suspect this function:timerTickHandler from being the culpit
you use: allBuildingBlocks.AddRange(UnityEngine.GameObject.FindObjectsOfType<BuildingBlock>());
and
allBuildingBlocks.Find(x => x.GetInstanceID().Equals(instanceIDs));
on server that have 200k blocks, it sure would cause lags. especially if it has to loop multiple times in here: for (int i = 0; i < this.timesOfUpgrade.Count; i++)
any way, hope you can maybe find a way to fix the lags! -
Thanks for the report and I'll see if I have some time to work on a fix tomorrow.
Kind regards,
Kc -
KeyboardCavemen updated RotateOnUpgrade with a new update entry:
1.3.0
-
Ongoing
Attached Files:
-
-
I hate to ask this but *did you try to turn it on and off again?* maybe back up the configuration file and let the mod create a new one? I know it really sucks but apart from that I don't really have any other suggestions.
Kind regards,
K.c -
Code:[Oxide] 3:24 PM [Error] Failed to call hook 'OnStructureUpgrade' on plugin 'RotateOnUpgrade v1.3.0' (NullReferenceException: ) [Oxide] 3:24 PM [Debug] at (wrapper managed-to-native) UnityEngine.Component:get_transform () at Oxide.Plugins.RotateOnUpgrade.updateConfig () [0x00000] in <filename unknown>:0 at Oxide.Plugins.RotateOnUpgrade.addBlockToList (.BuildingBlock buildingBlock, DateTime dateTime) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RotateOnUpgrade.OnStructureUpgrade (.BuildingBlock block, .BasePlayer player, Enum grade) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
I've got the same error. Starts when someone starts upgrading i.e a wall. Error is also given when an admin is rotating.
Code:[Oxide] 8:07 PM [Error] Failed to call hook 'OnStructureUpgrade' on plugin 'RotateOnUpgrade v1.3.0' (NullReferenceException: ) [Oxide] 8:07 PM [Debug] at (wrapper managed-to-native) UnityEngine.Component:get_transform () at Oxide.Plugins.RotateOnUpgrade.updateConfig () [0x00000] in <filename unknown>:0 at Oxide.Plugins.RotateOnUpgrade.addBlockToList (.BuildingBlock buildingBlock, DateTime dateTime) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RotateOnUpgrade.OnStructureUpgrade (.BuildingBlock block, .BasePlayer player, Enum grade) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
When the server is started -"[Error] Failed to call hook 'OnServerInitialized' on plugin 'RotateOnUpgrade v1.3.0' (InvalidCastException: Value is not a convertible object: System.Collections.Generic.List`1[System.Object] to System.Int32)"
Before had never seen. Please fix it. -
-
-
Code:
[9/28/2015 10:34:15 PM] [Oxide] 10:34 PM [Error] Failed to call hook 'OnStructureUpgrade' on plugin 'RotateOnUpgrade v1.3.0' (NullReferenceException: ) [9/28/2015 10:34:15 PM] [Oxide] 10:34 PM [Debug] at (wrapper managed-to-native) UnityEngine.Component:get_transform () at Oxide.Plugins.RotateOnUpgrade.updateConfig () [0x00000] in <filename unknown>:0 at Oxide.Plugins.RotateOnUpgrade.addBlockToList (.BuildingBlock buildingBlock, DateTime dateTime) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RotateOnUpgrade.OnStructureUpgrade (.BuildingBlock block, .BasePlayer player, Enum grade) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Attached Files:
Last edited by a moderator: Oct 3, 2015 -