Surviving Mars

Surviving Mars

Shuttle Reservation System A.I.
 This topic has been pinned, so it's probably important
SkiRich  [developer] 1 Aug, 2018 @ 9:33pm
Bug Reports
Put bug reports here.
< >
Showing 1-15 of 44 comments
SkiRich  [developer] 29 Dec, 2018 @ 10:14pm 
Moved from comments ...

Black Jesus 1 hour ago
Kuiper patch makes the mod act weird. In the previous patch shuttle hubs deliver goods even with reservation resource AI turned off. Now when I load the save the hubs will not distribute resources or pick up colonists unless I turn on reservation resource AI... It's kinda weird.
SkiRich  [developer] 30 Dec, 2018 @ 12:28am 
Originally posted by SkiRich:
Moved from comments ...

Black Jesus 1 hour ago
Kuiper patch makes the mod act weird. In the previous patch shuttle hubs deliver goods even with reservation resource AI turned off. Now when I load the save the hubs will not distribute resources or pick up colonists unless I turn on reservation resource AI... It's kinda weird.
Fixed in latest update.
IONIXX 21 Feb, 2019 @ 11:33am 
I'm having a bit of an issue with the advanced Resource Delivery A.I.
When i turn it on, shuttles will freeze in mid-air above depots, and won't move again until i turn it off. It doesn't seem to make a difference if they are reserved for resources or not.
SkiRich  [developer] 21 Feb, 2019 @ 2:27pm 
Originally posted by IONIXX:
I'm having a bit of an issue with the advanced Resource Delivery A.I.
When i turn it on, shuttles will freeze in mid-air above depots, and won't move again until i turn it off. It doesn't seem to make a difference if they are reserved for resources or not.

I have seen this before and it usually means there is another mod stepping on some code.
Post your log file from a recent game where this is happening and put the link to it here and I'll take a peek.
IONIXX 22 Feb, 2019 @ 3:42pm 
Thank you. This is a log from a few minutes of play, i have more thorough ones if you need them.

https://drive.google.com/open?id=1V2JEbICiPXnyq3nz4JkdKVkc3c4Mi_3Y
SkiRich  [developer] 22 Feb, 2019 @ 6:58pm 
Originally posted by IONIXX:
Thank you. This is a log from a few minutes of play, i have more thorough ones if you need them.

https://drive.google.com/open?id=1V2JEbICiPXnyq3nz4JkdKVkc3c4Mi_3Y

I see the errors generated by the AI and I know why they are made, but I dont know where they are coming from without the save game.
The error is generated when a depot does not have the necessary required code for a command task queue.
I cant replicate the effect on my end. Things are working fine and I run all my mods and a few ChoGGi Mods.

Please try the following ...

Lets go through a few things ...

First tell me which depots you have built in game. Universals and Mechanized?
Tell me which type of depots the shuttles hover over without doing anything. I see Silva-Large Universalv2 is loaded, which by default is disqualified from pickup. If those are the only ones you have then that is the issue.

I see you have:
[Mass Waste Rock Dump(id hYQEmzQ, version 307 from PackedMods/1335658889/
This mod is not on the workshop, so I cant tell you if that is causing any issues.

I see some other errors that are not related to mods, but are somewhat disturbing in that they are base code issues. Not related but something else is causing them.

Try the following two scenarios to see where the issue may lie, this is going to take a bit of time or effort depending on how many depots you have and will make the game freak a bit, but you are going to save it as a different file so you dont corrupt your original save:

Scenario 1:
1. Turn off the AI and let all the shuttles work normally for a moment.
2. Delete/destroy all non-vanilla depots from any mods.
3. Delete/destroy all the Mass Waste Rock Dumps
3. Save the game.
4. Exit to the main menu and turn off Silvas large universal depot v2 mod.
5. Turn off mass waste rock mod.
6. Exit the game complete.
7. Go back in and load the save.
8. Build a multi resource universal vanilla depot and then build several of the one resource universal depots, one for each resource type.
9. Turn on the AI and see if things work.
10.. Build one of the mechanized vanilla depots and delete the corresponding one resource universal depot. See if working.
11. Build a vanilla waste dump and see if its working.

If I had to take a guess its going to be one of these two mods.

Scenario 2:
1. Start a new game with all of silva's mods and his library mod turned off.
2. Turn off all Non-SkiRich mods.
3. Build a colony quickly and setup a a shuttle hub with AI on and a few one resource type universal depots and test.

This should help you figure out where the issue is and then you can start turning on all the other mods one by one until something breaks.

That Mass Waste Rock mod bothers me a bit since its not on the workshop but you have it loaded.

Let me know if this works out. Feel free to ping me via chat. I sent you a friend request.
If this error is due to Silva's mod, I would like to know, since he and I chat on the modders forums and can work out the issues.
Last edited by SkiRich; 22 Feb, 2019 @ 7:01pm
BlackDragon 6 Jul, 2019 @ 9:44pm 
I've noticed an issue with the shuttles... though I honestly can't say if it's caused by your mod, or OG crappy programming. (Haven't played long enough without to notice.) Basically, shuttles keep transporting 1 unit of materials, despite being able to carry as much as 6.

Example: Construction-project is ongoing at Base A, requires loads of Concrete. All local sources of Concrete have been exhausted. There is a Concrete Depot within reach of the Drone Hub, however, and at Base B the Excavator is working tirelessly to stock a Concrete Storage. Said storage currently contains over 200 Concrete. A Shuttle arrives at the Concrete Storage, picks up a SINGLE unit of Concrete, and flies it to the Concrete Depot at Base A, where the construction-project thus proceeds at an utterly GLACIAL pace...

I've experimented with setting the Depot at Base A to 'stock' a certain amount of Concrete, hoping that would motivate the Shuttles, but no dice - they're still flying back and forth with mostly-empty holds. There are also several overflowing Concrete Depots near still-functional diggers at other bases - but I frequently have to turn those off because they can't offload their product, since the shuttles only empty their depots very, very slowly.
Last edited by BlackDragon; 6 Jul, 2019 @ 9:47pm
SkiRich  [developer] 6 Jul, 2019 @ 10:08pm 
That woulnd tbe due to this mod. I dont alter capacity in any way. I just alter the logic of where to get things.
You do need to have the tech for 'High Powered Jets' researched to get the 6 capacity cargo otherwise the default is just 3. Why they only take one is not normal..
Do you have any other shuttle or drone altering mods? They use the same code. There are a few older 'capacity' mods in the workshop I would stay away from.
BlackDragon 8 Jul, 2019 @ 3:47pm 
Originally posted by SkiRich:
That woulnd tbe due to this mod. I dont alter capacity in any way. I just alter the logic of where to get things.
You do need to have the tech for 'High Powered Jets' researched to get the 6 capacity cargo otherwise the default is just 3. Why they only take one is not normal..
Do you have any other shuttle or drone altering mods? They use the same code. There are a few older 'capacity' mods in the workshop I would stay away from.

I've got High Powered Jets, yes - in fact, I've finished all available research. The only mods I'm using are yours - this one, and the 'Smarter Colonists' one.

My best guess as to what's going on would be that somehow, despite having hundreds of Concrete stored, it's all considered 'reserved' for ongoing construction-projects, with these reservations somehow working cross-purpose and blocking one another so that the Shuttles swoop in to pick up every new crate that gets added - thus winding up carrying only one.

Well, if it isn't caused by your mod, you could consider it a feature request to fix it regardless! It's a royal pain in the ass, literally causing me to need SIX TIMES as many Shuttles to get things done than SHOULD be necessary... I can send you my save, if you like, so you can take a look yourself.
SkiRich  [developer] 8 Jul, 2019 @ 3:51pm 
Are they picking up from a standard or a mechanized depot?
BlackDragon 8 Jul, 2019 @ 7:08pm 
Originally posted by SkiRich:
Are they picking up from a standard or a mechanized depot?

Mechanized. Actually, I ran some experiments - turning your AI off in one or more shuttle-depots. Turning it off helped - but only because this enabled the shuttles to start picking up materials from several currently-overflowing 'regular' depots, which your AI was directing them away from in favor of the mechanized depot. These pickups, invariably, took a full load of 6 materials. With or without your AI, they were still collecting one crate at a time from the mechanized depot...

So in conclusion, while your AI mods don't CAUSE this problem, they do make it worse.
Last edited by BlackDragon; 8 Jul, 2019 @ 7:08pm
SkiRich  [developer] 8 Jul, 2019 @ 9:25pm 
Originally posted by BlackDragon:
Originally posted by SkiRich:
Are they picking up from a standard or a mechanized depot?

Mechanized. Actually, I ran some experiments - turning your AI off in one or more shuttle-depots. Turning it off helped - but only because this enabled the shuttles to start picking up materials from several currently-overflowing 'regular' depots, which your AI was directing them away from in favor of the mechanized depot. These pickups, invariably, took a full load of 6 materials. With or without your AI, they were still collecting one crate at a time from the mechanized depot...

So in conclusion, while your AI mods don't CAUSE this problem, they do make it worse.

Well, sounds like you have something else going on with the mech depots to find.
Out of curiosity, watch one of the mech depos and actually count how many items are on the small platform when a shuttle comes by to pick up. Stay focused on the small offloading platform and see how many other shutles or drones come by to fetch or deliver.
If you have three or more crates on the platform and the shuttle comes by and only takes one, its probably a drone issue. If the platform only has one then thats something else.
BlackDragon 8 Jul, 2019 @ 11:22pm 
Originally posted by SkiRich:
Well, sounds like you have something else going on with the mech depots to find.
Out of curiosity, watch one of the mech depos and actually count how many items are on the small platform when a shuttle comes by to pick up. Stay focused on the small offloading platform and see how many other shutles or drones come by to fetch or deliver.
If you have three or more crates on the platform and the shuttle comes by and only takes one, its probably a drone issue. If the platform only has one then thats something else.

I just did - dropped into the game and watched my main food-depot. (I've had a lot of trouble there too - any dome that doesn't produce a high percentage of its food locally is frequently plagued by empty groceries due to the shuttles delivering food 1 crate at a time.) There were 10 crates on the small platform (and something like 3000 in the main storage) - while I watched, a shuttle picked up one and flew off. This crate was then replaced by a hardworking drone, and a moment later a second shuttle landed and took off with TWO crates - real go-getter, that one! I then watched a full convoy of 6 shuttles, each carrying 1-2 crates of food (mostly 1) fly their cargo to one of my outlying colonies to offload it on an (empty) Depot set to gather 30. So it certainly wasn't because there wasn't DEMAND for more than 1 food at the target location.

In general, the problematic depots tend to be heavily-trafficked - drones constantly offloading materials, and a steady flow of shuttles picking them up at the same time. Hence why my best guess would be that it's a problem with multiple AI processes colliding or running cross-purpose, much like the issue with shuttles dropping things off only to immediately pick them up again that this mod was designed to fix.

But you say it's probably a drone-issue? Not sure I see your reasoning - but I HAVE been complaining about the drones acting stupid pretty much since I started playing, so I'm quite willing to accept it... :P
Last edited by BlackDragon; 8 Jul, 2019 @ 11:26pm
SkiRich  [developer] 8 Jul, 2019 @ 11:32pm 
What you are experiencing is distribution overload. Something I too have recently had to diagnose in one game I had.
The regular depots have 6 entry points for either flight pickup/drop or drone pickup/drop.
Mech's only have 3.
To solve this for any mech depot you have issues with, put two together (no desire set) and let the drones distribute at will. Once you have two or more mechs with enough stuff in them the loads of pickup get distributed more efficiently.

For instance I have a test colony of 4000 colonists and 10 shuttle hubs. 15 domes spread around the map.
All the food is centrally grown in one dome.
To feed the colony without distribution issues I needed 6 mech depots next to each other. None are ever really full, but I have 12 distribution points. So if one mech is busy offloading something then another can be chosen to drop or pitckup.

I assume they only have 3 distribution points because the storage on the back half of the distribution pad kills 3 points.

Try that and let me know the results.
BlackDragon 9 Jul, 2019 @ 1:24am 
I see! That does seem consistent with my observations. I put down a couple more mech depots - though I couldn't exactly do it RIGHT next to the originals, what with that particular area being rather densely built-up already - and it's definitely helping. I'm still seeing shuttles fly around with 1 crate sometimes, but I'm seeing more carrying five or even six!

So in essence, it's not really an AI-issue per se, is it? Rather just... bad design. The whole point of Mechanized Depots is that you can store a lot of materials in not a lot of space, but that point disappears - or is at least badly damaged - if you have to put two or three of them together in order to allow for decent distribution. In many cases, you'd actually be better off with a tight cluster of regular depots... though, of course, that wouldn't work well with your AI architecture.

Maybe someone could make a mod that adds more distribution-points for mechanized depots... it would actually make a lot of sense if the 'front' exclusively serviced drones while shuttles could simply collect or deposit crates in the 'back'.
< >
Showing 1-15 of 44 comments
Per page: 1530 50