LustyMap

In-game map and minimap GUI

Total Downloads: 48,766 - First Release: Sep 8, 2015 - Last Update: Dec 29, 2017

5/5, 163 likes
  1. I confirm, continuous delays
     
  2. Just wondering if there was a way for LustyMap to read the Opacity from a PNG image so that the map isn't a stark square on the screen?

    CustomMap_6191990_4000.PNG


    I have the Image cut out and saved as a .png

    In game image:

    Capture.PNG
     
  3. the author has ceased to support the plug-in for a long time, it's better not to download.
     
  4. open Lustymap in VS and press Ctrl+F. type "mapcontainer" make 1's zero's for main and complex until you're happy. :p If others try this, you would need the map to be a png with actual transparency as OP has. That should be it.
     
  5. show pls the code on vs, thx!
     
  6. Code:
    var mapContainer = LMUI.CreateElementContainer(LustyUI.Main, "0 0 0 0",
    I think @Corrosive made a video about how to do it.
     
  7. yes, its need video =)
     
  8. Just bulk find and replace all instances of 0 0 0 1 with 0 0 0 0

    This will mean both the main map and mini map wont have the background
     
  9. Error "resetmap"

    23:19:22) | [LustyMap] Map reset Confirmed! Creating a new image load order with ImageLibrary

    (23:19:22) | [LustyMap] [Warning] Icon images have not been found. Uploading images to file storage

    (23:19:22) | [LustyMap] [Warning] Downloading map image to file storage. Please wait!

    (23:19:22) | [LustyMap] Error whilst retrieving the map image from file storage: The type initializer for 'ManagedToNativeWrapper' threw an exception.

    If you are running linux you must install LibGDIPlus using the following line: "sudo apt install libgdiplus", then restart your system for the changes to take affect

    (23:19:22) | Failed to call hook 'ccmdResetmap' on plugin 'LustyMap v2.1.39' (ArgumentNullException: Value cannot be null.

    Parameter name: image)

    at System.Drawing.Graphics.DrawImage (System.Drawing.Image image, System.Drawing.Rectangle destRect, System.Int32 srcX, System.Int32 srcY, System.Int32 srcWidth, System.Int32 srcHeight, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttr) [0x00006] in <79f40f891a3d483c80857db420c29324>:0

    at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.DrawImage(System.Drawing.Image,System.Drawing.Rectangle,int,int,int,int,System.Drawing.GraphicsUnit,System.Drawing.Imaging.ImageAttributes)

    at Oxide.Plugins.LustyMap+MapSplitter.ResizeImage (System.Drawing.Image image, System.Int32 pixels) [0x00136] in <630f5c8871844beab19b0f6633a50001>:0

    at Oxide.Plugins.LustyMap.ScaleMapImage () [0x00032] in <630f5c8871844beab19b0f6633a50001>:0

    at Oxide.Plugins.LustyMap.LoadMapImage () [0x0005d] in <630f5c8871844beab19b0f6633a50001>:0

    at Oxide.Plugins.LustyMap.ccmdResetmap (ConsoleSystem+Arg arg) [0x00024] in <630f5c8871844beab19b0f6633a50001>:0

    at Oxide.Plugins.LustyMap.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x016c1] in <630f5c8871844beab19b0f6633a50001>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc1c06ce0ebd4145b07f6c3438d70a62>:0

    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <901ba4905e044f67b6e6ad4ce05063c4>:0

    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <901ba4905e044f67b6e6ad4ce05063c4>:0
     
  10. Code:
    [LustyMap] Error whilst retrieving the map image from file storage: The type initializer for 'ManagedToNativeWrapper' threw an exception.
    If you are running linux you must install LibGDIPlus using the following line: "sudo apt install libgdiplus", then restart your system for the changes to take affectFailed to call hook 'OnServerInitialized' on plugin 'LustyMap v2.1.39' (ArgumentNullException: Value cannot be null.
    Parameter name: image)
      at System.Drawing.Graphics.DrawImage (System.Drawing.Image image, System.Drawing.Rectangle destRect, System.Int32 srcX, System.Int32 srcY, System.Int32 srcWidth, System.Int32 srcHeight, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttr) [0x00006] in <79f40f891a3d483c80857db420c29324>:0
      at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.DrawImage(System.Drawing.Image,System.Drawing.Rectangle,int,int,int,int,System.Drawing.GraphicsUnit,System.Drawing.Imaging.ImageAttributes)
      at Oxide.Plugins.LustyMap+MapSplitter.ResizeImage (System.Drawing.Image image, System.Int32 pixels) [0x00136] in <2fdd4e4214f14fb08097d5b3687bafdd>:0
      at Oxide.Plugins.LustyMap.ScaleMapImage () [0x00032] in <2fdd4e4214f14fb08097d5b3687bafdd>:0
      at Oxide.Plugins.LustyMap.LoadMapImage () [0x0005d] in <2fdd4e4214f14fb08097d5b3687bafdd>:0
      at Oxide.Plugins.LustyMap.ValidateImages () [0x00039] in <2fdd4e4214f14fb08097d5b3687bafdd>:0
      at Oxide.Plugins.LustyMap.OnServerInitialized () [0x0007a] in <2fdd4e4214f14fb08097d5b3687bafdd>:0
      at Oxide.Plugins.LustyMap.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0044f] in <2fdd4e4214f14fb08097d5b3687bafdd>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <901ba4905e044f67b6e6ad4ce05063c4>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <901ba4905e044f67b6e6ad4ce05063c4>:0 
    Getting something different!
     
  11. We get both, one on first split attempt, different on reset, it SORT of worked, might just disable complex

    Code:
    18:27 [Warning] LustyMap plugin is waiting for requirements to be loaded: ImageLibrary
    18:27 [Warning] Calling 'OnServerInitialized' on 'ImageLibrary v2.0.30' took 561ms [GARBAGE COLLECT]
    18:27 [Info] Loaded plugin ImageLibrary v2.0.30 by Absolut & K1lly0u
    18:27 [Info] [LustyMap] [Warning] Validating imagery
    18:27 [Info] [LustyMap] [Warning] Icon images have not been found. Uploading images to file storage
    18:27 [Info] [LustyMap] [Warning] Downloading map image to file storage. Please wait!
    18:27 [Info] [LustyMap] [Warning] Attempting to split and store the complex mini-map. This may take a few moments! Failure to wait for this process to finish WILL result in error!
    18:27 [Info] [LustyMap] [Warning] Map image not found in file store. Waiting for 10 seconds and trying again (Attempt: 1 / 5)
    18:27 [Warning] Calling 'OnServerInitialized' on 'LustyMap v2.1.40' took 198ms
    18:27 [Info] Loaded plugin LustyMap v2.1.40 by Kayzor / k1lly0u
    18:27 [Info] [ImageLibrary] Starting order LustyMap
    18:28 [Error] [LustyMap] Error whilst retrieving the map image from file storage: The type initializer for 'ManagedToNativeWrapper' threw an exception.
    If you are running linux you must install LibGDIPlus using the following line: "sudo apt install libgdiplus", then restart your system for the changes to take affect
    18:28 [Error] Failed to run a 1.00 timer in 'LustyMap v2.1.40' (ArgumentNullException: Value cannot be null.
    Parameter name: image)
      at System.Drawing.Graphics.DrawImage (System.Drawing.Image image, System.Drawing.Rectangle destRect, System.Int32 srcX, System.Int32 srcY, System.Int32 srcWidth, System.Int32 srcHeight, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttr) [0x00006] in <79f40f891a3d483c80857db420c29324>:0
      at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.DrawImage(System.Drawing.Image,System.Drawing.Rectangle,int,int,int,int,System.Drawing.GraphicsUnit,System.Drawing.Imaging.ImageAttributes)
      at Oxide.Plugins.LustyMap+MapSplitter.ResizeImage (System.Drawing.Image image, System.Int32 pixels) [0x00136] in <a68634a6e4fc466db004df35093b378f>:0
      at Oxide.Plugins.LustyMap.ScaleMapImage () [0x00032] in <a68634a6e4fc466db004df35093b378f>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <901ba4905e044f67b6e6ad4ce05063c4>:0
    18:28 [Error] [LustyMap] Error whilst retrieving the map image from file storage: The type initializer for 'ManagedToNativeWrapper' threw an exception.
    If you are running linux you must install LibGDIPlus using the following line: "sudo apt install libgdiplus", then restart your system for the changes to take affect
    18:28 [Info] [LustyMap] [Error] Unable to load the map image from file storage. This may be caused by slow processing of the images being uploaded to your server. Wait for 5 minutes and reload the plugin.
    If this problem persists after multiple attempts then unload the plugin and delete your ImageData.json data file or run the 'resetmap' command
    18:28 [Error] [LustyMap] Error whilst retrieving the map image from file storage: The type initializer for 'ManagedToNativeWrapper' threw an exception.
    If you are running linux you must install LibGDIPlus using the following line: "sudo apt install libgdiplus", then restart your system for the changes to take affect
    18:28 [Info] [LustyMap] [Error] Unable to load the map image from file storage. This may be caused by slow processing of the images being uploaded to your server. Wait for 5 minutes and reload the plugin.
    If this problem persists after multiple attempts then unload the plugin and delete your ImageData.json data file or run the 'resetmap' command
    18:28 [Error] [LustyMap] Error whilst retrieving the map image from file storage: The type initializer for 'ManagedToNativeWrapper' threw an exception.
    If you are running linux you must install LibGDIPlus using the following line: "sudo apt install libgdiplus", then restart your system for the changes to take affect
    18:28 [Info] [LustyMap] [Error] Unable to load the map image from file storage. This may be caused by slow processing of the images being uploaded to your server. Wait for 5 minutes and reload the plugin.
    If this problem persists after multiple attempts then unload the plugin and delete your ImageData.json data file or run the 'resetmap' command
    18:28 [Info] [LustyMap] [Warning] Generating the main map
    18:28 [Info] [LustyMap] [Warning] Main map generated successfully!
    18:28 [Info] [LustyMap] [Warning] Generating the mini-map
    18:28 [Info] [LustyMap] [Warning] Mini map generated successfully!
    18:31 [Info] [LustyMap] Map reset Confirmed! Creating a new image load order with ImageLibrary
    18:31 [Info] [LustyMap] [Warning] Icon images have not been found. Uploading images to file storage
    18:31 [Info] [LustyMap] [Warning] Downloading map image to file storage. Please wait!
    18:31 [Error] [LustyMap] Error whilst retrieving the map image from file storage: The type initializer for 'ManagedToNativeWrapper' threw an exception.
    If you are running linux you must install LibGDIPlus using the following line: "sudo apt install libgdiplus", then restart your system for the changes to take affect
    18:31 [Error] Failed to call hook 'ccmdResetmap' on plugin 'LustyMap v2.1.40' (ArgumentNullException: Value cannot be null.
    Parameter name: image)
      at System.Drawing.Graphics.DrawImage (System.Drawing.Image image, System.Drawing.Rectangle destRect, System.Int32 srcX, System.Int32 srcY, System.Int32 srcWidth, System.Int32 srcHeight, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttr) [0x00006] in <79f40f891a3d483c80857db420c29324>:0
      at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.DrawImage(System.Drawing.Image,System.Drawing.Rectangle,int,int,int,int,System.Drawing.GraphicsUnit,System.Drawing.Imaging.ImageAttributes)
      at Oxide.Plugins.LustyMap+MapSplitter.ResizeImage (System.Drawing.Image image, System.Int32 pixels) [0x00136] in <a68634a6e4fc466db004df35093b378f>:0
      at Oxide.Plugins.LustyMap.ScaleMapImage () [0x00032] in <a68634a6e4fc466db004df35093b378f>:0
      at Oxide.Plugins.LustyMap.LoadMapImage () [0x0005d] in <a68634a6e4fc466db004df35093b378f>:0
      at Oxide.Plugins.LustyMap.ccmdResetmap (ConsoleSystem+Arg arg) [0x00024] in <a68634a6e4fc466db004df35093b378f>:0
      at Oxide.Plugins.LustyMap.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x016c1] in <a68634a6e4fc466db004df35093b378f>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc1c06ce0ebd4145b07f6c3438d70a62>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <901ba4905e044f67b6e6ad4ce05063c4>:0 
     

    Attached Files:

  12. Not sure what's going on but im getting this error.

    Code:
    (16:56:19) | [LustyMap] Error whilst retrieving the map image from file storage: The type initializer for 'ManagedToNativeWrapper' threw an exception.
    If you are running linux you must install LibGDIPlus using the following line: "sudo apt install libgdiplus", then restart your system for the changes to take affect
    (16:56:19) | Web request callback raised an exception (ArgumentNullException: Value cannot be null.
    Parameter name: image)
      at System.Drawing.Graphics.DrawImage (System.Drawing.Image image, System.Drawing.Rectangle destRect, System.Int32 srcX, System.Int32 srcY, System.Int32 srcWidth, System.Int32 srcHeight, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttr) [0x00006] in <79f40f891a3d483c80857db420c29324>:0
      at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.DrawImage(System.Drawing.Image,System.Drawing.Rectangle,int,int,int,int,System.Drawing.GraphicsUnit,System.Drawing.Imaging.ImageAttributes)
      at Oxide.Plugins.LustyMap+MapSplitter.ResizeImage (System.Drawing.Image image, System.Int32 pixels) [0x00136] in <9c8601eb66bb4a2e827b914050efa550>:0
      at Oxide.Plugins.LustyMap.ScaleMapImage () [0x00032] in <9c8601eb66bb4a2e827b914050efa550>:0
      at Oxide.Plugins.LustyMap.DownloadMap (System.String url) [0x00025] in <9c8601eb66bb4a2e827b914050efa550>:0
      at Oxide.Plugins.LustyMap.<GetMapURL>m__1 (System.Int32 code, System.String response) [0x0002c] in <9c8601eb66bb4a2e827b914050efa550>:0
      at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00034] in <901ba4905e044f67b6e6ad4ce05063c4>:0
     
  13. I am getting this error.
    Code:
    (20:50:32) | [LustyMap] Map reset Confirmed! Creating a new image load order with ImageLibrary
    (20:50:32) | [LustyMap] [Warning] Icon images have not been found. Uploading images to file storage
    (20:50:32) | [LustyMap] [Warning] Downloading map image to file storage. Please wait!
    (20:50:32) | [LustyMap] Error whilst retrieving the map image from file storage: The type initializer for 'ManagedToNativeWrapper' threw an exception.
    If you are running linux you must install LibGDIPlus using the following line: "sudo apt install libgdiplus", then restart your system for the changes to take affect
    (20:50:32) | Failed to call hook 'ccmdResetmap' on plugin 'LustyMap v2.1.39' (ArgumentNullException: Value cannot be null.
    Parameter name: image)
      at System.Drawing.Graphics.DrawImage (System.Drawing.Image image, System.Drawing.Rectangle destRect, System.Int32 srcX, System.Int32 srcY, System.Int32 srcWidth, System.Int32 srcHeight, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttr) [0x00006] in <79f40f891a3d483c80857db420c29324>:0
      at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.DrawImage(System.Drawing.Image,System.Drawing.Rectangle,int,int,int,int,System.Drawing.GraphicsUnit,System.Drawing.Imaging.ImageAttributes)
      at Oxide.Plugins.LustyMap+MapSplitter.ResizeImage (System.Drawing.Image image, System.Int32 pixels) [0x00136] in <11b9e704f2174393926cab9cd383a6cb>:0
      at Oxide.Plugins.LustyMap.ScaleMapImage () [0x00032] in <11b9e704f2174393926cab9cd383a6cb>:0
      at Oxide.Plugins.LustyMap.LoadMapImage () [0x0005d] in <11b9e704f2174393926cab9cd383a6cb>:0
      at Oxide.Plugins.LustyMap.ccmdResetmap (ConsoleSystem+Arg arg) [0x00024] in <11b9e704f2174393926cab9cd383a6cb>:0
      at Oxide.Plugins.LustyMap.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x016c1] in <11b9e704f2174393926cab9cd383a6cb>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc1c06ce0ebd4145b07f6c3438d70a62>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <901ba4905e044f67b6e6ad4ce05063c4>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <901ba4905e044f67b6e6ad4ce05063c4>:0
    (20:50:32) | [ImageLibrary] Starting order LustyMap
     
  14. @k1lly0u I am getting the same error as Venedas above.
     
  15. Says map not activated and I don't want to do any of the things that require a key. Can it work w/o, and where is the map image generated. Also it claims to not find thr icon directory and i followed the directory structure part.
     
  16. how to get a map image. I got it just gray with icons. Cant get download image to work on rust io and the beancan dont show seed 1 as 4000
     
  17. Can not do a reset map. So the map displays a bad map.
    Can you release a fix thank you

    (09:15:54) | [LustyMap] Map reset Confirmed! Creating a new image load order with ImageLibrary

    (09:15:54) | [LustyMap] [Warning] Icon images have not been found. Uploading images to file storage

    (09:15:54) | [LustyMap] [Warning] Downloading map image to file storage. Please wait!

    (09:15:54) | [LustyMap] Error whilst retrieving the map image from file storage: The type initializer for 'ManagedToNativeWrapper' threw an exception.

    If you are running linux you must install LibGDIPlus using the following line: "sudo apt install libgdiplus", then restart your system for the changes to take affect

    (09:15:54) | Failed to call hook 'ccmdResetmap' on plugin 'LustyMap v2.1.39' (ArgumentNullException: Value cannot be null.

    Parameter name: image)

    at System.Drawing.Graphics.DrawImage (System.Drawing.Image image, System.Drawing.Rectangle destRect, System.Int32 srcX, System.Int32 srcY, System.Int32 srcWidth, System.Int32 srcHeight, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttr) [0x00006] in <79f40f891a3d483c80857db420c29324>:0

    at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.DrawImage(System.Drawing.Image,System.Drawing.Rectangle,int,int,int,int,System.Drawing.GraphicsUnit,System.Drawing.Imaging.ImageAttributes)

    at Oxide.Plugins.LustyMap+MapSplitter.ResizeImage (System.Drawing.Image image, System.Int32 pixels) [0x00136] in <731d152301e84144848cb79d39bec4ea>:0

    at Oxide.Plugins.LustyMap.ScaleMapImage () [0x00032] in <731d152301e84144848cb79d39bec4ea>:0

    at Oxide.Plugins.LustyMap.LoadMapImage () [0x0005d] in <731d152301e84144848cb79d39bec4ea>:0

    at Oxide.Plugins.LustyMap.ccmdResetmap (ConsoleSystem+Arg arg) [0x00024] in <731d152301e84144848cb79d39bec4ea>:0

    at Oxide.Plugins.LustyMap.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x016c1] in <731d152301e84144848cb79d39bec4ea>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <7dd61d9d32c04619a5705636c6735256>:0

    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <901ba4905e044f67b6e6ad4ce05063c4>:0

    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <901ba4905e044f67b6e6ad4ce05063c4>:0

    (09:15:54) | [ImageLibrary] Starting order LustyMap

    (09:15:56) | Image batch (LustyMap) has been stored successfully
     
  18. Wulf

    Wulf Community Admin

    Try the latest Oxide build please.
     
  19. the latest oxide build worked thanks wulf.
     
  20. Confirmed latest Oxide fixes :)