klyte45 / TransportLinesManager

The TLM mod for Cities Skylines
Other
28 stars 24 forks source link

Crash when making bus line #143

Closed SifVerT closed 2 years ago

SifVerT commented 3 years ago

Hi,

Thanks for this mod which truly enhances the public transport functionality, but now I've run into some kind of strange bug which only happens for buses and when placing bus line nodes (stops) and the game only crashes if I place them while the game is unpaused, if I pause the game I can lay down the bus line properly and start the buses. I can use the mod for buses if I remember to pause the game each time I'm to make a new bus line but it gets frustrating. Tried for hours today, removed all other mods than yours and another save etc.

Note that an old save I have works fine and I can add bus lines without the game crashing while the game is unpaused.

Sending the log for three different crashes with the same outcome i.e. crash to desktop.

Many thanks again for your mod, I like it.

output_log.txt output_log2.txt e crash output_log3.txt .

klyte45 commented 3 years ago

Can you try the new alpha version? Just copy this files in your local APPDATA Cities Skylines folder under path: Addons/Mods/TLM Let me know if need help to test it. Don't forget to turn off the workshop version of the mod (may unsubscribe)

BuanBacksna commented 3 years ago

I had a similar experience, so I canceled being in the creative yard, and tried the alpha version here.

But nothing has changed.

Is there another way?

klyte45 commented 3 years ago

I need to check your logs to see if there's any tip there

BuanBacksna commented 3 years ago

Um... So... Are you asking me to upload the log?

klyte45 commented 3 years ago

Can you try the new alpha version? Just copy this files in your local APPDATA Cities Skylines folder under path: Addons/Mods/TLM Let me know if need help to test it. Don't forget to turn off the workshop version of the mod (may unsubscribe)

A new alpha version was released. Please try it when possible. I found a lot of possible causes of the crash issues.

BuanBacksna commented 3 years ago

Uh... The new alpha version...

It's like I'm bouncing Do.

I don't know what's wrong with me.

Should I say that it's still being designated only when it's paused?

SifVerT commented 3 years ago

Sorry @klyte45, I've kept myself busy and it took a while to do the testing. The new alpha version seems to address the bug with creating a new bus line, it did not crash on my save game nor when I tested creating a new game for the sake of testing. Thanks a lot for all your work. Unless a placebo it seems the game runs better too (I run with a ton of mods to enhance the experience). Your mod is one essential because it gives a lot of control over the mass transit system and most importantly you can view the financial status for the lines.

By the way, is it possible to add control over so-called "unbunching" in TLM? For example, make sure that buses hold a far distance between each other so they don't just run after each other somewhere on the line and instead being on each side of the line doing their work more efficiently. Best would be if the buses and other mods of transit can "sense" where the other is and have some sort of "adaptive unbunching".

klyte45 commented 3 years ago

The mod had some memory leaks solved in latest alpha, so it must run smoother too.

About the unbunching, the control is done by placing terminal stops when the spacing between the buses will be respected. They are stars icon in the line view - the first stop always will be a terminal, you can toggle others by right clicking at station circle. This is how the mod handle the unbuching and couldn't be more flexible by design - also because "flexible" is subjective when we are talking about unbunching, i heard a lot of different solutions but I chose the current because it seems more realistic.

SifVerT commented 3 years ago

Thanks for fixing the bug and that the mod had memory leaks. Cool if you don't have any plans on adding any other unbunching, although you could add some kind of slider for custom delay. My buses end up behind each other all the time. Sometimes I don't want unbunching such as when a line's station is crowded with people and I just need to "shovel" people away.

klyte45 commented 3 years ago

I suggest you to create some additional terminal stops through the line to make the buses to respect the minimal distance when passes by these checkpoints. Probably will solve your issue

SifVerT commented 3 years ago

Thanks.

khaoniaomamuang commented 3 years ago

@klyte45 Have you updated the mod on the steam workshop with the fixes with crashing after making lines?

I tried the alpha channel, it still crashes after placing a line and the in-game menu says it's 14.1: image output_log.txt

WILL07555 commented 3 years ago

Hi I have the alpha version and it still crashed the game until i paused the game first then added 3 bus routes which didn't crash the game and then i could make bus routes with the pause off, not sure why this happened but it was the way i could get past the crashes and it was only bus lines nothing else.

I hope this helps

klyte45 commented 2 years ago

Hi people The 14.2 version was delayed to later January to also bring fixes for the new DLC announced this week. Due the game code has changed, it's unlike to be available a new alpha version until there. Thanks for your patience.