Laser Fence


Use Laser Fence technology developed during the Tiberium Wars to fend off biters.

Content
a month ago
1.1 - 2.0
21.3K
Combat

b [Fixed] Fatal error message

2 years ago
(updated 2 years ago)

Good afternoon! When testing your mod through editor mode.

An error message appeared:

The Laser Fence mod (1.1.2) caused a fatal error.
Please report this bug to the mod author.

Error while running event laserfence::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack trace:
[C]: in function 'index'
__laserfence
/scripts/CnC_Walls.lua:285: in function 'CnC_SonicWall_OnTick'
laserfence/control.lua:70: in function <laserfence/control.lua:68>


It was not possible to identify a stable manifestation of the error.

Below is the data from the log file.

2 years ago

0.001 2022-04-27 10:42:07; Factorio 1.1.57 (build 59622, win64, steam)
0.001 Operating system: Windows 10 (build 19043)
0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--wait-to-close" "13528"
0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
0.001 Write data path: C:/Users/Design/AppData/Roaming/Factorio [136211/306287MB]
0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
0.015 System info: [CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz, 4 cores, RAM: 6559/16333 MB, page: 12087/36813 MB, virtual: 4327/134217727 MB, extended virtual: 0 MB]
0.016 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: ru]
0.021 Available displays: 1
0.021 [0]: \.\DISPLAY1 - NVIDIA GeForce GTX 650 Ti {0x05, [0,0], 1920x1080, 32bit, 60Hz}
0.066 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
0.254 Initialised Direct3D[0]: NVIDIA GeForce GTX 650 Ti; id: 10de-11c6; driver: nvldumdx.dll 30.0.14.7212
0.254 D3D Feature Level: 11.0, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
0.254 [Local Video Memory] Budget: 836MB, CurrentUsage: 3MB, Reservation: 0/443MB
0.254 [Non-Local Vid.Mem.] Budget: 7502MB, CurrentUsage: 0MB, Reservation: 0/3879MB
0.254 Tiled resources: Tier 1
0.254 Unified Memory Architecture: No
0.254 BGR 565 Supported: Yes
0.254 MaximumFrameLatency: 3, GPUThreadPriority: 0
0.254 Graphics settings preset: medium-with-low-vram
0.254 Dedicated video memory size 984 MB
0.307 Desktop composition is active.
0.307 Graphics options: [Graphics quality: high] [Video memory usage: high] [DXT: high-quality] [Color: 32bit]
0.307 [Max threads (load/render): 32/4] [Max texture size: 0] [Tex.Stream.: 1] [Rotation quality: normal] [Other: sTDCWT] [B:0,C:0,S:100]
0.476 DSound: Starting _dsound_update thread
0.477 [Audio] Backend:default; Depth:16, Channel:2, Frequency:44100; MixerQuality:linear
0.477 DSound: Enter _dsound_update; tid=11088
1.060 Loading mod settings laserfence 1.1.2 (settings.lua)
1.060 Loading mod settings minime 1.1.10 (settings.lua)
1.063 Loading mod core 0.0.0 (data.lua)
1.142 Loading mod base 1.1.57 (data.lua)
1.470 Loading mod laserfence 1.1.2 (data.lua)
1.578 Loading mod minime 1.1.10 (data.lua)
1.579 Script @minime/data.lua:1: Entered file @minime/data.lua
1.581 Script @minime/common.lua:1: Entered file @minime/common.lua
1.582 Script @minime/common.lua:822: End of common.lua!
1.695 Loading mod base 1.1.57 (data-updates.lua)
1.804 Loading mod laserfence 1.1.2 (data-updates.lua)
1.916 Loading mod minime 1.1.10 (data-updates.lua)
2.021 Loading mod minime 1.1.10 (data-final-fixes.lua)
2.130 Checksum for core: 1636702648
2.130 Checksum of base: 1844968960
2.130 Checksum of laserfence: 1571986461
2.130 Checksum of minime: 2690261600
2.353 Prototype list checksum: 1394488668
2.408 Loading sounds...
2.633 Info PlayerData.cpp:73: Local player-data.json unavailable
2.633 Info PlayerData.cpp:76: Cloud player-data.json available, timestamp 1651034526
3.069 Initial atlas bitmap size is 16384
3.112 Created atlas bitmap 16384x16364 [none]
3.115 Created atlas bitmap 16384x4576 [none]
3.116 Created atlas bitmap 8192x4208 [decal]
3.119 Created atlas bitmap 16384x5568 [low-object, linear-minification]
3.121 Created atlas bitmap 8192x4448 [mipmap, linear-minification, linear-magnification, linear-mip-level]
3.122 Created atlas bitmap 16384x6064 [terrain, mipmap, linear-minification, linear-mip-level]
3.123 Created atlas bitmap 4096x3216 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
3.124 Created atlas bitmap 4096x1856 [smoke, mipmap, linear-minification, linear-magnification]
3.124 Created atlas bitmap 4096x3088 [mipmap]
3.126 Created atlas bitmap 8192x2240 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
3.126 Created atlas bitmap 8192x1496 [alpha-mask]
3.131 Created atlas bitmap 16384x4660 [shadow, linear-magnification, alpha-mask]
3.132 Created atlas bitmap 4096x1328 [shadow, mipmap, linear-magnification, alpha-mask]
3.132 Created atlas bitmap 2048x240 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
3.204 Created virtual atlas pages 4096x4096x9
3.214 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
4.405 Parallel Sprite Loader initialized (threads: 3)
17.946 Warning! Sprite at {0,0; 256x256} from laserfence/graphics/256icon.png is defined with 4 mipmap levels, but level 1 is expected to be at {256,0; 128x128} which is out of bounds of the source image.
18.055 Sprites loaded
18.123 Generated mipmaps (4) for atlas [3] of size 16384x5568
18.135 Generated mipmaps (3) for atlas [4] of size 8192x4448
18.168 Generated mipmaps (3) for atlas [5] of size 16384x6064
18.179 Generated mipmaps (3) for atlas [6] of size 4096x3216
18.190 Generated mipmaps (3) for atlas [7] of size 4096x1856
18.230 Generated mipmaps (3) for atlas [8] of size 4096x3088
18.253 Generated mipmaps (5) for atlas [9] of size 8192x2240
18.265 Generated mipmaps (3) for atlas [12] of size 4096x1328
18.287 Custom mipmaps uploaded.
18.550 Generated mipmaps for virtual atlas of size 16384x12288
18.721 Factorio initialised
18.724 Steam Storage Quota: 4724/4768
29.062 Loading level.dat: 1188311 bytes.
29.062 Info Scenario.cpp:199: Map version 1.1.57-1
29.104 Checksum for script C:/Users/Design/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 3795083680
29.107 Checksum for script laserfence/control.lua: 1880634222
29.109 Script @minime/common.lua:1: Entered file @minime/common.lua
29.110 Script @minime/common.lua:822: End of common.lua!
29.117 Script @minime/scripts/remote_interface.lua:386: Adding remote interface "minime".
29.117 Script @minime/scripts/remote_interface.lua:389: Interface has these functions: {backup_player = true, bob_class_pick_character = true, bob_classes_update = true, dump = true, get_character_list = true, get_minime_event_id = true, get_minime_event_ids = true, main_inventory_resized = true, on_character_swapped = true, on_entity_died = true, player_changed_character = true, pre_player_changed_character = true, register_characters = true, unregister_characters = true}
29.117 Checksum for script minime/control.lua: 3173367961
29.118 Script @minime/scripts/remote_interface.lua:384: Remote interface already exists!
29.118 Script @minime/scripts/remote_interface.lua:389: Interface has these functions: {backup_player = true, bob_class_pick_character = true, bob_classes_update = true, dump = true, get_character_list = true, get_minime_event_id = true, get_minime_event_ids = true, main_inventory_resized = true, on_character_swapped = true, on_entity_died = true, player_changed_character = true, pre_player_changed_character = true, register_characters = true, unregister_characters = true}
92.911 Error MainLoop.cpp:1284: Exception at tick 3818: Мод Laser Fence (1.1.2) вызвал неустранимую ошибку.
Пожалуйста, сообщите об этой ошибке автору мода.

Error while running event laserfence::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__laserfence
/scripts/CnC_Walls.lua:285: in function 'CnC_SonicWall_OnTick'
laserfence/control.lua:70: in function <laserfence/control.lua:68>

2 years ago

Thanks for the report Keysivi.
This issue and others are fixed in version 1.1.3, which is now available.

2 years ago

Thank you very much!

New response