MathIsFun0 / Cryptid

An unbalanced Balatro mod
28 stars 22 forks source link

[v5.0] Crash on playing any hand #173

Closed Mythrrinthael closed 25 minutes ago

Mythrrinthael commented 1 week ago

Gray Stake Ante 5/8 Jokers in deck, left to right:

  1. Ace Aequilibrium [Rental]: "Last Joker Generated: Chaos the Clown" (Incorrect, it was Mad Joker on the last hand of previous round)
  2. Joker [Negative]
  3. Jolly Joker [Negative]
  4. Zany Joker [Negative]
  5. Mad Joker [Negative]
  6. Lusty Joker [Negative]
  7. Greedy Joker [Negative]
  8. Wrathful Joker [Negative]
  9. Gluttonous Joker [Negative]
  10. Chad [Eternal]
  11. Canvas [Negative]
  12. Wario
  13. Yorick
  14. Circus

Error log:

Oops! The game crashed:
card.lua:4392: attempt to compare number with nil

Additional Context:
Balatro Version: 1.0.1f-FULL
Modded Version: 1.0.0~ALPHA-0906b-STEAMODDED
Love2D Version: 11.5.0
Lovely Version: 0.5.0-beta6
Steamodded Mods:
    1: Cryptid by MathIsFun_, Balatro Discord [ID: Cryptid, Priority: 1e+299, Version: 0.5.0, Uses Lovely]
    2: Talisman by MathIsFun_, Mathguy24, jenwalter666 [ID: Talisman, Version: 2.0.0-beta7, Uses Lovely]
Lovely Mods:

Stack Traceback
===============
(3) Lua upvalue 'cj' at file 'card.lua:4392'
Local variables:
 self = table: 0x3a82ece8  {click_offset:table: 0x3ae43e78, children:table: 0x3b1744b8, ambient_tilt:0.2 (more...)}
 context = table: 0x3b70bf88  {callback:function: 0x3b239d28, poker_hands:table: 0x3b1cbc30, scoring_name:Five of a Kind (more...)}
 obj = table: 0x3a6a8c70  {alerted:false, _saved_d_u:true, unlocked:true, _u:true, effect:Steel Card Buff (more...)}
 (*temporary) = nil
 (*temporary) = number: 0
 (*temporary) = number: 0
 (*temporary) = nil
 (*temporary) = 0.00  {array:table: 0x3b905150, sign:1}
 (*temporary) = number: 1
 (*temporary) = boolean: false
 (*temporary) = 1.00  {array:table: 0x3b904c30, sign:1}
 (*temporary) = number: 1
 (*temporary) = boolean: false
 (*temporary) = number: 1
 (*temporary) = number: 1
 (*temporary) = number: 1
 (*temporary) = number: 1
 (*temporary) = string: "attempt to compare number with nil"
(4) Lua upvalue 'ccj' at Steamodded file 'core/overrides.lua:2046' 
Local variables:
 self = table: 0x3a82ece8  {click_offset:table: 0x3ae43e78, children:table: 0x3b1744b8, ambient_tilt:0.2 (more...)}
 context = table: 0x3b70bf88  {callback:function: 0x3b239d28, poker_hands:table: 0x3b1cbc30, scoring_name:Five of a Kind (more...)}
(5) Lua upvalue 'cj' at file 'main.lua:1681'
Local variables:
 self = table: 0x3a82ece8  {click_offset:table: 0x3ae43e78, children:table: 0x3b1744b8, ambient_tilt:0.2 (more...)}
 context = table: 0x3b70bf88  {callback:function: 0x3b239d28, poker_hands:table: 0x3b1cbc30, scoring_name:Five of a Kind (more...)}
(6) Lua upvalue 'cj' at file 'Cryptid.lua:676' (from mod with id Cryptid)
Local variables:
 self = table: 0x3a82ece8  {click_offset:table: 0x3ae43e78, children:table: 0x3b1744b8, ambient_tilt:0.2 (more...)}
 context = table: 0x3b70bf88  {callback:function: 0x3b239d28, poker_hands:table: 0x3b1cbc30, scoring_name:Five of a Kind (more...)}
 ggpn = number: 1
 orig_ability = table: 0x3b239d80  {bonus:0, h_mult:0, extra:0.2, x_chips:0, hands_played_at_create:26, mult:0 (more...)}
 in_context_scaling = boolean: false
(7) Lua method 'calculate_joker' at file 'Items/CodeCards.lua:3083' (from mod with id Cryptid)
Local variables:
 self = table: 0x3a82ece8  {click_offset:table: 0x3ae43e78, children:table: 0x3b1744b8, ambient_tilt:0.2 (more...)}
 context = table: 0x3b70bf88  {callback:function: 0x3b239d28, poker_hands:table: 0x3b1cbc30, scoring_name:Five of a Kind (more...)}
(8) Lua upvalue 'ec' at file 'functions/common_events.lua:736'
Local variables:
 card = table: 0x3a82ece8  {click_offset:table: 0x3ae43e78, children:table: 0x3b1744b8, ambient_tilt:0.2 (more...)}
 context = table: 0x3b70bf88  {callback:function: 0x3b239d28, poker_hands:table: 0x3b1cbc30, scoring_name:Five of a Kind (more...)}
 enhancement_calculated = boolean: false
 center = table: 0x3a6a8c70  {alerted:false, _saved_d_u:true, unlocked:true, _u:true, effect:Steel Card Buff (more...)}
 ret = table: 0x3b70bfb0  {}
 seals = nil
 jokers = nil
(9) Lua global 'eval_card' at file 'Cryptid.lua:325' (from mod with id Cryptid)
Local variables:
 card = table: 0x3a82ece8  {click_offset:table: 0x3ae43e78, children:table: 0x3b1744b8, ambient_tilt:0.2 (more...)}
 context = table: 0x3b70bf88  {callback:function: 0x3b239d28, poker_hands:table: 0x3b1cbc30, scoring_name:Five of a Kind (more...)}
 ggpn = number: 1
(10) Lua upvalue 'gfep' at file 'functions/state_events.lua:1670'
Local variables:
 e = nil
 text = string: "Five of a Kind"
 disp_text = string: "Five of a Kind"
 poker_hands = table: 0x3b1cbc30  {Flush House:table: 0x3b9b0a08, Full House:table: 0x3b9b0a68, top:table: 0x3a837328 (more...)}
 scoring_hand = table: 0x3ac948d0  {1:table: 0x3b3c01b8, 2:table: 0x3b3cc108, 3:table: 0x3b3d8028, 4:table: 0x3b496548 (more...)}
 non_loc_disp_text = string: "Five of a Kind"
 text_repl = string: "Five of a Kind"
 disp_text_repl = string: "Five of a Kind"
 non_loc_disp_text_repl = string: "Five of a Kind"
 pures = table: 0x3a8373d8  {}
 percent = number: 4.46
 percent_delta = number: 0.08
 hand_text_set = boolean: false
 modded = boolean: false
 mod_percent = boolean: false
 (for index) = number: 16
 (for limit) = number: 16
 (for step) = number: 1
 i = number: 16
 _card = table: 0x3a82ece8  {click_offset:table: 0x3ae43e78, children:table: 0x3b1744b8, ambient_tilt:0.2 (more...)}
 edition_effects = table: 0x3b23a420  {jokers:table: 0x3b2372a0}
(11) Lua upvalue 'gfep' at file 'main.lua:1695'
Local variables:
 e = nil
(12) Lua field 'evaluate_play' at file 'Items/Blinds.lua:1143' (from mod with id Cryptid)
Local variables:
 e = nil
(13) Lua field 'func' at file 'functions/state_events.lua:818'
(14) Lua method 'handle' at file 'engine/event.lua:99'
Local variables:
 self = table: 0x3a8c2810  {start_timer:true, timer:TOTAL, blockable:true, trigger:immediate, func:function: 0x3a62e188 (more...)}
 _results = table: 0x3aad9a80  {blocking:true, pause_skip:false, time_done:false, completed:false}
(15) Lua method 'update' at file 'engine/event.lua:182'
Local variables:
 self = table: 0x3a8de4a0  {queue_last_processed:67.983333333331, queues:table: 0x3a8de4c8, queue_dt:0.016666666666667 (more...)}
 dt = number: 0.0166665
 forced = nil
 (for generator) = C function: next
 (for state) = table: 0x3a8de4c8  {unlock:table: 0x3a5ca0e8, other:table: 0x3a5d4048, tutorial:table: 0x3a88f290 (more...)}
 (for control) = number: nan
 k = string: "base"
 v = table: 0x3a5ca110  {1:table: 0x3b0d6b08, 2:table: 0x3a8c2810, 3:table: 0x3a6ca528, 4:table: 0x3b676598 (more...)}
 blocked = boolean: false
 i = number: 2
 results = table: 0x3aad9a80  {blocking:true, pause_skip:false, time_done:false, completed:false}
(16) Lua upvalue 'gameUpdateRef' at file 'game.lua:2662'
Local variables:
 self = table: 0x3a2ef320  {ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x3b44a558 (more...)}
 dt = number: 0.0166665
 http_resp = nil
(17) Lua upvalue 'upd' at Steamodded file 'core/ui.lua:81' 
Local variables:
 self = table: 0x3a2ef320  {ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x3b44a558 (more...)}
 dt = number: 0.0166665
(18) Lua upvalue 'upd' at file 'main.lua:1661'
Local variables:
 self = table: 0x3a2ef320  {ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x3b44a558 (more...)}
 dt = number: 0.0166665
(19) Lua upvalue 'upd' at file 'Items/Blinds.lua:1103' (from mod with id Cryptid)
Local variables:
 self = table: 0x3a2ef320  {ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x3b44a558 (more...)}
 dt = number: 0.0166665
(20) Lua upvalue 'upd' at file 'Items/CodeCards.lua:3058' (from mod with id Cryptid)
Local variables:
 self = table: 0x3a2ef320  {ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x3b44a558 (more...)}
 dt = number: 0.0166665
(21) Lua upvalue 'upd' at file 'Items/MiscJokers.lua:4913' (from mod with id Cryptid)
Local variables:
 self = table: 0x3a2ef320  {ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x3b44a558 (more...)}
 dt = number: 0.0166665
(22) Lua method 'update' at file 'Cryptid.lua:1706' (from mod with id Cryptid)
Local variables:
 self = table: 0x3a2ef320  {ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x3b44a558 (more...)}
 dt = number: 0.0166665
(23) Lua field 'update' at file 'main.lua:936'
Local variables:
 dt = number: 0.0166665
(24) Lua function '?' at file 'main.lua:880' (best guess)
(25) global C function 'xpcall'
(26) Love2D function at file 'boot.lua:377' (best guess)
Local variables:
 func = Lua function '?' (defined at line 851 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"])`
MathIsFun0 commented 1 week ago

Could you send the Mods/lovely/dump/card.lua file if you haven't updated yet? wasn't able to determine where this error was coming from by myself

Mythrrinthael commented 1 week ago

Sorry, I skipped past the crash by selling the Ace Aequilibrium and now my card.lua file is dated 09-09.

Jevonnissocoolman commented 25 minutes ago

I think this issue has been resolved now? I've fixed all the Ace Aequilibrium crashes I could find in newer versions of cryptid so lemme know if this still happens