The International Simutrans Forum

 

Author Topic: Raining ERROR messages & Scripts mistakes  (Read 1833 times)

0 Members and 1 Guest are viewing this topic.

Offline ROCAMBOLER529

  • *
  • Posts: 86
  • Languages: ES EN
Raining ERROR messages & Scripts mistakes
« 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

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4465
  • Languages: EN, DE, AT
Re: Raining ERROR messages & Scripts mistakes
« Reply #1 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.

Offline ROCAMBOLER529

  • *
  • Posts: 86
  • Languages: ES EN
Re: Raining ERROR messages & Scripts mistakes
« Reply #2 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.








Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4465
  • Languages: EN, DE, AT
Re: Raining ERROR messages & Scripts mistakes
« Reply #3 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/

Offline ROCAMBOLER529

  • *
  • Posts: 86
  • Languages: ES EN
« Last Edit: December 15, 2017, 10:27:39 AM by Dwachs »

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4465
  • Languages: EN, DE, AT
Re: Raining ERROR messages & Scripts mistakes
« Reply #5 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.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4465
  • Languages: EN, DE, AT
Re: Raining ERROR messages & Scripts mistakes
« Reply #6 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.
« Last Edit: December 15, 2017, 03:53:14 PM by Dwachs »

Offline ROCAMBOLER529

  • *
  • Posts: 86
  • Languages: ES EN
Re: Raining ERROR messages & Scripts mistakes
« Reply #7 on: December 18, 2017, 11:07:52 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

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4465
  • Languages: EN, DE, AT
Re: Raining ERROR messages & Scripts mistakes
« Reply #8 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.