LustyMap

In-game map and minimap GUI

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

5/5, 163 likes
  1. Ok guys i have a solution for you.

    install Timed Execute and have this run a couple minutes after restart:

    "EnableTimerOnce": true,

    "TimerOnce": {
    "Resetmap": 120
    },

    Basically your map will resplit just after every restart and you'll be ok :)

    Just be warned that resplitting if using complex map kicks players, so you may want to tweak the number of seconds to something lower so it happens sooner after your restart. That 120 is 120 seconds after the plugin itself loads.
     
    Last edited by a moderator: Feb 11, 2018
  2. Black maps are here for months :D You guys just had luck that runned out now :p Good luck trying to get an answer from the best developer in town :D
     
  3. I think we're all using it, but how can anyone know if it's an issue with LustMap or ImageLibrary? I have other plugins using ImageLibrary and they seem to work fine. If this is related to ImageLibrary a heads up would be great so we can all go post in that thread.
     
  4. The guy that made lusty made image library :(
     
  5. Just do the fix i said and you'll all be fine
     
  6. No you won't... black maps will always stay
     
  7. i am getting this when is "resetmap"
    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 :0 at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat format) [0x00000] in :0 at System.Drawing.Bitmap..ctor (Int32 width, Int32 height) [0x00000] in :0 at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (int,int) 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
    edit- after doing a unstall, server restart, and reloading the map it worked
     
    Last edited by a moderator: Feb 12, 2018
  8. Looks like the same thing for me.

    Code:
    (21:54:47) | [LustyMap] Map reset Confirmed! Creating a new image load order with ImageLibrary
    (21:54:47) | [LustyMap] [Warning] Icon images have not been found. Uploading images to file storage
    (21:54:47) | [LustyMap] [Warning] Attempting to contact beancan.io to download your map image!
    (21:54:47) | [ImageLibrary] Starting order LustyMap
    (21:54:48) | [LustyMap] [Warning] Map generation successful! Downloading map image to file storage. Please wait!
    (21:54:48) | [LustyMap] Error whilst retrieving the map image from file storage: ImageConverter cannot convert from (null).
    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
    (21:54:48) | Web request callback raised an exception (ArgumentNullException: Argument cannot be null.
    Parameter name: image)
      at System.Drawing.Graphics.DrawImage (System.Drawing.Image image, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttr) [0x00000] in <filename unknown>: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, Int32 pixels) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LustyMap.ScaleMapImage () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LustyMap.DownloadMap (System.String url) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LustyMap.<GetMapURL>m__1 (Int32 code, System.String response) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00000] in <filename unknown>:0
     
  9. Resetmap

    it doesnt like resetmap via rcon or plugin
     
  10. Code:
     Failed to call hook 'OnServerInitialized' on plugin 'LustyMap v2.1.39' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.LustyMap.LoadSettings () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LustyMap.OnServerInitialized () [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
    Anyone can help me activate Plugin?

    UPD: Change OnServerInitialized() on ServerStart(). Working fine.
     
  11. Still no word on this?
     
  12. I get it! Sometime the map is black and sometime it lags ah little bit but it works.
    I have a question anyway how can I visualize the Airdrop on the map in the config file is "show supply drops": true "but I can t see it.
     
  13. Just Resetmap every restart, takes about 30 seconds, which if you restart early morning shouldn't really affect anyone
     
  14. Works like a charm, thanks for this! :)

    I added the command to Rustadmins periodic command function. Used for 3 days and no black maps yet :)
     
    Last edited by a moderator: Feb 14, 2018
  15. Code:
    [LustyMap] Error whilst retrieving the map image from file storage: ImageConverter cannot convert from (null).
    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 affectWeb request callback raised an exception (ArgumentNullException: Argument cannot be null.
    Parameter name: image)
      at System.Drawing.Graphics.DrawImage (System.Drawing.Image image, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttr) [0x00000] in :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, Int32 pixels) [0x00000] in :0
      at Oxide.Plugins.LustyMap.ScaleMapImage () [0x00000] in :0
      at Oxide.Plugins.LustyMap.DownloadMap (System.String url) [0x00000] in :0
      at Oxide.Plugins.LustyMap.m__1 (Int32 code, System.String response) [0x00000] in :0
      at Oxide.Core.Libraries.WebRequests+WebRequest.b__42_0 () [0x00000] in :0 
    No, it does not work. I am very experienced with this plugin and again, I still believe that this is associated somehow with the last update on Image Library. I could be wrong, but this all started happening when that update hit
     
  16. Been using this plugin for over 2 years so you might say I have a lil experience with it too ;) The webrequest suggests you're trying to call beancan and failing, use a local file instead.

    I speak to the creator of ImageLibrary on a daily basis, it's not IL, it's the change Facepunch made to how images are stored, going from a folder structure to a single DB file. The DB issue is also affecting signs between restarts if you'll notice, also Server Rewards icon images.

    Now, Lusty and IL may need an update to workaround the FP way of doing things, I agree, however K1llyou isn't around much unfortunately.
     
  17. No, I see that as well. The problem here is that it is generating a random issue each time. It never stays on just one problem. That error was done after a recent resetmap call on console. If you notice your first reply above, the issue was due to something different (hence what you replied with "you do not have the latest icons") and it keeps randomizing the problem, at least with me. However, it was also mentioned above that at times the mini map will just show the map with no icons, then other times it will show the icons with no map. Other tests reveal that it comes up at times completely "not activated".
     
  18. Tried clearing all your imagelibrary files manually?
     
  19. Twice and a complete re upload with beancan verify. Hmm, wondering if this is it for Lusty map on my servers. It's more annoying now than anything