LustyMap

In-game map and minimap GUI

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

5/5, 163 likes
  1. pm me and i can try helping you later wheneveer we are both available
     
  2. Having an issue with LustyMap 2.1.39 on my linux servers. libgdiplus is installed. All packages patched. Latest version of ImageLibrary. Custom Map not beancan.io. It seems to store the large map fine, but when I try to create the minimap with resetmap I get errors. I've fixed this before but forgotten how. Anyone know? Something in the back of my mind is tickling a different version of libgdiplus is needed but I don't know.

    Code:
    libgdiplus/artful,now 4.2-2 amd64 [installed]
    
    My Config:
    Code:
    {
      "Friend Options": {
        "Allow custom friend lists from other plugins": true,
        "Enable clans support": false,
        "Enable friends support": true
      },
      "Map - Complex Options": {
        "Enable the complex map": true,
        "Force complex zoom mode": true,
        "Forced zoom number (1, 2 or 3)": 2
      },
      "Map - Main Options": {
        "Enable AFK tracking": true,
        "Hide event players": true,
        "Map image options": {
          "Beancan.io API key (if applicable)": "",
          "Custom map filename": "122876-4000.png",
          "Use custom map": true
        },
        "Map update time (seconds)": 1.0,
        "Open map on for player's when they connect": true,
        "Show map compass": false
      },
      "Map - Mini Options": {
        "Enable the minimap": true,
        "Minimap docked on the left side of the screen": false,
        "Minimap horizontal scale": 1.0,
        "Minimap offset from side of the screen": 0.0,
        "Minimap offset from top of the screen": 0.04,
        "Minimap vertical scale": 1.0
      },
      "Marker Options": {
        "Show all players": false,
        "Show cars (un-occupied only)": true,
        "Show caves": false,
        "Show debris": false,
        "Show friends and clanmates": true,
        "Show helicopters": true,
        "Show marker names": false,
        "Show monuments": false,
        "Show planes": true,
        "Show self": true,
        "Show supply drops": true,
        "Show tanks": true,
        "Show vending machines (public broadcast only)": false
      },
      "Spam Options": {
        "Allowed time between map changes": 3,
        "Amount of time a users map will be disabled": 120,
        "Attempts before disabling the users map": 10,
        "Attempts before warning the user they are spamming": 5,
        "Enable spam monitoring": true
      }
    }
    The error:
    Code:
    o.reload LustyMapPlugin compilation is already queued: LustyMap (0.009 ago)Added '// Reference: System.Drawing' in plugin 'LustyMap'LustyMap and ImageLibrary were compiled successfully in 2230msUnloaded plugin LustyMap v2.1.39 by Kayzor / k1lly0uUnloaded plugin ImageLibrary v2.0.20 by Absolut & K1lly0uLustyMap plugin is waiting for requirements to be loaded: ImageLibraryLoaded plugin ImageLibrary v2.0.20 by Absolut & K1lly0u[LustyMap] [Warning] Validating imagery[LustyMap] [Warning] Generating the main map[LustyMap] [Warning] Main map generated successfully![LustyMap] [Warning] Generating the mini-map[LustyMap] [Warning] Mini map generated successfully![LustyMap] [Warning] Generating the complex map. This may take a few moments, please wait![LustyMap] [Warning] Complex map generated successfully!Loaded plugin LustyMap v2.1.39 by Kayzor / k1lly0uresetmap[LustyMap] Map reset Confirmed! Creating a new image load order with ImageLibrary[LustyMap] [Warning] Icon images have not been found. Uploading images to file storage[LustyMap] [Warning] Downloading map image to file storage. Please wait![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![LustyMap] [Warning] Starting complex map split (6x). Please wait!Failed to call hook 'ccmdResetmap' on plugin 'LustyMap v2.1.39' (ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter])
      at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in :0
      at System.Drawing.Bitmap.SetResolution (Single xDpi, Single yDpi) [0x00000] in :0
      at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:SetResolution (single,single)
      at Oxide.Plugins.LustyMap+MapSplitter.ResizeImage (System.Drawing.Image image, Int32 pixels) [0x00000] in :0
      at Oxide.Plugins.LustyMap+MapSplitter.SplitMap (System.String imageId, Int32 amount) [0x00000] in :0
      at Oxide.Plugins.LustyMap.AttemptSplit (Int32 attempts) [0x00000] in :0
      at Oxide.Plugins.LustyMap.LoadMapImage () [0x00000] in :0
      at Oxide.Plugins.LustyMap.ccmdResetmap (.Arg arg) [0x00000] in :0
      at Oxide.Plugins.LustyMap.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in :0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0[ImageLibrary] Starting order LustyMap[ImageLibrary] Starting order LustyMap - Map ImageImage batch (LustyMap - Map Image) has been stored successfully
    More specific dump of the error:
    Code:
    Failed to call hook 'ccmdResetmap' on plugin 'LustyMap v2.1.39' (ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter])
      at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0
      at System.Drawing.Bitmap.SetResolution (Single xDpi, Single yDpi) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:SetResolution (single,single)
      at Oxide.Plugins.LustyMap+MapSplitter.ResizeImage (System.Drawing.Image image, Int32 pixels) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LustyMap+MapSplitter.SplitMap (System.String imageId, Int32 amount) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LustyMap.AttemptSplit (Int32 attempts) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LustyMap.LoadMapImage () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LustyMap.ccmdResetmap (.Arg arg) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LustyMap.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.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
    I've tried wiping everything and starting from scratch mostly. I can't figure this out so need some help. Thanks in advance.
     
  3. Image loading fail! Error: Unknown Error - Image Name: rocketfactory_0 - Image URL: file:///home/rust/oxide/data/LustyMap/icons/rocket.png

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Image loading fail! Error: Unknown Error - Image Name: spheretank_0 - Image URL: file:///home/rust/oxide/data/LustyMap/icons/spheretank.png

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Image loading fail! Error: Unknown Error - Image Name: harbor_0 - Image URL: file:///home/rust/oxide/data/LustyMap/icons/harbor.png

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Image loading fail! Error: Unknown Error - Image Name: special_0 - Image URL: file:///home/rust/oxide/data/LustyMap/icons/special.png

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Image loading fail! Error: Unknown Error - Image Name: supply_0 - Image URL: file:///home/rust/oxide/data/LustyMap/icons/supply.png

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Image loading fail! Error: Unknown Error - Image Name: debris_0 - Image URL: file:///home/rust/oxide/data/LustyMap/icons/debris.png

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Image loading fail! Error: Unknown Error - Image Name: vending_0 - Image URL: file:///home/rust/oxide/data/LustyMap/icons/vending.png

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Image loading fail! Error: Unknown Error - Image Name: gasstation_0 - Image URL: file:///home/rust/oxide/data/LustyMap/icons/gas.png

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Image loading fail! Error: Unknown Error - Image Name: supermarket_0 - Image URL: file:///home/rust/oxide/data/LustyMap/icons/market.png

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Image loading fail! Error: Unknown Error - Image Name: quarryhqm_0 - Image URL: file:///home/rust/oxide/data/LustyMap/icons/quarryhqm.png

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Image loading fail! Error: Unknown Error - Image Name: quarrystone_0 - Image URL: file:///home/rust/oxide/data/LustyMap/icons/quarrystone.png

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Image loading fail! Error: Unknown Error - Image Name: quarrysulfur_0 - Image URL: file:///home/rust/oxide/data/LustyMap/icons/quarrysulfur.png

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Image batch (LustyMap) has been stored successfully

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Image loading fail! Error: Unknown Error - Image Name: junkyard_0 - Image URL: file:///home/rust/oxide/data/LustyMap/icons/junkyard.png

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    [ShowCrosshair] Crosshair images loaded

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)



    Console Spam the Error 0% - 100%
     
  4. Hi i cannot use " M button " to show full map how to setting key ?

    Please Help

    Thank you
     
  5. Hello, I've read a little bit of the thread and I'm wondering a simple question: is it possible to display the helicopters or drops only for admins (with "map admin"). And if so, how? thank you very much
     
  6. Hello, I'm missing the icons on the map (image not found), any idea on how to get them working ? I already uploaded the icons folder at the right location on the server
     
  7. is it possible to change it so that when i enable /map admin, my friends are still blue? like it was a long time ago?
     
  8. F0x

    F0x

    Hi, awesome plugin, but there is a huge memory leak... lot of players on my server crashed, my game after 4 hours is using about 30Gb of ram, i noticed that my ram increased at every LustyMap refresh (every 1s by default), i disabled the plugin and no more memory leaks, any idea how to fix this ? I really like this plugin, thanks,
    F0x
     
  9. Hellom
    I am having a problem: I set all, I placed the icon and reloaded the plugin but the map has all the "no image" on it. How can I fix it? Thx in advance
     
  10. F0x

    F0x

    Hi, your server is on Linux ?, if yes try this version instead (fix at line 2524, based on 2.1.39)
    d'ont forget to do a 'resetmap' in the server console after plugin reload. Don't forget to install "libgdiplus" aswell.
    Also read my previous post about the memory leak.
     

    Attached Files:

    Last edited by a moderator: Jan 23, 2018
  11. how can i set it up for a map size of 6000 it shows me the map of 4000 but i put in a pic of 6000 size
     
  12. Just trying this out for the first time. It seems as if the minimap periodically disapears after about 15mins or so. The plugin is still loaded and i can type /map to have it reappear. Wondering if it's just some timeout that im missing or something
     
  13. dw sorted my probelm
     

    Attached Files:

    Last edited by a moderator: Jan 26, 2018
  14. bind m LMUI_Control map
    m can be changed by what you want
     
  15. hey can you please help me, the map load on my server. the minimap load only the icons and the "map image not found". i have stored the mapimage on oxide\data\lustymap\map.png

    here is the log

    Code:
    [LustyMap] Error whilst retrieving the map image from file storage: An exception was thrown by the type initializer for System.Drawing.GDIPlus
    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
    ExType: TypeInitializationException
    Failed to run a 1.00 timer in 'LustyMap v2.1.39' (DllNotFoundException: gdiplus.dll)
      at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
      at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
    [LustyMap] Error whilst retrieving the map image from file storage: An exception was thrown by the type initializer for System.Drawing.GDIPlus
    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
    [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
    [LustyMap] Error whilst retrieving the map image from file storage: An exception was thrown by the type initializer for System.Drawing.GDIPlus
    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
    [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
    [LustyMap] Error whilst retrieving the map image from file storage: An exception was thrown by the type initializer for System.Drawing.GDIPlus
    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
    [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
    [LustyMap] [Warning] Generating the main map
    [LustyMap] [Warning] Main map generated successfully!
    [LustyMap] [Warning] Generating the mini-map
    [LustyMap] [Warning] Mini map generated successfully!
    178.24.70.68:61594/76561198088776096/panzerfaust has auth level 2
    178.24.70.68:61594/76561198088776096/panzerfaust joined [windows/76561198088776096]
    panzerfaust[27547/76561198088776096] has entered the game
    > resetmap
    [LustyMap] Map reset Confirmed! Creating a new image load order with ImageLibrary
    [LustyMap] [Warning] Icon images have not been found. Uploading images to file storage
    [LustyMap] [Warning] Downloading map image to file storage. Please wait!
    [LustyMap] Error whilst retrieving the map image from file storage: An exception was thrown by the type initializer for System.Drawing.GDIPlus
    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
    ExType: TypeInitializationException
    Failed to call hook 'ccmdResetmap' on plugin 'LustyMap v2.1.39' (DllNotFoundException: gdiplus.dll)
      at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
      at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
    [ImageLibrary] Starting order LustyMap
    and the code from my lustymap config

    Code:
    {
      "Friend Options": {
        "Allow custom friend lists from other plugins": true,
        "Enable clans support": true,
        "Enable friends support": true
      },
      "Map - Complex Options": {
        "Enable the complex map": true,
        "Force complex zoom mode": false,
        "Forced zoom number (1, 2 or 3)": 1
      },
      "Map - Main Options": {
        "Enable AFK tracking": true,
        "Hide event players": true,
        "Map image options": {
          "Beancan.io API key (if applicable)": "",
          "Custom map filename": "map.png",
          "Use custom map": true
        },
        "Map update time (seconds)": 1.0,
        "Open map on for player's when they connect": true,
        "Show map compass": true
      },
      "Map - Mini Options": {
        "Enable the minimap": true,
        "Minimap docked on the left side of the screen": true,
        "Minimap horizontal scale": 1.0,
        "Minimap offset from side of the screen": 0.0,
        "Minimap offset from top of the screen": 0.0,
        "Minimap vertical scale": 1.0
      },
      "Marker Options": {
        "Show all players": false,
        "Show cars (un-occupied only)": true,
        "Show caves": false,
        "Show debris": false,
        "Show friends and clanmates": true,
        "Show helicopters": true,
        "Show marker names": true,
        "Show monuments": true,
        "Show planes": true,
        "Show self": true,
        "Show supply drops": true,
        "Show tanks": true,
        "Show vending machines (public broadcast only)": true
      },
      "Spam Options": {
        "Allowed time between map changes": 3,
        "Amount of time a users map will be disabled": 120,
        "Attempts before disabling the users map": 10,
        "Attempts before warning the user they are spamming": 5,
        "Enable spam monitoring": true
      }
    }
    thank you
     
  16. The way i did this was changed the minimap file so that its not a png file and changed it in the config to just the name then reloaded the plugin maybe try that
     
  17. i change the config "minimap" without extension and place the file in data folder with extension as jpg file?
     
  18. Code:
    {
      "Friend Options": {
        "Allow custom friend lists from other plugins": true,
        "Enable clans support": true,
        "Enable friends support": true
      },
      "Map - Complex Options": {
        "Enable the complex map": true,
        "Force complex zoom mode": false,
        "Forced zoom number (1, 2 or 3)": 1
      },
      "Map - Main Options": {
        "Enable AFK tracking": true,
        "Hide event players": true,
        "Map image options": {
          "Beancan.io API key (if applicable)": "",
          "Custom map filename": "map",
          "Use custom map": true
        },
        "Map update time (seconds)": 1.0,
        "Open map on for player's when they connect": true,
        "Show map compass": true
      },
      "Map - Mini Options": {
        "Enable the minimap": true,
        "Minimap docked on the left side of the screen": true,
        "Minimap horizontal scale": 1.0,
        "Minimap offset from side of the screen": 0.0,
        "Minimap offset from top of the screen": 0.0,
        "Minimap vertical scale": 1.0
      },
      "Marker Options": {
        "Show all players": false,
        "Show cars (un-occupied only)": true,
        "Show caves": false,
        "Show debris": false,
        "Show friends and clanmates": true,
        "Show helicopters": true,
        "Show marker names": true,
        "Show monuments": true,
        "Show planes": true,
        "Show self": true,
        "Show supply drops": true,
        "Show tanks": false,
        "Show vending machines (public broadcast only)": true
      },
      "Spam Options": {
        "Allowed time between map changes": 3,
        "Amount of time a users map will be disabled": 120,
        "Attempts before disabling the users map": 10,
        "Attempts before warning the user they are spamming": 5,
        "Enable spam monitoring": true
      }
    }
    So my map is just a file its not a jpg or anything then in the config i just put the name as the file is named and reloaded the plugin seems to work fine for me that way
     

    Attached Files:

  19. you mean its a empty 0 byte file. or have you delete the extension from the map file? when you have deleted the extension, what was the extension before you have deleted? it is possible when i rename my "map.jpg" to "map" on my ftp storage? thank you for your help and your time
     
  20. I had mine as map.jpg but just deleted the .jpg and in the config just put 'map'