CptWesley / NewWorldMinimap

Opensource Minimap for Amazon's New World.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Fully Transparent window

JKamsker opened this issue · comments

image

Cant see the map

Ok, game restart seem to have fixed the issue.
Restarting overwolf or the app did not fix the issue

@pvdstel any ideas what might be causing this? I haven't witnessed this ever happen before, so I kind of want to just throw it on "Overwolf shennanigans" and close it.

I guess this could be a bad cache problem

commented

I don't think it's Overwolf shenanigans. The player icon is visible, and it's drawn on the same canvas that the map tiles are drawn on. So if the player icon is visible, the map tiles should be visible too. Might have been an issue with the map tiles not loading for whatever reason. Maybe that's something that could be improved in the future. It can also happen if the position is off the map, because then there are no map tiles to be drawn, but that's really unexpected.

image
Having the same issue here. Restart didn't work.

image
Seems it is loading tiles, but it can not display anything.

image
Just some parts of the map are displayed.

Hi,

I've faced this issue as well. I think, I've got the root cause for it.
You're getting the tiles from cdn.newworldfans.com, but this site is not included in externally_connectable section.
Adding it looks solved this issue

diff --git a/overwolf/public/manifest.json b/overwolf/public/manifest.json
index 4033e45..155a0b4 100644
--- a/overwolf/public/manifest.json
+++ b/overwolf/public/manifest.json
@@ -101,7 +101,8 @@
         "http://*.overwolf.com",
         "https://*.overwolf.com",
         "https://overwolf.github.io",
-        "https://*.newworld-map.com"
+        "https://*.newworld-map.com",
+        "https://cdn.newworldfans.com"
       ]
     },
     "force_browser": "user",

Edit: It not solves this issue, but it helps a lot. Currently, I'm investigating an another error that causes the issue.
Some kind of error handling would be fine on loading tiles, because it looks, it's caching the "lot loaded tile" as well.

@dh-harald Thank you ! It works !