jamesthejellyfish / JellyMod

A mod for balatro that adds 31 new jokers, reverse tarot cards, and some new challenges.
MIT License
6 stars 3 forks source link

Issue with the localisation. #11

Open aidansstuff opened 3 weeks ago

aidansstuff commented 3 weeks ago

Hi getting an error that appears to be related to the localization.

Oops! The game crashed: [SMODS JellyJokers "JellyJokers.lua"]:323: attempt to call global 'updateLocalizationJelly' (a nil value)

Additional Context: Balatro Version: 1.0.1m-FULL Modded Version: 1.0.0~ALPHA-0927a-STEAMODDED Love2D Version: 11.5.0 Lovely Version: 0.5.0-beta7 Steamodded Mods: 1: JellyUtil by JamesTheJellyfish [ID: JellyUtil] 2: Jelly Tarots by JamesTheJellyfish [ID: JellyTarots] 3: Game Modifications by JamesTheJellyfish [ID: ExpandInHandAbilities] 4: Talisman by MathIsFun_, Mathguy24, jenwalter666 [ID: Talisman, Version: 2.0.0-beta8, Uses Lovely] 5: Bad Apple Joker by JamestheJellyfish [ID: BadApple] 6: Jelly's Jokers by JamesTheJellyfish [ID: JellyJokers] 7: Challenges by JamesTheJellyfish [ID: JellyChallenges] 8: Reroll Packs by DorkDad141 [ID: RerollPacks] 9: Jelly's Vouchers by JamesTheJellyfish [ID: JellyVouchers] Lovely Mods:

Stack Traceback

(3) Lua local 'v' at file 'JellyJokers.lua:323' (from mod with id JellyJokers) Local variables: localization = table: 0x012b6d24a8 {j_prosopagnosia:table: 0x0154eb49c8, j_greedy_pot:table: 0x012b7adf58, j_glutton_joker:table: 0x012fc11928 (more...)} food_localization = table: 0x012b192090 {food_jokers:table: 0x012b59cf40} (temporary) = nil (temporary) = number: 2.82768e-314 (temporary) = table: 0x012b6d24a8 {j_prosopagnosia:table: 0x0154eb49c8, j_greedy_pot:table: 0x012b7adf58, j_glutton_joker:table: 0x012fc11928 (more...)} (temporary) = string: "Joker" (temporary) = number: 2.48219e-314 (temporary) = table: 0x012fc159b8 {.misc.poker_hands.Flushestest House:Flushestest House, .misc.poker_hands.Fullestest House:Fullestest House (more...)} (temporary) = table: 0x012fcab078 {capture_table:table: 0x012fc159b8, orig_t:table: 0x012fb9e368, idx_str: (more...)} (temporary) = table: 0x012fb76460 {table: 0x0154e56e30:true, table: 0x01516c8080:true, table: 0x015173cf80:true (more...)} (temporary) = boolean: true (temporary) = table: 0x012fbe4da8 {index:function: 0x012b7576a0, newindex:function: 0x012b7579b8} (temporary) = table: 0x012fb9e3e8 {Spectral:table: 0x013981e450, Tag:table: 0x013fdea970, Joker:table: 0x012b50af50 (more...)} (temporary) = string: "attempt to call global 'updateLocalizationJelly' (a nil value)" (4) Lua local 'func' at Steamodded file 'loader/loader.lua:310' Local variables: (for generator) = C function: next (for state) = table: 0x012b7b4f48 {JellyJokers:function: 0x012fb8a048} (for control) = userdata: NULL k = string: "JellyJokers" v = Lua function '?' (defined at line 10 of chunk [SMODS JellyJokers "JellyJokers.lua"]) (5) Lua field 'with_compat' at Steamodded file 'core/compat_0_98.lua:522' Local variables: func = Lua function '?' (defined at line 306 of chunk [SMODS "loader/loader.lua"]) localization_ref = table: 0x012fb9e368 {tutorial_parsed:table: 0x012b689368, misc:table: 0x01516944d8, quips_parsed:table: 0x0154e52d58 (more...)} captured_loc = table: 0x012fc159b8 {.misc.poker_hands.Flushestest House:Flushestest House, .misc.poker_hands.Fullestest House:Fullestest House (more...)} (6) Lua global 'loadMods' at Steamodded file 'loader/loader.lua:306' Local variables: modsDirectory = string: "Mods" header_components = table: 0x01551398c8 {badge_colour:table: 0x0155139d78, prefix:table: 0x015513a188, author:table: 0x0155139b98 (more...)} used_prefixes = table: 0x015513a470 {talisman:Talisman, jell:JellyUtil, rero:RerollPacks, expa:ExpandInHandAbilities (more...)} lovelydirectories = table: 0x015513a4b8 {1:Mods/Talisman/} processDirectory = Lua function '?' (defined at line 66 of chunk [SMODS "loader/loader.lua"]) keyset = table: 0x012b743850 {1:0} checkdependencies = Lua function '?' (defined at line 237 of chunk [SMODS "loader/loader.lua"]) (for generator) = C function: builtin#6 (for state) = table: 0x012b743850 {1:0} (for control) = number: 1 = number: 1 priority = number: 0 (for generator) = C function: builtin#6 (for state) = table: 0x015513fcb0 {1:table: 0x015513f850, 2:table: 0x0155286218, 3:table: 0x012fba4b30, 4:table: 0x012fba8870 (more...)} (for control) = number: 4 = number: 4 mod = table: 0x012fba8870 {badge_colour:table: 0x012fba88b8, optional_dependencies:table: 0x0155163568 (more...)} (7) Lua global 'initSteamodded' at Steamodded file 'loader/loader.lua:387' (8) Lua upvalue 'su' at file 'game.lua:313' Local variables: self = table: 0x012b52d5b0 {WINDOWTRANS:table: 0x012b6df4f0, sticker_map:table: 0x0154f1fb50, LOADING:table: 0x012b6777b0 (more...)} settings = string: "return {[\"GRAPHICS\"]={[\"texture_scaling\"]=1,[\"bloom\"]=1,[\"shadows\"]=\"Off\",[\"crt\"]=0,},[\"paused\"]=true,[\"CUSTOM_DECK\"]={[\"Collabs\"]={[\"Hearts\"]=\"default\",[\"Spades\"]=\"default\",[\"Clubs\"]=\"default\",[\"Diamonds\"]=\"default\",},},[\"screenshake\"]=100,[\"run_stake_stickers\"]=false,[\"crashreports\"]=false,[\"ambient_control\"]={[\"ambientFire2\"]={[\"vol\"]=0,[\"per\"]=1.05,},[\"ambientFire1\"]={[\"vol\"]=0,[\"per\"]=1.1,},[\"ambientOrgan1\"]={[\"vol\"]=0,[\"per\"]=0.7,},[\"ambientFire3\"]={[\"vol\"]=0,[\"per\"]=1,},},[\"play_button_pos\"]=2,[\"language\"]=\"en-us\",[\"colourblind_option\"]=true,[\"ACHIEVEMENTS_EARNED\"]={[\"ach_cry_googol_play_pass\"]=true,[\"nest_egg\"]=true,[\"extreme_couponer\"]=true,[\"ach_cry_used_crash\"]=true,[\"royale\"]=true,[\"ach_cry_pull_request\"]=true,[\"roi\"]=true,[\"retrograde\"]=true,[\"_10k\"]=true,[\"_1000k\"]=true,[\"_100000k\"]=true,[\"big_hands\"]=true,[\"legendary\"]=true,[\"clairvoyance\"]=true,[\"cartomancy\"]=true,[\"astronomy\"]=true,[\"ante_up\"]=true,[\"card_discarder\"]=true,[\"card_player\"]=true,[\"low_stakes\"]=true,[\"mid_stakes\"]=true,[\"ante_upper\"]=true,[\"heads_up\"]=true,},[\"QUEUED_CHANGE\"]={},[\"tutorial_complete\"]=true,[\"SOUND\"]={[\"volume\"]=91.475744527571,[\"music_volume\"]=0,[\"game_sounds_volume\"]=67.419495628337,},[\"version\"]=\"1.0.1m-FULL\",[\"tutorial_progress\"]={[\"hold_parts\"]={},[\"completed_parts\"]={[\"shop_1\"]=true,[\"big_blind\"]=true,[\"first_hand_4\"]=true,[\"first_hand_section\"]=true,[\"first_hand\"]=true,[\"first_hand_2\"]=true,[\"first_hand_3\"]=true,[\"small_blind\"]=true,},[\"section\"]=\"big_blind\",},[\"WINDOW\"]={[\"screenmode\"]=\"Borderless\",[\"vsync\"]=0,[\"selected_display\"]=3,[\"display_names\"]={[1]=\"1\",[2]=\"2\",[3]=\"3\",},[\"DISPLAYS\"]={[1]={[\"screen_resolutions\"]={[\"values\"]={[1]={[\"h\"]=1080,[\"w\"]=1920,},},[\"strings\"]={[1]=\"1920 X 1080\",},},[\"MONITOR_DIMS\"]={[\"height\"]=1080,[\"width\"]=1920,},[\"DPI_scale\"]=1,},[2]={[\"screen_resolutions\"]={[\"values\"]={[1]={[\"h\"]=1080,[\"w\"]=1920,},},[\"strings\"]={[1]=\"1080 X 1920\",},},[\"MONITOR_DIMS\"]={[\"height\"]=1920,[\"width\"]=1080,},[\"DPI_scale\"]=1,},[3]={[\"screen_resolutions\"]={[\"values\"]={[1]={[\"h\"]=1080,[\"w\"]=1920,},},[\"strings\"]={[1]=\"1920 X 1080\",},},[\"MONITOR_DIMS\"]={[\"height\"]=1080,[\"width\"]=1920,},[\"DPI_scale\"]=1,[\"screen_res\"]={[\"h\"]=1600,[\"w\"]=2560,},},},},[\"music_control\"]={[\"lerp\"]=1,[\"current_track\"]=\"\",[\"desired_track\"]=\"\",},[\"DEMO\"]={[\"quit_CTA_shown\"]=true,[\"total_uptime\"]=150.09862401046,[\"timed_CTA_shown\"]=true,[\"win_CTA_shown\"]=true,},[\"profile\"]=2,[\"current_setup\"]=\"New Run\",[\"GAMESPEED\"]=4,[\"COMP\"]={[\"prev_name\"]=\"\",[\"score\"]=7687107407.9138,[\"name\"]=\"\",},}" settings_ver = nil new_colour_proto = table: 0x012b5372c0 {Hearts:table: 0x012b537418, Clubs:table: 0x012b5376c0, Spades:table: 0x012b5375d0 (more...)} sound_files = table: 0x012b52d5f8 {1:ambientFire1.ogg, 2:ambientFire2.ogg, 3:ambientFire3.ogg, 4:ambientOrgan1.ogg (more...)} shader_files = table: 0x012b6b59c0 {1:CRT.fs, 2:background.fs, 3:booster.fs, 4:debuff.fs, 5:dissolve.fs, 6:flame.fs (more...)} (9) Lua method 'start_up' at file 'main.lua:1853' Local variables: self = table: 0x012b52d5b0 {WINDOWTRANS:table: 0x012b6df4f0, sticker_map:table: 0x0154f1fb50, LOADING:table: 0x012b6777b0 (more...)} (10) Lua field 'load' at file 'main.lua:923' (11) Lua function '?' at file 'main.lua:870' (best guess) (12) global C function 'xpcall' (13) Love2D function at file 'boot.lua:368' (best guess) Local variables: result = boolean: true main = nil (14) global C function 'xpcall' (15) Love2D function at file 'boot.lua:377' (best guess) Local variables: func = Lua function '(Love2D Function)' (defined at line 355 of chunk [love "boot.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"])

SebbiUltimate commented 3 weeks ago

I could fix it by adding --- PRIORITY: 1 to JellyUtil.lua Header and adding --- PRIORITY: 2 to all other lua file headers.