Skip to content

When I tried to run the cryptid mod with entropy, there was a bug maybe because the code was conflicting. #150

Description

@DIMAS-ID829

Oops! The game crashed:
[SMODS _ "src/game_object.lua"]:259: attempt to index field 'current_mod' (a nil value)

Additional Context:
Balatro Version: 1.0.1o-FULL
Modded Version: 26.829.0
Optional features enabled: post_trigger, cardareas (deck, discard), object_weights, retrigger_joker
LÖVE Version: 11.5.0
Lovely Version: 0.9.0
Platform: Windows
Steamodded Mods:
    1: Entropy by Ruby, The Entropy Discord [ID: entr, Priority: 666, Version: 2.0.2, Uses Lovely]
    2: Cryptid by MathIsFun_, Cryptid and Balatro Discords [ID: Cryptid, Priority: 114, Version: 0.5.16c, Uses Lovely]
    3: Mayhem by alex343xd, full credits on repository [ID: mayhem, Priority: 300, Version: 1.5.0-s4, Uses Lovely]
    4: Noituus by jenwalter666, MathIsFun_, alex343xd [ID: noituus, Priority: -999, Version: 1.1.5, Uses Lovely]
    5: Amulet by frostice482, ... [ID: Amulet, Priority: -10000000000, Version: 3.5.4, Uses Lovely]
        bigante_forced: yes
        bigante: on
        gfx_fix: yes
        thread_fix_num: yes
        exp_color: default
        omeganum_forced: yes
        thread_fix: modify
    6: Spectrallib by Spectralpack Dev Team [ID: Spectrallib, Priority: -10000, Version: 1.3.0, Uses Lovely]
Lovely Mods:

Stack Traceback

(3) Lua method 'take_ownership' at Steamodded file 'src/game_object.lua:259' 
Local variables:
 self = table: 0x3c7cb4e0  {required_params:table: 0x3c7cb488, inject:function: 0x3c7cb4c0, unlocked:true, set_rarity:function: 0x3c702048, __internal_register:function: 0x3c798498 (more...)}
 key = string: "j_stone"
 obj = table: 0x3e741d90  {original_key:stone, calculate:function: 0x3e741e20, unlocked:true, prefix_config:table: 0x3e741f28, loc_vars:function: 0x3e741e40, key:j_stone (more...)}
 silent = nil
 orig_o = table: 0x3c741c60  {loc_vars:function: 0x3cd11158, eternal_compat:true, atlas:Joker, registered:true, _saved_d_u:true, original_key:j_stone, cost:6, loc_txt:table: 0x3cd11028 (more...)}
 is_loc_modified = Lua function '?' (defined at line 560 of chunk [SMODS entr "items/misc/gfb.lua"])
 (*temporary) = C function: builtin#96
 (*temporary) = table: 0x3ca2ec38  {}
 (*temporary) = nil
 (*temporary) = table: 0x3e741f50  {}
 (*temporary) = table: 0x3e741db8  {}
 (*temporary) = nil
 (*temporary) = string: "attempt to index field 'current_mod' (a nil value)"
(4) Lua field 'inject_gfb' at file 'items/misc/gfb.lua:540' (from mod with id entr)
(5) Lua field 'injectItems' at file 'lib/loader.lua:366' (from mod with id entr)
(6) Lua field 'initSteamodded' at file 'src/preflight/loader.lua:919' (from lovely module SMODS.preflight.loader)
(7) Lua method 'start_up' at file 'game.lua:240'
Local variables:
 self = table: 0x3bfaf0c8  {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, F_ENGLISH_ONLY:false, F_DISCORD:true, STAGE:1, F_MOBILE_UI:false, F_NO_SAVING:false (more...)}
 settings = string: "return {["version"]="1.0.1o-FULL",["paused"]=false,["QUEUED_CHANGE"]={},["COMP"]={["prev_name"]="",["name"]="",["score"]=0,},["colourblind_option"]=true,["play_button_pos"]=2,["CUSTOM_DECK"]={["Collabs"]={["Spades"]="default_Spades",["entr_nilsuit"]="default_entr_nilsuit",["Hearts"]="default_Hearts",["Diamonds"]="default_Diamonds",["Clubs"]="default_Clubs",},},["colour_palettes"]={["Spades"]="hc",["entr_nilsuit"]="lc",["Hearts"]="hc",["Diamonds"]="hc",["Clubs"]="hc",},["crashreports"]=false,["tutorial_progress"]={["hold_parts"]={},["forced_shop"]={[2]="c_empress",[1]="j_joker",},["forced_voucher"]="v_grabber",["forced_tags"]={[2]="tag_garbage",[1]="tag_handy",},["completed_parts"]={["small_blind"]=true,},["section"]="small_blind",},["language"]="en-us",["profile"]="E1",["WINDOW"]={["vsync"]=0,["display_names"]={[1]="1",},["screenmode"]="Windowed",["DISPLAYS"]={[1]={["screen_resolutions"]={["strings"]={[1]="-",},["values"]={[1]={["w"]=1280,["h"]=720,},},},["screen_res"]={["w"]=1440,["h"]=900,},["DPI_scale"]=1,["MONITOR_DIMS"]={["height"]=900,["width"]=1440,},},},["selected_display"]=1,},["run_stake_stickers"]=false,["GAMESPEED"]=4,["entropy_tutorial_progress"]={["hold_parts"]={},["completed_parts"]={},["forced_shop"]={[1]="j_entr_sunny_joker",},["custom_forced"]={["voucher"]={[1]={["key"]="v_entr_diviner",["ante"]=2,},},["pack"]={[2]={["pos"]=2,["blind"]="Small",["key"]="p_celestial_normal_1",["ante"]=2,},[1]={["pos"]=1,["blind"]="Small",["key"]="p_entr_twisted_pack_normal",["ante"]=2,},},},},["music_control"]={["current_track"]="",["desired_track"]="",["lerp"]=1,},["ACHIEVEMENTS_EARNED"]={},["screenshake"]=50,["custom_antimatter_deck"]={["b_red"]=true,["b_blue"]=true,["b_black"]=true,["b_green"]=true,["b_yellow"]=true,},["ambient_control"]={["ambientFire1"]={["per"]=1.1,["vol"]=0,},["ambientOrgan1"]={["per"]=0.7,["vol"]=0,},["ambientFire2"]={["per"]=1.05,["vol"]=0,},["ambientFire3"]={["per"]=1,["vol"]=0,},},["SOUND"]={["volume"]=100,["music_volume"]=100,["game_sounds_volume"]=100,},["DEMO"]={["win_CTA_shown"]=true,["quit_CTA_shown"]=true,["timed_CTA_shown"]=true,["total_uptime"]=30.045000274834,},["GRAPHICS"]={["texture_scaling"]=2,["crt"]=0,["shadows"]="On",["bloom"]=2,},}"
 entr_conf = string: "return {
\9["blind_tokens"] = true,
\9["inversion_queues"] = 2,
\9["override_glitched"] = true,
\9["faster_ante_scaling"] = false,
\9["corrupted_speed"] = 100,
\9["profile_prefix"] = true,
\9["asc_power_tutorial"] = true,
\9["hide_sensitive_content"] = false,
\9["omega_aleph"] = false,
\9["entropic_music"] = true,
\9["freebird"] = true,
\9["curses_enabled"] = true,
}"
 settings_ver = nil
 new_colour_proto = table: 0x3bf7cfd8  {Spades:table: 0x3bf7c150, entr_nilsuit:table: 0x3c7e43e8, Hearts:table: 0x3bf7c000, Diamonds:table: 0x3bf7c0b8, Clubs:table: 0x3bf7c208}
 sound_files = table: 0x3c13f560  {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: 0x3c2dec90  {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...)}
(8) Lua field 'load' at file 'main.lua:1199'
(9) Lua function '?' at file 'main.lua:974' (best guess)
(10) global C function 'xpcall'
(11) LÖVE function at file 'boot.lua:368' (best guess)
Local variables:
 result = boolean: true
 main = nil
(12) global C function 'xpcall'
(13) 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"])
how to fix taht

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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