1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  1. Adrian1991

    Adrian1991 Naked Wanderer

    Hello i have new server for hurtworld and oxide installed 100% working but there is a problem with some plugins Car,meteor,lootchest etc working just fine but fly and admin tools are not working i just tried all options availalbe for solving problem permissions etc. when i try to use command in chat in game it showing like there is no plugin installed because it saying "unknown command". Any ideas?
     
  2. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Check your oxide/logs for errors. We'd need more details to be able to help you with the issue (logs, versions, etc.)
     
  3. Adrian1991

    Adrian1991 Naked Wanderer

    Those files was in folder /logs if you have time and will i can send you ftp server details so you can have a look
     
  4. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    I only see two plugins throwing a couple errors, which appear to be issues with those plugins. Do you have any older logs?
     
  5. Adrian1991

    Adrian1991 Naked Wanderer

    No i dont as server gets deleted and created after issues with fly and admintools modes yesterday
    --- Double Post Merged, Apr 17, 2018 ---
    My question is why those errors are showing before i had server with same plugins on same platform (g-portal.com) and everything was working just fine without even configuring them so much
     
  6. Adrian1991

    Adrian1991 Naked Wanderer

    Can You tell me which plugins are throwing errors? So i can remove them or let host admins know where to look actually to fix the problem
     
  7. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    According to your log, Fly and AdminTools. I'm unsure if those are actually errors with those plugins (haven't looked at them yet) or with Oxide, but we will be putting out another build soon to fix a few issues.
     
    Adrian1991 likes this.
  8. klauz24

    klauz24 Scavenger

    Install the plugin after starting the server, I mean when your server is running put plugin into /plugins folder.
     
  9. Adrian1991

    Adrian1991 Naked Wanderer

    I will wait then if klauz24 idea will not change anything
     
  10. Adrian1991

    Adrian1991 Naked Wanderer

    Wulf this is my last log
    Code (Text):
    03:55 [Error] Failed to initialize plugin 'Fly v1.1.3' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.Fly.Loaded () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Fly.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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    03:55 [Info] Unloaded plugin Fly v1.1.3 by Mughisi
    03:55 [Error] Failed to initialize plugin 'AdminTools v1.3.4' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.AdminTools.HealAll () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AdminTools.Loaded () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AdminTools.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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    03:55 [Info] Unloaded plugin AdminTools v1.3.4 by Noviets
    03:55 [Info] No previous version to rollback plugin: AdminTools
    Admins said that everything loading as normal i think they got problem with their eyes
     
    Last edited by a moderator: Apr 18, 2018
  11. klauz24

    klauz24 Scavenger

    There's some problem with last Oxide build I guess, I already showed you the trick for make it work till Wulf fix this
     
    Adrian1991 likes this.
  12. Adrian1991

    Adrian1991 Naked Wanderer

    Its working now you are my hero mate even guys from technical help from my hosting cant solve the problem well done ;)
     
  13. _Mroczny

    _Mroczny Naked Wanderer

    I see in plugins bad code

    AdminTools:

    Code (Text):
            void Loaded()
            {
                HealAll(); <- remove this
                try{
                    TempBans = Interface.GetMod().DataFileSystem.ReadObject<List<TBA>>("AdminTools/TempBans");
                }catch{SaveTempBans();}
                globallog = Interface.GetMod().DataFileSystem.ReadObject<List<string>>("AdminTools/GlobalLog");
                permission.RegisterPermission("admintools.kick", this);
                permission.RegisterPermission("admintools.ban", this);
                permission.RegisterPermission("admintools.tempban", this);
                permission.RegisterPermission("admintools.godmode", this);
                permission.RegisterPermission("admintools.mute", this);
                permission.RegisterPermission("admintools.freeze", this);
                permission.RegisterPermission("admintools.infamy", this);
                permission.RegisterPermission("admintools.noclip", this);
                permission.RegisterPermission("admintools.all", this);
                LoadDefaultMessages();
                LoadDefaultConfig();
            }
    Fly:
    Code (Text):
            void Loaded()
            {
                LoadDefaultMessages();
                permission.RegisterPermission("fly.allowed", this);

                foreach (var session in GameManager.Instance.GetSessions().Values) <- code
                    players.Add(session, new PlayerInfo(session)); <- code

               this is a bad code but if we remove it, the plugin will stop working :/
            }
     
    Last edited: Apr 21, 2018 at 9:32 PM
  14. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    That isn’t bad code, it just should be done OnServerInitialized instead of the earlier Loaded hook.
     
    _Mroczny likes this.
  15. klauz24

    klauz24 Scavenger

    This start happening with last Oxide builds I guess, I'm running old Oxide build and I don't have these errors. Would be cool if you could fix these two plugins since they are on of the most popular in Hurtworld.
     
    _Mroczny likes this.