PrefabSniffer

Moved

Total Downloads: 1,317 - First Release: May 29, 2016 - Last Update: Jul 6, 2018

5/5, 8 likes
  1. Ayrin submitted a new resource:

    PrefabSniffer - Sniffs the game files for prefab file locations

    Read more about this resource...
     
  2. Ayrin updated PrefabSniffer with a new update entry:

    1.1.0

     
  3. Ayrin updated PrefabSniffer with a new update entry:

    1.1.1

     
  4. This plugin still supported/functional? I can't seem to get anything out of it. Also, a list of available modules would be helpful too.

    Thanks
     
  5. What if there is a space in the asset path? Im not able to 'entity.create' this "assets/prefabs/deployable/oil refinery/refinery_small_deployed.prefab" because of the space in the 'oil refinery'.
     
  6. Are tou using this with the build tool? If so, all you need is the number.
    [DOUBLEPOST=1488206972][/DOUBLEPOST]
    Sorry I just saw you're using entity create. I've never used that, but a general rule is whenever you have 2 spaced words in a command you need to put them in quotations. I dont know if that will work in this case or not since I use the build tool, but its worth a try.
     
  7. That worked like a charm thank you!

    I used this:

    entity.create "assets/prefabs/deployable/oil refinery/refinery_small_deployed.prefab"
     
  8. Awesome! Glad it worked.
     
  9. This mod is in need of updating.
     
  10. Wulf

    Wulf Community Admin

    Details, errors please?
     
  11. 18:06 [Error] Error while compiling: PrefabSniffer.cs(29,41): error CS0117: `GameManifest' does not contain a definition for `Get'
    18:06 [Error] Error while compiling: RandomSpawner.cs(42,65): error CS0117: `GameManifest' does not contain a definition for `Get'

    I am in need of prefabsniffing in my life!!!
     
  12. Wulf

    Wulf Community Admin

    Wulf updated PrefabSniffer with a new update entry:

    1.1.2

     
  13. Hard coded paths

    Code:
    (20:06:09) | Failed to call hook 'cmdSniffPrefabs' on plugin 'PrefabSniffer v1.1.2' (DirectoryNotFoundException: Could not find a part of the path "C:\TCAFiles\Users\******\364\server\28015\oxide\logs\PrefabsBuild_04-05-2017.txt".)
    (20:06:09) | at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
      at System.IO.File.AppendAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0
      at ConVar.Server.Log (System.String strFilename, System.String strMessage) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PrefabSniffer.cmdSniffPrefabs (.Arg arg) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PrefabSniffer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  14. Wulf

    Wulf Community Admin

    Wulf updated PrefabSniffer with a new update entry:

    1.2.0

     
  15. This is one of the best yet simplest plug ins! thank you so much!
     
  16. error with tonights oxide update
    Code:
    Failed to call hook 'OnServerInitialized' on plugin 'PrefabSniffer v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.PrefabSniffer.OnServerInitialized () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PrefabSniffer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  17. Wulf

    Wulf Community Admin

    Wulf updated PrefabSniffer with a new update entry:

    1.2.1

     
  18. Good! Like!
     
    Last edited by a moderator: May 5, 2018
  19. Code:
    [Error] Error while compiling: PrefabSniffer.cs(17,36): error CS1070: The type `UnityEngine.AssetBundle' has been forwarded to an assembly that is not referenced. Consider adding a reference to assembly `UnityEngine.AssetBundleModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
     
  20. Wulf

    Wulf Community Admin

    As a temp solution, add to the top of the plugin:

    // Reference: UnityEngine.AssetBundleModule

    Other solution is to update Oxide where that reference is added by default for Rust's Unity update.