News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

Tutorial scenario reports script errors

Started by Matthew, April 02, 2024, 07:19:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT

#35
I had forgotten to add elsewhere, there should no longer be non-integral values in the arrays.

https://github.com/simutrans/pak128/commit/9fe7195674f5e47898b09be6ce69be1405e6848c


I'm making minor modifications from my phone so I can't test well.

Edit.
I had to fix the logic.

Yona-TYT

#36
Well, actually something curious was happening, the logic I had worked with the official versions and not with the nightly versions, but never with both at the same time.  :o

Now I have improved that logic.  ;)

https://github.com/simutrans/pak128/commit/dbbe6567ec942597df3de6ded56de1ea5ed95f01


Thanks for your help with the tests. ;D

Please try again and verify with official release and night

Roboron

It works now with both version :-)

But will it work when the version is increased again?

Yona-TYT

#38
Quote from: Roboron on June 04, 2024, 12:50:28 PMIt works now with both version :-)

But will it work when the version is increased again?
Yes, in fact it already worked before, but I made a modification so that it worked with the nightly versions but clumsily that messed up the verification for official versions.


I had a really bad time fixing this, 😞 but I think it should work fine now.


Edit.
Quote from: Roboron on June 04, 2024, 12:50:28 PMBut will it work when the version is increased again?
Maybe an experiment with making compilations with modified versions can clarify those doubts