LordOfAwesomnia

Members
  • Content count

    24
  • Joined

  • Last visited

Community Reputation

17 Decent

About LordOfAwesomnia

  • Rank
    Villager

Profile Information

  • Gender

Recent Profile Visitors

182 profile views
  1. That's strange, it should include all deeds on the map. Were the missing deeds recently created or disbanded? Can you give me some info about some of the deeds that can't be found?
  2. I'll take a look at the traders, see if I can make it work for them as well. Otherwise yeah I agree the option should only show when it actually works.
  3. I get the feeling you're using a managed hosting service (i.e. a "game hosting" package rather than a VPS where you run your own stuff), correct? If so, you'll have to resort to your hosting provider's documentation and support to figure out how to SSH into your server and run the map generator. Note: SSH is not something like FTP, it is a way to remotely access the command line interface of your server and execute commands on it. It's the standard way to interact with any typical VPS server, but unfortunately it's often not available with managed hosting services. Could you run the map generator again with the --verbose flag? It should include more information.
  4. I'm not sure what you mean here, in my experience most server hosting providers should give you at least SSH access to your server so running the mapgen shouldn't be an issue. Otherwise you could configure a cronjob (if they're available on your hosting service) to run the generator automatically at set intervals. In any case, I would think you should be able to start the application in the same way you would start any other application on your server?
  5. 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.
  6. @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?
  7. 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.
  8. 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.
  9. 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
  10. @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!
  11. @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.
  12. 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?
  13. 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.
  14. 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.
  15. New release is published on Github, should fix the issue If you still have problems, let me know.