• Content count

  • Joined

  • Last visited

Community Reputation

16 Decent

About LordOfAwesomnia

  • Rank

Profile Information

  • Gender

Recent Profile Visitors

111 profile views
  1. Adding custom IDs is on the roadmap, you'll have to wait a bit longer I wanted to get the bug with the towers fixed first.
  2. @DiWormI think I identified the issue, it was an old database query that didn't work correctly. I've published a new release on Github (v2.3.3), could you try it and let me know if it loads all the towers now?
  3. Users can toggle layers on and off using the options in the sidebar. I might add some more settings to configure which layers are on by default. Is this an existing mod or something custom on the server? If it's (based on) an existing mod I'd love to add it into the core mapgen. Thanks! I'll have a look.
  4. Noted As for the issues you're having, I'm not sure what's going on there. Are you certain there are more items on your server than the ones that are being loaded and displayed on the map? Would you mind sharing your wurmitems.db file with me (and the accompanying db-wal and db-shm files)? So I can run some tests to see if this is an issue on the side of WurmMapGen or if it's perhaps something with your database.
  5. I think you're missing -jar in there? I'll add it to the roadmap! Right now focus is on getting the current version working though
  6. @DiWormI've been looking over my code for several hours but I can't seem to find any reason why your modded towers wouldn't appear. I'm testing with the mod on my local server and it works perfectly, so I'm kind of at a loss. I've added some more logging output in the latest release so hopefully that will lead to something. Could you also share some records from your wurmitems database with guard towers that don't show up on the map? Along with the table schema. Perhaps it's an issue with my queries, or your database is set up differently in some way. The bug with markerType 3 portals should be fixed in the latest release (v2.3.2), that I just published on Github. Thanks for reporting!
  7. @DiWormThanks for the logging output! It made me realise there's a bug with the verbose setting, because it should normally output a lot more. Could you try the latest release (v2.3.1) from Github, and then share the verbose logging output again? It should include a lot more information this time around. As for the custom items - I see you're using different template IDs than the mod does (new portals uses IDs 4001-4016, your example uses ID 5000), so that's why it doesn't work out of the box. I will add a way to configure your custom IDs for portals and towers, but it may take some time for me to get around to implementing this.
  8. Can you share the logging output of the map generator? Run it with verbose logging enabled (java -jar WurmMapGen.jar --verbose) and then copy the logging output into a pastebin or similar. The portal data has only the properties name, x, and y. See PortalFileGen.java. Can you tell me why your mod wouldn't work with the map generator? Did you change the portal template IDs?
  9. It seems I forgot to add an empty portals.json in case no portals are loaded, thanks for letting me know! Fix should be published soon. For the kingdom towers, it should look up the tower template names in the modsupport.db database. Did you change the template names? You can view the template IDs and template names that the map generator looks for in DatabaseHandler.java. Can you double check these with your mods? I tested with the latest version of kingdom items and new portals but maybe the IDs are different in your version. Custom markers currently have the same issue with the map markers being handled through the Leaflet.js library, so they require a lot more than just a datafile. This is something I may look into later. You can always add your own changes in the template though, it shouldn't be too difficult to add a new marker type in the client Javascript code.
  10. I just published WurmMapGen v2.3.0, which adds portal markers and mod support for the kingdom items mod and the new portals mod. Check the download link & info in the first post. Thanks to @DiWormfor the tower mod suggestion. In most cases, you should be able to use a subdirectory independently from your CMS. For example, if I have a Wordpress installation at example.com/wordpress, I can set the output path of the map generator to example.com/wordpress/livemap and the webserver should serve all the files just fine from that location. If not, you may need to add a flag to your .htaccess file (or the equivalent for your server software). Adding configurable paths for each different type of asset (images, stylesheets, scripts) is not something I am planning to add, as it is quite a lot of work compared to the limited benefits, and I prefer to spend my time on adding features that more people will find useful. That being said, if this is important to you, I encourage you to fork the Github repository and add the feature yourself. I welcome pull requests that add more features and options to the map generator. Here's the problem with that: the map is not made with <div> elements. The map is built up with a combination of <img> tags for the markers, and <svg> paths for the borders. This all happens through the Leaflet.js library and I cannot control the generated html code directly, so I can't "just add a class to a div" like you suggest. I may look at some more detailed options for customisation in the future, but it won't be any time soon. For now, you can always edit the template source files to suit your needs, the code you need should be in resources/template/app/map.js and resources/template/app/markers.js.
  11. New release is published on Github, should fix the issue If you still have problems, let me know.
  12. I'm doing some tests and it seems that the option only appears when you have no item activated. I'll push a fix soon that will give you the option regardless of the active item.
  13. Check the properties file, you need to at least change the 'salt' option from its default value to a random character sequence, otherwise the mod will throw an error and refuse to work. If that's not it, take a look in the server logs. If something went wrong the mod should have logged an error.
  14. Merchant Listing Mod Stay up to date with your favourite Wurm merchants Download latest release | Install instructions | Github The merchant listing mod offers a way to view up to date inventory listings of any merchant, in your web browser. You simply right-click a merchant, choose "get listing", and open the url in your browser. You can then share the link to this page with others, for example to share your merchant on your server's forum. This is the first release of the mod, so there will probably be some bugs. If you encounter any issues, please report them in this thread or on Github. Other feedback (positive or negative) is of course also appreciated This is currently a basic version of what I want the mod to be, I plan to refine it a bit more. I may also add some new features based on community feedback.
  15. Thanks for the feedback and suggestions! Kingdom towers shouldn't be too difficult to add, I'll check it out Copy / sharing coordinates is on the roadmap so should be added soon Adding other items (e.g. portals) to the map is also on the roadmap, though I may need to do some more testing to get this one working I'm looking at the best way to add custom icons, it should be added soon as well This is something the user should do, correct? If you want, you can add it to the information on the wiki, otherwise I'll look into it when I get a chance, and add some recommendations to the wiki myself. I'm not entirely sure what you mean by this, could you elaborate? The map renderer doesn't use CSS classes for styling, rather it is configured through Javascript code. I'll see if I can add some more configuration values to customise how the permanent deeds are rendered.