1. So... Maybe any fix? :D
     
  2. --' hey i deserve a break, havent stopped updating and fixing for 5hours --'
    you will keep your horrible screen for th emoment XD
     
  3. Oh maaan, c'mon! :D

    I trust in your skills! :)

    And one more idea... Is there any way to hide my icon while I'm speaking in spectator mode?
     
  4. Code:
    3:12 AM [Error] Failed to initialise plugin spectatePlayer (LuaScriptException: [string "spectatePlayer.lua"]:10: attempt to index field 'Type' (a nil value))
    3:12 AM [Debug]   at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [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. Oxide 291
    Code:
    [2/10/2015 3:24:01 AM] [Oxide] 3:24 AM [Error] Failed to initialise plugin spectatePlayer (LuaScriptException: [string "spectatePlayer.lua"]:10: attempt to index field 'Type' (a nil value))
    [2/10/2015 3:24:01 AM] [Oxide] 3:24 AM [Debug]   at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [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
    
    -----------
    fuck. i blend.... Delet this post, please.
     
  6. yes i know about this, it will be fixed at some point. it's cause of the latest oxide version.
     
  7. Wulf

    Wulf Community Admin

    The plugins that call global functions in Rust will need to be updated. There was a bug with global that should never have existed, and it was brought to light with the Rust update which caused issues with how it was called.

    I don't know why @Reneb is even printing this on startup... as it's not being used... but...
    Code:
    global['PlayerState+Type'].Dead
    would be a replacement to global.Type.Dead.
     
  8. I don't understand what you wrote... But I need to like it, cuz this is Wulf! :D
     
  9. Wulf

    Wulf Community Admin

    Just try this and see if it works for you. It loads, but I have not tested it. All I did was remove the print from the first function that wasn't being used.
     

    Attached Files:

  10. thank you
    5:55 AM [Info] Unloaded plugin Spectate Admin Handler v1.0.3 by Reneb
    5:55 AM [Info] Loaded plugin Spectate Admin Handler v1.0.3 by Reneb
     
  11. I think this lua file needs an update for the latest oxide? I get this error when I do FTP upload to my server "[Oxide] 7:55 PM [Error] Failed to initialise plugin spectatePlayer ([string "spectatePlayer.lua"]:10: attempt to index field 'Type' (a nil value))".
     
  12. Wulf

    Wulf Community Admin

    Two posts above your post.
     
  13. Hmm...let me try that.
     
  14. Upgrade to the latest version of oxide has errors console =) is working perfect ... nice job!
     
  15. What?...
    Code:
    [2/12/2015 7:11:17 PM] [Oxide] 7:11 PM [Error] SpectatePlayer: NullReferenceException while calling ccmdSpectatePlayer: Object reference not set to an instance of an object
      at BaseCombatEntity.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0
      at BasePlayer.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0
      at BaseCombatEntity.Hurt (Single amount, DamageType type, .BaseEntity attacker) [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 
    [DOUBLEPOST=1423757624][/DOUBLEPOST]
    Code:
    [Oxide] 7:13 PM [Info] Loaded plugin Spectate Admin Handler v1.0.3 by Reneb
    [Oxide] 7:13 PM [Error] Failed to initialise plugin SpectatePlayer ([string "SpectatePlayer.lua"]:10: attempt to index field 'Type' (a nil value))
    [Oxide] 7:13 PM [Debug]   at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [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 
    [DOUBLEPOST=1423761593][/DOUBLEPOST]
    Wulfy, ur version doesn't works for me :(
    [DOUBLEPOST=1423859182,1423757543][/DOUBLEPOST]
    Code:
    [Oxide] 7:13 PM [Info] Loaded plugin Spectate Admin Handler v1.0.3 by Reneb
    [Oxide] 7:13 PM [Error] Failed to initialise plugin SpectatePlayer ([string "SpectatePlayer.lua"]:10: attempt to index field 'Type' (a nil value))
    [Oxide] 7:13 PM [Debug]   at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [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
     
  16. Look at that... With new update like this...

     
  17. I have same problem.
     
  18. Wulf

    Wulf Community Admin

    It's a Rust client bug. You'll have to wait for a fix.
     
  19. My shit works fine

    1. Use Fly plugin, F1, then spectate.player (player/steamID)
    2. Start break dancing. =)

    ***Note: without the paranthesis.
     
    Last edited by a moderator: Feb 21, 2015
  20. Once in a blue moon I get stuck inside the player. They then see me and kill me and think its a hacker.

    Known issue?