-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing switching station nodetimer after jump #89
Comments
Possibly another, but not verified, similar node timer issue after jump. Switching station were removed and placed again before I was able to verify issue. |
Do i get this right: only some nodetimers did not get I'm not sure how that can happen, the nodetimer-move logic is pretty atomic and straightforward, only thing that could be is that the node-id/name wasn't in the collected node-with-nodetimers-list but this isn't the case here... (engine-bug possibly?) jumpdrive/move/move_nodetimers.lua Lines 15 to 42 in 91769cd
|
Maybe there's something wrong with the node timers (or how they are being used?), the other day I had to restart a luacontroller on my tree farm because it had stopped, and I had the same thing happen to a different one a while ago... |
Yes, exactly. Verified with inspector that one of switching stations did not have nodetimer at all while all other 5 switching stations had nodetimers running. Also jumped thing was fleet ship with 3 engines.
Yeah sounds like it could be something else with nodetimers, only suspected jumpdrive because nodetimer happened to be missing right after jump. And then shortly after got that other report for network not working after jumped. Btw, was pandorabox still using so called lightweight interrupts for luacs? That is nodetimer while other option (default) is globalstep. |
Yes, and it's actually two settings: https://github.com/pandorabox-io/pandorabox.io/blob/master/minetest.conf#L109-L114 |
Recent (relevant) discussion on the mt discord: From Warr1024:
|
Happened again, right after jump two switching stations missing nodetimer. Both broken switching stations have few things in common:
There was also third network within engine area where 2 broken switching stations are but fully contained withing engine area and not crossing any borders, that one works correctly. This might have something to do with technic network reset during jump, still weird thing is that nodetimer is missing. |
|
I dig the cable under switching station after I jump scout to charging position. After placing cable again, charging starts. Need to do this every time. |
@SwissalpS I believe this might be different issue but might be caused by same thing which is network reset during jump. Would be interesting to see if in your case switching station does still have nodetimer running. Good thing is that you can consistently reproduce it 😄 |
a workaround for this may just be to use some kind of "sentinel" abm's that trigger the nodetimers again, but then we are at suqare 1 again and still have an abm in place... Another workaround would be (in this special case) just to kick off all Figuring out the root-cause for this is gonna be interesting 😖 |
@SwissalpS i'm having trouble reproducing this in singleplayer, did it look like this? |
@SwissalpS can confirm but I think keyword here is "charging position" which means that probably switching station is outside of jd and reason why I believe that issue is bit different: no switching station so nothing to reset. |
there is a switching station on jd and on network that feeds the charge. |
After jump again but this time it was also SCI missing nodetimer. Same switching stations as before too missing nodetimers. SCI was not there before. |
Seems like 1hit found a related issue:
|
not sure this is related: jd does not always send jump confirmation when triggered by digiline. |
Well it is definitely supposed to always send a message back... 🤔 Lines 91 to 109 in c543e62
|
Self-contained injectors (which also use nodetimers since mt-mods/technic@fa0c79e) seem to be affected as well, they sometimes cease to work after jumping until they are manually disabled and reenabled again via formspec. |
I tested this today a bit and it looks like the |
One of fleet ship switch node timers gone missing during jump and not moved as it should.
Quarries were stuck at "finished" state, this state tells that everything was most probably working correctly before jump and node timer disappeared during jump.
There was 6 isolated networks within ship, only one of those networks failed.
This could be problem in technic mod too but adding issue here as I suspect that something unusual happened during jump and caused node timer failure / skipped node timer restart.
edit. Added SCI and that also lost nodetimer after jump.
Other reported: LuaC lost interrupts, not-gate stuck and not responding.
Does not seem to depend on any mod/node specific behavior.
Instead problem is affecting everything that uses nodetimers.
For example these nodes have been losing timers, some are able to restart timers without direct player interaction and therefore problem is not detected as often with some nodes:
Some devices just have functionality to restart lost nodetimers without player interaction, autocrafters for example will do that when inventory contents change. Lua controllers can receive digiline or mesecons signals and depending on how code is written can also restart missing timer.
The text was updated successfully, but these errors were encountered: