Transport Fever 2

Transport Fever 2

LineManager
This topic has been locked
GordonDry 23 Jan, 2023 @ 6:40am
TPF2 Beta: No UI shown on button click
Using TPF2 Beta build 35129

There are no error messages in the log.
It even initializes the mod correctly when loading a save game.
[LineManager][15:07:19][INFO] linemanager: firstRunOnly() starting [LineManager][15:07:19][INFO] LineManager enabled is set to: true [LineManager][15:07:19][INFO] Automatically reverse trains with no path is set to: true [LineManager][15:07:19][INFO] Using os time based sampling. [LineManager][15:07:19][INFO] One sample is taken every 60 seconds. [LineManager][15:07:19][INFO] Logging level set to: INFO [LineManager][15:07:19][INFO] ShowExtendedLineInfo set to: false [LineManager][15:07:19][INFO] The state data version is up-to-date. [LineManager][15:07:19][INFO] linemanager: firstRunOnly() finished
< >
Showing 1-15 of 18 comments
CARTOK  [developer] 25 Jan, 2023 @ 7:12am 
Thanks, I haven't tested the Beta yet, will take a look when time permits. Potentially a bug in the TPF2 beta that will be fixed by itself, but let's see.
CARTOK  [developer] 25 Jan, 2023 @ 8:46am 
I can't even launch the Beta at the moment, so I gather something is broken in the Beta in general. Don't expect any fixes outside the stable branch of TPF2.
GordonDry 16 Feb, 2023 @ 4:09pm 
Reminder:
A lot of mods are already fixed and work with the latest beta.
CARTOK  [developer] 17 Feb, 2023 @ 9:18am 
I see. Do you have an example of a mod that has been updated to work with the beta, that also has the source code available on GitHub i.e. so recent changes can be seen? I'm away from computer, and having that available would significantly speed up the process to figure out what has changed in the API (or otherwise). Alternatively, if you have a link at hand where changes are discussed or highlighted, that will help. Will take a look as soon as time permits.
CARTOK  [developer] 17 Feb, 2023 @ 9:20am 
That was quick, I'll hopefully be able to take a look at it this weekend. Thanks for the support!
CARTOK  [developer] 17 Feb, 2023 @ 11:25pm 
Try the now uploaded version 1.35. After plenty of testing/debugging, the solution seems to have been to comment out the line that offset the position of the window by 100 pixels (setPosition). Which makes very little sense...the API has not changed for this.
GordonDry 18 Feb, 2023 @ 5:33am 
Sometimes the sleakest solutions are the real ones. I will test it soon.
GordonDry 18 Feb, 2023 @ 5:36am 
Please remove the .vscode and expecially the .git folder from the release, it's a lot of tiny and unneccesary files.
Last edited by GordonDry; 18 Feb, 2023 @ 5:37am
CARTOK  [developer] 18 Feb, 2023 @ 6:10am 
Thanks, let me know when you've tested to confirm it's working.

Can look at cleaning up the release. Is there an easy way to filter out .vscode and .git folders from release?
GordonDry 18 Feb, 2023 @ 6:13am 
Afaik there are routines in Github itself but I don't know if they are "just" working as build routine for VS or also for packing releases.
GordonDry 18 Feb, 2023 @ 6:15am 
You may use export-ignore feature for this. Add this to your .gitattributes file: /path/to/file/or/directory export-ignore
CARTOK  [developer] 18 Feb, 2023 @ 11:34pm 
Perfect, thanks! I'll give it a try, added this to '.gitattributes':

.vscode export-ignore
.git export-ignore

Where did you find information indicating this?

Again, thanks for your help, hope you find the mod continually useful!
GordonDry 19 Feb, 2023 @ 3:55am 
https://git-scm.com/docs/gitattributes

Those commands are "just" for the Github releases, not for what's happening inside Steam's staging_area folder I guess.

So the unneccessary files and folders with a dot at the start of the name are still in the Steam workshop release. :steammocking:
I would say don't work on just one folder, have a Github work folder and a Steam upload folder and remove the unneeded stuff manually or by batch script.
< >
Showing 1-15 of 18 comments
Per page: 1530 50