[Error] Error while compiling: LustyMap.cs

[Error] Error while compiling: LustyMap.cs(1478,42): error CS1503: Argument `#1' cannot convert `NetworkableId' expression to type `uint'

Change the following lines:

Line  691: if (entityMarkers.ContainsKey((uint)entity.net.ID.Value))
Line  692: entityMarkers.Remove((uint)entity.net.ID.Value);
Line 1476: entityMarkers.Add((uint)entity.net.ID.Value, actEnt);

Still not compiling. I love the idea of a mini map! Wish I could use it

v2.1.42 with the three fixed lines above still compiles fine for me. But I get a ton of 404 errors when it tries to download the icons. If thats the error you are facing and you still have the icons, you could upload them somewhere else and fix the URLs

Let me double check the errors and will post the error i encounter.

Merged post

The first error I encounter is as follows;

Error while compiling LustyMap: Argument 1: cannot convert from 'NetworkableId' to 'uint' | Line: 691, Pos: 43

After editing a bit of things I was able to get it to finally compile!

I had to add .Value to end of certain .ID's as well as change uint to ulong on several areas.
After that it did compile just fine.



Merged post

The unfortunate thing is, beancan.io website is listed as a malicious site and I cant access it to get the maps. :/ dangit.

Merged post

Since this last update with oxide, many plugins give this error. Any idea how to fix it?

Failed to run a 10.00 timer in '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) [0x00098] in <04abc238e1e64b378e01047493bf1e72>:0
at System.Drawing.Bitmap..ctor (System.Int32 width, System.Int32 height, System.Drawing.Imaging.PixelFormat format) [0x00016] in <04abc238e1e64b378e01047493bf1e72>:0
at System.Drawing.Bitmap..ctor (System.Int32 width, System.Int32 height) [0x00000] in <04abc238e1e64b378e01047493bf1e72>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap..ctor(int,int) at Oxide.Plugins.LustyMap+MapSplitter.SplitMap (System.String imageId, System.Int32 amount) [0x000ac] in <2bc2c80430f544e1b187b69a89af5498>:0
at Oxide.Plugins.LustyMap.AttemptSplit (System.Int32 attempts) [0x00076] in <2bc2c80430f544e1b187b69a89af5498>:0
at Oxide.Plugins.LustyMap+<>c__DisplayClass117_0.b__0 () [0x00000] in <2bc2c80430f544e1b187b69a89af5498>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <18d4f19bbc844191b11ed9e69284d09b>:0

Its always a timer of 1 minute or 10 minute or a like.