Fly [Unmaintained]

Discussion in 'Plugin Support' started by Reneb, Apr 12, 2015.

  1. Reneb submitted a new resource:

    Fly - Fly on your magic carpet (Storage box)

    Read more about this resource...
     
  2. Please fix or add an exception for when an admin types /fly

    Excuse the minor stutters, PC hasn't been rebooted in a week plus obs doesn't like monitor capture

     
  3. hmm
    yeah i guess i would need to fix that
    cause i thought of it and normally admins aren't checked XD
    but you need to be admin when you RESPAWN
    so if you do rcon.login, suicide, respawn, use the fly you won't get checked.

    but i understand that it's annoying to have to do this (or maybe not annoying but not really obvious that you have to XD)
     
  4. I pretty sure i might have tried that aswell, on another occasion I got banned for flyhack. Maybe just put an configurable option on anticheat where if someone is logged into rcon it doesnt cheat them for anticheat etc. OR when an admin types /fly if anticheat is installed on the server, make it so that that and is cleared of checking until he disables fly.
     
  5. Code:
     void OnPlayerSpawn(PlayerClient player, bool useCamp, RustProto.Avatar avatar)
            {
                if (hasPermission(player.netUser)) return;
                PlayerHandler phandler = player.GetComponent<PlayerHandler>();
                if (phandler == null) { phandler = player.gameObject.AddComponent<PlayerHandler>(); phandler.timeleft = GetPlayerData(player); }
                timer.Once(0.1f, () => phandler.StartCheck());
            }
    ^^ i'll post an update later on, for the time being you can just suicide after using rcon.login
    or :
    - you can do: oxide.grant user prodigya cananticheat
    - you can use: auto admin, and get rcon.login directly when you join the game.
     
  6. Awesome, ill try that, and i use auto admin, was just testing fly :p
     
  7. Code:
    5:31 AM [Debug]   at Oxide.Plugins.Fly+FlyPlayer.Refresh () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Fly.cmdChatFly (.NetUser netuser, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    5:31 AM [Error] Failed to call hook 'cmdChatFly' on plugin 'Fly' (NullReferenceException: Object reference not set to an instance of an object)
    5:31 AM [Debug]   at Oxide.Plugins.Fly+FlyPlayer.Refresh () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Fly.cmdChatFly (.NetUser netuser, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    5:31 AM [Error] Failed to call hook 'cmdChatFly' on plugin 'Fly' (NullReferenceException: Object reference not set to an instance of an object)
    5:31 AM [Debug]   at Oxide.Plugins.Fly+FlyPlayer.Refresh () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Fly.cmdChatFly (.NetUser netuser, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    5:32 AM [Error] Failed to call hook 'cmdChatFly' on plugin 'Fly' (NullReferenceException: Object reference not set to an instance of an object)
    5:32 AM [Debug]   at Oxide.Plugins.Fly+FlyPlayer.Refresh () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Fly.cmdChatFly (.NetUser netuser, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    5:34 AM [Error] Failed to call hook 'cmdChatFly' on plugin 'Fly' (NullReferenceException: Object reference not set to an instance of an object)
    5:34 AM [Debug]   at Oxide.Plugins.Fly+FlyPlayer.Refresh () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Fly.cmdChatFly (.NetUser netuser, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
     
  8. no idea what you are doing, but you are doing it wrong ^^this plugin doesnt bug at all ^^
     
  9. This plugin is working good but makes your server lag hard
     
  10. i know i need to find a better way ^^
     
  11. Not compatible with anticheat....
    [​IMG]
     
  12. it is compatible, as anticheat doesnt ban/kick admins
    unless you didnt configure it well
     
  13. I need the fly Plugin for Experimental, is there any?
     
  14. Wulf

    Wulf Community Admin

  15. Thank you
    [DOUBLEPOST=1432845049][/DOUBLEPOST]But I have one more question, when I use the Fly by default and fly through a wall, my anticheat is warning that Liane uses Wallhack :-( I don`t want to get banned because of this, but I don`t want to remove the Anticheat Plugin also.
     
  16. Wulf

    Wulf Community Admin

    The Anti-Cheat plugin has a whitelist/exclusion list I believe.
     
  17. No there is no whitelist :-(
    Code:
    {
      "Flyhack: activated": true,
      "Flyhack: Log": true,
      "Flyhack: Punish": true,
      "Flyhack: Punish Detections": 3,
      "MeleeSpeed Hack: activated": true,
      "Settings: Ban Also Family Owner": true,
      "Settings: FPS Ignore": 30,
      "Settings: Ignore Hacks for authLevel": 1,
      "Settings: Punish - 0 = Kick, 1 = Ban, 2 = Jail": 1,
      "SpeedHack: activated": true,
      "SpeedHack: Log": true,
      "SpeedHack: Punish": true,
      "SpeedHack: Punish Detections": 3,
      "SpeedHack: Speed Detection": 10.0,
      "Wallhack Kills: activated": true,
      "Wallhack Kills: Log": true,
      "Wallhack: activated": true,
      "Wallhack: Log": true,
      "Wallhack: Punish": true,
      "Wallhack: Punish Detections": 2
    }
     
  18. It might detect you, but if you're logged in as admin it might ignore it even tho being displayed in chat. You should test it out, if banned you can easily remove the ban from your bans.cfg file.