Skip to content

Crashes in a specific situation #23

@luthor112

Description

@luthor112

Balatro crashes when I try to open a given Arcana pack.
It worked correctly for other Arcana packs and card, but on my current save it crashes persistently.

Oops! The game crashed:
functions/common_events.lua:2181: bad argument #1 to 'ipairs' (table expected, got nil)

Additional Context:
Balatro Version: 1.0.1o-FULL
Modded Version: 1.0.0~BETA-0509c-STEAMODDED
LÖVE Version: 11.5.0
Lovely Version: 0.7.1
Platform: Windows
Steamodded Mods:
    1: BalatroDarkModeMalverk by Carroton [ID: darktextures, Version: 1.1.0]
    2: Vocalatro by Aikoyori [ID: vocalatro, Version: 1.0.0, Uses Lovely]
    3: Main Menu Tweaks by termisaal, seven_kd_irl [ID: MainMenuTweaks, Version: 1.2]
    4: Textile by EnderGoodra [ID: Textile, Priority: -256, Version: 1.0.1, Uses Lovely]
    5: Strange Library by DigitalDetective47 [ID: StrangeLib, Version: 2.1.3, Uses Lovely]
    6: Deluxe Consumables by JeffVi [ID: JeffDeluxeConsumablesPack, Priority: 1000, Version: 1.0.1, Uses Lovely]
    7: Vortex by Keku [ID: keku_Vortex, Version: 1.0]
    8: Malverk by Eremel_ [ID: malverk, Priority: -999999, Version: 1.1.3a, Uses Lovely]
    9: Condensed UI by Hoversquid [ID: Condensed_UI, Priority: 3, Version: 1.0.0, Uses Lovely]
    10: DismissAlert by Breezebuilder [ID: DismissAlert, Priority: 100, Version: 1.0.0, Uses Lovely]
    11: Loop by jenwalter666 [ID: loop, Priority: -9999999999, Version: 0.1.1]
    12: JokerDisplay by nh6574 [ID: JokerDisplay, Priority: -100000, Version: 1.8.4.1]
    13: Redux Arcanum by itayfeder, Lyman, Jumbo [ID: ReduxArcanum, Version: 2.0.0~PreRelease5, Uses Lovely]
    14: Nopeus by jenwalter666, stupxd [ID: nopeus, Version: 2.2.3, Uses Lovely]
Lovely Mods:

Stack Traceback
===============
(3) global C function 'ipairs'
(4) Lua upvalue 'get_current_pool_ref' at file 'functions/common_events.lua:2181'
Local variables:
 _type = string: "Alchemical_dx"
 _rarity = nil
 _legendary = nil
 _append = string: "alc"
 _pool = table: 0x1e146618  {}
 _starting_pool = nil
 _pool_key = string: "Alchemical_dxalc"
 _pool_size = number: 0
(5) Lua global 'get_current_pool' at line 479 of chunk '"C:\Users\kislu\AppData\Roaming\Balatro\Mods/D..."]'
Local variables:
 _type = string: "Alchemical_dx"
 _rarity = nil
 _legendary = nil
 _append = string: "alc"
(6) Lua upvalue 'create_card_ref' at file 'functions/common_events.lua:2339'
Local variables:
 _type = string: "Alchemical_dx"
 area = table: 0x1e63b588  {click_offset:table: 0x1e63b930, static_rotation:false, shuffle_amt:0, parent:table: 0x1e15a3f8, T:table: 0x1e63b778, offset:table: 0x1e63b8c8 (more...)}
 legendary = nil
 _rarity = nil
 skip_materialize = boolean: true
 soulable = boolean: true
 forced_key = nil
 key_append = string: "alc"
 area = table: 0x1e63b588  {click_offset:table: 0x1e63b930, static_rotation:false, shuffle_amt:0, parent:table: 0x1e15a3f8, T:table: 0x1e63b778, offset:table: 0x1e63b8c8 (more...)}
 center = table: 0x1d94f2a8  {alerted:true, _saved_d_u:true, default_card_type_badge:1, unlocked:true, _u:true, soul_pos:false, _discovered_unlocked_overwritten:true, order:1 (more...)}
(7) Lua global 'create_card' at file 'TarotDx.lua:223' (from mod with id JeffDeluxeConsumablesPack)
Local variables:
 _type = string: "Alchemical"
 area = table: 0x1e63b588  {click_offset:table: 0x1e63b930, static_rotation:false, shuffle_amt:0, parent:table: 0x1e15a3f8, T:table: 0x1e63b778, offset:table: 0x1e63b8c8 (more...)}
 legendary = nil
 _rarity = nil
 skip_materialize = boolean: true
 soulable = boolean: true
 forced_key = nil
 key_append = string: "alc"
 new_type = string: "Alchemical_dx"
 new_forced_key = nil
(8) Lua global 'create_alchemical' at file 'ReduxArcanum.lua:135' (from mod with id ReduxArcanum)
(9) Lua method 'create_card' at file '/data/boosters.lua:27' (from mod with id ReduxArcanum)
Local variables:
 self = table: 0x1d7fed48  {alerted:true, loc_vars:function: 0x1d7fed70, _saved_d_u:true, original_key:alchemy_2, mod:table: 0x1d8e71e8, registered:true, _discovered_unlocked_overwritten:true (more...)}
 card = table: 0x1e5e2958  {click_offset:table: 0x1e6fc150, static_rotation:false, ambient_tilt:0.2, parent:table: 0x1dbbadc0, T:table: 0x1e6fc128, bypass_discovery_center:true (more...)}
(10) Lua field 'func' at file 'card.lua:1978'
Local variables:
 _size = number: 2
 (for index) = number: 2
 (for limit) = number: 2
 (for step) = number: 1
 i = number: 2
 card = nil
(11) Lua method 'handle' at file 'engine/event.lua:55'
Local variables:
 self = table: 0x1e6d3c48  {start_timer:true, timer:TOTAL, blockable:false, trigger:after, created_on_pause:false, delay:3.67695526217, complete:false, time:59.429886738714 (more...)}
 _results = table: 0x1de351a8  {blocking:false, pause_skip:false, time_done:true, completed:false}
(12) Lua method 'update' at file 'engine/event.lua:182'
Local variables:
 self = table: 0x1d9abb80  {queue_last_processed:13.133333333334, queues:table: 0x1d9abba8, queue_dt:0.016666666666667, queue_timer:13.143741604523}
 dt = number: 0.0133473
 forced = nil
 (for generator) = C function: next
 (for state) = table: 0x1d9abba8  {unlock:table: 0x1d9abc98, other:table: 0x1d9abd38, tutorial:table: 0x1d9abce8, base:table: 0x1d9abcc0, achievement:table: 0x1d9abd10}
 (for control) = number: nan
 k = string: "base"
 v = table: 0x1d9abcc0  {1:table: 0x1db96d20, 2:table: 0x1e6d38e0, 3:table: 0x1e547e58, 4:table: 0x1e548160, 5:table: 0x1e6d3c48, 6:table: 0x1d8b5680, 7:table: 0x1e55e290 (more...)}
 blocked = boolean: true
 i = number: 5
 results = table: 0x1de351a8  {blocking:false, pause_skip:false, time_done:true, completed:false}
(13) Lua upvalue 'gameUpdateRef' at file 'game.lua:2551'
Local variables:
 self = table: 0x1d345ba8  {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x1e11e8c8, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x1e09c718 (more...)}
 dt = number: 0.0133473
 http_resp = nil
(14) Lua method 'update' at Steamodded file 'src/ui.lua:84' 
Local variables:
 self = table: 0x1d345ba8  {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x1e11e8c8, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x1e09c718 (more...)}
 dt = number: 0.0133473
(15) Lua field 'update' at file 'main.lua:995'
Local variables:
 dt = number: 0.0133473
(16) Lua function '?' at file 'main.lua:934' (best guess)
(17) global C function 'xpcall'
(18) LÖVE function at file 'boot.lua:377' (best guess)
Local variables:
 func = Lua function '?' (defined at line 905 of chunk main.lua)
 inerror = boolean: true
 deferErrhand = Lua function '(LÖVE Function)' (defined at line 348 of chunk [love "boot.lua"])
 earlyinit = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.lua"])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions