Transport Fever 2

Transport Fever 2

Freestyle train station
lollus  [开发者] 2021 年 2 月 2 日 下午 4:18
Bug reports
Report bugs with steps to reproduce them.
You will probably need to post stdout.txt, which you will find here:
https://www.transportfever2.com/wiki/doku.php?id=gamemanual:gamefilelocations
Do ignore advice on this mod coming from sources other than myself, particularly from third party websites that pretend to give expertise: they don't.
最后由 lollus 编辑于; 2022 年 10 月 30 日 下午 4:38
< >
正在显示第 1 - 15 条,共 145 条留言
lollus  [开发者] 2021 年 6 月 8 日 上午 7:29 
引用自 GordonDry
When drawing a road nearby a platform, there is a connecting lane at each node, rendering it optically flawed:
https://i.imgur.com/jtZkCVP.jpg

Smoothing the terrain does not work there.
It's a small but annoying glitch, together with the hole.lua terrain. UG might listen if we annoy them enough.
lollus  [开发者] 2021 年 8 月 21 日 下午 4:54 
引用自 GordonDry
The height of the entrance for the elevated station is too low.
I have published a fix, thanks. You can now adjust the lift height with <m> and <n>.
Simarson 2022 年 6 月 17 日 下午 4:54 
Hi @lollus - first off, thank you for the great mod; excellent piece of coding. Playing around with it, I noticed I had an issue when placing the waypoints, which has an easy fix. Might be just my display settings, but in guiHelpers.lua, the guiHelpers.showWaypointDistance dialog grows in width as the distance between waypoints increases. For me, as soon as it reaches double-digits (10m+) it's the same width as the 200px offset you set in _windowXShift on line 23. At that point the dialog gets in the way of the mouse cursor, making it difficult to place the second waypoint. Changing _windowXShift to +20 (and adding a _windowYShift = 20 too) fixes it by moving the box to the bottom right of the cursor. Just wanted to let you know.
lollus  [开发者] 2022 年 6 月 18 日 下午 3:36 
I have changed it a bit to bring it closer to the cursor (+40 and +40), together with some small visual improvement for platform roofs, which was long due.
lemming3k 2022 年 9 月 11 日 下午 4:51 
Thanks for the reply. The error that shows when designating a terminal is;

Exception type: Fatal error
Details:
Assertion Failure: Assertion 'edge.conns(0) != edge.conns(1)' failed.
Crash dump location
Entity:414397
Notified Entity: 414397

EDIT - in case it's useful, I also notice when I go to load the game again the mod is not active and needs to be re-added each time. I'm assuming this to indicate a mod conflict somewhere.
最后由 lemming3k 编辑于; 2022 年 9 月 11 日 下午 4:53
lollus  [开发者] 2022 年 9 月 12 日 上午 2:22 
It looks like an install problem. Make sure you have the latest mod version, which is 1.81 or higher (you can check that in mod.lua). Then try a game without any other mods. Some track mods are particularly nasty because they overwrite or disable stock tracks. They are crap and they should not be used.
lemming3k 2022 年 9 月 14 日 上午 10:54 
Thanks, I'm on 1.85 as I just downloaded it but it looks like a mod conflict as it works fine on a new game.
I'll see if I can remove other track/station mods as it looks like freestyle can replace them anyway but I suppose if one has overwritten base tracks I might be stuck on that map.

Is there a max station size? One mod I do like to use is for larger stations.
lollus  [开发者] 2022 年 9 月 14 日 上午 11:02 
These stations can have 12 tracks up to 800 metres long, but configuration slows down a lot at those sizes. But first, let's figure out what 414397 is.
Start your game, then press ^ to open the console, then type
game.interface.getEntity(414397) and press enter. What comes out?
lemming3k 2022 年 9 月 14 日 下午 2:13 
It seems to give a series of texture load errors. Starting with a file name empty followed by lots of file not found errors.
I presume they are a subset of textures needed for certain mods to display correctly, but I'm not too knowledgable with modding.

It did seem to work after I removed all track/station mods, but I've had a couple memory errors and now another crash. Although the crash may be with the base game as it says Mod: no mod. Stack traceback mentions setMaximumLoan
lollus  [开发者] 2022 年 9 月 14 日 下午 2:40 
If you already built modded tracks, then you remove the mod, there will be inconsistencies. It would be best to replace them with stock tracks, save, reload without track mods, save with a new name. The magic wand can help.
Later, you can introduce track mods again, skipping the dodgy ones.
Can you copy and paste the output of game.interface.getEntity(414397)? At least the last lines.
最后由 lollus 编辑于; 2022 年 9 月 14 日 下午 2:42
lollus  [开发者] 2022 年 9 月 16 日 下午 1:47 
No those are game errors, the console shows them for some reason, together with the console output proper. I need the console output proper to try and make a diagnose.
最后由 lollus 编辑于; 2022 年 9 月 16 日 下午 4:43
lemming3k 2022 年 9 月 16 日 下午 7:37 
Ah ok. I might need some guidance to get that. I thought everything after >>game.interface.getEntity(414397) in the console was the result from running that function.

I tried the save again without the track/station mods and managed to build a large freestyle station, so I can narrow it down to one of a dozen or so mods at least.
lollus  [开发者] 2022 年 9 月 17 日 上午 12:21 
Just scroll past the "Texture load error" messages and see what the console says.
最后由 lollus 编辑于; 2022 年 9 月 17 日 上午 12:48
lemming3k 2022 年 9 月 17 日 上午 7:27 
Oh, there is nothing further. Those are the last lines in the console. I've ran it again to check and get the same results. If I re-run it after this is just says "nil".
lollus  [开发者] 2022 年 9 月 17 日 上午 7:54 
OK so it's something that is created after loading the game and then errors out, maybe the station itself. Never mind.
最后由 lollus 编辑于; 2022 年 9 月 25 日 上午 6:41
< >
正在显示第 1 - 15 条,共 145 条留言
每页显示数: 1530 50