MikaSchoenmakers / MikasBalatro

Collection of Mikas Balatro mods
GNU General Public License v3.0
16 stars 7 forks source link

Batman Joker #10

Open spawn9859 opened 1 month ago

spawn9859 commented 1 month ago

I'm getting this error when using the batman joker:

Oops! The game crashed:
[SMODS MikasMods "MikasModCollection.lua"]:2416: attempt to compare table with number

Additional Context:
Balatro Version: 1.0.1f-FULL
Modded Version: 1.0.0-ALPHA-0621c-STEAMODDED
Love2D Version: 11.5.0
Lovely Version: 0.5.0-beta5
Steamodded Mods:
    1: Codex Arcanum by itayfeder, Lyman [ID: CodexArcanum, Priority: -100]
    2: BalaLib by Toeler [ID: balalib, Priority: -10]
    3: More Speed by Steamo [ID: MoreSpeed]
    4: Stickers Always Shown 🃏 by SirMaiquis [ID: StickersAlwaysShown]
    5: Bunco by Firch, RENREN, Peas, minichibis, J.D., Guwahavel, Ciirulean, ejwu [ID: Bunco, Version: 5.0]
    6: Cryptid by MathIsFun_, Balatro Discord [ID: Cryptid, Version: 0.3.4]
    7: Hand Preview by Toeler [ID: handpreview]
    8: Mika's Mod Collection by Mikadoe [ID: MikasMods]
    9: Robo Sorting by Robo [ID: RoboSort]
    10: Talisman by MathIsFun_ [ID: Talisman, Version: 1.2.2]
    11: Ante scaling linear by infarctus [ID: Infarctus_Ante_scaling_linear]

Stack Traceback
===============
(3) Lua method 'calculate' at file 'MikasModCollection.lua:2416' (from mod with id MikasMods)
Local variables:
 self = table: 0x283f5220  {click_offset:table: 0x28c10cc0, children:table: 0x27d37730, ambient_tilt:0.2 (more...)}
 context = table: 0x28173058  {after:true, mmc_scored_chips:7.4e2, card:table: 0x27e53500}
 (*temporary) = 7.4e2  {e:2, m:7.4}
 (*temporary) = number: 600
 (*temporary) = 7.4e2  {e:2, m:7.4}
 (*temporary) = Lua function '?' (defined at line 2398 of chunk [SMODS MikasMods "MikasModCollection.lua"])
 (*temporary) = table: 0x283f5220  {click_offset:table: 0x28c10cc0, children:table: 0x27d37730, ambient_tilt:0.2 (more...)}
 (*temporary) = string: "attempt to compare table with number"
(4) Lua upvalue 'ccj' at file 'card.lua:2497'
Local variables:
 self = table: 0x283f5220  {click_offset:table: 0x28c10cc0, children:table: 0x27d37730, ambient_tilt:0.2 (more...)}
 context = table: 0x28173058  {after:true, mmc_scored_chips:7.4e2, card:table: 0x27e53500}
 obj = table: 0x28034ce0  {alerted:true, loc_txt:table: 0x28034ac0, unlocked:true, registered:true (more...)}
(5) Lua upvalue 'cj' at file 'main.lua:7755'
Local variables:
 self = table: 0x283f5220  {click_offset:table: 0x28c10cc0, children:table: 0x27d37730, ambient_tilt:0.2 (more...)}
 context = table: 0x28173058  {after:true, mmc_scored_chips:7.4e2, card:table: 0x27e53500}
(6) Lua method 'calculate_joker' at file 'Cryptid.lua:62' (from mod with id Cryptid)
Local variables:
 self = table: 0x283f5220  {click_offset:table: 0x28c10cc0, children:table: 0x27d37730, ambient_tilt:0.2 (more...)}
 context = table: 0x28173058  {after:true, mmc_scored_chips:7.4e2, card:table: 0x27e53500}
(7) Lua global 'eval_card' at file 'functions/common_events.lua:698'
Local variables:
 card = table: 0x283f5220  {click_offset:table: 0x28c10cc0, children:table: 0x27d37730, ambient_tilt:0.2 (more...)}
 context = table: 0x28173058  {after:true, mmc_scored_chips:7.4e2, card:table: 0x27e53500}
 enhancement_calculated = boolean: false
 center = table: 0x28034ce0  {alerted:true, loc_txt:table: 0x28034ac0, unlocked:true, registered:true (more...)}
 ret = table: 0x2818a3f8  {}
 seals = nil
 jokers = nil
(8) Lua field 'evaluate_play' at file 'MikasModCollection.lua:6118' (from mod with id MikasMods)
Local variables:
 self = nil
 e = nil
 (for index) = number: 2
 (for limit) = number: 3
 (for step) = number: 1
 i = number: 2
(9) Lua field 'func' at file 'functions/state_events.lua:645'
(10) Lua method 'handle' at file 'engine/event.lua:99'
Local variables:
 self = table: 0x2839f698  {start_timer:true, timer:TOTAL, blockable:true, trigger:immediate, func:function: 0x27f29338 (more...)}
 _results = table: 0x2848c640  {blocking:true, pause_skip:false, time_done:false, completed:false}
(11) Lua method 'update' at file 'engine/event.lua:182'
Local variables:
 self = table: 0x27ff3680  {queue_last_processed:153.85000000001, queues:table: 0x27ff36a8, queue_dt:0.016666666666667 (more...)}
 dt = number: 0.00167386
 forced = nil
 (for generator) = C function: next
 (for state) = table: 0x27ff36a8  {unlock:table: 0x27ff36d0, other:table: 0x27ff3b48, tutorial:table: 0x27ff3720 (more...)}
 (for control) = number: nan
 k = string: "base"
 v = table: 0x27ff36f8  {1:table: 0x27e9ef48, 2:table: 0x2839f698, 3:table: 0x28b74320, 4:table: 0x283e8730 (more...)}
 blocked = boolean: false
 i = number: 2
 results = table: 0x2848c640  {blocking:true, pause_skip:false, time_done:false, completed:false}
(12) Lua upvalue 'gameUpdateRef' at file 'game.lua:2569'
Local variables:
 self = table: 0x27a35b30  {PALETTE:table: 0x27be6290, ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true (more...)}
 dt = number: 0.00167386
 http_resp = nil
(13) Lua upvalue 'upd' at file 'main.lua:479'
Local variables:
 self = table: 0x27a35b30  {PALETTE:table: 0x27be6290, ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true (more...)}
 dt = number: 0.00167386
(14) Lua upvalue 'upd' at file 'main.lua:7735'
Local variables:
 self = table: 0x27a35b30  {PALETTE:table: 0x27be6290, ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true (more...)}
 dt = number: 0.00167386
(15) Lua upvalue 'upd' at line 692 of chunk '"C:\Users\Zach\AppData\Roaming\Balatro\Mods/Cr..."]'
Local variables:
 self = table: 0x27a35b30  {PALETTE:table: 0x27be6290, ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true (more...)}
 dt = number: 0.00167386
(16) Lua upvalue 'orig_update' at line 1489 of chunk '"C:\Users\Zach\AppData\Roaming\Balatro\Mods/Cr..."]'
Local variables:
 self = table: 0x27a35b30  {PALETTE:table: 0x27be6290, ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true (more...)}
 dt = number: 0.00167386
(17) Lua method 'update' at file 'HandPreview.lua:331' (from mod with id handpreview)
Local variables:
 self = table: 0x27a35b30  {PALETTE:table: 0x27be6290, ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true (more...)}
 dt = number: 0.00167386
(18) Lua field 'update' at file 'main.lua:133'
Local variables:
 dt = number: 0.00167386
(19) Lua function '?' at file 'main.lua:77' (best guess)
(20) global C function 'xpcall'
(21) Love2D function at file 'boot.lua:377' (best guess)
Local variables:
 func = Lua function '?' (defined at line 48 of chunk main.lua)
 inerror = boolean: true
 deferErrhand = Lua function '(Love2D Function)' (defined at line 348 of chunk [love "boot.lua"])
 earlyinit = Lua function '(Love2D Function)' (defined at line 355 of chunk [love "boot.lua"])
spawn9859 commented 1 month ago

I think this is breaking due to cryptids also being enabled.