[MOD 12.11+] Train Outposts
Re: [MOD 12.11+] Train Outposts
Look one comment further up. My patch doesn't remove on_load, it's a bit less hack-y than that.
Re: [MOD 12.11+] Train Outposts
Sorry, that somehow slipped past my attention.sparr wrote:Look one comment further up. My patch doesn't remove on_load, it's a bit less hack-y than that.
Of course checking for the existence of game will remove the error, but deprives you of any custom settings for bob's. Due to the new design, it will still work, but bob's ores will spawn with default values (so you will have an abundance of gems). Of course, as long as you do not use bob's mods, you're good.
I will still go with my approach for the next release, as this will support everything. Thanks for the input though.
Re: [MOD 12.11+] Train Outposts
i get the control.lua109 error as well, got a 6 hours save so id rather nto start over, be nice with a fix soon
Re: [MOD 12.11+] Train Outposts
And here is the fix.
It turned out that I had already thought about this problem but then in the long run of development forgot about that.
Just removing the on_load event was enough.
Happy to hear more feedback and bugs.
It turned out that I had already thought about this problem but then in the long run of development forgot about that.
Just removing the on_load event was enough.
Happy to hear more feedback and bugs.
Re: [MOD 12.11+] Train Outposts
sigh so far only to be stoped by another error
edit: maybe its due to old save game, ill start over
edit: maybe its due to old save game, ill start over
- Attachments
-
- ss+(2016-06-01+at+10.32.32).jpg (16.73 KiB) Viewed 7272 times
Re: [MOD 12.11+] Train Outposts
Can you tell me what you did that produced the error? I have not encountered this myself yet.
Re: [MOD 12.11+] Train Outposts
im getting the same error....it just came up randomly and i can load the game for maybe 30 secs before the error pops up again, i have about 5.5 hours into my current game i can provide the mod list im using if needed
**edit** it seams i can go back to an earlier save about 2 mins ago before my last auto save and it works for longer....idk if is a game time thing or something because it seams it may cut out at exactly 5.5 hours of game play
**edit** it seams i can go back to an earlier save about 2 mins ago before my last auto save and it works for longer....idk if is a game time thing or something because it seams it may cut out at exactly 5.5 hours of game play
- Attachments
-
- Untitled.png (97.89 KiB) Viewed 7239 times
Re: [MOD 12.11+] Train Outposts
It cannot be game time.
But I would guess that around this time, there is a chunk generated which then causes this error.
Would you mind providing me with the savefile that is close to the point of error?
But I would guess that around this time, there is a chunk generated which then causes this error.
Would you mind providing me with the savefile that is close to the point of error?
Re: [MOD 12.11+] Train Outposts
I'm currently out ATM I will asap
Re: [MOD 12.11+] Train Outposts
here is the link for the google drive folder auto save 3 is right before the crash and auto save 2 is a few minutes before
https://goo.gl/z5MrwV
https://goo.gl/z5MrwV
Re: [MOD 12.11+] Train Outposts
I think I figured it out.
The problem was with an old game state, which did not initialize everything as in the current version.
I uploaded a new version with a remote interface, use
and you should not hit the error. At least this worked in my little testing environment.
The problem was with an old game state, which did not initialize everything as in the current version.
I uploaded a new version with a remote interface, use
Code: Select all
/c remote.call("TR", "reinit")
Re: [MOD 12.11+] Train Outposts
In the future, you should put checks in the on_load function that update the global data if it's from an old version.SirRichie wrote:I think I figured it out.
The problem was with an old game state, which did not initialize everything as in the current version.
Last edited by sparr on Sat Jun 04, 2016 6:50 pm, edited 1 time in total.
Re: [MOD 12.11+] Train Outposts
Yeah, thanks for the advice, but I quite know how to program.
In fact, hooking up to on_load does not work as we established above.
It is what on_configuration_changed and migration scripts are for.
Have not had the time yet to get them to work.
In fact, hooking up to on_load does not work as we established above.
It is what on_configuration_changed and migration scripts are for.
Have not had the time yet to get them to work.
Re: [MOD 12.11+] Train Outposts
My experiences:
Firstly the amount of iron in the starting area was very small, enough for about 8 miners. Not a huge deal but makes getting started a bit slow
But the bigger problem was once I got my car and went exploring, once I finally hit the resource belt, I found large patches of Iron, Copper, Coal and Uranium all in close proximity. At this point the total no brainer move is to tear up my factory and drive to the resource patches and rebuild the factory at the resources - no trains needed. In fact one could argue that the logical way to play this mod is to beeline the car, then rip everything up and drive off into the sunset to build a new factory at the resources, as the starting area resources are so insignificant and the biters so sparse as to present no real danger.
Firstly the amount of iron in the starting area was very small, enough for about 8 miners. Not a huge deal but makes getting started a bit slow
But the bigger problem was once I got my car and went exploring, once I finally hit the resource belt, I found large patches of Iron, Copper, Coal and Uranium all in close proximity. At this point the total no brainer move is to tear up my factory and drive to the resource patches and rebuild the factory at the resources - no trains needed. In fact one could argue that the logical way to play this mod is to beeline the car, then rip everything up and drive off into the sunset to build a new factory at the resources, as the starting area resources are so insignificant and the biters so sparse as to present no real danger.
Re: [MOD 12.11+] Train Outposts
That sounds super lucky. You should find them all about the same distance away, but by no means should they all be in proximity to each other most of the time.BlakeMW wrote:I found large patches of Iron, Copper, Coal and Uranium all in close proximity.
This is a completely viable strategy for the first move. Not so much the second time, when you've got a base big enough to utilize the second resource patches and you're establishing a dozen train outposts to bring in the NEXT batches of resources.At this point the total no brainer move is to tear up my factory and drive to the resource patches and rebuild the factory at the resources - no trains needed. In fact one could argue that the logical way to play this mod is to beeline the car, then rip everything up and drive off into the sunset to build a new factory at the resources, as the starting area resources are so insignificant and the biters so sparse as to present no real danger.
Re: [MOD 12.11+] Train Outposts
I fully agree that finding many patches in one place is quite lucky.
Unlike RSO, I do not restrict the number of resources per region. In the plays I had though, this never happened.
I probably still would not have torn down my factory, but that is because I like using trains.
If you expand early, the amount of biters will not be a problem, but they tend to spread...
The size of the starting resources is small by design, so you are forced to expand rather quickly.
Unlike RSO, I do not restrict the number of resources per region. In the plays I had though, this never happened.
I probably still would not have torn down my factory, but that is because I like using trains.
If you expand early, the amount of biters will not be a problem, but they tend to spread...
The size of the starting resources is small by design, so you are forced to expand rather quickly.
Re: [MOD 12.11+] Train Outposts
I mean close as in relatively close - no different to to the screenshot in the OP, for example in the north-north-west of that screenshot there is a copper patch, two iron patches, a coal patch and an oil patch within easy belt range of each other. There's a stone not far away too, not that stone really matters.
edit:
Btw those are standard settings except enemies which is set to "big"
edit:
Here is a screenshot
With no option to expand to nearby resources (which could be mainly bad luck as there is no iron or copper nearby although there is stone and coal), my best move is to go North-East, where I found a huge iron patch, copper patches and oil all close enough together to be easily beltable. There is also coal and stone nearby enough.Btw those are standard settings except enemies which is set to "big"
Re: [MOD 12.11+] Train Outposts
ok, sure. You can find the three close to each other *somewhere* on any map. Moving once will always be an option. Are you going to move to the next "beltable" trio when those run out? No, you'll already have set up trains.
Re: [MOD 12.11+] Train Outposts
Mod compatibility bug report:
Starting a new game with Train Outposts and Bob's Ores results in the expected behavior.
Starting a new game with Train Outposts then later loading that save after enabling Bob's Ores results in none of the new ores appearing. Even using the "Regenerate" remote call that is part of Bob's Ores has no apparent effect (other than pausing the game for a few seconds while it attempts/pretends to do things).
Starting a new game with Train Outposts and Bob's Ores results in the expected behavior.
Starting a new game with Train Outposts then later loading that save after enabling Bob's Ores results in none of the new ores appearing. Even using the "Regenerate" remote call that is part of Bob's Ores has no apparent effect (other than pausing the game for a few seconds while it attempts/pretends to do things).
Re: [MOD 12.11+] Train Outposts
Yes, that is still unsupported. I plan to have a regenerate method, but there isn't one yet.sparr wrote:Mod compatibility bug report:
Starting a new game with Train Outposts and Bob's Ores results in the expected behavior.
Starting a new game with Train Outposts then later loading that save after enabling Bob's Ores results in none of the new ores appearing. Even using the "Regenerate" remote call that is part of Bob's Ores has no apparent effect (other than pausing the game for a few seconds while it attempts/pretends to do things).