Spyon [Unmaintained]

Discussion in 'Plugin Support' started by sqroot, Feb 8, 2016.

  1. sqroot updated Spyon with a new update entry:

    1.2.2

     
  2. sqroot updated Spyon with a new update entry:

    1.2.3

     
  3. (19:41:03) | Failed to call hook 'OnServerCommand' on plugin 'Spyon v1.2.3'

    Traceback (most recent call last):

    File "Spyon.py", line 112, in OnServerCommand

    File "Spyon.py", line 95, in is_rcon_or_allowed

    File "Spyon.py", line 89, in is_rcon

    RuntimeError: Failed to call OnServerCommand (MissingMemberException: 'Arg' object has no attribute 'isAdmin')

    at IronPython.Runtime.Binding.PythonGetMemberBinder/FastErrorGet`1<object>.GetError (System.Runtime.CompilerServices.CallSite,object,IronPython.Runtime.CodeContext) <0x00137>

    at (wrapper dynamic-method) object.is_rcon$14 (System.Runtime.CompilerServices.Closure,IronPython.Runtime.PythonFunction,object,object) <0x00225>
     
  4. sqroot updated Spyon with a new update entry:

    1.2.4

     
  5. Hi
    Since update on the 23rd Feb I can no longer see the /pm /r /c in the game any ideas how to fix
     
  6. Wulf

    Wulf Community Admin

    If you did not already have the Python extension installed, this will not load. Oxide no longer bundles the Python extension.
     
  7. @sqroot is it OK it I port this to C# so it's supported by default by Oxide?
     
  8. Wulf

    Wulf Community Admin

    The Logger plugin already does what this plugin does, in C#.
     
  9. I mainly enjoy the /reason that this plugin has. :)
     
    Last edited by a moderator: Jul 9, 2017
  10. I have it mostly rewritten if you want a head start, I know for sure the logging feature is working but I don't remember where I stopped with the reason part
     
  11. Sounds good for reference. :)
    Installing VS2017 at the moment anyways, Xamarin Studio (previously known ad Mono Develop) seems to be a pain to work with for plugins. (Nags about mscorlib with: Reference to type 'Action<,,>' claims it is defined in 'mscorlib', but it could not be found)
     
  12. Wulf

    Wulf Community Admin

    Visual Studio for Mac works fine (previously known as Xamarin Studio).
     
  13. Sorry, only work with Windows and Linux. :p
    Had Xamarin already installed for some mobile thing I did once, could be that I made a mistake while adding the references, though I doubt that.
     
  14. Wulf

    Wulf Community Admin

    You'd need to install the old Mono profiles that cover .NET 3.5 on Linux; Mono doesn't include these anymore, but they're in one of our repos on GitHub.
     
  15. Thanks for the hint.

    Meanwhile: Think I am done porting the plugin, will test it tomorrow. :)
     
    Last edited by a moderator: Jul 10, 2017
  16. Tested and works fine now.
    Just need to refactor it a bit. :)
     
  17. Hi Guys,
    I cant figure this out. hope someone can help. I wanted to have full viability of all admins/mods actions to chat. I tried everything right now god true/false works for admin but not mods. Also i cant get noclip to show up at all. to be honest I would like to disable those 2 commands. I also cant get ent lock/unlock. I know the question will come up about the intgeratiy of the admin its not that I want complete visibility to avoid players accusing etc.
     
  18. Wulf

    Wulf Community Admin

    "noclip" is a client-side setting, not really a command, and is never sent to the server so you can't block it.
     
  19. Thanks for your reply but if that is the case how does it not work on users? is there a way to stop mods from using it.
     
  20. Wulf

    Wulf Community Admin

    How does what not work? The "noclip" is managed by the client, with the client simply checking if they are allowed to use it or not via an admin check. There's no good way to stop players from using it aside from not giving them admin; the only other way is forcing them to not fly which is horrible for server performance.