Surviving Mars

Surviving Mars

Automatic Drones Reassignment
38 条留言
KampfTomate007 2023 年 2 月 5 日 上午 10:20 
I did try it out a couple hours ago and it seemed to work fine, i will test it for a week or so and see if any problem pops up, but i replaced drone load balancing with this mod on an existing save so even if something went wrong it might be fixed in a new game.
KampfTomate007 2023 年 2 月 5 日 上午 2:29 
WOO! Thank you so much, you have no idea how happy this makes me. :D
Will try it out soon and see if everything works as intended.
Солдат НАТО  [作者] 2023 年 2 月 1 日 上午 7:59 
Mod has been updated to the game's latest version!
KampfTomate007 2023 年 1 月 17 日 上午 5:18 
Understandable, am looking forward to when you find the time to update it.
Солдат НАТО  [作者] 2023 年 1 月 16 日 上午 9:51 
ATM I'm really out of free time to update this mod, but hopefully will get back to it sooner or later
KampfTomate007 2023 年 1 月 16 日 上午 5:47 
Does that mean that this mod is officially incompatible with the current version of the game?
I'd really hate to leave this out of my mod list because i considered it an essential mod.
ChoGGi 2021 年 7 月 13 日 下午 8:06 
It does spam the log a lot:
[LUA ERROR] PackedMods/1599196567/Code/ADRScript.lua:107: attempt to perform arithmetic on a nil value (local '_check')

Looking at the code I think that means the update drone assignment function fails to do anything?
God? 2020 年 7 月 24 日 上午 7:01 
Is this outdated?
optimusgd 2020 年 3 月 6 日 上午 4:31 
so finally I figured out what the difference with "Drone Load Balancing" is. This mod can automagically pack free unused drones to prefabs and unpack them where and when they needed. So its like Drone Load Balancing+. Its definitely better behavior.
Don Julio 2019 年 10 月 20 日 上午 4:43 
@optimusgd: I'd like to know this, too. Don't know which one of those mods to get.
optimusgd 2019 年 6 月 9 日 上午 11:25 
Is this mod are the same as "Drone Load Balancing", just with Russian description?
GameOverRIP 2019 年 6 月 1 日 下午 1:58 
All it seems to do is take drones out and leaves them as assignable, not actually reassigning them.
Tuvka 2019 年 5 月 25 日 下午 9:43 
Поддерживаю вопрос, работает ли мод с последними обновлениями? Спасибо.
kaatrav 2019 年 5 月 20 日 上午 9:48 
Привет! Работает ли мод с последним патчем (доп. Зеленая планета)?
ChoGGi 2019 年 3 月 14 日 上午 8:11 
which honestly is the entire reason why i picked it up regardless of missing capacity mods
Yeah it does do that.
KampfTomate007 2019 年 3 月 14 日 上午 7:53 
Nope still happening
BUT!
Now im also having a NEW problem where my metal extractors are showing a bit less than -6000 stored waste rock... wow this is getting messy
KampfTomate007 2019 年 3 月 14 日 上午 7:49 
But in the mods description it states that if you have the drone carry breakthrough they will only pick up items if they are 2 entire units but your mod makes them able to also carry just one so they react faster/do things instead of nothing/take resources of extractors that are turned of and not let 1.9 res units laying there until its on again)

which honestly is the entire reason why i picked it up regardless of missing capacity mods

if i misunderstood something then obviously my bad

am currently testing without drone carry amount fix and see whats happening
ChoGGi 2019 年 3 月 14 日 上午 6:05 
Could try carry amount, I only made it for if you're using a cheat to increase the amount they carry.
KampfTomate007 2019 年 3 月 14 日 上午 4:42 
Hm the only mods i have installed that i think are related to drones are
fix: drones crry amount
disable drone maintenance
and then change drone type and
change drone skin

disable drone maintenance got updated november last year but the issues not only appeared after that they also got more or less solved after that so im out of ideas
ChoGGi 2019 年 3 月 13 日 下午 2:22 
Then I doubt it's this mod, since I don't think there's anything in the code that would stick around in a saved game.
KampfTomate007 2019 年 3 月 13 日 上午 7:10 
Ok even more strange...

i uninstalled adr and it seemed to be working fine but then it happened again with the exception of a few drones that are transporting metal and waste rock from extractors to dedicated depots

so its kind of better but not entirely
ChoGGi 2019 年 3 月 13 日 上午 5:51 
Your issue is that drone stutter mentioned below? Have you tried disabling this mod, if it doesn't happen then you know the issue is from this mod.
KampfTomate007 2019 年 3 月 13 日 上午 5:30 
Choggi shall i upload another log via pastebin so you or anyone willing to can take a look?
KampfTomate007 2019 年 3 月 13 日 上午 5:29 
Hmm strange

did sm got updated recently by any chance?
because i have the feeling that the last time i had this problem it worked fine but when it didnt i noticed that there was a update to sm and thought there might be a connection

so if there was a update within the last 3-5 days then it might be the reason for the mass drone afk problem

but i honestly hope that its not related to it because last time i could only "solve" it by starting a new game and i rather not do it again (would be my second game over 2500 sols going to nirvana)
ChoGGi 2019 年 3 月 13 日 上午 5:17 
So anything i can do on my side to avoid the gamebreaker?
Neither of them are issues that'll affect the mod, it's just log spam.

Though since it is log spam happening what seems to be every in-game minute, so it'll fill up your log file and make it hard to see actual errors.
KampfTomate007 2019 年 3 月 13 日 上午 4:52 
BTW now while im at it i totally forgot to thank you for your awesome mod! lol

Usedd it for a while now and when it works (which it usuall does very well) it is fantastic!

i talked with choggi about a few mods which settings in ModConfigReborn arent saved (or rather inconsisstently saved) and get reset

adr is one of them which isnt that bad tbh cuz it just sets the min amount of drones to 3 instead of 1 and the check time to every 1h (ingame sol cylce) instead of every 2 which again is more a minor thing to correct but if there is anything that can be done to solve this problem id be glad to help whereever i can

once again thank you mate!
much love
KampfTomate007 2019 年 3 月 13 日 上午 4:43 
So anything i can do on my side to avoid the gamebreaker?

i dont want to pause playing sm until it works again (again ^^)
ChoGGi 2019 年 3 月 12 日 下午 6:48 
line 124 is
_Hub:UpdateUI()
but dronehubs don't have an :UpdateUI() function, so it's erroring out. luckily it's at the end of the function so nothing else in the mod is interfered with.


"[LUA ERROR] Attempt to create a new global _ADRGreetMsg" etc...
Those aren't actual errors, it's just the game telling you it's creating a new key in _G
just above function OnMsg.NewMapLoaded()
you can add:
_ADRGreetMsg = nil
_ADRGreetHeader = nil
_ADRGreet = false
and that'll remove the "errors"
KampfTomate007 2019 年 3 月 12 日 上午 11:04 
Well it was working again (more or less) after i started a new game guessing my savefile borked but now im having the exact same issue described below again

besides the 3 common lua errors (ADRGreet/-Msg/-Header) there are tons of these:

[LUA ERROR] PackedMods/1599196567/Code/ADRScript.lua:124: attempt to call a nil value (method 'UpdateUI')
[C](-1): global procall
(17): global StaticMsg
(22): global Msg
Mars/Lua/City.lua(1375): <>
--- end of stack

so considering my log is filled with literally thousands of these id suggest taking a look into it just to be sure
if im overlooking something obvious im sorry otherwise i do appreciate any help
Солдат НАТО  [作者] 2019 年 2 月 6 日 下午 2:43 
The mod itself works fine so I don't see any problem here
XxUnkn0wnxX 2019 年 2 月 6 日 上午 4:06 
@Random Unit, i'm getting some errors with your mod in the log: https://gist.github.com/XxUnkn0wnxX/d40ae76d289dd53b75877357cd0b98f7

"[LUA ERROR] Attempt to create a new global _ADRGreetMsg" etc...
KampfTomate007 2019 年 1 月 22 日 上午 7:27 
I have a problem where after i load my current game save drones work as intended but after a few moments there occurs a little "stutter" which can last from .5-2 sec (tested 5-6 times) and after that all drones complete their task and return to their hubs (as usual) but after they arrived they stop doing anything for pretty much eternity (just waited 4 days since im kinda busy(not rly) and therefore have to save the few eternitys i have lol)

as if the task system crashes during that stutter while the "rest" of the game doessnt for whatever reason

logs show some intense hebrew but a single line sticks out:

[LUA ERROR] Attempt to create a new global _ADRGreet
(622): metamethod __newindex
(146): <>
[C](-1): global procall
(17): global StaticMsg
(22): global Msg
(670): global UnpersistGame
Mars/Lua/Savegame.lua(196): local load_callback
(273): upvalue fnCall
(85): <>
--- end of stack
Солдат НАТО  [作者] 2018 年 12 月 25 日 下午 12:20 
Меня эта возня с дронами выбесила на удивление быстро. Первая версия мода была написана буквально через пару дней после того как игра была куплена.
Sulendil 2018 年 12 月 25 日 上午 8:13 
Спасибо, очень толковый мод, особенно когда колония разрастается и на микро уже не хвататет рук)
Солдат НАТО  [作者] 2018 年 12 月 25 日 上午 6:54 
k
Emmote 2018 年 12 月 25 日 上午 6:52 
DLB does turn them into prefabs to move them around though.
"Reassigns are handled via converting drones to prefabs and reconstructing them..."
Солдат НАТО  [作者] 2018 年 12 月 25 日 上午 6:49 
DLB moves drones by bunches between hubs. My mod disassembles idle drones to prefabs one at a time and assembles prefabs back to drones. These mods are absolutely different though they serve the same purpose
Emmote 2018 年 12 月 25 日 上午 5:47 
May I ask why I would use this mod over the Drone Load Balancing mod? It seems to do exactly what this does and works with the latest patch too.
Are there any functional or efficiency improvements?
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1345052602