1. Having issues with references etc. Most work, but some like 'Puts' do not. Was wondering what the intended way was for making plugins?

    Thank you in advance. Please excuse me, I am not used to having to require non-system dependencies and importing other people's libraries for my own use.
     
  2. Would you be able to be more specific? Such as brief steps?

    That'd mean a lot
     
  3. Wulf

    Wulf Community Admin

    Things such as "Puts" are part of Oxide, and would require references to that part of Oxide they are in. Without having any details on where/how you are developing your plugin, it's hard to give you much of any steps.

    So if we could see what you have so far and know a little about what you are trying to do, that'd be a good first step.
     
  4. My apologies Wulf.

    My plug-in is currently being developed outside of anything oxide related, and has references to the core dependencies (UnityEngine, etc.)

    What i was trying to convey is that i am having difficulty understanding the environment i am supposed to create that already has these references and everything set up where i am then just able to create a project inside the set up environment and continue development on my plug-in.

    If you could briefly guide me through the steps to achieve this, it would mean a lot.

    Hope you're having a good day/evening.
     
  5. Wulf

    Wulf Community Admin

    Something such as Puts would only be available to Oxide plugins, so you'd have to have Oxide-related stuff referenced. You don't have to have anything setup other than a test server (with Oxide installed if you intend on using Oxide stuff) really, but if you wanted to do something in Visual Studio then you'd need to setup the proper references to the relevant DLLs you want to use functions and methods from.

    In terms of guides, any general Visual Studio guide would help you with that sort of setup, otherwise just setup a server and develop directly out of the oxide/plugins folder.
     
  6. I've added every single reference from the dir \RustDedicated_Data\Managed\ And i am still getting errors such as "Puts does not exist in the current context"

    In response to your edit, i have put the project directly outside of the plugins folder, and im still getting these errors. I also put it outside of the oxide folder.

    Screenshot
     
  7. Wulf

    Wulf Community Admin

    Puts is from Oxide, did you reference the Oxide DLLs and setup your plugin as a RustPlugin or CovalencePlugin?
     
  8. I'm starting to understand the issues, i haven't set it up as a rust or covalence plugin? This is what i was trying to say when i said about setting up the environment, i'm a little confused.

    All DLLs, including Screenshot have been referenced
    [DOUBLEPOST=1528656728][/DOUBLEPOST]There we gooo. Thank you for raising the issue, forgot the : RustPlugin bit.

    I'm so sorry for being frustrating, your help means more than you know.