[2.0.20] Events not emitted for some super force building cases

Things that has been reported already before.
somethingtohide
Burner Inserter
Burner Inserter
Posts: 12
Joined: Fri Apr 15, 2022 11:56 pm
Contact:

[2.0.20] Events not emitted for some super force building cases

Post by somethingtohide »

Summary
Super force building emits less events than expected, allowing some new entities to go unnoticed by mods.

What did you do?
  • Installed 0-event-trace and opened the event log
  • Place at least three belts in a straight line
  • Super force build a small, 1-tile entity in the middle, such that two undergrounds would be placed. The attached save is setup for you to perform this step and see the results.
What happened?
See the attached image for a more detailed log
  • One pre-build event
  • Three marked-for-deconstruction events
  • One on-built-entity event for the super-force-built ghost entity
What did you expect to happen instead?
  • Two more on-built-entity events for the new ghost entities for the undergrounds
Log

Code: Select all

   0.000 2024-11-19 08:26:50; Factorio 2.0.20 (build 80511, linux64, full, space-age)
   0.006 Operating system: Linux (Arch rolling)
   0.006 Program arguments: "/home/cameron/src/factorio/factorio-space-age/bin/x64/factorio" "--instrument-mod" "debugadapter" "--enable-unsafe-lua-debug-api" "--check-unused-prototype-data" 
   0.006 Config path: /home/cameron/src/factorio/factorio-space-age/config/config.ini
   0.006 Read data path: /home/cameron/src/factorio/factorio-space-age/data
   0.006 Write data path: /home/cameron/src/factorio/factorio-space-age [325136/1031018MB]
   0.006 Binaries path: /home/cameron/src/factorio/factorio-space-age/bin
   0.012 System info: [CPU: 12th Gen Intel(R) Core(TM) i9-12900KF, 24 cores, RAM: 128684 MB]
   0.012 Environment: DISPLAY=:0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=i3 XDG_SESSION_DESKTOP=i3 XDG_CURRENT_DESKTOP=i3 SDL_VIDEODRIVER=<unset> __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.021 Display options: [FullScreen: false] [VSync: true] [UIScale: manual-display-points (150.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.052 Video driver: x11
   0.052 Available displays: 1
   0.052  [0]: LG HDR 4K 27" - {[0,0], 3840x2160, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.461 Initialised OpenGL:[0] NVIDIA GeForce RTX 4090/PCIe/SSE2; driver: 3.3.0 NVIDIA 560.35.03
   0.461   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes, ARB_pipeline_statistics_query:yes, ARB_gl_spirv:yes, ARB_ES2_compatibility:yes
   0.461   [Version] 3.3
   0.461 Graphics settings preset: very-high
   0.461   Dedicated video memory size 24564 MB
   0.501 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.501                   [Max threads (load/render): 32/24] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
   0.588 [Audio] Driver:pulseaudio, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   0.842 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   0.842 Info ModManager.cpp:434: FeatureFlag freezing = true
   0.842 Info ModManager.cpp:434: FeatureFlag quality = true
   0.842 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   0.842 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   0.842 Info ModManager.cpp:434: FeatureFlag space-travel = true
   0.842 Info ModManager.cpp:434: FeatureFlag spoiling = true
   0.862 Loading mod settings debugadapter 2.0.0 (instrument-settings.lua)
   0.866 Loading mod settings debugadapter 2.0.0 (settings.lua)
   0.868 Loading mod core 0.0.0 (data.lua)
   0.884 Loading mod settings debugadapter 2.0.0 (instrument-data.lua)
   0.886 Loading mod 0-event-trace 0.3.2 (data.lua)
   0.889 Loading mod base 2.0.20 (data.lua)
   0.965 Loading mod elevated-rails 2.0.20 (data.lua)
   0.976 Loading mod quality 2.0.20 (data.lua)
   0.983 Loading mod space-age 2.0.20 (data.lua)
   1.180 Loading mod base 2.0.20 (data-updates.lua)
   1.188 Loading mod quality 2.0.20 (data-updates.lua)
   1.234 Loading mod space-age 2.0.20 (data-updates.lua)
   1.352 Checksum for core: 2863993211
   1.352 Checksum of 0-event-trace: 74844428
   1.352 Checksum of base: 3548713318
   1.352 Checksum of debugadapter: 1888325578
   1.352 Checksum of elevated-rails: 2929976872
   1.352 Checksum of quality: 3484764141
   1.352 Checksum of space-age: 1973748825
   1.568 Warning PrototypeLoader.cpp:199: Value ROOT.gui-style.default.hflow_0-event-trace.vertical_spacing was not used.
   1.568 Warning PrototypeLoader.cpp:199: Value ROOT.gui-style.default.vflow_0-event-trace.horizontal_spacing was not used.
   1.568 Warning PrototypeLoader.cpp:199: Value ROOT.gui-style.default.frame_0-event-trace.horizontal_flow_style.vertical_spacing was not used.
   1.568 Warning PrototypeLoader.cpp:199: Value ROOT.gui-style.default.frame_0-event-trace.vertical_flow_style.horizontal_spacing was not used.
   1.568 Warning PrototypeLoader.cpp:199: Value ROOT.gui-style.default.frame_0-event-trace.vertical_spacing was not used.
   1.568 Warning PrototypeLoader.cpp:199: Value ROOT.gui-style.default.frame_0-event-trace.horizontal_spacing was not used.
   1.568 Warning PrototypeLoader.cpp:199: Value ROOT.gui-style.default.tabbed_pane_frame_0-event-trace.vertical_spacing was not used.
   1.568 Warning PrototypeLoader.cpp:199: Value ROOT.gui-style.default.tabbed_pane_frame_0-event-trace.horizontal_spacing was not used.
   1.568 Warning PrototypeLoader.cpp:199: Value ROOT.gui-style.default.inside-wrap_0-event-trace.horizontal_flow_style.vertical_spacing was not used.
   1.568 Warning PrototypeLoader.cpp:199: Value ROOT.gui-style.default.inside-wrap_0-event-trace.vertical_flow_style.horizontal_spacing was not used.
   1.568 Warning PrototypeLoader.cpp:199: Value ROOT.gui-style.default.inside-wrap_0-event-trace.vertical_spacing was not used.
   1.568 Warning PrototypeLoader.cpp:199: Value ROOT.gui-style.default.inside-wrap_0-event-trace.horizontal_spacing was not used.
   1.573 Finished checking unused prototype data in 0.005974 seconds. Number of properties that were used: 635668
   1.618 Prototype list checksum: 2146120945
   1.655 Loading sounds...
   1.802 Info PlayerData.cpp:66: Local player-data.json available, timestamp 1732029927
   1.802 Info PlayerData.cpp:73: Cloud player-data.json unavailable
   1.966 Initial atlas bitmap size is 16384
   1.979 Created an atlas bitmap (size 16384x16384) [none]
   1.993 Created an atlas bitmap (size 16384x16384) [none]
   2.014 Created an atlas bitmap (size 16384x16384) [none]
   2.014 Created an atlas bitmap (size 16384x15420) [none]
   2.014 Created an atlas bitmap (size 16384x8392) [decal]
   2.018 Created an atlas bitmap (size 16384x16384) [low-object]
   2.018 Created an atlas bitmap (size 4096x1088) [low-object]
   2.018 Created an atlas bitmap (size 16384x13456) [corpse-decay]
   2.018 Created an atlas bitmap (size 16384x5596) [none]
   2.018 Created an atlas bitmap (size 1676x79) [not-compressed]
   2.019 Created an atlas bitmap (size 8192x6096) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.025 Created an atlas bitmap (size 16384x16320) [terrain, mipmap, linear-minification, linear-mip-level]
   2.025 Created an atlas bitmap (size 16384x4832) [terrain, mipmap, linear-minification, linear-mip-level]
   2.025 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   2.025 Created an atlas bitmap (size 4096x3088) [smoke, mipmap, linear-minification, linear-magnification]
   2.025 Created an atlas bitmap (size 8192x2576) [mipmap]
   2.025 Created an atlas bitmap (size 2048x1520) [mipmap]
   2.025 Created an atlas bitmap (size 4096x3152) [mipmap]
   2.025 Created an atlas bitmap (size 4096x3152) [mipmap]
   2.025 Created an atlas bitmap (size 4096x3152) [mipmap]
   2.025 Created an atlas bitmap (size 8192x3808) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.026 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   2.044 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
   2.049 Created an atlas bitmap (size 16384x16384) [shadow, linear-magnification, alpha-mask]
   2.049 Created an atlas bitmap (size 16384x8356) [shadow, linear-magnification, alpha-mask]
   2.049 Created an atlas bitmap (size 8192x2352) [shadow, mipmap, linear-magnification, alpha-mask]
   2.049 Created an atlas bitmap (size 2048x496) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   2.049 Loading 3D bitmaps.
   2.054 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.081 Parallel sprite loader initialized (threads: 23, bitmaps: 8228)
  11.054 Sprites loaded
  11.078 Generated mipmaps (4) for atlas [5] of size 16384x16384   
  11.082 Generated mipmaps (4) for atlas [6] of size 4096x1088   
  11.086 Generated mipmaps (3) for atlas [10] of size 8192x6096   
  11.114 Generated mipmaps (3) for atlas [11] of size 16384x16320   
  11.122 Generated mipmaps (3) for atlas [12] of size 16384x4832   
  11.126 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  11.128 Generated mipmaps (3) for atlas [14] of size 4096x3088   
  11.150 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  11.155 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  11.157 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  11.169 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  11.171 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  11.208 Generated mipmaps (5) for atlas [20] of size 8192x3808   
  11.215 Generated mipmaps (3) for atlas [25] of size 8192x2352   
  11.222 Custom mipmaps uploaded (3203)
  11.238 Video memory usage: 3557.22 MB (Atlases: 3426.92 MB, Textures: 130.30 MB)
  11.240 Custom inputs active: 2
  11.339 Factorio initialised
  11.340 Info HttpSharedState.cpp:55: Downloading https://updater.factorio.com/updater/get-available-versions?username=somethingtohide&token=<private>&apiVersion=2
  11.577 0 packages available to download (experimental updates disabled).
  18.322 Loading map /home/cameron/src/factorio/factorio-space-age/saves/bug-super-force-build-missing-events.zip: 2213466 bytes.
  18.361 Loading level.dat: 1365971 bytes.
  18.378 Info Scenario.cpp:178: Map version 2.0.20-3
  18.397 Blueprint storage "blueprint-storage-2.dat" was not found, trying to load previous version storage "blueprint-storage.dat"
  18.397 Loading script.dat: 13539 bytes.
  18.407 Checksum for script __level__/control.lua: 1148665341
  18.523 Checksum for script __0-event-trace__/control.lua: 1601549190
  18.530 Checksum for script __debugadapter__/control.lua: 3938038067
Attachments
Screenshot_2024-11-19_08-34-36.jpg
Screenshot_2024-11-19_08-34-36.jpg (123.21 KiB) Viewed 185 times
bug-super-force-build-missing-events.zip
(2.11 MiB) Downloaded 10 times
Post Reply

Return to “Duplicates”