dvrp0 / reverie

A movie-themed Balatro expansion that focuses on providing special shops and various contents around it
GNU General Public License v3.0
7 stars 2 forks source link

Possible mod interaction bug between Bunco/Reverie #3

Closed SineSwiper closed 5 days ago

SineSwiper commented 2 months ago

Was playing with the Sixes Deck, triggered Gem Heist (the coupon), and this happened when I re-rolled:

INFO - [G] Crazy Pack Available: nil (0)
INFO - [G] Alchemical Available: true (4.8)
INFO - [G] Total Rate: 39.4, Polled Rate: 37.242337251695
INFO - [G] Checking: Joker, Available: true, Polled Rate(37.242337251695) <= Check Rate(0) + Val(20) = (20)
INFO - [G] Checking: Tarot, Available: true, Polled Rate(37.242337251695) <= Check Rate(20) + Val(9.6) = (29.6)
INFO - [G] Checking: Planet, Available: true, Polled Rate(37.242337251695) <= Check Rate(29.6) + Val(4) = (33.6)
INFO - [G] Checking: Base, Available: true, Polled Rate(37.242337251695) <= Check Rate(33.6) + Val(0) = (33.6)
INFO - [G] Checking: Spectral, Available: true, Polled Rate(37.242337251695) <= Check Rate(33.6) + Val(1) = (34.6)
INFO - [G] Checking: Tag, Available: nil, Polled Rate(37.242337251695) <= Check Rate(34.6) + Val(0) = (34.6)
INFO - [G] Checking: Crazy, Available: nil, Polled Rate(37.242337251695) <= Check Rate(34.6) + Val(0) = (34.6)
INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] 2024-05-18 10:57:25 :: ERROR :: StackTrace :: Oops! The game crashed
[string "--- STEAMODDED HEADER..."]:2183: attempt to index local 'card' (a nil value)
Stack Traceback
===============
(1) Lua local 'handler' at file 'main.lua:6004'
        Local variables:
         msg = string: "[string \"--- STEAMODDED HEADER...\"]:2183: attempt to index local 'card' (a nil value)"
         (*temporary) = Lua function '?' (defined at line 6046 of chunk main.lua)
         (*temporary) = string: "Oops! The game crashed\
"
(2) Love2D metamethod at file 'boot.lua:352'
        Local variables:
         errhand = Lua function '?' (defined at line 6003 of chunk main.lua)
         handler = Lua function '?' (defined at line 6003 of chunk main.lua)
(3) Lua global 'set_card_back' at line 2183 of mod Reverie (Reverie)
        Local variables:
         card = nil
         (*temporary) = nil
         (*temporary) = nil
         (*temporary) = boolean: true
         (*temporary) = number: 0
         (*temporary) = number: 1
         (*temporary) = nil
         (*temporary) = number: 4.8
         (*temporary) = number: 39.4
         (*temporary) = string: "attempt to index local 'card' (a nil value)"
(4) Lua upvalue 'original_emplace' at line 1077 of mod Reverie (Reverie)
        Local variables:
         self = table: 0x0438c100  {click_offset:table: 0x04ad2018, static_rotation:false, shuffle_amt:0, parent:table: 0x04b15f20 (more...)}
         card = nil
         location = nil
         stay_flipped = nil
(5) Lua method 'emplace' at line 743 of mod Bunco (Bunco)
        Local variables:
         self = table: 0x0438c100  {click_offset:table: 0x04ad2018, static_rotation:false, shuffle_amt:0, parent:table: 0x04b15f20 (more...)}
         card = nil
         location = nil
         stay_flipped = nil
(6) Lua field 'func' at file 'functions/button_callbacks.lua:2888'
        Local variables:
         final_free = boolean: false
         (for index) = number: 1
         (for limit) = number: 2
         (for step) = number: 1
         i = number: 1
         new_shop_card = nil
(7) Lua method 'handle' at file 'engine/event.lua:99'
        Local variables:
         self = table: 0x03d4e338  {start_timer:true, timer:TOTAL, blockable:true, trigger:immediate, func:function: 0x04640d78 (more...)}
         _results = table: 0x041fe1a0  {blocking:true, pause_skip:false, time_done:false, completed:false}
(8) Lua method 'update' at file 'engine/event.lua:182'
        Local variables:
         self = table: 0x04309950  {queue_last_processed:311.56666666671, queues:table: 0x04309978, queue_dt:0.016666666666667 (more...)}
         dt = number: 0.00675984
         forced = nil
         (for generator) = C function: next
         (for state) = table: 0x04309978  {unlock:table: 0x043099a0, other:table: 0x04309e20, tutorial:table: 0x04309dd0 (more...)}
         (for control) = number: nan
         k = string: "base"
         v = table: 0x043099c8  {1:table: 0x03fb4920, 2:table: 0x04b60cf8, 3:table: 0x03d4e338, 4:table: 0x0421fe38 (more...)}
         blocked = boolean: false
         i = number: 3
         results = table: 0x041fe1a0  {blocking:true, pause_skip:false, time_done:false, completed:false}
(9) Lua upvalue 'gameUpdateRef' at file 'game.lua:2465'
        Local variables:
         self = table: 0x03d289d8  {ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x043eee68 (more...)}
         dt = number: 0.00675984
         http_resp = nil
(10) Lua upvalue 'game_updateref' at file 'main.lua:554'
        Local variables:
         arg_298_0 = table: 0x03d289d8  {ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x043eee68 (more...)}
         arg_298_1 = number: 0.00675984
(11) Lua method 'update' at file 'Mods/CodexArcanum/CA_Overrides.lua:884'
        Local variables:
         self = table: 0x03d289d8  {ANIMATION_FPS:10, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x043eee68 (more...)}
         dt = number: 0.00675984
(12) Lua field 'update' at file 'main.lua:131'
        Local variables:
         dt = number: 0.00675984
(13) Lua function '?' at file 'main.lua:75' (best guess)
(14) global C function 'xpcall'
(15) Love2D function at file 'boot.lua:377' (best guess)
        Local variables:
         func = Lua function '?' (defined at line 46 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"])

INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] file not found: main.lua: No such file or directory
SineSwiper commented 2 months ago

After triggering this a few times on the same shop, and figuring out the crash point, I think this happens when Gem Heist is attempting to polychrome an Alchemical card in the shop.

dvrp0 commented 2 months ago

Seems like you have older version of Reverie, try downloading latest release