Skip to content
This repository was archived by the owner on Jul 25, 2026. It is now read-only.
This repository was archived by the owner on Jul 25, 2026. It is now read-only.

It crashes right at the Start #162

Description

@Jane1307

Oops! The game crashed:
main.lua:1526: attempt to index local 'num' (a number value)

Additional Context:
Balatro Version: 1.0.1o-FULL
Modded Version: 1.0.0~BETA-1620a-STEAMODDED
LÖVE Version: 11.5.0
Lovely Version: 0.9.0
Platform: Windows
Steamodded Mods:
1: Talisman by MathIsFun_, Mathguy24, jenwalter666, cg, lord.ruby [ID: Talisman, Version: 2.7, Uses Lovely]
Lovely Mods:

Stack Traceback

(3) Lua global 'number_format' at file 'main.lua:1526'
Local variables:
num = number: 1
e_switch_point = nil
(*temporary) = number: 1
(*temporary) = number: 1
(*temporary) = nil
(*temporary) = number: 1
(*temporary) = string: "attempt to index local 'num' (a number value)"
(4) Lua upvalue 'igo' at file 'game.lua:2017'
Local variables:
self = table: 0x2f396d90 {SPEEDFACTOR:1, keybind_mapping:table: 0x2f212230, F_GUIDE:false, PITCH_MOD:1, F_CRASH_REPORTS:false, VIBRATION:0, shared_undiscovered_joker:table: 0x2f9d39c0 (more...)}
cards_played = table: 0x2fa926f8 {4:table: 0x2fa92a78, 8:table: 0x2fa92d40, 10:table: 0x2fa92e50, 5:table: 0x2fa929b8, 9:table: 0x2fa92dc8, 6:table: 0x2fa92bc8, King:table: 0x2fa930c0 (more...)}
bosses_used = table: 0x2fa931d0 {bl_final_bell:0, bl_needle:0, bl_small:0, bl_arm:0, bl_mark:0, bl_flint:0, bl_mouth:0, bl_fish:0, bl_pillar:0, bl_club:0, bl_hook:0, bl_head:0 (more...)}
(*temporary) = table: 0x2fa931f8 {round_scores:table: 0x2fa93220, edition_rate:1, tarot_rate:4, previous_round:table: 0x2fa94348, round:0, current_round:table: 0x2fa94448, rental_rate:3 (more...)}
(*temporary) = table: 0x2fa94a10 {reroll_cost:1, blind_ante:1, hands:1, discards:1, ante:1, free_rerolls:0, boss_rerolled:false}
(5) Lua upvalue 'init_game_object_ref' at Steamodded file 'src/ui.lua:2541'
Local variables:
self = table: 0x2f396d90 {SPEEDFACTOR:1, keybind_mapping:table: 0x2f212230, F_GUIDE:false, PITCH_MOD:1, F_CRASH_REPORTS:false, VIBRATION:0, shared_undiscovered_joker:table: 0x2f9d39c0 (more...)}
(6) Lua upvalue 'game_init_game_object_ref' at Steamodded file 'src/overrides.lua:1557'
Local variables:
self = table: 0x2f396d90 {SPEEDFACTOR:1, keybind_mapping:table: 0x2f212230, F_GUIDE:false, PITCH_MOD:1, F_CRASH_REPORTS:false, VIBRATION:0, shared_undiscovered_joker:table: 0x2f9d39c0 (more...)}
(7) Lua upvalue 'game_init_game_object_ref' at Steamodded file 'src/game_object.lua:958'
Local variables:
self = table: 0x2f396d90 {SPEEDFACTOR:1, keybind_mapping:table: 0x2f212230, F_GUIDE:false, PITCH_MOD:1, F_CRASH_REPORTS:false, VIBRATION:0, shared_undiscovered_joker:table: 0x2f9d39c0 (more...)}
(8) Lua method 'init_game_object' at Steamodded file 'src/game_object.lua:1167'
Local variables:
self = table: 0x2f396d90 {SPEEDFACTOR:1, keybind_mapping:table: 0x2f212230, F_GUIDE:false, PITCH_MOD:1, F_CRASH_REPORTS:false, VIBRATION:0, shared_undiscovered_joker:table: 0x2f9d39c0 (more...)}
(9) Lua global 'loadAPIs' at Steamodded file 'src/game_object.lua:2911'
Local variables:
play_sound_ref = Lua function '?' (defined at line 757 of chunk functions/misc_functions.lua)
game_init_game_object_ref = Lua function '?' (defined at line 1556 of chunk [SMODS _ "src/overrides.lua"])
ctype_buffer = table: 0x2fa60a50 {1:Tarot, 2:Planet, 3:Spectral}
game_init_game_object_ref = Lua function '?' (defined at line 957 of chunk [SMODS _ "src/game_object.lua"])
stake_mod = Lua function '?' (defined at line 1446 of chunk [SMODS _ "src/game_object.lua"])
pack_loc_vars = Lua function '?' (defined at line 1609 of chunk [SMODS _ "src/game_object.lua"])
juice_flip = Lua function '?' (defined at line 2271 of chunk [SMODS _ "src/game_object.lua"])
random_destroy = Lua function '?' (defined at line 2403 of chunk [SMODS _ "src/game_object.lua"])
ps_ref = Lua function '?' (defined at line 1274 of chunk game.lua)
handlist = table: 0x2f2d0180 {1:Flush Five, 2:Flush House, 3:Five of a Kind, 4:Straight Flush, 5:Four of a Kind, 6:Full House, 7:Flush, 8:Straight, 9:Three of a Kind, 10:Two Pair (more...)}
(10) Lua field 'initSteamodded' at file 'src/preflight/loader.lua:904' (from lovely module SMODS.preflight.loader)
(11) Lua upvalue 'su' at file 'game.lua:212'
Local variables:
self = table: 0x2f396d90 {SPEEDFACTOR:1, keybind_mapping:table: 0x2f212230, F_GUIDE:false, PITCH_MOD:1, F_CRASH_REPORTS:false, VIBRATION:0, shared_undiscovered_joker:table: 0x2f9d39c0 (more...)}
settings = string: "return {["real_language"]="en-us",["version"]="1.0.1o-FULL",["reduced_motion"]=false,["paused"]=true,["QUEUED_CHANGE"]={},["COMP"]={["score"]=71068.25,["name"]="",["prev_name"]="",},["colourblind_option"]=true,["play_button_pos"]=2,["CUSTOM_DECK"]={["Collabs"]={["Clubs"]="mod__collab_AUclubs",["fur_stars"]="default_fur_stars",["Hearts"]="collab_AU",["Diamonds"]="mod__collab_AUdiamonds",["Spades"]="mod__collab_AUspades",},},["language"]="en-us",["colour_palettes"]={["Clubs"]="hc",["fur_stars"]="lc",["Hearts"]="hc",["Diamonds"]="hc",["Spades"]="hc",},["ambient_control"]={["ambientFire3"]={["per"]=1,["vol"]=0,},["ambientFire1"]={["per"]=1.1,["vol"]=0,},["ambientFire2"]={["per"]=1.05,["vol"]=0,},["ambientOrgan1"]={["per"]=0.7,["vol"]=0,},},["crashreports"]=false,["tutorial_progress"]={["hold_parts"]={["shop_1"]=true,["big_blind"]=true,["second_hand"]=true,},["section"]="second_hand",["completed_parts"]={["first_hand"]=true,["first_hand_3"]=true,["small_blind"]=true,["big_blind"]=true,["first_hand_4"]=true,["second_hand"]=true,["first_hand_section"]=true,["first_hand_2"]=true,["shop_1"]=true,},},["FN"]={["PRE"]=true,["show_min_max"]=true,["preview_dollars"]=true,["hide_face_down"]=true,["preview_score"]=true,},["screenshake"]=0,["custom_antimatter_deck"]={["b_red"]=true,["b_blue"]=true,["b_black"]=true,["b_green"]=true,["b_yellow"]=true,},["WINDOW"]={["selected_display"]=1,["display_names"]={[1]="1",},["screenmode"]="Borderless",["DISPLAYS"]={[1]={["screen_resolutions"]={["strings"]={[1]="1920 X 1080",},["values"]={[1]={["w"]=1920,["h"]=1080,},},},["DPI_scale"]=1,["MONITOR_DIMS"]={["height"]=1080,["width"]=1920,},},},["vsync"]=0,},["profile"]=1,["GAMESPEED"]=4,["SOUND"]={["volume"]=100,["music_volume"]=100,["game_sounds_volume"]=100,},["music_control"]={["current_track"]="",["desired_track"]="",["lerp"]=1,},["ACHIEVEMENTS_EARNED"]={["card_discarder"]=true,["big_hands"]=true,["retrograde"]=true,["royale"]=true,["tiny_hands"]=true,["_100000k"]=true,["cartomancy"]=true,["low_stakes"]=true,["ante_upper"]=true,["_1000k"]=true,["you_get_what_you_get"]=true,["legendary"]=true,["_10k"]=true,["heads_up"]=true,["roi"]=true,["clairvoyance"]=true,["ante_up"]=true,["card_player"]=true,},["tutorial_complete"]=true,["current_setup"]="New Run",["run_stake_stickers"]=true,["FASTFORWARD"]=0,["DEMO"]={["win_CTA_shown"]=true,["quit_CTA_shown"]=true,["timed_CTA_shown"]=true,["total_uptime"]=1547.5697960758,},["GRAPHICS"]={["bloom"]=1,["crt"]=0,["shadows"]="On",["texture_scaling"]=2,},}"
settings_ver = nil
new_colour_proto = table: 0x2f38aac0 {Spades:table: 0x2f3283d0, Hearts:table: 0x2f3282a0, Diamonds:table: 0x2f328338, Clubs:table: 0x2f27fed0}
sound_files = table: 0x2f5056a0 {1:ambientFire1.ogg, 2:ambientFire2.ogg, 3:ambientFire3.ogg, 4:ambientOrgan1.ogg, 5:button.ogg, 6:cancel.ogg, 7:card1.ogg, 8:card3.ogg, 9:cardFan2.ogg (more...)}
shader_files = table: 0x2f7578a8 {1:CRT.fs, 2:background.fs, 3:booster.fs, 4:debuff.fs, 5:dissolve.fs, 6:flame.fs, 7:flash.fs, 8:foil.fs, 9:gold_seal.fs, 10:holo.fs, 11:hologram.fs (more...)}
(12) Lua method 'start_up' at file 'main.lua:2284'
Local variables:
self = table: 0x2f396d90 {SPEEDFACTOR:1, keybind_mapping:table: 0x2f212230, F_GUIDE:false, PITCH_MOD:1, F_CRASH_REPORTS:false, VIBRATION:0, shared_undiscovered_joker:table: 0x2f9d39c0 (more...)}
(13) Lua field 'load' at file 'main.lua:976'
(14) Lua function '?' at file 'main.lua:923' (best guess)
(15) global C function 'xpcall'
(16) LÖVE function at file 'boot.lua:368' (best guess)
Local variables:
result = boolean: true
main = nil
(17) global C function 'xpcall'
(18) LÖVE function at file 'boot.lua:377' (best guess)
Local variables:
func = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions