Open TommyC81 opened 1 week ago
Do you have any other mods enabled? Or debug settings enabled? I am unable to recreate this issue on my end even after several hours of testing, and none of my playtesters can recreate this issue either.
It specifically appears as if you're getting red lines from rendering.draw_line, but at no point in my code is draw_line ever used, and at no point in my mod's code do I even reference the color red. Do you have cybersyn installed? Or a mod that influences inserters? Are all your debug settings turned off?
Also could you upload a save or post a modlist, if you don't mind? And if you're feeling up to it, can you test with the latest version of my mod, on a brand new save file, with no other mods loaded and all f4/f5 debug options turned off, just to rule out anything external?
Indeed, I do have several mods, list below. I will try to check the other suggestions as time permits.
BottleneckLite 1.3.2 BuggisNuclearBots 2.0.1 BuilderBotStart 0.4.3 Constructron-Continued 2.0.12 DiscoScience 2.0.1 DoubleSpeedBelts 1.2.1 EditorExtensions 2.3.1 Enhanced_Roboports 1.2.2 Flare_Stack_SA 2.3.2 Fluid-level-indicator 0.9.7 Gun_Turret_Alerts 2.0.7 Kux-CoreLib 3.14.2 Lighted-Poles-Plus 2.0.3 Milestones 1.4.2 Nearby-Ammo-Count 2.0.0 Noxys_QuickerStumpFade 0.5.0 Noxys_Trees 0.5.2 RateCalculator 3.3.2 Repair_Turret 2.0.2 TaskList 0.5.0 UtilizationMonitorBlargh 0.9.1 VehicleSnap 2.0.0 VoidChestInstant 2.7.0 Warehousing 1.0.1 ammo-loader 2.0.4 base 2.0.20 belt-visualizer 2.0.2 blueprint-sandboxes 2.1.8 bullet-trails 0.7.1 chest-auto-sort 1.3.0 combat-mechanics-overhaul 0.7.2 cybersyn 2.0.11 cybersyn-combinator 2.2.3 decider-combinator-output-constant-editor 1.1.1 elevated-rails 2.0.20 even-distribution 2.0.2 factorissimo-2-notnotmelon 3.5.18 factoryplanner 2.0.12 flib 0.15.0 fluid-connection-indicators 0.2.1 helmod 2.0.11 holographic_signs 2.0.5 htl 2.0.0 informatron 0.4.0 inserter-throughput-lib 2.0.0 inventory-repair 20.0.2 lane-balancers 1.1.2 large-storage-tank 1.2.1 light-overhaul 0.2.2 loaders-modernized 0.7.8 mferrari_lib 0.1.6 mining-patch-planner 1.6.27 nixie-tubes 2.0.1 no-pipe-touching 1.1.9 pump 2.1.2 qol_research 3.4.0 quality 2.0.20 quick-adjustable-inserters 2.0.3 rocks-heal-over-time-just-like-trees 2.0.3 show-max-underground-distance 0.1.0 simply-power-armor-mk3 1.1.0 some-autoresearch 2.0.6 sonaxaton-infinite-resources 0.4.9 space-age 2.0.20 squeak-through-2 0.1.2 textplates 0.7.1 train-loader 0.6.8
Thanks for posting your modlist! For additional context, if my mod detects cybersyn is loaded, it will place an invisible inserter exactly where you're seeing the red line. It does this because cybersyn automatically scans for nearby inserters near tracks to determine train allow-lists so this just improves compatibility, the invisible inserter is disabled and can't even pick up items. I have no idea why your invisible inserter is creating a red line though, and I have no idea how it's persisting after you pick up the rail loaders.
To add; it appears that I'm unable to re-create the bulk rail loader once removed - only a ghost appears, likely blocked by the invisible inserter.
I also noticed that the green wire connection was also not working correctly for one of the affected loaders - the loader states 'Not connected'. Further, I had two inserters loading the bulk rail loader, and they were working at full speed inserting items into it, but the loader remained empty - maybe this is a hint of what might be going wrong?
From my observations, it certainly seems related to the invisible inserter causing problems, possibly together with Cybersyn (or some other mod).
Can you find an inserter collision box near the red line that you can mine, to see if it will let you replace the loader at that position? The inserter is invisible but its collision box isn't.
As for that strange issue with loaders not getting loaded by inserters, if you try mining the loader, are the items on the ground? or are the loaders loading into wagons so they empty themselves?
No collision box, nothing that can be interacted with - just a persistent red bar. Deconstruction planner also can't find anything.
I only have 'show-fps' and 'show-blueprint-grid' options enabled. The default options. And am not using debug mode. If there is a specific debug option you want me to check, I can do that. I'm not familiar with all the options.
The inserters appeared to load things into thin air - it didn't go anywhere, just disappeared. I can't create the same issue again after testing, so I'm not sure exactly what was going on. I will provide more details if I see it again.
I guess, for now, the red bar is a consistent issue - it starts from when clicking on a loader after placing them, then the red bar is a permanent fixture in that location of the world, forever (it seems).
I can't recreate this issue even when using your exact debug settings, mods, and game version. I wonder if it's some weird mod setting I'm just not thinking of? did you try testing in a new save with mods like cybersyn disabled?
I started a completely fresh game (without changing any mods, they are all up-to-date however) and am unable to recreate it for now. I could recreate it last time I tried, I'm clueless - maybe some other mod caused this that has since been fixed?
However, I do have a save-game where the issue exists, I have attached it along with my mod-settings, maybe this helps?
Save file: Test-Loader.zip
mod-list and mod-settings: place_contents_in_mods_folder.zip
As described here: https://mods.factorio.com/mod/train-loader/discussion/673f73c5595114785857faab
Copy of the text: Once the loaders have been placed - if you click on a loader to open the inventory screen, a red indicator appears (red bar) in sort of the middle of the loader that is permanently stuck in that location of the world. Removing/re-adding loaders does not fix it - in fact, nothing can get rid of the red bar.
In short; something happens when you click on a loader to open its inventory, causing a red bar to appear in the world.
Image - In this I've placed 5 loaders, clicked on the first 3 to open their inventory, and later removed the third loader. Note the visible red bar, including where the removed loader used to be. The fourth and fifth loader were never clicked, thus does not have a red bar.