PyroFire232 / warptorio2

An updated / refined version of warptorio https://mods.factorio.com/mod/warptorio
8 stars 8 forks source link

TeleportLogic nil dereference #10

Open baryluk opened 3 years ago

baryluk commented 3 years ago

Today on Sunday during AntiElitz warptorio2 event, there was this mod crash:

1560.350 Joining game IP ADDR:({91.106.150.134:34197})
1560.350 Info UDPSocket.cpp:33: Opening socket
1560.350 Info ClientMultiplayerManager.cpp:588: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
1560.953 Info ClientSynchronizer.cpp:32: Initialized Synchronizer local peer(1) latency(32).
1560.953 Info ClientMultiplayerManager.cpp:588: UpdateTick(4294967295) changing state from(Connecting) to(ConnectedWaitingForMap)
1560.953 Info ClientRouter.cpp:222: ConnectionAccepted
1580.669 Downloading file /home/user/.factorio/temp/auxiliary-data (350 B, 1 blocks)
1580.683 Finished download (0 s, 350 B, 26.9 kB/s)
1581.120 Info ClientMultiplayerManager.cpp:768: Received mapReadyForDownload
1581.120 Downloading file /home/user/.factorio/temp/mp-download.zip (43377982 B, 86239 blocks)
1581.126 Info ClientMultiplayerManager.cpp:588: UpdateTick(4294967295) changing state from(ConnectedWaitingForMap) to(ConnectedDownloadingMap)
1595.142 Finished download (14 s, 43.3 MB, 3.0 MB/s)
1595.205 Info ClientMultiplayerManager.cpp:748: updateTick(4294967295) map download finished creating scenario
1595.205 Info ClientMultiplayerManager.cpp:588: UpdateTick(4294967295) changing state from(ConnectedDownloadingMap) to(ConnectedLoadingMap)
1595.205 Loading map /home/user/.factorio/temp/mp-download.zip: 43377982 bytes.
1595.678 Loading level.dat: 32496600 bytes.
1595.681 Info Scenario.cpp:197: Map version 1.1.25-0
1596.171 Loading script.dat: 337136 bytes.
1596.173 Checksum for script /home/user/.factorio/temp/currently-playing/control.lua: 1735894310
1596.175 Checksum for script __Clockwork__/control.lua: 4221368201
1596.179 Checksum for script __planetorio__/control.lua: 2614514665
1596.193 Checksum for script __warptorio2__/control.lua: 3984711933
1596.193 Checksum for script __Cold_biters__/control.lua: 307353640
1596.194 Checksum for script __Explosive_biters__/control.lua: 2672598463
1596.196 Checksum for script __planetorio_expansion_planets__/control.lua: 2348915389
1596.202 Checksum for script __warptorio2_expansion__/control.lua: 4164330295
1596.239 Info ClientMultiplayerManager.cpp:588: UpdateTick(1933930) changing state from(ConnectedLoadingMap) to(TryingToCatchUp)
1596.297 Info GameActionHandler.cpp:4978: UpdateTick (1933938) processed PlayerJoinGame peerID(1) playerIndex(57) mode(connect) 
1596.300 Info GameActionHandler.cpp:4978: UpdateTick (1933939) processed PlayerJoinGame peerID(13) playerIndex(0) mode(connect) 
1596.425 Info GameActionHandler.cpp:4978: UpdateTick (1934022) processed PlayerJoinGame peerID(6) playerIndex(58) mode(connect) 
1596.621 Info GameActionHandler.cpp:4978: UpdateTick (1934148) processed PlayerJoinGame peerID(5) playerIndex(1) mode(connect) 
1597.484 Info ClientMultiplayerManager.cpp:588: UpdateTick(1934649) changing state from(TryingToCatchUp) to(WaitingForCommandToStartSendingTickClosures)
1598.020 Info ClientMultiplayerManager.cpp:588: UpdateTick(1934649) changing state from(WaitingForCommandToStartSendingTickClosures) to(InGame)
1598.270 Info GameActionHandler.cpp:4978: UpdateTick (1934677) processed PlayerJoinGame peerID(9) playerIndex(55) mode(connect) 
1603.955 Info ClientMultiplayerManager.cpp:909: Disconnect notification for peer (14)
1604.689 Info GameActionHandler.cpp:4978: UpdateTick (1934839) processed PlayerJoinGame peerID(8) playerIndex(31) mode(connect) 
1605.123 Info GameActionHandler.cpp:4978: UpdateTick (1934865) processed PlayerJoinGame peerID(10) playerIndex(7) mode(connect) 
1607.291 Info ClientSynchronizer.cpp:331: Latency changed to (59)
1609.110 Info GameActionHandler.cpp:4978: UpdateTick (1935104) processed PlayerJoinGame peerID(4) playerIndex(44) mode(connect) 
1617.686 Info GameActionHandler.cpp:4978: UpdateTick (1935347) processed PlayerJoinGame peerID(7) playerIndex(25) mode(connect) 
1620.172 Info GameActionHandler.cpp:4978: UpdateTick (1935400) processed PlayerJoinGame peerID(11) playerIndex(22) mode(connect) 
1621.820 Info ClientSynchronizer.cpp:331: Latency changed to (98)
1626.836 Info ClientSynchronizer.cpp:331: Latency changed to (223)
1632.736 Info GameActionHandler.cpp:4978: UpdateTick (1936117) processed PlayerJoinGame peerID(17) playerIndex(24) mode(connect) 
1634.003 Info ClientSynchronizer.cpp:331: Latency changed to (245)
1634.836 Info GameActionHandler.cpp:4978: UpdateTick (1936243) processed PlayerJoinGame peerID(18) playerIndex(8) mode(connect) 
1637.170 Info GameActionHandler.cpp:4978: UpdateTick (1936258) processed PlayerJoinGame peerID(16) playerIndex(39) mode(connect) 
1651.403 Info GameActionHandler.cpp:4978: UpdateTick (1936468) processed PlayerJoinGame peerID(12) playerIndex(6) mode(connect) 
1651.403 Info GameActionHandler.cpp:4978: UpdateTick (1936468) processed PlayerJoinGame peerID(20) playerIndex(17) mode(connect) 
1651.404 Info GameActionHandler.cpp:4978: UpdateTick (1936468) processed PlayerJoinGame peerID(15) playerIndex(50) mode(connect) 
1651.405 Info GameActionHandler.cpp:4978: UpdateTick (1936468) processed PlayerJoinGame peerID(19) playerIndex(59) mode(connect) 
1656.836 Info ClientSynchronizer.cpp:331: Latency changed to (110)
1663.886 Info ClientSynchronizer.cpp:331: Latency changed to (80)
1663.936 Info GameActionHandler.cpp:4978: UpdateTick (1937099) processed PlayerJoinGame peerID(22) playerIndex(10) mode(connect) 
1664.270 Info GameActionHandler.cpp:4978: UpdateTick (1937119) processed PlayerJoinGame peerID(21) playerIndex(46) mode(connect) 
1668.853 Info ClientSynchronizer.cpp:331: Latency changed to (211)
1670.436 Info GameActionHandler.cpp:4978: UpdateTick (1937489) processed PlayerJoinGame peerID(23) playerIndex(40) mode(connect) 
1678.869 Info ClientSynchronizer.cpp:331: Latency changed to (17)
1683.863 Info ClientSynchronizer.cpp:331: Latency changed to (13)
1688.854 Info ClientSynchronizer.cpp:331: Latency changed to (12)
1698.860 Info ClientSynchronizer.cpp:331: Latency changed to (11)
1708.869 Info ClientSynchronizer.cpp:331: Latency changed to (10)
1713.841 Info ClientSynchronizer.cpp:331: Latency changed to (9)
1725.720 Info ClientSynchronizer.cpp:331: Latency changed to (15)
1732.874 Info GameActionHandler.cpp:4978: UpdateTick (1941125) processed PlayerJoinGame peerID(24) playerIndex(56) mode(connect) 
1735.743 Info ClientSynchronizer.cpp:331: Latency changed to (35)
1745.753 Info ClientSynchronizer.cpp:331: Latency changed to (10)
1770.760 Info ClientSynchronizer.cpp:331: Latency changed to (9)
1892.619 Info ClientSynchronizer.cpp:331: Latency changed to (10)
1907.636 Info ClientSynchronizer.cpp:331: Latency changed to (9)
1932.624 Info ClientSynchronizer.cpp:331: Latency changed to (8)
1942.636 Info ClientSynchronizer.cpp:331: Latency changed to (9)
1952.036 Error MainLoop.cpp:1285: Exception at tick 1954160: The mod Warptorio2 (1.3.4) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event warptorio2::on_player_changed_position (ID 83)
The mod Warptorio2 (1.3.4) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event warptorio2::on_entity_cloned (ID 120)
__warptorio2__/control_main.lua:829: attempt to get length of local 'inv' (a nil value)
stack traceback:
    __warptorio2__/control_main.lua:829: in function 'y'
    __warptorio2__/lib/lib_control.lua:289: in function <__warptorio2__/lib/lib_control.lua:289>
    [C]: in function 'clone'
    __warptorio2__/control_main.lua:387: in function 'TeleportLogic'
    __warptorio2__/control_main.lua:428: in function 'tx'
    __warptorio2__/lib/lib_control_cache.lua:161: in function 'call_player'
    __warptorio2__/lib/lib_control_cache.lua:538: in function 'y'
    __warptorio2__/lib/lib_control.lua:289: in function <__warptorio2__/lib/lib_control.lua:289>
stack traceback:
    [C]: in function 'clone'
    __warptorio2__/control_main.lua:387: in function 'TeleportLogic'
    __warptorio2__/control_main.lua:428: in function 'tx'
    __warptorio2__/lib/lib_control_cache.lua:161: in function 'call_player'
    __warptorio2__/lib/lib_control_cache.lua:538: in function 'y'
    __warptorio2__/lib/lib_control.lua:289: in function <__warptorio2__/lib/lib_control.lua:289>
1952.036 Error ClientMultiplayerManager.cpp:100: MultiplayerManager failed: "The mod Warptorio2 (1.3.4) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event warptorio2::on_player_changed_position (ID 83)
The mod Warptorio2 (1.3.4) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event warptorio2::on_entity_cloned (ID 120)
__warptorio2__/control_main.lua:829: attempt to get length of local 'inv' (a nil value)
stack traceback:
    __warptorio2__/control_main.lua:829: in function 'y'
    __warptorio2__/lib/lib_control.lua:289: in function <__warptorio2__/lib/lib_control.lua:289>
    [C]: in function 'clone'
    __warptorio2__/control_main.lua:387: in function 'TeleportLogic'
    __warptorio2__/control_main.lua:428: in function 'tx'
    __warptorio2__/lib/lib_control_cache.lua:161: in function 'call_player'
    __warptorio2__/lib/lib_control_cache.lua:538: in function 'y'
    __warptorio2__/lib/lib_control.lua:289: in function <__warptorio2__/lib/lib_control.lua:289>
stack traceback:
    [C]: in function 'clone'
    __warptorio2__/control_main.lua:387: in function 'TeleportLogic'
    __warptorio2__/control_main.lua:428: in function 'tx'
    __warptorio2__/lib/lib_control_cache.lua:161: in function 'call_player'
    __warptorio2__/lib/lib_control_cache.lua:538: in function 'y'
    __warptorio2__/lib/lib_control.lua:289: in function <__warptorio2__/lib/lib_control.lua:289>"
1952.036 Info ClientMultiplayerManager.cpp:588: UpdateTick(1954160) changing state from(InGame) to(Failed)

Here is a list of mods:

   0.705 Loading mod settings ArmouredBiters 1.1.1 (settings.lua)
   0.706 Loading mod settings Clockwork 1.1.0 (settings.lua)
   0.706 Loading mod settings planetorio 0.1.1 (settings.lua)
   0.706 Loading mod settings SchallAlienMutation 1.1.0 (settings.lua)
   0.706 Loading mod settings alien-biomes 0.6.4 (settings.lua)
   0.707 Loading mod settings warptorio2 1.3.4 (settings.lua)
   0.707 Loading mod settings Cold_biters 1.0.14 (settings.lua)
   0.708 Loading mod settings Explosive_biters 1.0.31 (settings.lua)
   0.708 Loading mod settings warptorio2_expansion 1.1.65 (settings.lua)
   0.710 Loading mod core 0.0.0 (data.lua)
   0.797 Loading mod base 1.1.25 (data.lua)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
   1.068 Loading mod alien-biomes-hr-terrain 0.6.1 (data.lua)
   1.193 Loading mod ArmouredBiters 1.1.1 (data.lua)
   1.321 Loading mod Clockwork 1.1.0 (data.lua)
   1.490 Loading mod factorio-crash-site 1.0.1 (data.lua)
   1.622 Loading mod SchallAlienMutation 1.1.0 (data.lua)
   1.756 Loading mod alien-biomes 0.6.4 (data.lua)
   1.770 Script @__alien-biomes__/data.lua:4: Log mods once: {
  ArmouredBiters = "1.1.1",
  Clockwork = "1.1.0",
  Cold_biters = "1.0.14",
  Explosive_biters = "1.0.31",
  SchallAlienMutation = "1.1.0",
  ["alien-biomes"] = "0.6.4",
  ["alien-biomes-hr-terrain"] = "0.6.1",
  base = "1.1.25",
  ["factorio-crash-site"] = "1.0.1",
  ["fireproof-bots"] = "1.1.3",
  planetorio = "0.1.1",
  planetorio_expansion_planets = "1.0.2",
  warptorio2 = "1.3.4",
  warptorio2_expansion = "1.1.65"
}
   2.236 Loading mod warptorio2 1.3.4 (data.lua)
[0228/145842.151448:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
   2.503 Loading mod Cold_biters 1.0.14 (data.lua)
[0228/145842.369902:ERROR:frame_sink_video_capturer_impl.cc(206)] Invalid resolutions constraints: 0x0 must not be greater than 0x0; and also within media::limits.
   2.761 Loading mod Explosive_biters 1.0.31 (data.lua)
   3.020 Loading mod planetorio_expansion_planets 1.0.2 (data.lua)
   3.265 Loading mod warptorio2_expansion 1.1.65 (data.lua)
   3.607 Loading mod base 1.1.25 (data-updates.lua)
   3.856 Loading mod alien-biomes 0.6.4 (data-updates.lua)
   4.148 Loading mod warptorio2 1.3.4 (data-updates.lua)
   4.458 Loading mod Cold_biters 1.0.14 (data-updates.lua)
   4.716 Loading mod planetorio_expansion_planets 1.0.2 (data-updates.lua)
   4.984 Loading mod warptorio2_expansion 1.1.65 (data-updates.lua)
   5.272 Loading mod Clockwork 1.1.0 (data-final-fixes.lua)
   5.505 Loading mod fireproof-bots 1.1.3 (data-final-fixes.lua)
   5.794 Loading mod alien-biomes 0.6.4 (data-final-fixes.lua)