Bertaz's Recent Posts

The online map at https://mc1.my-colony.com/map/ doesn't work anymore.

Apparently when the website changed subdomain, some js links weren't changed. (Is it really 2 years and nobody noticed or was the js changed recently after the migration?)

The error is in galmap.js at lines 198, 240, 289 and 364:
198c198
< var apiURL = "https://www.my-colony.com/api.php?pf=2&g=1&c=" + charter;
---
> var apiURL = "https://mc1.my-colony.com/api.php?pf=2&g=1&c=" + charter;
240c240
< window.open("https://www.my-colony.com/colonies/" + selectedColony.charter + "/","_blank");
---
> window.open("https://mc1.my-colony.com/colonies/" + selectedColony.charter + "/","_blank");
289c289
< var apiURL = "https://www.my-colony.com/api.php?pf=3&g=1&sx=" + x + "&sy=" + y;
---
> var apiURL = "https://mc1.my-colony.com/api.php?pf=3&g=1&sx=" + x + "&sy=" + y;
364c364
< var apiURL = "https://www.my-colony.com/api.php?pf=2&g=1&c=" + charter;
---
> var apiURL = "https://mc1.my-colony.com/api.php?pf=2&g=1&c=" + charter;
Tested with https://mc1.my-colony.com/map/mbHpVVuDyx.html
11mo ago

Bertaz

Member
Member Since
November 17th, 2018
Welcome
Ape Apps, LLC is an independent software development company founded in 2010 by Brandon Stecklein. Over the years, Ape Apps has published over 400 apps and games across various platforms. You can get in touch with Brandon on Twitter or by leaving a post on his wall @bastecklein
App of the Day