Map backend fixIssue: Zero-grid folder didn't create after cleanup, therefore server wasnt able to save uploaded minimaps
Commit:
https://github.com/APXEOLOG/hnh-auto-ma ... 81bc9cffa4Please rebuild and update map-backend.jar (you first will need to sudo systemctl stop hnhmap, upload new jar, sudo systemctl start hnhmap)
Workaround: If you don't want to redeploy backend you can just restart it. All folders are created on startup, so the proper folder structure will be restored
saltyfish wrote:Could somebody post simple instructions how to integrate this auto-mapper into Amber ?
You need to add this code into Amber and compile client:
https://github.com/APXEOLOG/amber/pull/1Now regarding mapping issues you've reported. I've compiled Purus Pasta client and got through all steps myself:
1. Login into the client and look into console for the current grid id (It should be like: "Setting character grid 278366768951845501 (-9, -9) null", the id will be 278366768951845501)
2. In client settings define map endpoint (it should not contain ending slash though)
3. Close client
4. Invoke "<map_edpoint>/api/v1/cleanup" on map backend to clear everything (if you didn't install fix from above then you will need to restart server after this step)
5. Access "<map_edpoint>/grids/mapdata_index", it should give you smth like 403 Forbidden
4. Invoke "<map_edpoint>/api/v1/setZeroGrid" on map backend and set grid id to one from step (1)
5. Access "<map_edpoint>/grids/mapdata_index", it should you one line like this "278366768951845501,0,0" with grid id you've set
6. Remove "mapdata_index_global" and "mapdata_index_local" files from the client folder
7. Start the client. Wait a bit at the login screen, ensure that "mapdata_index_global" file is back in your folder (is should contain same line from (5))
8. Login into the game. Your location icon should become green and logs in console should state that grids have been uploaded

9. You can click on it, frontend will open in browser and you should see your map now
Last edited by APXEOLOG on Wed Mar 04, 2020 8:04 am, edited 1 time in total.