The International Simutrans Forum

Development => Bug Reports => Topic started by: ROCAMBOLER529 on December 14, 2017, 03:37:23 PM

Title: Raining ERROR messages & Scripts mistakes
Post by: ROCAMBOLER529 on December 14, 2017, 03:37:23 PM
Hi my community.

I was playing in Simutrans and i was using a Script IA player. While i was looking its activity, a message appeared saying that "The script made an ERROR!!!" I didnt know what was happened but the message said that the script create a bulk line without factory. Well... In fact, This message was starting to appear every second!! I could do nothing because when i wanted to press a buttom, the f..ing message always appeared, every message that i kicked... the game created another one!!! So... this bug was unstopable an the game crash some seconds later in consecuence of every message that the game created.
Bug Report from: 120.2.2 - every pak - r8136 "Raining ERROR messages & Scripts mistakes"

file:///C:/Users/Packar%20Bell/Pictures/Imp%20Paint/%23BugReport%20(02).png

If you can see the picture this message didnt spot to appear & this message said why the Script IA made its error
Title: Re: Raining ERROR messages & Scripts mistakes
Post by: Dwachs on December 14, 2017, 06:43:47 PM
There is no picture. Can you upload the screenshot somewhere?

Which AI did you use?

Do you have a savegame?

You can deactive the AI in the player window, click on the square checkbox left of the colored button.
Title: Re: Raining ERROR messages & Scripts mistakes
Post by: ROCAMBOLER529 on December 14, 2017, 08:26:19 PM
 - I dont know how to upload the screenshot here.

- I use the last IA. (empty->Human->Good IA->Passenger IA->Scripted IA)

- Yes i have but also i dont know how to upload it.

- No... the message cannot let me to clicked the checkbox.







Title: Re: Raining ERROR messages & Scripts mistakes
Post by: Dwachs on December 14, 2017, 09:00:38 PM
To deactivate click the same button as for activating AI: Main menu/Options -> Players/Players list -> square checkbox

For uploading you can use dropbox, imgur or https://simutrans-germany.com/files/
Title: Re: Raining ERROR messages & Scripts mistakes
Post by: ROCAMBOLER529 on December 15, 2017, 02:43:28 AM
https://simutrans-germany.com/files/upload/%23BugReport_(01).png
https://simutrans-germany.com/files/upload/%23BugReport_(02)_1.3.png
https://simutrans-germany.com/files/upload/%23BugReport_(02)_1.2.png
http://simutrans-germany.com/files/upload/temp-load.sve

try with this. Open the .sve in Simutrans pak128 v2.6

[Mod-note: edited one url /Dwachs]
Title: Re: Raining ERROR messages & Scripts mistakes
Post by: Dwachs on December 15, 2017, 10:29:14 AM
The first two screenshots show broken savegames. Is this the effect of a script error? Still have to look into the savegame.

Also a screenshot of the rain of error messages would be interesting.
Title: Re: Raining ERROR messages & Scripts mistakes
Post by: Dwachs on December 15, 2017, 03:24:05 PM
Here is a repaired savegame

http://simutrans-germany.com/files/upload/bug-resolved.sve

What happened to the iron mine and the steel works? One of the AI players serves non-existing factories.

Edit: r8353 should fix the rain of error messages and also the bug that broke your savegame.
Title: Re: Raining ERROR messages & Scripts mistakes
Post by: ROCAMBOLER529 on December 18, 2017, 11:07:52 PM
Quote from: Dwachs on December 15, 2017, 03:24:05 PM
Here is a repaired savegame

http://simutrans-germany.com/files/upload/bug-resolved.sve

What happened to the iron mine and the steel works? One of the AI players serves non-existing factories.

the iron mine & the steel mill had been dissapeared by the bug... another error that i saw, the IA created line of iron & coal to the steel mill but it didnt create a line of steel to the car factory, Why didnt create a line???

i forgot to upload a screenshot that it show you the message of error that i said begining the post.

http://simutrans-germany.com/files/./upload/#BugReport_(02).png
Title: Re: Raining ERROR messages & Scripts mistakes
Post by: Dwachs on December 19, 2017, 07:32:44 AM
The script complains that some factory disappeared. It looks like you opened the game with a pakset that did not have the factory objects, then you saved again and the factories were gone forever.