1. I hope I'm posting in the correct forum...sorry, if I'm not.

    Rusty is giving me a warning saying that most of my plugins are using deprecated hooks. The plugins are working, but the warning keeps popping up on Rusty. Is there something I can do to fix this?

    http://img.photobucket.com/albums/v486/mystrose/depreciatedhook.jpg

    Thanks!
     
    Last edited by a moderator: Apr 11, 2015
  2. Wulf

    Wulf Community Admin

    It's not from Rusty, those are warnings from Oxide for plugins that are using old (deprecated) hooks. You'd need to report them to the plugin authors of those plugins in their threads. The plugins should still work fine however, as they are just warnings.
     
  3. ok, so i am getting a ton of errors about plugin is using deprecated hook how do i fix this... where can i find the updated hooks so that i can fix them ...

    The ones i am seeing are...
    deprecated hook: OnEntityAttacked
    deprecated hook: OnPlayerSpawn
    deprecated hook: CanOpenDoor
    deprecated hook: OnEntitySpawn
     
  4. Post in the plugin authors thread to update their plugin.
     
  5. Wulf

    Wulf Community Admin

    OnEntityTakeDamage
    OnPlayerRespawned
    CanUseDoor
    OnEntitySpawned
     
  6. [Oxide] 4:54 PM [Warning] arena_deathmatch plugin is using deprecated hook: OnEntityAttacked
    [Oxide] 4:53 PM [Warning] airdrop_settings plugin is using deprecated hook: OnEntitySpawn
    [Oxide] 4:51 PM [Warning] AutoDoorCloser plugin is using deprecated hook: CanOpenDoor
     
  7. warning not errors, they are for plugin devs
     
  8. Yep the plugin is still working properly but
    "[Oxide] 4:51 PM [Warning] AutoDoorCloser plugin is using deprecated hook: CanOpenDoor" the hook is still named CanOpenDoor..
     
  9. Wulf

    Wulf Community Admin

    CanUseDoor is the new hook name. "Deprecated" means the old hooks still exist, but won't eventually.
     
  10. Tell me how to add the package in the plugin Arena - Arena deathmatch for?
     
  11. deprecated hook?
    Remove?
    but i don't know in which position
     
  12. Wulf

    Wulf Community Admin

    Ctrl+F, replace old hook name with new name.
     
  13. (01:23:39) | [Oxide] 1:23 AM [Warning] GatherManager plugin is using deprecated hook: OnGather


    whats the new hook name for this?
     
  14. Wulf

    Wulf Community Admin