NiHoel / Anno1800Calculator

Calculator for the production and consumption of goods in the computer game Anno 1800
MIT License
102 stars 28 forks source link

Trade routes no longer work correctly #76

Closed StevenKusters closed 2 years ago

StevenKusters commented 2 years ago

When adding value to a trade route, it no longer recalculated correctly.

NiHoel commented 2 years ago

Did you click the apply button or tick "Automatically update extra need when trade routes or extra goods change" in the settings?

Can you provide steps how to reproduce the issue? For me, trade routs work as intended.

StevenKusters commented 2 years ago

Dear Nico, the way the bug shows itself is: Setup two islands and then click the resource to set up the route. Once the route is set up and the demand changes on the island you are shipping to or from you programmed the button to update the extra demand. This button adds the extra demand, but the button itself doesn't change its state, so the button to update demand can be clicked endlessly (clicking apply works, but is it possible this behavior changed in comparison to older versions?). I'd expect the button to auto apply when you add resources to the list. Mostly because the rest of the calculator works with direct apply in almost every field.

(Bytheway, would you mind getting in touch to talk about some development stuff? I have forked your project to enable compatibility with a mod I am working on and would like to discuss several coding aspects of the calculator, I am not looking for a teacher here, just to talk some things through. If so, please send me an email: steven@kusters.it )