News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

Recent posts

#11
Bug Reports / Re: squirrel script - bug sele...
Last post by prissi - February 09, 2026, 03:19:13 AM
One cannot pass the desc name here. No never, impossible. It will not happen, so one has to change the API documentation that the waytype there is a special desciptor name withich is the number of the waytype. (Alternatively, any illegal name will catch that too.)
#12
Extension Requests / Re: One-Way Private Road signs
Last post by prissi - February 09, 2026, 03:17:05 AM
YOu could do that with a single way and a private road one after the other ...
#13
Extension Requests / One-Way Private Road signs
Last post by hymie - February 08, 2026, 07:13:07 PM
I honestly don't know if this is an Engine request or a PakSet request,

Rail signals can be set up as directional, allowing passage one direction and blocking passage in the other direction.  I'm not sure if road signals allow this or not.

The "Private Road" signal blocks public traffic in both directions.  But sometimes, a car will be spontaneously created on a private road and it cannot get out.

So I would like to request that the "Private Road" be a one-way signal, blocking public traffic from entering the private area, but allowing traffic to exit the private area.

Thanks.
#14
Pak192.Comic / Re: Full Germany Map RELEASE
Last post by makie - February 08, 2026, 12:59:33 PM
Quote from: pl4ttenbau on February 08, 2026, 08:39:49 AMis it possible to go back in years somehow, say by editing the file with a hex editor?
Yes
It is possible to save as uncompressed XML

simuconf.tab
Quote#################################system stuff#################################

# compress savegames?
# "binary" means uncompressed, "zipped" means compressed
# "bzip2" uses another compression algorithm
# other options are "xml", "xml_zipped" and "xml_bzip2"
# xml detects more errors of broken savegames but files are much larger
# bzip2 savegames are smaller than zipped but saving/loading takes longer
saveformat = xml
Then use a simple editor, find and change the value and load the file back in Simutrans.

The year is one of the first value.

But beware: The file is really big. Maybe to much for notepad.
#15
Pak192.Comic / Re: Full Germany Map RELEASE
Last post by pl4ttenbau - February 08, 2026, 08:39:49 AM
No, Im plattenbau and dont know who that dude is. maybe its an ai that reprases other posts like mine?

I did have trouble uploading it on file upload net, which i usually use for such matters as it was blacklisted or similar. Or Esperan is a real user and actually faced similar hurdles.

> from finding accurate information to troubleshooting technical glitches in the software

is not really all that true, there was one problem tho - connected with generating maps from height maps i think - that i couldnt solve and only updating my simutrans version was helping. I think it was solved since then tho

So or so, ill update a new version of the map soon with some areas geeting more love. Apropos technical questions: is it possible to go back in years somehow, say by editing the file with a hex editor?

i have no problem editing old houses and industries out after say getting the map into the 20ies. But redoing it completely for an earlier start date would be excessive, although i regret my choice of the late 50ies now.
#16
Bug Reports / Re: squirrel script - bug sele...
Last post by Andarix - February 08, 2026, 07:22:09 AM
The question is, how many people are using that key during the tutorial? Newcomers, for whom the tutorial is intended, probably aren't.

The issue is that the Squirrel API documentation states that the tool name is passed. Which isn't currently the case.

The fact that we can also consider the waytype via script isn't the problem.

The error therefore doesn't affect Simutrans or the script itself, but rather the Script API. And I'd like to wait for Dwachs's opinion on that.
#17
In in r11878
#18
Bug Reports / Re: The last tool icon is not ...
Last post by prissi - February 08, 2026, 05:54:42 AM
CHanged in r11878, using a simplier way for parsing.
#19
Bug Reports / Re: squirrel script - bug sele...
Last post by prissi - February 08, 2026, 05:38:15 AM
Why? You could just check for the waytype if it is a number string. I.e. waytype==2 and para=="2". If this waytype was allowed before, then it surely will be allowed again, wouldn't it?

You coukd even add a rule like this. It will be always watype=123 and param="123" which forbids using this recall tool.
#20
Bug Reports / Re: squirrel script - bug sele...
Last post by Yona-TYT - February 08, 2026, 12:21:35 AM
Quote from: prissi on January 18, 2026, 11:40:35 AMThis is the intended format:
name => object
number => waytype
Only in the later building stages, the object is know, not at the time when the tool is called, since the last waytape is cached with the tool.

To resolve this, I suggest sending the ID of the pressed 'r' key, something like "key_r". This will allow the script to know that the tool is being called from a keyboard shortcut. Then, we need to look in the configuration parameters to see which track/road is assigned to the keyboard shortcut.

Does the pakset handle choosing exactly which road will be called from the keyboard shortcut?.