Jump to content

Plugin Compilation Error, unavailable after update.

Fixed 1.0.6 1.1.0

拾拾時月
拾拾時月

Posted

Failed to call hook 'OnServerInitialized' on plugin 'PlayerHomes v1.0.6' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PlayerHomes.LoadLayouts () [0x0006e] in <1e8cbfba7f5d45499d49e550a596761b>:0
  at Oxide.Plugins.PlayerHomes.OnServerInitialized () [0x0019e] in <1e8cbfba7f5d45499d49e550a596761b>:0
  at Oxide.Plugins.PlayerHomes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00611] in <1e8cbfba7f5d45499d49e550a596761b>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <db058accaef24d86af67c0d18d641acb>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <db058accaef24d86af67c0d18d641acb>:0
Loaded plugin PlayerHomes v1.0.6 by Simil3x & Shemov

  • Curator
Shemov

Posted

Changed Status from Pending to Work in Progress
Changed Fixed In from Not set to 1.0.6

  • Curator
Shemov

Posted

Hi! So its not actually a compile error, the plugin compiles fine. It crashes when it reads the house layouts in oxide/data/copypaste/PlayerHomes. One of the json files there is empty or isnt a house file. Just delete everything in that folder, upload House1.json to House13.json again from data/copypaste/PlayerHomes in the archive, then run oxide.reload PlayerHomes. Each file should be like 90 to 190 KB, so if you see one thats just a few bytes, thats the broken one

拾拾時月

Posted

As expected, it's working now. Thank you so much!

  • Curator
Shemov

Posted

Changed Status from Work in Progress to Fixed
Changed Fixed In from 1.0.6 to 1.1.0

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.3m
Total downloads
Customers
12.4k
Customers served
Files Sold
175.7k
Total sales
Payments
3.8m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.