1. wulf it means that my parameters are not correct ... but i just changed them to match what you told me, so why do they have those errors? where the hooks changed again?
     
  2. Wulf

    Wulf Community Admin

    You used internal-only hooks before (you were told not to more than once...), but that isn't the same case here. The only time the hook has changed is when I changed it from netuser to item for you, which would make it essentially the same as the hook you used before, minus the name. I mentioned the change to you in the thread you started about this. It was also mentioned in the update notes the other day. The hook is indeed wrong in your plugin though from the update. What you are looking for is...
    Code:
    void OnItemDeployed(DeployableObject component, IDeployableItem item)
     
  3. o m g XD
    thx XD
     
  4. @Reneb any time estimate for both the plugins to be fixed?
     
  5. Wulf

    Wulf Community Admin

    You can try the below, it's essentially the version before the last with the OnItemDeployed using the correct name.
     

    Attached Files:

  6. @Wulf does it have the sleeping bag hack fixed on it?
     
  7. Wulf

    Wulf Community Admin

    It was never technically broken, so I'd assume so.
     
  8. @Wulf that worked! thanks so much :D Now how would I fix the anti glitch problem? has the same issue as this did
     
  9. Wulf

    Wulf Community Admin

    I'll post one in its thread.
     
  10. @Wulf do you have any idea how to fix this?
     
  11. Wulf

    Wulf Community Admin

    player.netUser.displayName
     
  12. Where exactly do you want me to put that @Wulf , i've tried fucking around but only got errors such as

    [Oxide] 6:01 PM [Error] AntiCheat.cs(818,94): error CS1955: The member `NetUser.displayName' cannot be used as method or delegate

    Edit:

    Tried it the way suggested by Reneb again, and got a different error then i got back then.

    Code:
    [Oxide] 6:25 PM [Error] Unable to load AntiCheat. AntiCheat.cs(818,50): error CS0120: An object reference is required to access non-static member `Oxide.Plugins.RustLegacyPlugin.permission'
    
     
  13. Wulf

    Wulf Community Admin

    I'd recommend setting up a project with the right references in Visual Studio, it'll help you fix all of your errors.
     
  14. Failed to call hook 'OnItemDeployed' on plugin 'AntiCheat v2.0.13' (InvalidCastException: Cannot cast from source type to destination type.)

    Getting this after updating to latest Oxide today.
     
  15. Wulf

    Wulf Community Admin

    You're using an old version of the plugin, the error isn't from today's update, you just haven't updated in awhile. ;)
    Use R-AntiCheat | Page 30 | Oxide
     
  16. Ah i was at version .13 .. the download says .14 but the plugin says .13 ..error seems to be gone. Thanks
    [DOUBLEPOST=1447452042][/DOUBLEPOST]Spoke to soon...error still happens: Failed to call hook 'OnItemDeployed' on plugin 'AntiCheat v2.0.13' (InvalidCastException: Cannot cast from source type to destination type.)
    [DOUBLEPOST=1447452525][/DOUBLEPOST]I double downloaded the new version...to make sure..still error.
     
  17. hey how to release for the staff manage to see the warnings in chat
     
  18. @xandy3_sjb sadly oxide.grant user [name] cananticheat never has worked so if you want mods to see it then you have to /promote them or give them rcon
     
  19. :/
    I do not want to give rcon
     
  20. Enhancement request -> When you block the metabolism and radiation hacks - can you log the playername, steamID, or the IP address to the console along with the anti hack notification?