EnhancedHammer

Moved

Total Downloads: 17,839 - First Release: Nov 9, 2015 - Last Update: Sep 21, 2017

5/5, 38 likes
  1. Yo!
    In your \oxide\plugins\EnhancedHammer.cs change line 132.
    Replace:

    void OnStructureUpgrade(BuildingBlock block, BasePlayer player, BuildingGrade.Enum grade)

    with

    void OnStructureUpgrade(BaseCombatEntity block, BasePlayer player, BuildingGrade.Enum grade)

    that fixed it for me.

    Cheers!
    [DOUBLEPOST=1463314649,1463216403][/DOUBLEPOST]Still getting this error a lot:

    [Oxide] 15:19 [Error] Failed to call hook 'OnStructureRepair' on plugin 'EnhancedHammer v0.4.9' (InvalidCastException: Cannot cast from source type to destination type.)

    Not sure how to fix it anyone can help?
     
  2. Visagalis updated Enhanced Hammer with a new update entry:

    0.5.0

     
  3. (16:25:23) | [Oxide] 16:24 [Error] Failed to call hook 'OnStructureRepair' on plugin 'EnhancedHammer v0.4.8' (InvalidCastException: Cannot cast from source type to destination type.)

    (16:25:24) | [Oxide] 16:24 [Error] Failed to call hook 'OnStructureRepair' on plugin 'EnhancedHammer v0.4.8' (InvalidCastException: Cannot cast from source type to destination type.)

    (16:25:25) | [Oxide] 16:24 [Error] Failed to call hook 'OnStructureRepair' on plugin 'EnhancedHammer v0.4.8' (InvalidCastException: Cannot cast from source type to destination type.)

    (16:25:25) | [Oxide] 16:24 [Error] Failed to call hook 'OnStructureRepair' on plugin 'EnhancedHammer v0.4.8' (InvalidCastException: Cannot cast from source type to destination type.)

    (16:25:26) | [Oxide] 16:24 [Error] Failed to call hook 'OnStructureRepair' on plugin 'EnhancedHammer v0.4.8' (InvalidCastException: Cannot cast from source type to destination type.)

    (16:25:26) | [Oxide] 16:24 [Error] Failed to call hook 'OnStructureRepair' on plugin 'EnhancedHammer v0.4.8' (InvalidCastException: Cannot cast from source type to destination type.)

    (16:25:27) | [Oxide] 16:24 [Error] Failed to call hook 'OnStructureRepair' on plugin 'EnhancedHammer v0.4.8' (InvalidCastException: Cannot cast from source type to destination type.)

    This happens when players are repairing stone walls (I haven't updated to version 0.5.0 just yet, but did perform the change that was listed two posts above, I can't say his name or else my post is flagged as inappropriate/spam, lol)
     
  4. Edit : Sorry I don“t use last version :)

    [Oxide] 11:45 [Debug] at Oxide.Plugins.EnhancedHammer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: May 27, 2016
  5. Hi !

    Can you repair you plugin please?
    The GUI of the current increasing don't work

    Thanks guy, sorry for my bad English
     
  6. too sad, was goof plugin...
     
  7. no show icon and chat messages. please fix.
     
  8. Yes, need fix...
     
  9. Pls fix gui
     
  10. It works, but some notifications have been translated into Russian
     
  11. i can't test now so i told if he working or not for me, thx guy :)
     
  12. Same file, just with English v. Russian for anyone who needs it :)
     
  13. funny thing :) Multinational work
     
  14. The plugin we kick for : (Reason: Kicked: RPC Error: playerattack) update please
     
  15. Wulf

    Wulf Community Admin

    Update Oxide, it's not a plugin error. See Release Changelog | Page 3 | Oxide.
     
  16. Still kicking players also with newest Oxide-update
     
  17. Wulf

    Wulf Community Admin

    You aren't updated with Oxide then, check your oxide.version.
     
  18. can add permission for a vip users?
     
  19. Please add LANGs/localization,
    its very needed!
     
  20. Fujikura updated Enhanced Hammer with a new update entry:

    1.0.0