L0laapk3 / FactorioMaps

L0laapk3's FactorioMaps mod
https://mods.factorio.com/mod/L0laapk3_FactorioMaps
Other
122 stars 22 forks source link

Setting site to display oldest time first? #65

Closed Tataru-Taru closed 4 years ago

Tataru-Taru commented 4 years ago

Hello,

Since this wasn't an urgent issue, I didn't want to hassle you on discord. Is there a change I can make so that when the site loads up, it picks the oldest time, so then people can slide it watching it grow?

At the moment it loads the newest time, so sliding back to a less built base isn't as exciting.

Thank you for your time and thank you again for putting this mod together.

L0laapk3 commented 4 years ago

It's supposed to do that already, I will look into it when I have some more time. :)

L0laapk3 commented 4 years ago

It appears to still do that correctly, did you host the timeline somewhere?

L0laapk3 commented 4 years ago

is the issue resolved?

sonowz commented 4 years ago

I'm currently using an old version (3.5.3) and I manually patched index.js file like this: https://github.com/L0laapk3/FactorioMaps/blob/36cb312393d16a55aa1f9294a4b11c1979790fe9/web/index.js#L575 to

initial: 0,

And it works.

L0laapk3 commented 4 years ago

Are you hosting the timeline publicly somewhere? I would like to investigate why it wasn't already working. Did you scan the maps in the correct order?

sonowz commented 4 years ago

You can check patched page here. Note: this site was generated using the mod version 3.5.3 release and Factorio 0.17.69.