Page 1 of 1

Global Map - Mixed-up planes (temporary fix)

Posted: Tue Dec 28, 2021 4:01 pm
by Goliath
https://www.nexusclash.com/clash.php?op=map has the following issues with the planes:
  • * Stygia and Elysium are swapped
    * Purgatorio and PurgatorioUG are swapped. So is their tiledata.
Running the following code on the browser's console patches it:

Code: Select all

let swap_temp = window.mapDim[404];
window.mapDim[404] = window.mapDim[405];
window.mapDim[405] = swap_temp;
document.getElementById('navbarsExample08').children[0].children[3].children[0].value = 402;
document.getElementById('navbarsExample08').children[0].children[4].children[0].value = 403;
document.getElementById('navbarsExample08').children[0].children[5].children[0].value = 404;

Re: Global Map - Mixed-up planes (temporary fix)

Posted: Fri Dec 31, 2021 7:42 pm
by Goliath
Last patch fixed Stygia & Elysium (thanks), but still has Purg & PurgUG swapped (only the .png background).
Temporary fix for users:

Code: Select all

let swap_temp = window.mapDim[404];
window.mapDim[404] = window.mapDim[405];
window.mapDim[405] = swap_temp;
Permanent fix:
Swap "Purgatorio.png" and "PurgatorioUG.png" in the script embedded on the map page, here:
https://prnt.sc/25gexyq