Skip to content

Planet card usage crashing the game. #47

@evelynn3141

Description

@evelynn3141

I should preface this with the fact I am using only talisman, cryptid, and this mod.
Whenever a hand is levelled (only hand levels, ascension value increases per hand work fine), the game crashes.
Here is the crash log:

Oops! The game crashed:
[SMODS _ "src/game_object.lua"]:3604: bad argument #2 to 'max' (number expected, got nil)

Additional Context:
Balatro Version: 1.0.1o-FULL
Modded Version: 1.0.0~BETA-0827c-STEAMODDED
LÖVE Version: 11.5.0
Lovely Version: 0.8.0
Platform: Windows
Steamodded Mods:
1: Talisman by MathIsFun_, Mathguy24, jenwalter666, cg-223 [ID: Talisman, Version: 2.3.0, Uses Lovely]
2: Cryptid by MathIsFun_, Cryptid and Balatro Discords [ID: Cryptid, Priority: 114, Version: 0.5.12, Uses Lovely]
3: Entropy by Ruby, The Entropy Discord [ID: entr, Priority: 666, Version: 1.0.0, Uses Lovely]
Lovely Mods:

Stack Traceback

(3) field C function 'max'
(4) Lua method 'level_up_hand' at Steamodded file 'src/game_object.lua:3604'
Local variables:
self = table: 0x1acda368 {lick:table: 0x1b3b72e0, current:0, colour:table: 0x1a515e80, calc_effect:function: 0x1acda400, original_key:mult, _saved_d_u:true, calculation_keys:table: 0x1acda390 (more...)}
amount = number: 1
hand = table: 0x1b133818 {order:20, l_mult:2, s_mult:1, example:table: 0x1acc99b0, _saved_d_u:true, mult:1, visible:true, played:0, l_chips:20, level:2, chips:5, played_this_round:0 (more...)}
(*temporary) = string: "mult"
(5) Lua upvalue 'ref' at file 'functions/common_events.lua:486'
Local variables:
card = table: 0x1b9cc8d8 {sprite_facing:front, static_rotation:false, rank:1, T:table: 0x1a70daa8, last_aligned:-1, extra_cost:0, highlighted:false, ability_UIBox_table:table: 0x1b857890 (more...)}
hand = string: "High Card"
instant = nil
amount = number: 1
(for generator) = C function: next
(for state) = table: 0x1acd9c88 {mult:table: 0x1acda368, chips:table: 0x1acd9fe0}
(for control) = number: nan
name = string: "mult"
parameter = table: 0x1acda368 {lick:table: 0x1b3b72e0, current:0, colour:table: 0x1a515e80, calc_effect:function: 0x1acda400, original_key:mult, _saved_d_u:true, calculation_keys:table: 0x1acda390 (more...)}
(6) Lua global 'level_up_hand' at file 'lib/hooks.lua:1531' (from mod with id entr)
Local variables:
card = table: 0x1b9cc8d8 {sprite_facing:front, static_rotation:false, rank:1, T:table: 0x1a70daa8, last_aligned:-1, extra_cost:0, highlighted:false, ability_UIBox_table:table: 0x1b857890 (more...)}
hand = string: "High Card"
instant = nil
amount = nil
(7) Lua upvalue 'use_consumeable' at file 'card.lua:1637'
Local variables:
self = table: 0x1b9cc8d8 {sprite_facing:front, static_rotation:false, rank:1, T:table: 0x1a70daa8, last_aligned:-1, extra_cost:0, highlighted:false, ability_UIBox_table:table: 0x1b857890 (more...)}
area = table: 0x1bef8ad0 {click_offset:table: 0x1befb6a8, static_rotation:false, shuffle_amt:0, T:table: 0x1befb680, offset:table: 0x1bf29c48, role:table: 0x1bf052f8, last_aligned:-1 (more...)}
copier = nil
used_tarot = table: 0x1b9cc8d8 {sprite_facing:front, static_rotation:false, rank:1, T:table: 0x1a70daa8, last_aligned:-1, extra_cost:0, highlighted:false, ability_UIBox_table:table: 0x1b857890 (more...)}
gone = boolean: false
obj = table: 0x1abbc600 {alerted:true, _saved_d_u:true, unlocked:true, freq:1, effect:Hand Upgrade, cost:3, order:9, _d:false, set:Planet, consumeable:true, discovered:true (more...)}
(8) Lua upvalue 'use_ref' at Steamodded file 'src/overrides.lua:2505'
Local variables:
self = table: 0x1b9cc8d8 {sprite_facing:front, static_rotation:false, rank:1, T:table: 0x1a70daa8, last_aligned:-1, extra_cost:0, highlighted:false, ability_UIBox_table:table: 0x1b857890 (more...)}
area = table: 0x1bef8ad0 {click_offset:table: 0x1befb6a8, static_rotation:false, shuffle_amt:0, T:table: 0x1befb680, offset:table: 0x1bf29c48, role:table: 0x1bf052f8, last_aligned:-1 (more...)}
copier = nil
(9) Lua method 'use_consumeable' at file 'lib/hooks.lua:3472' (from mod with id entr)
Local variables:
self = table: 0x1b9cc8d8 {sprite_facing:front, static_rotation:false, rank:1, T:table: 0x1a70daa8, last_aligned:-1, extra_cost:0, highlighted:false, ability_UIBox_table:table: 0x1b857890 (more...)}
(10) Lua upvalue 'use_cardref' at file 'functions/button_callbacks.lua:2273'
Local variables:
e = table: 0x1a955640 {pixellated_rect:table: 0x1b8a3570, click_offset:table: 0x1ac3c528, children:table: 0x1b5bd2a0, parent:table: 0x1bce7d80, T:table: 0x1ac3c438 (more...)}
mute = nil
nosave = nil
card = table: 0x1b9cc8d8 {sprite_facing:front, static_rotation:false, rank:1, T:table: 0x1a70daa8, last_aligned:-1, extra_cost:0, highlighted:false, ability_UIBox_table:table: 0x1b857890 (more...)}
area = table: 0x1bef8ad0 {click_offset:table: 0x1befb6a8, static_rotation:false, shuffle_amt:0, T:table: 0x1befb680, offset:table: 0x1bf29c48, role:table: 0x1bf052f8, last_aligned:-1 (more...)}
prev_state = number: 5
dont_dissolve = nil
delay_fac = number: 1
nc = nil
select_to = boolean: false
cry_muse = boolean: false
(11) Lua upvalue 'ref' at file 'lib/overrides.lua:2020' (from mod with id Cryptid)
Local variables:
e = table: 0x1a955640 {pixellated_rect:table: 0x1b8a3570, click_offset:table: 0x1ac3c528, children:table: 0x1b5bd2a0, parent:table: 0x1bce7d80, T:table: 0x1ac3c438 (more...)}
mute = nil
nosave = nil
(12) Lua upvalue 'use_cardref' at file 'lib/hooks.lua:1870' (from mod with id entr)
Local variables:
e = table: 0x1a955640 {pixellated_rect:table: 0x1b8a3570, click_offset:table: 0x1ac3c528, children:table: 0x1b5bd2a0, parent:table: 0x1bce7d80, T:table: 0x1ac3c438 (more...)}
mute = nil
nosave = nil
card = table: 0x1b9cc8d8 {sprite_facing:front, static_rotation:false, rank:1, T:table: 0x1a70daa8, last_aligned:-1, extra_cost:0, highlighted:false, ability_UIBox_table:table: 0x1b857890 (more...)}
(13) Lua upvalue 'use_cardref' at file 'lib/hooks.lua:1967' (from mod with id entr)
Local variables:
e = table: 0x1a955640 {pixellated_rect:table: 0x1b8a3570, click_offset:table: 0x1ac3c528, children:table: 0x1b5bd2a0, parent:table: 0x1bce7d80, T:table: 0x1ac3c438 (more...)}
mute = nil
nosave = nil
card = table: 0x1b9cc8d8 {sprite_facing:front, static_rotation:false, rank:1, T:table: 0x1a70daa8, last_aligned:-1, extra_cost:0, highlighted:false, ability_UIBox_table:table: 0x1b857890 (more...)}
(14) Lua function '?' at file 'lib/hooks.lua:2369' (from mod with id entr) (best guess)
Local variables:
e = table: 0x1a955640 {pixellated_rect:table: 0x1b8a3570, click_offset:table: 0x1ac3c528, children:table: 0x1b5bd2a0, parent:table: 0x1bce7d80, T:table: 0x1ac3c438 (more...)}
mute = nil
nosave = nil
(15) Lua method 'click' at file 'engine/ui.lua:996'
Local variables:
self = table: 0x1a955640 {pixellated_rect:table: 0x1b8a3570, click_offset:table: 0x1ac3c528, children:table: 0x1b5bd2a0, parent:table: 0x1bce7d80, T:table: 0x1ac3c438 (more...)}
(16) Lua method 'update' at file 'engine/controller.lua:375'
Local variables:
self = table: 0x1a6721a0 {held_button_times:table: 0x1a7bec48, focus_cursor_stack_level:1, snap_cursor_to:table: 0x1c7c5608, interrupt:table: 0x1a685270, GAMEPAD:table: 0x1a6ab900 (more...)}
dt = number: 0.016954
(17) Lua upvalue 'gameUpdateRef' at file 'game.lua:2884'
Local variables:
self = table: 0x1a51fce0 {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x1aa6cbe8, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x1aedf870 (more...)}
dt = number: 0.016954
(18) Lua upvalue 'upd' at Steamodded file 'src/ui.lua:126'
Local variables:
self = table: 0x1a51fce0 {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x1aa6cbe8, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x1aedf870 (more...)}
dt = number: 0.016954
(19) Lua upvalue 'gu' at file 'main.lua:2102'
Local variables:
self = table: 0x1a51fce0 {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x1aa6cbe8, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x1aedf870 (more...)}
dt = number: 0.016954
(20) Lua upvalue 'upd' at file 'lib/gameset.lua:27' (from mod with id Cryptid)
Local variables:
self = table: 0x1a51fce0 {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x1aa6cbe8, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x1aedf870 (more...)}
dt = number: 0.016954
(21) Lua upvalue 'update_ref' at file 'lib/overrides.lua:359' (from mod with id Cryptid)
Local variables:
self = table: 0x1a51fce0 {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x1aa6cbe8, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x1aedf870 (more...)}
dt = number: 0.016954
(22) Lua upvalue 'update_ref' at file 'lib/hooks.lua:1407' (from mod with id entr)
Local variables:
self = table: 0x1a51fce0 {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x1aa6cbe8, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x1aedf870 (more...)}
dt = number: 0.016954
(23) Lua upvalue 'upd' at file 'lib/hooks.lua:2227' (from mod with id entr)
Local variables:
self = table: 0x1a51fce0 {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x1aa6cbe8, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x1aedf870 (more...)}
dt = number: 0.016954
(24) Lua method 'update' at file 'lib/hooks.lua:2430' (from mod with id entr)
Local variables:
self = table: 0x1a51fce0 {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x1aa6cbe8, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x1aedf870 (more...)}
dt = number: 0.016954
(25) Lua upvalue 'oldupd' at file 'main.lua:1204'
Local variables:
dt = number: 0.016954
(26) Lua field 'update' at file 'main.lua:2135'
Local variables:
dt = number: 0.016954
(27) Lua function '?' at file 'main.lua:946' (best guess)
(28) global C function 'xpcall'
(29) LÖVE function at file 'boot.lua:377' (best guess)
Local variables:
func = Lua function '?' (defined at line 917 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