1. hey,

    in my old plugins i'm using TOD_Sky.Instance.Cycle.Hour to get the game time -> hour. But now it doesnt work anymore. Is it changed? Any other idea to get the game hour?
     
  2. Wulf

    Wulf Community Admin

    I don't think it has changed, but did you check the Assembly-CSharp.dll using JustDecompiler or similar tool?
     
  3. Mhh TOD_Sky isn't in the CSharp Assembly. What is the right way?
     
  4. It has'nt changed and is still there...
     
  5. i using this references:
    using System;
    using System.Collections;
    using System.Collections.Generic;
    using System.Linq;
    using System.Reflection;
    using Oxide.Core;
    using Oxide.Core.Libraries.Covalence;
    using Oxide.Core.Plugins;
    using Facepunch.Utility;
    using Oxide.Core.Configuration;
    using Oxide.Core.Logging;
    using Rust.Xp;
    using UnityEngine;

    but it shows
    Error CS0246 The type or namespace name 'TOD_Sky' could not be found (are you missing a using directive or an assembly reference?)
     
  6. Wulf

    Wulf Community Admin

    It's not from a using statement. If you are seeing that in Visual Studio it sounds like you're missing the reference to Assembly-CSharp.dll.