Building Grades
Allows admins to easily upgrade or downgrade an entire building
Total Downloads: 21,383 - First Release: Apr 3, 2015 - Last Update: Apr 19, 2018
- 5/5, 49 likes
-
Anyone else getting the above issue?
-
I get this error
Code:07:17 [Error] Failed to call hook 'CanAffordUpgrade' on plugin 'BuildingGrades v0.3.9' (InvalidCastException: Cannot cast from source type to destination type.) 07:17 [Stacktrace] at Oxide.Plugins.BuildingGrades.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
same errors here on oxide build 2.0.3291
-
if you go in to the CS file and change CanAffordUpgrade to CanAffordToUpgrade it works.. Thanks @Wulf
-
Thanks so much works perfectly
-
big bug
Code:(22:06:08) | at Oxide.Plugins.BuildingGrades.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
You neeed to go in to the oxide folder and finde the error in the log file.. the start of the error is missing a line
-
Changed the CanAffordUpgrade but still only seeing it upgrade 1 thing at a time.Code:
(16:32:00) | Failed to call hook 'CanAffordUpgrade' on plugin 'BuildingGrades v0.3.9' (InvalidCastException: Cannot cast from source type to destination type.) (16:32:00) | at Oxide.Plugins.BuildingGrades.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
Code:
Failed to call hook 'CanAffordUpgrade' on plugin 'BuildingGrades v0.3.9' (InvalidCastException: Cannot cast from source type to destination type.
-
Wulf Community Admin
Wulf updated Building Grades with a new update entry:
0.3.10
-
,,woow ,,,thank you Wulf
-
Have you fixed the hook OnStructureUpgrade yet?
-
Wulf Community Admin
What is wrong with it? -
Maybe I need to update oxide?
Code:Failed to call hook 'CanAffordUpgrade' on plugin 'AutoGrades v0.0.15' (InvalidCastException: Value is not a convertible object: BuildingBlock to System.Int32) at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in :0 at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0
-
Wulf Community Admin
Wrong thread, but already updated.
-
Ahhhhhh... D'oh!
-
Wulf Community Admin
Wulf updated Building Grades with a new update entry:
0.3.11
-
@Wulf Any chance this could support clanshare?
-
Wulf Community Admin
What is clanshare?
