I have a strange glitch with latest version. I build foundation, then a wall and upgrade wall. Hammer turning on upgrade to stone mode (icon on the left). Than I build next wall and it does one auto upgrade. And it happens all the time.
There is a video, it explains a little bit more maybe (Watch at 2:10):
EnhancedHammer
Moved
Total Downloads: 17,839 - First Release: Nov 9, 2015 - Last Update: Sep 21, 2017
- 5/5, 38 likes
-
-
Dear, would you be able to update this plugin so it's compatible with 'Deekay'?
As far as I can tell (I'm not an experienced coder) it has something to do with EnhancedHammer not calling the OnStructureUpgrade hook when it upgrades a structure. This means that the Deekay plugin can't register it as the new type of material and the decay rate is incorrectly applied.
Would really appreciate this, the Enhanced Hammer is a beloved plugin in many servers, including ours. But we can no longer use it in cooperation with the deekay plugin that helps our server (monthly wipe) deconstruct the buildings that are no longer in use. -
-
Fujikura updated Enhanced Hammer with a new update entry:
1.3.1
-
Fujikura updated Enhanced Hammer with a new update entry:
1.3.2
-
Is this the plugin that allows players to Demolish what they have built already, but only on their own builds?
-
-
So when Admin get the rights to demolish their own and others......how do players demolish their own after upgrading from twig?
-
It appears that parts of the hammer aren't working. or something else may be wrong with my server. I no longer have the Demolish option with the hammer. Any thoughts?
-
Same here
-
Would be nice if these plugins were either updated and maintained, or author flags them as no longer maintained so at least we know.
-
[DOUBLEPOST=1495265406][/DOUBLEPOST]Enough?
-
Failed to call hook 'CanAffordUpgrade' on plugin 'EnhancedHammer v1.3.2' (InvalidCastException: Value is not a convertible object: BuildingBlock to BuildingGrade+Enum)
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 -
Code:Failed to call hook 'CanAffordUpgrade' on plugin 'BuildingGrades v0.3.9' (InvalidCastException: Cannot cast from source type to destination type.) at Oxide.Plugins.BuildingGrades.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [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
-
UPDATE
Temporary fix -
if you go in to the CS file and change all the 'CanAffordUpgrade' to 'CanAffordToUpgrade' it works.. Thanks @Wulf and @HyldeblomstenLast edited by a moderator: May 22, 2017 -
bug
Code:(22:06:08) | Failed to call hook 'CanAffordUpgrade' on plugin 'EnhancedHammer v1.3.2' (InvalidCastException: Value is not a convertible object: BuildingBlock to BuildingGrade+Enum) (22:06:08) | at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0 at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
-
Help!
Failed to call hook 'CanAffordUpgrade' on plugin 'EnhancedHammer v1.3.2' (InvalidCastException: Value is not a convertible object: BuildingBlock to BuildingGrade+Enum)
at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0
at System.Convert.ChangeType (System.Object value, System.Type conversionType) [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 -
Temporary fix -
if you go in to the CS file and change all the 'CanAffordUpgrade' to 'CanAffordToUpgrade' it works.. Thanks @Wulf and @Hyldeblomsten
Code:(22:53:13) | Failed to call hook 'CanAffordUpgrade' on plugin 'EnhancedHammer v1.3.2' (InvalidCastException: Value is not a convertible object: BuildingBlock to BuildingGrade+Enum) (22:53:13) | at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0 at System.Convert.ChangeType (System.Object value, System.Type conversionType) [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
-