News:

Want to praise Simutrans?
Your feedback is important for us ;D.

Recent posts

#21
Scripting Scenarios and AI / Re: Tutorial - code review
Last post by Andarix - Yesterday at 09:47:42 PM
Quote from: Yona-TYT on Yesterday at 09:02:35 PMOkay, I'm going to review this now.

Edit.
The first train in CH3 works fine here, maybe it's only failing in pak64.german?.

The current code certainly works. However, since I know the changes will cause errors, I won't be posting such code to the repository.

see this post

#22
Bug Reports / Install pak64.german form GUI ...
Last post by Yona-TYT - Yesterday at 09:32:01 PM
Linux SDL, Simutrans r11869

Message: network_open_address(): Preparing to bind address: ::
Message: network_open_address(): Potential local address: ::
Message: network_open_address(): Potential remote address: 188.68.47.205
Message: network_open_address(): Potential remote address: 2a03:4000:61:9b74::20:8507
Message: network_open_address(): Preparing to bind address: 0.0.0.0
Message: network_open_address(): Potential local address: 0.0.0.0
Message: network_open_address(): Potential remote address: 188.68.47.205
Message: network_http_get_file(): HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Tue, 13 Jan 2026 21:28:58 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Location: https://simutrans-germany.com/pak.german/pak64.german_0-124-0-0-6_full.zip


Warning: Pakset download failed with: Cannot handle https.
#23
Scripting Scenarios and AI / Re: Tutorial - code review
Last post by Yona-TYT - Yesterday at 09:02:35 PM
Quote from: Andarix on Yesterday at 07:13:36 PMI'd be more interested in why the first train breaks down in Chapter 3 when I change Chapter 2.
Okay, I'm going to review this now.

Edit.
The first train in CH3 works fine here, maybe it's only failing in pak64.german?.
#24
Scripting Scenarios and AI / Re: Tutorial - code review
Last post by Andarix - Yesterday at 07:13:36 PM
Quote from: Yona-TYT on Yesterday at 06:08:05 PMWait a minute, is the value 1 the value of the system type? If this is true, then it's easy to solve this on the script side.

I think is the waytype. Track (key t) is 2.

It's certainly easy to intercept in the tutorial script.

But according to the documentation, the object name is the parameter to be passed, not the waytype.

Then there are also `e` and `l` currently available in pak64.



I'd be more interested in why the first train breaks down in Chapter 3 when I change Chapter 2.
#25
Scripting Scenarios and AI / Re: Tutorial - code review
Last post by Yona-TYT - Yesterday at 06:08:05 PM
QuoteThe idea is correct, but the value is wrong.

The `tool_id` is correct. Only the object name is passed differently.

The name is passed via the button.
The value 1 is passed via the key "s".
Wait a minute, is the value 1 the value of the system type? If this is true, then it's easy to solve this on the script side.
#26
Bug Reports / Re: [fluidsynth] Bug when chan...
Last post by Yona-TYT - Yesterday at 06:02:57 PM
If I'm not mistaken, it's been over a year since I mentioned this in the forum (I lost the topic). I hadn't been able to capture it with gdb. Unfortunately, in this Linux district there are no debugging libraries and the reverse trace doesn't have much useful information. :-[
#27
Scripting Scenarios and AI / Re: Tutorial - code review
Last post by Andarix - Yesterday at 03:04:58 PM
Quote from: prissi on Yesterday at 02:19:15 PM...
Now another text error in airport step D: "Connect the city of Pollingville with airport {sch2} with four busses"

fixed
#28
Thank you!
But it does not work in r11869
simtool.cc l1976 should be change:
-    if(!city) {
+    if(city) {
#29
Very sensible idea. The town deletion code predated the existence of a city pointer with hosues ...

Incorporated in r11869
#30
Bug Reports / Re: [fluidsynth] Bug when chan...
Last post by prissi - Yesterday at 02:22:08 PM
Then I would guess this is a fluidsynth thing combined with simutrans given the output. But I might be wrong and its just my prejustice against fluidsynth.