randomflyingtaco / laserfence

Factorio mod that adds Laser Fences
Apache License 2.0
1 stars 1 forks source link

Crash #4

Open Fr-Dae opened 1 week ago

Fr-Dae commented 1 week ago

Facotrio 2.0.19 Mod 2.0.3

  57.757 Video memory usage: 3129.27 MB (Atlases: 2998.28 MB, Textures: 130.99 MB)
  57.762 Custom inputs active: 52
  57.959 Factorio initialised
  57.964 Info HttpSharedState.cpp:55: Downloading https://updater.factorio.com/updater/get-available-versions?username=Fr_Dae&token=<private>&apiVersion=2
  58.264 0 packages available to download (experimental updates enabled).
  63.798 Loading map /media/dae/Dae-Data/Games/Factorio/Factorio-SA/saves/test1.1.zip: 6725038 bytes.
  63.815 Loading level.dat: 21138406 bytes.
  63.824 Info Scenario.cpp:178: Map version 2.0.19-0
  64.842 Loading script.dat: 2024550 bytes.
  64.846 Checksum for script __level__/control.lua: 1487321736
  64.847 Checksum for script __Soundpack-alerts-and-sirens-updated-v1-1__/control.lua: 4255153865
  64.852 Checksum for script __YARM__/control.lua: 2298934296
  64.854 Checksum for script __belt-fix__/control.lua: 3496910592
  64.856 Checksum for script __cardinal__/control.lua: 3622264701
  64.857 Script @__even-distribution__/framework.lua:22: 0 [ED] Initializing framework... DEBUG = false
  64.857 Script @__even-distribution__/framework.lua:22: 0 [ED] Registering custom scripts...
  64.857 Script @__even-distribution__/framework.lua:22: 0 [ED] Script: metatables
  64.857 Script @__even-distribution__/framework.lua:22: 0 [ED] Script: util
  64.858 Script @__even-distribution__/framework.lua:22: 0 [ED] Script: helpers
  64.858 Script @__even-distribution__/framework.lua:22: 0 [ED] Script: setup
  64.859 Script @__even-distribution__/framework.lua:22: 0 [ED] Script: remote
  64.859 Script @__even-distribution__/framework.lua:22: 0 [ED] Script: visuals
  64.859 Script @__even-distribution__/framework.lua:22: 0 [ED] Script: gui-tools
  64.860 Script @__even-distribution__/framework.lua:22: 0 [ED] Script: drag
  64.860 Script @__even-distribution__/framework.lua:22: 0 [ED] Script: cleanup
  64.861 Script @__even-distribution__/framework.lua:22: 0 [ED] GUI-Script: settings-gui
  64.862 Script @__even-distribution__/framework.lua:22: 0 [ED] Registering default event handlers...
  64.863 Script @__even-distribution__/framework.lua:22: 0 [ED] Registering custom inputs...
  64.863 Script @__even-distribution__/framework.lua:22: 0 [ED] Input: inventory-cleanup   event: on_inventory_cleanup
  64.863 Script @__even-distribution__/framework.lua:22: 0 [ED] Input: fast-entity-transfer-hook   event: on_fast_entity_transfer_hook
  64.863 Script @__even-distribution__/framework.lua:22: 0 [ED] Input: fast-entity-split-hook   event: on_fast_entity_split_hook
  64.864 Script @__even-distribution__/framework.lua:22: 0 [ED] Successfully initialized
  64.864 Checksum for script __even-distribution__/control.lua: 140605339
  64.870 Checksum for script __Fill4Me__/control.lua: 4214525715
  64.874 Checksum for script __flow-config__/control.lua: 3428280540
  64.875 Checksum for script __informatron__/control.lua: 2950852081
  64.876 Checksum for script __more-minimap-autohide-017__/control.lua: 1781218547
  64.877 Checksum for script __mushroom-cloud__/control.lua: 3918019785
  64.880 Checksum for script __Noxys_Trees__/control.lua: 3317503557
  64.913 Checksum for script __PavementDriveAssistContinued__/control.lua: 1897328476
  64.915 Checksum for script __SchallRemainsPickup__/control.lua: 2205947286
  64.916 Checksum for script __side-inserters__/control.lua: 2424514525
  64.918 Checksum for script __textplates__/control.lua: 3995574987
  64.919 Checksum for script __TjSignBoards__/control.lua: 2216240210
  64.920 Checksum for script __Warehousing__/control.lua: 3603531263
  64.921 Checksum for script __wret-beacon-rebalance-mod__/control.lua: 301282939
  64.950 Checksum for script __factoryplanner__/control.lua: 2442281931
  64.952 Checksum for script __StatsGui__/control.lua: 2377664749
  64.956 Checksum for script __TaskList__/control.lua: 3463408746
  64.956 Checksum for script __alien-biomes__/control.lua: 3316854230
  64.958 Checksum for script __hide-space-age-spoilers__/control.lua: 2562020700
  64.959 Checksum for script __PicksQuickbarImportExport__/control.lua: 268384576
  64.960 Checksum for script __reverse-factory__/control.lua: 2840384186
  64.961 Checksum for script __space-platform-graveyard__/control.lua: 1875314426
  64.962 Checksum for script __Wr_Enhanced_Map_Colors__/control.lua: 4262879915
  64.964 Checksum for script __Dectorio__/control.lua: 1074049071
  64.970 Checksum for script __Factorio-Tiberium__/control.lua: 2227905882
  64.971 Checksum for script __AsphaltRoadsPatched__/control.lua: 2924695308
  64.975 Checksum for script __laserfence__/control.lua: 3182158114
  65.235 Script @__flow-config__/control.lua:251: flow-config::on_configuration_changed
  65.235 Script @__flow-config__/control.lua:217: Searching prototype list for flow config pipes
  65.235 Script @__flow-config__/control.lua:233: entity=pipe, basename=pipe, juncname=
  65.235 Script @__flow-config__/control.lua:233: entity=pipe-fc-es, basename=pipe, juncname=es
  65.235 Script @__flow-config__/control.lua:233: entity=pipe-fc-esw, basename=pipe, juncname=esw
  65.235 Script @__flow-config__/control.lua:233: entity=pipe-fc-ew, basename=pipe, juncname=ew
  65.235 Script @__flow-config__/control.lua:233: entity=pipe-fc-ne, basename=pipe, juncname=ne
  65.235 Script @__flow-config__/control.lua:233: entity=pipe-fc-nes, basename=pipe, juncname=nes
  65.235 Script @__flow-config__/control.lua:233: entity=pipe-fc-new, basename=pipe, juncname=new
  65.235 Script @__flow-config__/control.lua:233: entity=pipe-fc-ns, basename=pipe, juncname=ns
  65.235 Script @__flow-config__/control.lua:233: entity=pipe-fc-nsw, basename=pipe, juncname=nsw
  65.235 Script @__flow-config__/control.lua:233: entity=pipe-fc-nw, basename=pipe, juncname=nw
  65.235 Script @__flow-config__/control.lua:233: entity=pipe-fc-sw, basename=pipe, juncname=sw
2363.404 Error MainLoop.cpp:1432: Exception at tick 5121581: Le mod Laser Fence (2.0.3) a engendré une erreur non récupérable.
Merci d'informer l'auteur de cette erreur.

Error while running event laserfence::on_script_trigger_effect (ID 164)
__laserfence__/control.lua:172: attempt to index local 'entityOrPlayer' (a nil value)
stack traceback:
    __laserfence__/control.lua:172: in function 'safeDamage'
    __laserfence__/control.lua:166: in function <__laserfence__/control.lua:158>
Fr-Dae commented 5 days ago

Error while running event laserfence::on_script_trigger_effect (ID 164) laserfence/control.lua:172: attempt to index local 'entityOrPlayer' (a nil value) stack traceback: laserfence/control.lua:172: in function 'safeDamage' laserfence/control.lua:166: in function <laserfence/control.lua:158>


![Capture d’écran du 2024-11-23 20-21-41](https://github.com/user-attachments/assets/f24be6e1-2f0e-4b0a-9498-4eb23335a5d3)

- How to reproduce.

1. place a power supply
2. place wall around the futur fence
3. place fence
4. if a ennemy are in the way when the fence re-actived, game crash