Hello,
I recently upgraded my server where LustyMap was working fine for quite some time now, but now after I run multiple mapreset, I'm receiving the following error:
It's a Debian 10 Buster system. The GDI+ library is installed and the server runs otherwise fine.
I recently upgraded my server where LustyMap was working fine for quite some time now, but now after I run multiple mapreset, I'm receiving the following error:
20:08 [Info] [Lusty Map] [Warning] Starting complex map split (6x). Please wait!
20:08 [Error] Failed to call hook 'OnServerInitialized' on plugin 'LustyMap v2.1.42' (ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter])
at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x0009b] in <1917aa1c39d94b1a91807b8cd9f03350>:0
at System.Drawing.Bitmap.SetResolution (System.Single xDpi, System.Single yDpi) [0x0000e] in <1917aa1c39d94b1a91807b8cd9f03350>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap.SetResolution(single,single)
at Oxide.Plugins.LustyMap+MapSplitter.ResizeImage (System.Drawing.Image image, System.Int32 pixels) [0x0007b] in <384290bd46c04a5fa471c20a021ebf11>:0
at Oxide.Plugins.LustyMap+MapSplitter.SplitMap (System.String imageId, System.Int32 amount) [0x0010d] in <384290bd46c04a5fa471c20a021ebf11>:0
at Oxide.Plugins.LustyMap.AttemptSplit (System.Int32 attempts) [0x0007e] in <384290bd46c04a5fa471c20a021ebf11>:0
at Oxide.Plugins.LustyMap.LoadMapImage () [0x0007f] in <384290bd46c04a5fa471c20a021ebf11>:0
at Oxide.Plugins.LustyMap.CreateStaticComplex () [0x0012b] in <384290bd46c04a5fa471c20a021ebf11>:0
at Oxide.Plugins.LustyMap.GenerateMaps (System.Boolean main, System.Boolean mini, System.Boolean complex) [0x00094] in <384290bd46c04a5fa471c20a021ebf11>:0
at Oxide.Plugins.LustyMap.ValidateImages () [0x00044] in <384290bd46c04a5fa471c20a021ebf11>:0
at Oxide.Plugins.LustyMap.OnServerInitialized () [0x0007a] in <384290bd46c04a5fa471c20a021ebf11>:0
at Oxide.Plugins.LustyMap.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003e8] in <384290bd46c04a5fa471c20a021ebf11>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0
20:08 [Warning] Calling 'OnServerInitialized' on 'LustyMap v2.1.42' took 603ms [GARBAGE COLLECT]It's a Debian 10 Buster system. The GDI+ library is installed and the server runs otherwise fine.