Surviving Mars

Surviving Mars

Shuttle Reservation System A.I.
91 条留言
The Tempted Man 2023 年 10 月 31 日 下午 4:21 
thank you
SkiRich  [作者] 2023 年 10 月 31 日 下午 1:12 
Thats not my mod. Contact the Depot_OCD mod owner.
The Tempted Man 2023 年 10 月 4 日 下午 1:53 
I found out that it loops on

Attempt to use an undefined global 'label'
[string ""](-1): metamethod __index
CommonLua/Classes/Mod.lua(904): metamethod __index
PackedMods/Depot_OCD/Code/Script.lua(357): method OnContextUpdate
CommonLua/X/XContext.lua(90): global XContextUpdate
CommonLua/X/XContext.lua(95): <>
[C](-1): global procall
CommonLua/Core/cthreads.lua(17): global StaticMsg
CommonLua/Classes/MsgObj.lua(22): global Msg
CommonLua/Core/lib.lua(3899): global ObjModified
Mars/Lua/X/Infopanel.lua(347): upvalue func
CommonLua/Core/lib.lua(3404): <>
The Tempted Man 2023 年 10 月 4 日 下午 12:55 
Shuttles freeze in mid air upon picking an object with AI improvisation alogirthm on, not sure hwy, it fidgets for a while then unfreezes. Weird, maybe mod conflict?
CircleCube 2023 年 4 月 12 日 上午 9:12 
Einfach genial! Die Mod reduziert die sinnlosen Shuttleflüge DEUTLICH. Ich habe - Stand jetzt - 10 Shuttlehubs a 12 Shuttles und ohne die Mod sind alle 120 Shuttles ununterbrochen geflogen, um Waren von A nach B und direkt wieder zurück zu fliegen. Mit der Mod sehe ich maximal 10-20 Shuttles auf der Map und keines davon macht einen sinnlosen Flug.
Danke!
Random_of_Amber 2022 年 6 月 23 日 上午 4:39 
Thanks, SkiRich. After many hours of fooling around with things in game I'd come to the conclusion that 'not giving your drones and shuttles any other options for where to put stuff' was probably the answer. And by extension, that means centralising production alongside distribution source. It's just, you know, hard to plan for that from the start of the game.

I'd additionally discovered that having a small armada of single-purpose transport rovers (I name them 'Concrete 1', 'Food 1', 'Food 2', etc) whose only raison d'etre is to move a single resource from point of production to the mech depot distribution centre, helps considerably -- especially if you get them out and rolling BEFORE the production point is already full to bursting with the resource in question.

Anyway, thank you kindly for taking the time to answer. Glad to know it wasn't just something I was doing all wrong!
SkiRich  [作者] 2022 年 6 月 22 日 下午 1:48 
Its a common problem if you cannot centrally locate production. For things like electronics and machine parts thats easy. Put those workplaces in one or two domes and the mech depots right there. Ideally a source or metals is also nearby like a mohole. Thats three mech depots being filled up ready for distribution.
For rare metals, setup rovers on auto transport to move them from their outlying areas to a central depot next to the electrics. Now you have 4 mechs being filled. Build the concrete wonder near here, now you have 5 mechs.
Take a look at this screenshot. It is a typical layout for me. Very central feeding everything else, and getting fed from local production.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2824550719
Random_of_Amber 2022 年 6 月 22 日 上午 4:22 
[Part 2 of 2] What I want is for all producers (extractors, factories, etc) to 'send' their goods to the mech depots for centralised, 'as needed' distibution by shuttles. What I get is a highly decentralised nightmare of resources all over the map while my mech depots sit fallow.

I DO understand the problems of Desired Amounts on the standard and universal depots. But I do NOT understand how you correctly get resources both (a) where you need them, WITHOUT setting local Desired Amounts; and (b) into your mech depots WITHOUT setting Desired Amounts ON those mech depots, which I understand from the User Guide then makes the shuttles ignore them as a source for pickup and distribution.

TL;DR - I think I'm doing something 'wrong', but not at all sure what that might be. Help! :-P (Please and thank you.)
Random_of_Amber 2022 年 6 月 22 日 上午 4:20 
[Part 1 of 2] @SkiRich: Ok, so this - as all your mods - is amazing, and truly game-changing. However, I've still struggled with a few aspects of logistics management, so thought I'd pick your brain for advice/insights. (And before anyone asks, yes, I've RTFM. :-P)

So the main issue is, once I have mechanized depots -- which I understand from the user guide are the shuttles' primary point of resource pickup for distribution -- I seem to really struggle to get my colony and its drones actually to STOCK the mech depots in the first place.

By default, because (any) other necessary and dome-specific standard depots have a Desired Amount set, all drones and shuttles ONLY stock those depots, and very few (if any) resources ever make it into the mechanized depots in the first place.
SkiRich  [作者] 2022 年 6 月 2 日 上午 11:56 
Minor update to fix a syntax error in Mod Config options.
SkiRich  [作者] 2022 年 5 月 2 日 上午 8:00 
Yes
Thaumaturge 2022 年 5 月 1 日 上午 9:57 
Does it still work for the current version?
SkiRich  [作者] 2021 年 9 月 24 日 下午 8:08 
Nah, Blade is right. There is a major flaw in the shuttle task system if you build a dome and a building in the dome underground.
I just found it. I'm coding up a workaround I think should fix it and puting it in Career AI.
I sent the flaw writeup and code issues to the devs already.
This one will not be fixed in any hotfix anytime soon. Career AI will be the only fix for a while. Lots of code to touch and test for them.
Stay tuned for a
Soilaq 2021 年 9 月 24 日 上午 11:20 
I'm having a similar issue as Blade. I was thinking it might be a conflict with https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1606337956&searchtext=career ?
BLÀde 2021 年 9 月 24 日 上午 1:09 
yeah colonists don't use shuttles at all. you can use my save to test it try moving colonist from the main dome to the jumbo dome. they never used them for me they always used that very long passage i built instead.
SkiRich  [作者] 2021 年 9 月 24 日 上午 1:07 
I dont have a save to test that yet. But I will. I just started working on underground things. If thats a bug I can probably code that out. I'll try the one you gave me.
Whats suppose to happen? Move them to another dome I suppose underground.
BLÀde 2021 年 9 月 24 日 上午 1:03 
does it fix shuttles not picking up colonists underground?
SkiRich  [作者] 2021 年 9 月 23 日 下午 5:34 
Mod is back in business
SkiRich  [作者] 2021 年 9 月 9 日 上午 1:50 
Follow my progress updating mods here and subscribe to get notices ...
https://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/1418440299/3038229380337246070/
Tamren 2021 年 9 月 8 日 下午 11:47 
Will there be an update for the Below and Beyond patch? It seems that the devs broke all sorts of things.
SkiRich  [作者] 2021 年 7 月 24 日 下午 2:39 
Open a post in the bug reports. Add a picture of the infopanel open on a shuttle hub, and add a link to your log file, once you post it to a fireshare somewhere.
If I had to take a wild guess, you have a mod conflict since the mod does work.
The Government 2021 年 7 月 24 日 下午 2:32 
I really love this mod for this flawed vanilla mechanic, but while it works for me on the resource organization, I am unable to change the reservation since the start and I feel its been slowing the transport of colonists. Are you able to look into that?
Lexi 2021 年 7 月 9 日 下午 10:19 
Gotcha, thank you!
SkiRich  [作者] 2021 年 7 月 9 日 下午 9:11 
Thats a vanilla mechanic. Shuttles only deliver resources when something demands them and its far away. If the mine is just pumping out metals you will need to store them locally near the mine.
If say the stockpile starts to get low on the mech then shuttles will move them to the mech.
You can either overlap a drone hub with the mech and the mine if possible, or setup an automated transfer route using an RC transport to pickup locally and deliver to the mech.
Lastly, you could temporarily add a high desire on the mech which would create artifical demand, just remember to put it back to zero otherwise the new AI wont qualify it.
Lexi 2021 年 7 月 9 日 下午 8:58 
Great mod, but I have an issue I'd hope a user/creator could help fix. I have a mech-storage hub near my factories, and a rich metal mine far away. The shuttles don't ever seem to deliver rich metal to the mech depot by the factory. Do I need to use a universal for the factories or some such? Or change a setting somewhere? I tried using the guide, but it didn't help with this one issue.
BGR 2021 年 7 月 6 日 下午 8:34 
@Simaris Perhaps this is not the place to mention this but since you pointed it out here I will chime in. That back and forth you are seeing is the way the game balances out stock piles with equal demand settings so it is not without reason.
Solstice 2021 年 7 月 5 日 上午 3:08 
What is the purpose of the Mod then ? I read the comments and i read the User manual but im not any smarter. For me i went with vanilla again too, since my production completely stopped after a while using the new AI. Seems there are a lot of misunderstandings.

Only thing Vanilla does very bad atm is that is flies resources forth and back with no reason and i hoped this AI fixes it.
EimisM 2021 年 7 月 3 日 下午 3:40 
I might be understand the purpose of the mod actually :D

However, I found out how to use vanilla system in the meantime
SkiRich  [作者] 2021 年 6 月 24 日 下午 1:54 
I suggest re-reading the user manual I wrote for this mod.
It works as designed.
EimisM 2021 年 6 月 24 日 下午 1:51 
This mod doesn't seem to be working right. When I enable resource delivery AI it delivers few resources and then the shuttles completely stops. I find vanilla AI doing a better job at the moment. Also, if I switch reservation mode to colonists shuttle hub stops sending shuttles completely, even if I have colonists that needs to be carried to other dome.
Pawmee 2021 年 5 月 15 日 上午 7:36 
This doesnt work for me sadly because i cant click and cycle the reservation stuff
SkiRich  [作者] 2021 年 4 月 8 日 下午 11:41 
SRS now has a new feature. In addition to the supply side of the A.I. it works on the demand side of the A.I as well. Read about the new Delivery A.I features. Read about the changes in the Resource Delivery A.I. section of the Guide. Link in the description above.
mazrados 2021 年 2 月 4 日 下午 3:20 
Thank you. I must have missed it in manual.
SkiRich  [作者] 2021 年 2 月 4 日 下午 12:20 
No, most likely its the minimal resource amounts that havent been met. Check out the section in the manual about delivery, demands and desires. If you can grasp that concept it will go a long way to properly setup your depots and have the most efficient use for shuttles. If you want to start a thread in bug reports for Q+A feel free. Better than in the comments section.
mazrados 2021 年 2 月 4 日 下午 12:06 
Something is wrong. Probably I'm doing something wrong.

In new gameplay, I've built shutlle hub, later another one.
At first shuttles were flying for some time and went back to hub. Untill then they're all idle.
In the second hub they are idle all the time.

When I disable this feature, they work again but as soon when I enable that, they go back to hubs.

I'ts not that they don't have anything to do. I've double checked that. There are depots full of cargo (food for example) and plenty of depots that require cargo. It's both universal depots and for specific cargo.

Is it distance issue? I guess it's maybe because this mod makes shuttles only go long range and ignore everything that is close to them?
mazrados 2021 年 1 月 26 日 下午 8:13 
I hope so ;)

Read it through already.
SkiRich  [作者] 2021 年 1 月 26 日 下午 1:53 
Just make sure you read the user manual on the AI. Its quite different then the built in one.
mazrados 2021 年 1 月 26 日 上午 11:49 
Thanks a lot for this mod. I hope it works.

Default AI is so stupid. People are dying of hunger, inspite of that there is plenty of food in colony, because this stupid shuttles carry rocks or something like that. I also noticed issue described in the guide, that they carry things forward and back.
SkiRich  [作者] 2021 年 1 月 22 日 下午 3:27 
I’m assuming you are referring to a section in the user manual. What page?
Kleppo 2021 年 1 月 22 日 下午 1:15 
Im a bit confused. How does the idea of centralised mechdepots work? Are the shuttles supposed to bring stuff to them. Say that I have a dome producing parts. Next to it I have an regular depot for parts, set to 0. In the centralised area I have a mechdepot of parts set to 0. Are the shuttles going to bring parts to the mechdepot? Or do I have to set a desired limit for mechdepot for them to bring them? Doesnt that then mean that shuttles wont pick from mechdepot, only bring to them? Dont see the idea of that then, why not just have regular depots next to domes, whats the idea of mechdepots.
Mardoin69 2021 年 1 月 10 日 上午 10:37 
So, it was just getting disabled but, an easy workaround. Even though mods are installed from Steam instead of Paradox, they still get listed as installed in the Paradox mod's tab of game's main menu. Just click on top to show "Installed" mods and then all the ones installed from steam are there and you can re-enable the one's that are getting turned off by Paradox / Steam when loading into the game. Guess they just like messing with us. I actually had a lot of them that got turned off for whatever reason. All's good now. Have to note this in another comment's section for some others also.
SkiRich  [作者] 2021 年 1 月 9 日 下午 1:59 
Well you can try to unsub complete from both steam and pdox.
Then go fnid the Mods folder (those are local mod)
Its in the AppData\Roaming\Surviving Mars folder
Once its all clear, do a verify files on the game and resub on steam. Just wait for it to download.
Steam mods are n the steamapps folder in common, but are all coded.
Mardoin69 2021 年 1 月 9 日 下午 1:48 
I am using Steam workshop for all my mod installs due to past issues with Paradox's system. I'll have to double check everything though. Thanks for heads up.
SkiRich  [作者] 2021 年 1 月 9 日 下午 1:41 
Get the mod from Steam instead of Pdox. Not sure whats going on over at that repository. Probably the dumb ratings system they use. One downvote and a mod gets taken offline. Make sure to unsub from the pdox site and then sub the steam edition.
Mardoin69 2021 年 1 月 9 日 下午 1:35 
Getting message that this mod is disabled due to content restrictions. Not sure what that's about. Do I need to avoid logging into Paradox when loading up game maybe?
SkiRich  [作者] 2020 年 8 月 28 日 下午 10:56 
I cant help you if you dont provide details and a log. Post in the Bug Reports section above.
令人愉♂悦的能♂量 2020 年 8 月 28 日 下午 7:22 
i cant move colonist with this mod.
BlackDragon 2019 年 6 月 30 日 上午 11:45 
This thing's quite helpful! Along with your Colonist AI mod, as you recommended, the game's become far more playable. I just don't get why the supposed professionals didn't program a proper AI in the first place - contrary to what some seem to believe, it apparently does NOT require 'Deep Blue' level hardware. :P

Oh, and any plans to do further enhancement-mods, maybe fixing up the drones too?
SkiRich  [作者] 2019 年 6 月 14 日 下午 1:11 
I dont see anything wrong in those saves. The demand in the udepots wasnt there so the AI didnt trigger a request. If you set the desire on the udepots higher then the demand is there and they work. Also keep in mind the memch depots have a minimum stock they need to maintain when the AI is turned on otherwise the shuttles will not take from them. That is so you do not get the effect of deliver and takeback. The AI will also not consider any depot a source to take from if it has a desire turned higher than zero.
jojobe 2019 年 6 月 14 日 上午 8:44 
for me problem solved. my shuttles were under the condition idle. if that happens its a slider storage issue. they were refusing to leave the bays could not figure out why. there was no work for them to do due to the sliders on storages being set to zero.