From b64b7f27d215adb97567d53be4d42de262f26e95 Mon Sep 17 00:00:00 2001 From: lesleyrs <19632758+lesleyrs@users.noreply.github.com> Date: Thu, 18 Jul 2024 02:46:55 +0200 Subject: [PATCH] fix --- src/public/worker.js | 2986 +++++++++++++++++++++--------------------- 1 file changed, 1498 insertions(+), 1488 deletions(-) diff --git a/src/public/worker.js b/src/public/worker.js index 90387846..6d8a58ed 100644 --- a/src/public/worker.js +++ b/src/public/worker.js @@ -42553,6 +42553,1498 @@ var require_lib = __commonJS((exports, module) => { require_util(); }); +// src/lostcity/server/PreloadedDirs.ts +var exports_PreloadedDirs = {}; +__export(exports_PreloadedDirs, { + songs: () => songs, + serverMaps: () => serverMaps, + maps: () => maps, + jingles: () => jingles +}); +var maps, songs, jingles, serverMaps; +var init_PreloadedDirs = __esm(() => { + maps = [ + 'm52_58', + 'l50_57', + 'l36_150', + 'l48_50', + 'm53_50', + 'm51_147', + 'l34_73', + 'm43_73', + 'l45_76', + 'l41_149', + 'l39_150', + 'l50_153', + 'l39_155', + 'l42_144', + 'm40_150', + 'l47_58', + 'l48_152', + 'l47_62', + 'm40_149', + 'l48_62', + 'm38_153', + 'l47_150', + 'm50_149', + 'm37_152', + 'm39_74', + 'l48_156', + 'm43_145', + 'l36_73', + 'l49_48', + 'l48_52', + 'l51_55', + 'l45_57', + 'l39_72', + 'l36_154', + 'l37_49', + 'l41_47', + 'm46_149', + 'm41_75', + 'l46_56', + 'l52_60', + 'l44_48', + 'm37_150', + 'l32_72', + 'm46_53', + 'l46_46', + 'm34_70', + 'm40_74', + 'l49_58', + 'm35_76', + 'm37_54', + 'l38_52', + 'm39_45', + 'm51_56', + 'm41_151', + 'l48_51', + 'l36_74', + 'm43_56', + 'm44_53', + 'l46_49', + 'm51_61', + 'l47_48', + 'l47_50', + 'l46_55', + 'l43_55', + 'l47_53', + 'l45_60', + 'm39_147', + 'm36_154', + 'm47_150', + 'l50_152', + 'l39_74', + 'm48_48', + 'm44_146', + 'm50_59', + 'l47_153', + 'l47_54', + 'm39_149', + 'l44_46', + 'l32_75', + 'l52_49', + 'm48_47', + 'm33_71', + 'l44_53', + 'l50_62', + 'l45_150', + 'l38_155', + 'm52_54', + 'l36_153', + 'm50_46', + 'l52_51', + 'm32_74', + 'm41_146', + 'm51_48', + 'l44_55', + 'l43_49', + 'm50_53', + 'l33_76', + 'l43_51', + 'l45_155', + 'm46_152', + 'm46_75', + 'l49_62', + 'm49_53', + 'l37_72', + 'm46_48', + 'm39_48', + 'm39_46', + 'l39_151', + 'l47_60', + 'm42_73', + 'l40_48', + 'l49_153', + 'm47_50', + 'l43_52', + 'm34_73', + 'm53_49', + 'm40_51', + 'l48_53', + 'l53_50', + 'l49_154', + 'l47_55', + 'm37_51', + 'm45_154', + 'm32_75', + 'm43_75', + 'm49_62', + 'l40_153', + 'l42_55', + 'l49_61', + 'l51_50', + 'm41_74', + 'm47_53', + 'l50_58', + 'l44_49', + 'l44_75', + 'l40_54', + 'm49_48', + 'm44_148', + 'm42_50', + 'm40_53', + 'm42_53', + 'm35_75', + 'l42_72', + 'l38_54', + 'm35_20', + 'm45_145', + 'm40_52', + 'l34_72', + 'l44_54', + 'l40_45', + 'l37_51', + 'l49_59', + 'l44_45', + 'l51_54', + 'l39_76', + 'l46_48', + 'l42_54', + 'm50_153', + 'l48_54', + 'l45_152', + 'm44_149', + 'l47_149', + 'm46_56', + 'l37_152', + 'm49_149', + 'm50_60', + 'm42_152', + 'm37_75', + 'l45_52', + 'l43_50', + 'l41_75', + 'm41_54', + 'm52_47', + 'm44_145', + 'l33_73', + 'l51_154', + 'm44_151', + 'm49_47', + 'l42_152', + 'l38_55', + 'm52_53', + 'm47_49', + 'm39_72', + 'l43_54', + 'm49_153', + 'l47_56', + 'm37_74', + 'm49_52', + 'm37_148', + 'l32_70', + 'm31_75', + 'm44_155', + 'l47_61', + 'm41_72', + 'l51_59', + 'l36_146', + 'l52_56', + 'm41_51', + 'm47_56', + 'l48_59', + 'l41_46', + 'm44_49', + 'l36_72', + 'm49_51', + 'l38_146', + 'm41_56', + 'm46_50', + 'l48_154', + 'l46_161', + 'm37_49', + 'l49_47', + 'l40_148', + 'm46_150', + 'l42_52', + 'l49_49', + 'm45_75', + 'm45_52', + 'l37_149', + 'm36_150', + 'l37_150', + 'm49_56', + 'm38_149', + 'l40_150', + 'm51_53', + 'l44_149', + 'm48_156', + 'l50_55', + 'm29_75', + 'm42_51', + 'l38_154', + 'l39_48', + 'm47_153', + 'm41_46', + 'm45_60', + 'l45_154', + 'm44_75', + 'l37_74', + 'm47_55', + 'm38_47', + 'l45_59', + 'm50_152', + 'm36_54', + 'm45_151', + 'l51_48', + 'm46_153', + 'l50_52', + 'l41_153', + 'm40_45', + 'm39_152', + 'l44_152', + 'l40_152', + 'l52_154', + 'l50_150', + 'm45_74', + 'l37_54', + 'm47_57', + 'm50_48', + 'l39_148', + 'm37_154', + 'm45_58', + 'm49_156', + 'l44_144', + 'l52_54', + 'm42_54', + 'm43_54', + 'l45_58', + 'l47_59', + 'm48_57', + 'm50_61', + 'l51_52', + 'm41_47', + 'm39_47', + 'l37_148', + 'l36_76', + 'm41_52', + 'm45_47', + 'l48_48', + 'm50_49', + 'm34_75', + 'm46_46', + 'm38_148', + 'l34_70', + 'l52_48', + 'l39_153', + 'm44_48', + 'm42_74', + 'l45_62', + 'l46_154', + 'l52_57', + 'l49_50', + 'm43_74', + 'l41_53', + 'm42_145', + 'l45_55', + 'l45_146', + 'l44_50', + 'l43_154', + 'm38_155', + 'm44_144', + 'l33_72', + 'l33_74', + 'm39_76', + 'l49_52', + 'm49_50', + 'l50_47', + 'm40_54', + 'm47_54', + 'l41_151', + 'l49_156', + 'm38_150', + 'l29_75', + 'm44_50', + 'm38_151', + 'm48_154', + 'm41_153', + 'm38_45', + 'l45_49', + 'm43_53', + 'l49_46', + 'm38_154', + 'l42_146', + 'm32_71', + 'm38_52', + 'l45_74', + 'm45_61', + 'm47_161', + 'l53_52', + 'l46_152', + 'm47_58', + 'l36_149', + 'm36_52', + 'l49_148', + 'm46_47', + 'm50_55', + 'm44_45', + 'l50_50', + 'm45_48', + 'm46_58', + 'l43_53', + 'l38_147', + 'l44_72', + 'm37_53', + 'l41_146', + 'm48_61', + 'l52_46', + 'm45_56', + 'l46_53', + 'l47_52', + 'l44_73', + 'm45_57', + 'm38_73', + 'm39_49', + 'l35_76', + 'l39_147', + 'm45_150', + 'l45_54', + 'm52_153', + 'l46_61', + 'm50_56', + 'l41_72', + 'l44_52', + 'm46_55', + 'l39_154', + 'l46_50', + 'l48_153', + 'l50_48', + 'm52_57', + 'm44_152', + 'm51_154', + 'l51_47', + 'l51_60', + 'l47_57', + 'm43_153', + 'm39_53', + 'l48_55', + 'l36_54', + 'm51_60', + 'l46_51', + 'm34_74', + 'l40_52', + 'l32_74', + 'm53_52', + 'm34_72', + 'l40_53', + 'm47_152', + 'm44_52', + 'm38_51', + 'l45_50', + 'm51_47', + 'l46_58', + 'l52_62', + 'm49_154', + 'l39_45', + 'm42_75', + 'm38_55', + 'm42_72', + 'l48_49', + 'm49_61', + 'l49_53', + 'm50_54', + 'l42_50', + 'm33_70', + 'm40_46', + 'm49_155', + 'm38_146', + 'm52_46', + 'm41_48', + 'm45_59', + 'l39_47', + 'm44_47', + 'm46_51', + 'm36_72', + 'm47_148', + 'l38_47', + 'm48_155', + 'm43_51', + 'm40_73', + 'l40_50', + 'l45_75', + 'l43_56', + 'l38_149', + 'm43_46', + 'l30_75', + 'l40_75', + 'm50_47', + 'l40_72', + 'm44_51', + 'l42_73', + 'm43_154', + 'l46_75', + 'l43_46', + 'm44_74', + 'm44_55', + 'l46_57', + 'm37_149', + 'm45_46', + 'l39_149', + 'l38_73', + 'm38_152', + 'l40_55', + 'm41_149', + 'l37_50', + 'm49_46', + 'm46_62', + 'm32_72', + 'm47_62', + 'm42_56', + 'm48_153', + 'm52_55', + 'l40_46', + 'l45_56', + 'm48_59', + 'm52_49', + 'l46_59', + 'l50_59', + 'm42_146', + 'm51_58', + 'l38_53', + 'm45_51', + 'l44_150', + 'm48_50', + 'l51_62', + 'm52_56', + 'm45_54', + 'm38_46', + 'l35_20', + 'm47_160', + 'm49_49', + 'l52_53', + 'l43_153', + 'l43_73', + 'l51_46', + 'l42_51', + 'm48_58', + 'm45_153', + 'l49_60', + 'm37_50', + 'l34_76', + 'l36_147', + 'l47_148', + 'm41_154', + 'm46_57', + 'm48_149', + 'm52_51', + 'l43_45', + 'm45_49', + 'm48_51', + 'l32_73', + 'l45_61', + 'm39_154', + 'm49_59', + 'l47_161', + 'l50_51', + 'l36_52', + 'm30_75', + 'l46_149', + 'm36_153', + 'l38_150', + 'l48_60', + 'm51_49', + 'm36_74', + 'l38_46', + 'l37_48', + 'm53_51', + 'm40_147', + 'm36_149', + 'l46_54', + 'm52_61', + 'm49_57', + 'm36_147', + 'm51_55', + 'm46_161', + 'm45_76', + 'm39_75', + 'l53_49', + 'l42_153', + 'm40_75', + 'l33_70', + 'm42_55', + 'l50_54', + 'l43_74', + 'm48_52', + 'm49_148', + 'l51_56', + 'm43_52', + 'l51_58', + 'l40_49', + 'm45_45', + 'l45_53', + 'l46_52', + 'l51_51', + 'm42_153', + 'm48_152', + 'm38_54', + 'l34_71', + 'l47_160', + 'm45_148', + 'm52_59', + 'm51_52', + 'm37_146', + 'l45_145', + 'm39_50', + 'l42_151', + 'l43_72', + 'l42_49', + 'm40_49', + 'l47_152', + 'm37_48', + 'm51_62', + 'm46_60', + 'l49_51', + 'l42_75', + 'm49_58', + 'm34_76', + 'l38_51', + 'm51_54', + 'l37_146', + 'm41_55', + 'm50_52', + 'm39_55', + 'l50_46', + 'l42_74', + 'l50_53', + 'l46_45', + 'l38_153', + 'l41_73', + 'm45_73', + 'm39_51', + 'm48_62', + 'l32_71', + 'l50_60', + 'm47_60', + 'm43_47', + 'l47_51', + 'm39_153', + 'm46_59', + 'm48_53', + 'm50_57', + 'm34_71', + 'l37_73', + 'm43_45', + 'l45_48', + 'm50_154', + 'l48_61', + 'l39_49', + 'm42_151', + 'm37_153', + 'l52_152', + 'm44_54', + 'l41_154', + 'l48_47', + 'm37_151', + 'm39_54', + 'l46_153', + 'm47_48', + 'l48_148', + 'l46_62', + 'm43_144', + 'l44_74', + 'm47_61', + 'l33_75', + 'm40_47', + 'l45_46', + 'l44_151', + 'm33_73', + 'l38_72', + 'm45_146', + 'l39_53', + 'm38_49', + 'l53_51', + 'm52_154', + 'l50_149', + 'm36_53', + 'm42_49', + 'm47_51', + 'm42_144', + 'l50_49', + 'l49_55', + 'l48_57', + 'm37_72', + 'm49_55', + 'l44_155', + 'l50_56', + 'l52_47', + 'm38_53', + 'l50_61', + 'l44_154', + 'm44_153', + 'm33_74', + 'l48_58', + 'l38_74', + 'm40_151', + 'm50_50', + 'l44_47', + 'l34_74', + 'l31_75', + 'm40_48', + 'm41_152', + 'l40_73', + 'm50_58', + 'l49_57', + 'm43_48', + 'm43_55', + 'm51_57', + 'm46_49', + 'l41_74', + 'm48_49', + 'm44_154', + 'l41_51', + 'm40_55', + 'm43_49', + 'm40_148', + 'm36_76', + 'm51_51', + 'l45_47', + 'l45_153', + 'l49_56', + 'l34_75', + 'm48_60', + 'l51_147', + 'l50_154', + 'l35_75', + 'l38_152', + 'm36_73', + 'm41_73', + 'm47_52', + 'm48_54', + 'l38_148', + 'm36_146', + 'm41_50', + 'l48_149', + 'm37_52', + 'l41_48', + 'm41_53', + 'm51_59', + 'm52_62', + 'm52_152', + 'l38_49', + 'm46_45', + 'l37_53', + 'l39_73', + 'm41_45', + 'l37_55', + 'l46_60', + 'l40_147', + 'm33_76', + 'm39_52', + 'l43_144', + 'l40_76', + 'm44_46', + 'l40_149', + 'm46_154', + 'l43_146', + 'l41_55', + 'm41_49', + 'l40_51', + 'l36_75', + 'm40_76', + 'm38_74', + 'l45_151', + 'l38_151', + 'l36_148', + 'l33_71', + 'l52_55', + 'm37_55', + 'm47_75', + 'l52_52', + 'm42_52', + 'm49_54', + 'm53_53', + 'l39_50', + 'm52_52', + 'l46_150', + 'm43_72', + 'm33_75', + 'l41_52', + 'l45_148', + 'l52_50', + 'l44_153', + 'l53_53', + 'l44_148', + 'l37_75', + 'l39_52', + 'l52_58', + 'm36_75', + 'm50_51', + 'l51_57', + 'm44_72', + 'l45_45', + 'm50_150', + 'l48_155', + 'm48_148', + 'l41_54', + 'm32_73', + 'm40_72', + 'l42_145', + 'm37_147', + 'l41_50', + 'm47_59', + 'm33_72', + 'm40_50', + 'm39_155', + 'l52_61', + 'l52_59', + 'l37_154', + 'l38_50', + 'm37_73', + 'l41_152', + 'm47_47', + 'm46_52', + 'm39_151', + 'l41_45', + 'm43_146', + 'l44_145', + 'l40_47', + 'l47_75', + 'l40_151', + 'l39_152', + 'l45_73', + 'm36_148', + 'l37_151', + 'm50_62', + 'l47_47', + 'm45_152', + 'm47_149', + 'l49_54', + 'l43_75', + 'l49_149', + 'm45_55', + 'l42_53', + 'l39_51', + 'l43_48', + 'm46_54', + 'l37_52', + 'l39_55', + 'l39_46', + 'm52_50', + 'm45_53', + 'm40_152', + 'm44_73', + 'l39_75', + 'm39_148', + 'l41_49', + 'l37_147', + 'm45_155', + 'm39_73', + 'm45_62', + 'm49_60', + 'm40_154', + 'l38_45', + 'l43_145', + 'm51_50', + 'l51_61', + 'l52_153', + 'l43_47', + 'l51_53', + 'm38_72', + 'm46_61', + 'l47_49', + 'l40_74', + 'm38_147', + 'l49_155', + 'l37_153', + 'l48_56', + 'm51_46', + 'l36_53', + 'm45_50', + 'm32_70', + 'l46_47', + 'm48_55', + 'l40_154', + 'm52_60', + 'l44_146', + 'm38_50', + 'm40_153', + 'l39_54', + 'l41_56', + 'l42_56', + 'm43_50', + 'l38_48', + 'm39_150', + 'l51_49', + 'm38_48', + 'm44_150', + 'l45_51', + 'l44_51', + 'm48_56', + 'm52_48' + ]; + songs = [ + 'gnomeball.mid', + 'scape_cave.mid', + 'lullaby.mid', + 'regal2.mid', + 'emperor.mid', + 'wilderness3.mid', + 'moody.mid', + 'in_the_manor.mid', + 'wilderness4.mid', + 'fanfare2.mid', + 'reggae2.mid', + 'talking_forest.mid', + 'army_of_darkness.mid', + 'sea_shanty.mid', + 'mage_arena.mid', + 'spooky_jungle.mid', + 'undercurrent.mid', + 'ambience_4.mid', + 'sad_meadow.mid', + 'arabique.mid', + 'faerie.mid', + 'gnome_king.mid', + 'deep_wildy.mid', + 'crystal_cave.mid', + 'attack3.mid', + 'organ_music_2.mid', + 'fishing.mid', + 'game_intro_1.mid', + 'march2.mid', + 'rune_essence.mid', + 'legion.mid', + 'knightly.mid', + 'scape_sad1.mid', + 'jolly-r.mid', + 'splendour.mid', + 'attention.mid', + 'tribal2.mid', + 'expedition.mid', + 'intrepid.mid', + 'ballad_of_enchantment.mid', + 'shining.mid', + 'understanding.mid', + 'gnome_village.mid', + 'fade_test.mid', + 'tribal.mid', + 'beyond.mid', + 'al_kharid.mid', + 'nomad.mid', + 'start.mid', + 'silence.mid', + 'high_seas.mid', + 'doorways.mid', + 'lasting.mid', + 'crystal_sword.mid', + 'the_shadow.mid', + 'ambience_3.mid', + 'theme.mid', + 'wander.mid', + 'null.mid', + 'spooky2.mid', + 'garden.mid', + 'scape_soft.mid', + 'miles_away.mid', + 'soundscape.mid', + 'gnome_theme.mid', + 'duel_arena.mid', + 'cellar_song1.mid', + 'dunjun.mid', + 'autumn_voyage.mid', + 'starlight.mid', + 'arabian3.mid', + 'cavern.mid', + 'cursed.mid', + 'lightness.mid', + 'underground.mid', + 'landlubber.mid', + 'heart_and_mind.mid', + 'gaol.mid', + 'lightwalk.mid', + 'zealot.mid', + 'cave_background1.mid', + 'trinity.mid', + 'iban.mid', + 'dream1.mid', + 'the_tower.mid', + 'still_night.mid', + 'wonderous.mid', + 'forever.mid', + 'egypt.mid', + 'voyage.mid', + 'baroque.mid', + 'greatness.mid', + 'troubled.mid', + 'newbie_melody.mid', + 'long_way_home.mid', + 'chompy_hunt.mid', + 'fanfare3.mid', + 'horizon.mid', + 'miracle_dance.mid', + 'dark2.mid', + 'the_desert.mid', + 'vision.mid', + 'royale.mid', + 'ice_melody.mid', + 'spirit.mid', + 'serenade.mid', + 'gnome.mid', + 'overture.mid', + 'big_chords.mid', + 'sea_shanty2.mid', + 'adventure.mid', + 'camelot.mid', + 'arrival.mid', + 'flute_salad.mid', + 'venture.mid', + 'attack4.mid', + 'nightfall.mid', + 'unknown_land.mid', + 'book_of_spells.mid', + 'parade.mid', + 'monarch_waltz.mid', + 'voodoo_cult.mid', + 'inspiration.mid', + 'jungly1.mid', + 'reggae.mid', + 'shine.mid', + 'quest.mid', + 'long_ago.mid', + 'tribal_background.mid', + 'attack5.mid', + 'riverside.mid', + 'scape_main.mid', + 'mellow.mid', + 'upcoming.mid', + 'neverland.mid', + 'organ_music_1.mid', + 'alone.mid', + 'oriental.mid', + 'wonder.mid', + 'chain_of_command.mid', + 'trawler_minor.mid', + 'escape.mid', + 'expanse.mid', + 'wilderness2.mid', + 'harmony.mid', + 'emotion.mid', + 'serene.mid', + 'yesteryear.mid', + 'jungle_island.mid', + 'forbidden.mid', + 'upass1.mid', + 'desert_voyage.mid', + 'jungly2.mid', + 'grumpy.mid', + 'magic_dance.mid', + 'dangerous.mid', + 'fanfare.mid', + 'tree_spirits.mid', + 'tomorrow.mid', + 'workshop.mid', + 'attack2.mid', + 'jungly3.mid', + 'expecting.mid', + 'medieval.mid', + 'magical_journey.mid', + 'harmony2.mid', + 'arabian2.mid', + 'ambient_jungle.mid', + 'wolf_mountain.mid', + 'attack1.mid', + 'trawler.mid', + 'waterfall.mid', + 'gnome_village2.mid', + 'close_quarters.mid', + 'lonesome.mid', + 'arabian.mid', + 'background2.mid', + 'witching.mid', + 'attack6.mid', + 'ambience_2.mid', + 'scape_wild1.mid', + 'venture2.mid' + ]; + jingles = [ + 'dice lose.mid', + 'advance crafting.mid', + 'advance woodcutting2.mid', + 'advance defense.mid', + 'advance fletching.mid', + 'advance magic2.mid', + 'advance cooking2.mid', + 'sailing journey.mid', + 'advance attack2.mid', + 'death2.mid', + 'advance firemarking.mid', + 'advance strength2.mid', + 'advance prayer.mid', + 'advance ranged.mid', + 'dice win.mid', + 'quest complete 2.mid', + 'advance hitpoints2.mid', + 'advance ranged2.mid', + 'advance smithing2.mid', + 'advance crafting2.mid', + 'advance strength.mid', + 'advance hitpoints.mid', + 'advance herblaw.mid', + 'death.mid', + 'duel win2.mid', + 'advance prayer2.mid', + 'advance woodcutting.mid', + 'duel start.mid', + 'advance thieving2.mid', + 'advance smithing.mid', + 'advance fishing.mid', + 'treasure hunt win.mid', + 'advance fletching2.mid', + 'advance fishing2.mid', + 'advance attack.mid', + 'quest complete 3.mid', + 'advance mining.mid', + 'advance agility.mid', + 'advance thieving.mid', + 'advance cooking.mid', + 'advance mining2.mid', + 'advance defense2.mid', + 'advance runecraft2.mid', + 'quest complete 1.mid', + 'advance magic.mid', + 'advance firemarking2.mid', + 'advance herblaw2.mid', + 'advance runecraft.mid' + ]; + serverMaps = [ + 'm52_58', + 'm53_50', + 'm51_147', + 'm43_73', + 'm40_150', + 'm40_149', + 'm38_153', + 'm50_149', + 'm37_152', + 'm39_74', + 'm43_145', + 'm46_149', + 'm41_75', + 'm37_150', + 'm46_53', + 'm34_70', + 'm40_74', + 'm35_76', + 'm37_54', + 'm39_45', + 'm51_56', + 'm41_151', + 'm43_56', + 'm44_53', + 'm51_61', + 'm39_147', + 'm36_154', + 'm47_150', + 'm48_48', + 'm44_146', + 'm50_59', + 'm39_149', + 'm48_47', + 'm33_71', + 'm52_54', + 'm50_46', + 'm32_74', + 'm41_146', + 'm51_48', + 'm50_53', + 'm46_152', + 'm46_75', + 'm49_53', + 'm46_48', + 'm39_48', + 'm39_46', + 'm42_73', + 'm47_50', + 'm34_73', + 'm53_49', + 'm40_51', + 'm37_51', + 'm45_154', + 'm32_75', + 'm43_75', + 'm49_62', + 'm41_74', + 'm47_53', + 'm49_48', + 'm44_148', + 'm42_50', + 'm40_53', + 'm42_53', + 'm35_75', + 'm35_20', + 'm45_145', + 'm40_52', + 'm50_153', + 'm44_149', + 'm46_56', + 'm49_149', + 'm50_60', + 'm42_152', + 'm37_75', + 'm41_54', + 'm52_47', + 'm44_145', + 'm44_151', + 'm49_47', + 'm52_53', + 'm47_49', + 'm39_72', + 'm49_153', + 'm37_74', + 'm49_52', + 'm37_148', + 'm31_75', + 'm44_155', + 'm41_72', + 'm41_51', + 'm47_56', + 'm44_49', + 'm49_51', + 'm41_56', + 'm46_50', + 'm37_49', + 'm46_150', + 'm45_75', + 'm45_52', + 'm36_150', + 'm49_56', + 'm38_149', + 'm51_53', + 'm48_156', + 'm29_75', + 'm42_51', + 'm47_153', + 'm41_46', + 'm45_60', + 'm44_75', + 'm47_55', + 'm38_47', + 'm50_152', + 'm36_54', + 'm45_151', + 'm46_153', + 'm40_45', + 'm39_152', + 'm45_74', + 'm47_57', + 'm50_48', + 'm37_154', + 'm45_58', + 'm49_156', + 'm42_54', + 'm43_54', + 'm48_57', + 'm50_61', + 'm41_47', + 'm39_47', + 'm41_52', + 'm45_47', + 'm50_49', + 'm34_75', + 'm46_46', + 'm38_148', + 'm44_48', + 'm42_74', + 'm43_74', + 'm42_145', + 'm38_155', + 'm44_144', + 'm39_76', + 'm49_50', + 'm40_54', + 'm47_54', + 'm38_150', + 'm44_50', + 'm38_151', + 'm48_154', + 'm41_153', + 'm38_45', + 'm43_53', + 'm38_154', + 'm32_71', + 'm38_52', + 'm45_61', + 'm47_161', + 'm47_58', + 'm36_52', + 'm46_47', + 'm50_55', + 'm44_45', + 'm45_48', + 'm46_58', + 'm37_53', + 'm48_61', + 'm45_56', + 'm45_57', + 'm38_73', + 'm39_49', + 'm45_150', + 'm52_153', + 'm50_56', + 'm46_55', + 'm52_57', + 'm44_152', + 'm51_154', + 'm43_153', + 'm39_53', + 'm51_60', + 'm34_74', + 'm53_52', + 'm34_72', + 'm47_152', + 'm44_52', + 'm38_51', + 'm51_47', + 'm49_154', + 'm42_75', + 'm38_55', + 'm42_72', + 'm49_61', + 'm50_54', + 'm33_70', + 'm40_46', + 'm49_155', + 'm38_146', + 'm52_46', + 'm41_48', + 'm45_59', + 'm44_47', + 'm46_51', + 'm36_72', + 'm47_148', + 'm48_155', + 'm43_51', + 'm40_73', + 'm43_46', + 'm50_47', + 'm44_51', + 'm43_154', + 'm44_74', + 'm44_55', + 'm37_149', + 'm45_46', + 'm38_152', + 'm41_149', + 'm49_46', + 'm46_62', + 'm32_72', + 'm47_62', + 'm42_56', + 'm48_153', + 'm52_55', + 'm48_59', + 'm52_49', + 'm42_146', + 'm51_58', + 'm45_51', + 'm48_50', + 'm52_56', + 'm45_54', + 'm38_46', + 'm47_160', + 'm49_49', + 'm48_58', + 'm45_153', + 'm37_50', + 'm41_154', + 'm46_57', + 'm48_149', + 'm52_51', + 'm45_49', + 'm48_51', + 'm39_154', + 'm49_59', + 'm30_75', + 'm36_153', + 'm51_49', + 'm36_74', + 'm53_51', + 'm40_147', + 'm36_149', + 'm52_61', + 'm49_57', + 'm36_147', + 'm51_55', + 'm46_161', + 'm45_76', + 'm39_75', + 'm40_75', + 'm42_55', + 'm48_52', + 'm49_148', + 'm43_52', + 'm45_45', + 'm42_153', + 'm48_152', + 'm38_54', + 'm45_148', + 'm52_59', + 'm51_52', + 'm37_146', + 'm39_50', + 'm40_49', + 'm37_48', + 'm51_62', + 'm46_60', + 'm49_58', + 'm34_76', + 'm51_54', + 'm41_55', + 'm50_52', + 'm39_55', + 'm45_73', + 'm39_51', + 'm48_62', + 'm47_60', + 'm43_47', + 'm39_153', + 'm46_59', + 'm48_53', + 'm50_57', + 'm34_71', + 'm43_45', + 'm50_154', + 'm42_151', + 'm37_153', + 'm44_54', + 'm37_151', + 'm39_54', + 'm47_48', + 'm43_144', + 'm47_61', + 'm40_47', + 'm33_73', + 'm45_146', + 'm38_49', + 'm52_154', + 'm36_53', + 'm42_49', + 'm47_51', + 'm42_144', + 'm37_72', + 'm49_55', + 'm38_53', + 'm44_153', + 'm33_74', + 'm40_151', + 'm50_50', + 'm40_48', + 'm41_152', + 'm50_58', + 'm43_48', + 'm43_55', + 'm51_57', + 'm46_49', + 'm48_49', + 'm44_154', + 'm40_55', + 'm43_49', + 'm40_148', + 'm36_76', + 'm51_51', + 'm48_60', + 'm36_73', + 'm41_73', + 'm47_52', + 'm48_54', + 'm36_146', + 'm41_50', + 'm37_52', + 'm41_53', + 'm51_59', + 'm52_62', + 'm52_152', + 'm46_45', + 'm41_45', + 'm33_76', + 'm39_52', + 'm44_46', + 'm46_154', + 'm41_49', + 'm40_76', + 'm38_74', + 'm37_55', + 'm47_75', + 'm42_52', + 'm49_54', + 'm53_53', + 'm52_52', + 'm43_72', + 'm33_75', + 'm36_75', + 'm50_51', + 'm44_72', + 'm50_150', + 'm48_148', + 'm32_73', + 'm40_72', + 'm37_147', + 'm47_59', + 'm33_72', + 'm40_50', + 'm39_155', + 'm37_73', + 'm47_47', + 'm46_52', + 'm39_151', + 'm43_146', + 'm36_148', + 'm50_62', + 'm45_152', + 'm47_149', + 'm45_55', + 'm46_54', + 'm52_50', + 'm45_53', + 'm40_152', + 'm44_73', + 'm39_148', + 'm45_155', + 'm39_73', + 'm45_62', + 'm49_60', + 'm40_154', + 'm51_50', + 'm38_72', + 'm46_61', + 'm38_147', + 'm51_46', + 'm45_50', + 'm32_70', + 'm48_55', + 'm52_60', + 'm38_50', + 'm40_153', + 'm43_50', + 'm39_150', + 'm38_48', + 'm44_150', + 'm48_56', + 'm52_48' + ]; +}); + // src/lostcity/engine/World.ts init_path(); var {default: fs29} = () => ({}); @@ -53294,1490 +54786,6 @@ class Stack { // src/lostcity/server/PreloadedPacks.ts var {default: fs23} = () => ({}); - -// src/lostcity/server/PreloadedDirs.ts -var maps = [ - 'm52_58', - 'l50_57', - 'l36_150', - 'l48_50', - 'm53_50', - 'm51_147', - 'l34_73', - 'm43_73', - 'l45_76', - 'l41_149', - 'l39_150', - 'l50_153', - 'l39_155', - 'l42_144', - 'm40_150', - 'l47_58', - 'l48_152', - 'l47_62', - 'm40_149', - 'l48_62', - 'm38_153', - 'l47_150', - 'm50_149', - 'm37_152', - 'm39_74', - 'l48_156', - 'm43_145', - 'l36_73', - 'l49_48', - 'l48_52', - 'l51_55', - 'l45_57', - 'l39_72', - 'l36_154', - 'l37_49', - 'l41_47', - 'm46_149', - 'm41_75', - 'l46_56', - 'l52_60', - 'l44_48', - 'm37_150', - 'l32_72', - 'm46_53', - 'l46_46', - 'm34_70', - 'm40_74', - 'l49_58', - 'm35_76', - 'm37_54', - 'l38_52', - 'm39_45', - 'm51_56', - 'm41_151', - 'l48_51', - 'l36_74', - 'm43_56', - 'm44_53', - 'l46_49', - 'm51_61', - 'l47_48', - 'l47_50', - 'l46_55', - 'l43_55', - 'l47_53', - 'l45_60', - 'm39_147', - 'm36_154', - 'm47_150', - 'l50_152', - 'l39_74', - 'm48_48', - 'm44_146', - 'm50_59', - 'l47_153', - 'l47_54', - 'm39_149', - 'l44_46', - 'l32_75', - 'l52_49', - 'm48_47', - 'm33_71', - 'l44_53', - 'l50_62', - 'l45_150', - 'l38_155', - 'm52_54', - 'l36_153', - 'm50_46', - 'l52_51', - 'm32_74', - 'm41_146', - 'm51_48', - 'l44_55', - 'l43_49', - 'm50_53', - 'l33_76', - 'l43_51', - 'l45_155', - 'm46_152', - 'm46_75', - 'l49_62', - 'm49_53', - 'l37_72', - 'm46_48', - 'm39_48', - 'm39_46', - 'l39_151', - 'l47_60', - 'm42_73', - 'l40_48', - 'l49_153', - 'm47_50', - 'l43_52', - 'm34_73', - 'm53_49', - 'm40_51', - 'l48_53', - 'l53_50', - 'l49_154', - 'l47_55', - 'm37_51', - 'm45_154', - 'm32_75', - 'm43_75', - 'm49_62', - 'l40_153', - 'l42_55', - 'l49_61', - 'l51_50', - 'm41_74', - 'm47_53', - 'l50_58', - 'l44_49', - 'l44_75', - 'l40_54', - 'm49_48', - 'm44_148', - 'm42_50', - 'm40_53', - 'm42_53', - 'm35_75', - 'l42_72', - 'l38_54', - 'm35_20', - 'm45_145', - 'm40_52', - 'l34_72', - 'l44_54', - 'l40_45', - 'l37_51', - 'l49_59', - 'l44_45', - 'l51_54', - 'l39_76', - 'l46_48', - 'l42_54', - 'm50_153', - 'l48_54', - 'l45_152', - 'm44_149', - 'l47_149', - 'm46_56', - 'l37_152', - 'm49_149', - 'm50_60', - 'm42_152', - 'm37_75', - 'l45_52', - 'l43_50', - 'l41_75', - 'm41_54', - 'm52_47', - 'm44_145', - 'l33_73', - 'l51_154', - 'm44_151', - 'm49_47', - 'l42_152', - 'l38_55', - 'm52_53', - 'm47_49', - 'm39_72', - 'l43_54', - 'm49_153', - 'l47_56', - 'm37_74', - 'm49_52', - 'm37_148', - 'l32_70', - 'm31_75', - 'm44_155', - 'l47_61', - 'm41_72', - 'l51_59', - 'l36_146', - 'l52_56', - 'm41_51', - 'm47_56', - 'l48_59', - 'l41_46', - 'm44_49', - 'l36_72', - 'm49_51', - 'l38_146', - 'm41_56', - 'm46_50', - 'l48_154', - 'l46_161', - 'm37_49', - 'l49_47', - 'l40_148', - 'm46_150', - 'l42_52', - 'l49_49', - 'm45_75', - 'm45_52', - 'l37_149', - 'm36_150', - 'l37_150', - 'm49_56', - 'm38_149', - 'l40_150', - 'm51_53', - 'l44_149', - 'm48_156', - 'l50_55', - 'm29_75', - 'm42_51', - 'l38_154', - 'l39_48', - 'm47_153', - 'm41_46', - 'm45_60', - 'l45_154', - 'm44_75', - 'l37_74', - 'm47_55', - 'm38_47', - 'l45_59', - 'm50_152', - 'm36_54', - 'm45_151', - 'l51_48', - 'm46_153', - 'l50_52', - 'l41_153', - 'm40_45', - 'm39_152', - 'l44_152', - 'l40_152', - 'l52_154', - 'l50_150', - 'm45_74', - 'l37_54', - 'm47_57', - 'm50_48', - 'l39_148', - 'm37_154', - 'm45_58', - 'm49_156', - 'l44_144', - 'l52_54', - 'm42_54', - 'm43_54', - 'l45_58', - 'l47_59', - 'm48_57', - 'm50_61', - 'l51_52', - 'm41_47', - 'm39_47', - 'l37_148', - 'l36_76', - 'm41_52', - 'm45_47', - 'l48_48', - 'm50_49', - 'm34_75', - 'm46_46', - 'm38_148', - 'l34_70', - 'l52_48', - 'l39_153', - 'm44_48', - 'm42_74', - 'l45_62', - 'l46_154', - 'l52_57', - 'l49_50', - 'm43_74', - 'l41_53', - 'm42_145', - 'l45_55', - 'l45_146', - 'l44_50', - 'l43_154', - 'm38_155', - 'm44_144', - 'l33_72', - 'l33_74', - 'm39_76', - 'l49_52', - 'm49_50', - 'l50_47', - 'm40_54', - 'm47_54', - 'l41_151', - 'l49_156', - 'm38_150', - 'l29_75', - 'm44_50', - 'm38_151', - 'm48_154', - 'm41_153', - 'm38_45', - 'l45_49', - 'm43_53', - 'l49_46', - 'm38_154', - 'l42_146', - 'm32_71', - 'm38_52', - 'l45_74', - 'm45_61', - 'm47_161', - 'l53_52', - 'l46_152', - 'm47_58', - 'l36_149', - 'm36_52', - 'l49_148', - 'm46_47', - 'm50_55', - 'm44_45', - 'l50_50', - 'm45_48', - 'm46_58', - 'l43_53', - 'l38_147', - 'l44_72', - 'm37_53', - 'l41_146', - 'm48_61', - 'l52_46', - 'm45_56', - 'l46_53', - 'l47_52', - 'l44_73', - 'm45_57', - 'm38_73', - 'm39_49', - 'l35_76', - 'l39_147', - 'm45_150', - 'l45_54', - 'm52_153', - 'l46_61', - 'm50_56', - 'l41_72', - 'l44_52', - 'm46_55', - 'l39_154', - 'l46_50', - 'l48_153', - 'l50_48', - 'm52_57', - 'm44_152', - 'm51_154', - 'l51_47', - 'l51_60', - 'l47_57', - 'm43_153', - 'm39_53', - 'l48_55', - 'l36_54', - 'm51_60', - 'l46_51', - 'm34_74', - 'l40_52', - 'l32_74', - 'm53_52', - 'm34_72', - 'l40_53', - 'm47_152', - 'm44_52', - 'm38_51', - 'l45_50', - 'm51_47', - 'l46_58', - 'l52_62', - 'm49_154', - 'l39_45', - 'm42_75', - 'm38_55', - 'm42_72', - 'l48_49', - 'm49_61', - 'l49_53', - 'm50_54', - 'l42_50', - 'm33_70', - 'm40_46', - 'm49_155', - 'm38_146', - 'm52_46', - 'm41_48', - 'm45_59', - 'l39_47', - 'm44_47', - 'm46_51', - 'm36_72', - 'm47_148', - 'l38_47', - 'm48_155', - 'm43_51', - 'm40_73', - 'l40_50', - 'l45_75', - 'l43_56', - 'l38_149', - 'm43_46', - 'l30_75', - 'l40_75', - 'm50_47', - 'l40_72', - 'm44_51', - 'l42_73', - 'm43_154', - 'l46_75', - 'l43_46', - 'm44_74', - 'm44_55', - 'l46_57', - 'm37_149', - 'm45_46', - 'l39_149', - 'l38_73', - 'm38_152', - 'l40_55', - 'm41_149', - 'l37_50', - 'm49_46', - 'm46_62', - 'm32_72', - 'm47_62', - 'm42_56', - 'm48_153', - 'm52_55', - 'l40_46', - 'l45_56', - 'm48_59', - 'm52_49', - 'l46_59', - 'l50_59', - 'm42_146', - 'm51_58', - 'l38_53', - 'm45_51', - 'l44_150', - 'm48_50', - 'l51_62', - 'm52_56', - 'm45_54', - 'm38_46', - 'l35_20', - 'm47_160', - 'm49_49', - 'l52_53', - 'l43_153', - 'l43_73', - 'l51_46', - 'l42_51', - 'm48_58', - 'm45_153', - 'l49_60', - 'm37_50', - 'l34_76', - 'l36_147', - 'l47_148', - 'm41_154', - 'm46_57', - 'm48_149', - 'm52_51', - 'l43_45', - 'm45_49', - 'm48_51', - 'l32_73', - 'l45_61', - 'm39_154', - 'm49_59', - 'l47_161', - 'l50_51', - 'l36_52', - 'm30_75', - 'l46_149', - 'm36_153', - 'l38_150', - 'l48_60', - 'm51_49', - 'm36_74', - 'l38_46', - 'l37_48', - 'm53_51', - 'm40_147', - 'm36_149', - 'l46_54', - 'm52_61', - 'm49_57', - 'm36_147', - 'm51_55', - 'm46_161', - 'm45_76', - 'm39_75', - 'l53_49', - 'l42_153', - 'm40_75', - 'l33_70', - 'm42_55', - 'l50_54', - 'l43_74', - 'm48_52', - 'm49_148', - 'l51_56', - 'm43_52', - 'l51_58', - 'l40_49', - 'm45_45', - 'l45_53', - 'l46_52', - 'l51_51', - 'm42_153', - 'm48_152', - 'm38_54', - 'l34_71', - 'l47_160', - 'm45_148', - 'm52_59', - 'm51_52', - 'm37_146', - 'l45_145', - 'm39_50', - 'l42_151', - 'l43_72', - 'l42_49', - 'm40_49', - 'l47_152', - 'm37_48', - 'm51_62', - 'm46_60', - 'l49_51', - 'l42_75', - 'm49_58', - 'm34_76', - 'l38_51', - 'm51_54', - 'l37_146', - 'm41_55', - 'm50_52', - 'm39_55', - 'l50_46', - 'l42_74', - 'l50_53', - 'l46_45', - 'l38_153', - 'l41_73', - 'm45_73', - 'm39_51', - 'm48_62', - 'l32_71', - 'l50_60', - 'm47_60', - 'm43_47', - 'l47_51', - 'm39_153', - 'm46_59', - 'm48_53', - 'm50_57', - 'm34_71', - 'l37_73', - 'm43_45', - 'l45_48', - 'm50_154', - 'l48_61', - 'l39_49', - 'm42_151', - 'm37_153', - 'l52_152', - 'm44_54', - 'l41_154', - 'l48_47', - 'm37_151', - 'm39_54', - 'l46_153', - 'm47_48', - 'l48_148', - 'l46_62', - 'm43_144', - 'l44_74', - 'm47_61', - 'l33_75', - 'm40_47', - 'l45_46', - 'l44_151', - 'm33_73', - 'l38_72', - 'm45_146', - 'l39_53', - 'm38_49', - 'l53_51', - 'm52_154', - 'l50_149', - 'm36_53', - 'm42_49', - 'm47_51', - 'm42_144', - 'l50_49', - 'l49_55', - 'l48_57', - 'm37_72', - 'm49_55', - 'l44_155', - 'l50_56', - 'l52_47', - 'm38_53', - 'l50_61', - 'l44_154', - 'm44_153', - 'm33_74', - 'l48_58', - 'l38_74', - 'm40_151', - 'm50_50', - 'l44_47', - 'l34_74', - 'l31_75', - 'm40_48', - 'm41_152', - 'l40_73', - 'm50_58', - 'l49_57', - 'm43_48', - 'm43_55', - 'm51_57', - 'm46_49', - 'l41_74', - 'm48_49', - 'm44_154', - 'l41_51', - 'm40_55', - 'm43_49', - 'm40_148', - 'm36_76', - 'm51_51', - 'l45_47', - 'l45_153', - 'l49_56', - 'l34_75', - 'm48_60', - 'l51_147', - 'l50_154', - 'l35_75', - 'l38_152', - 'm36_73', - 'm41_73', - 'm47_52', - 'm48_54', - 'l38_148', - 'm36_146', - 'm41_50', - 'l48_149', - 'm37_52', - 'l41_48', - 'm41_53', - 'm51_59', - 'm52_62', - 'm52_152', - 'l38_49', - 'm46_45', - 'l37_53', - 'l39_73', - 'm41_45', - 'l37_55', - 'l46_60', - 'l40_147', - 'm33_76', - 'm39_52', - 'l43_144', - 'l40_76', - 'm44_46', - 'l40_149', - 'm46_154', - 'l43_146', - 'l41_55', - 'm41_49', - 'l40_51', - 'l36_75', - 'm40_76', - 'm38_74', - 'l45_151', - 'l38_151', - 'l36_148', - 'l33_71', - 'l52_55', - 'm37_55', - 'm47_75', - 'l52_52', - 'm42_52', - 'm49_54', - 'm53_53', - 'l39_50', - 'm52_52', - 'l46_150', - 'm43_72', - 'm33_75', - 'l41_52', - 'l45_148', - 'l52_50', - 'l44_153', - 'l53_53', - 'l44_148', - 'l37_75', - 'l39_52', - 'l52_58', - 'm36_75', - 'm50_51', - 'l51_57', - 'm44_72', - 'l45_45', - 'm50_150', - 'l48_155', - 'm48_148', - 'l41_54', - 'm32_73', - 'm40_72', - 'l42_145', - 'm37_147', - 'l41_50', - 'm47_59', - 'm33_72', - 'm40_50', - 'm39_155', - 'l52_61', - 'l52_59', - 'l37_154', - 'l38_50', - 'm37_73', - 'l41_152', - 'm47_47', - 'm46_52', - 'm39_151', - 'l41_45', - 'm43_146', - 'l44_145', - 'l40_47', - 'l47_75', - 'l40_151', - 'l39_152', - 'l45_73', - 'm36_148', - 'l37_151', - 'm50_62', - 'l47_47', - 'm45_152', - 'm47_149', - 'l49_54', - 'l43_75', - 'l49_149', - 'm45_55', - 'l42_53', - 'l39_51', - 'l43_48', - 'm46_54', - 'l37_52', - 'l39_55', - 'l39_46', - 'm52_50', - 'm45_53', - 'm40_152', - 'm44_73', - 'l39_75', - 'm39_148', - 'l41_49', - 'l37_147', - 'm45_155', - 'm39_73', - 'm45_62', - 'm49_60', - 'm40_154', - 'l38_45', - 'l43_145', - 'm51_50', - 'l51_61', - 'l52_153', - 'l43_47', - 'l51_53', - 'm38_72', - 'm46_61', - 'l47_49', - 'l40_74', - 'm38_147', - 'l49_155', - 'l37_153', - 'l48_56', - 'm51_46', - 'l36_53', - 'm45_50', - 'm32_70', - 'l46_47', - 'm48_55', - 'l40_154', - 'm52_60', - 'l44_146', - 'm38_50', - 'm40_153', - 'l39_54', - 'l41_56', - 'l42_56', - 'm43_50', - 'l38_48', - 'm39_150', - 'l51_49', - 'm38_48', - 'm44_150', - 'l45_51', - 'l44_51', - 'm48_56', - 'm52_48' -]; -var songs = [ - 'gnomeball.mid', - 'scape_cave.mid', - 'lullaby.mid', - 'regal2.mid', - 'emperor.mid', - 'wilderness3.mid', - 'moody.mid', - 'in_the_manor.mid', - 'wilderness4.mid', - 'fanfare2.mid', - 'reggae2.mid', - 'talking_forest.mid', - 'army_of_darkness.mid', - 'sea_shanty.mid', - 'mage_arena.mid', - 'spooky_jungle.mid', - 'undercurrent.mid', - 'ambience_4.mid', - 'sad_meadow.mid', - 'arabique.mid', - 'faerie.mid', - 'gnome_king.mid', - 'deep_wildy.mid', - 'crystal_cave.mid', - 'attack3.mid', - 'organ_music_2.mid', - 'fishing.mid', - 'game_intro_1.mid', - 'march2.mid', - 'rune_essence.mid', - 'legion.mid', - 'knightly.mid', - 'scape_sad1.mid', - 'jolly-r.mid', - 'splendour.mid', - 'attention.mid', - 'tribal2.mid', - 'expedition.mid', - 'intrepid.mid', - 'ballad_of_enchantment.mid', - 'shining.mid', - 'understanding.mid', - 'gnome_village.mid', - 'fade_test.mid', - 'tribal.mid', - 'beyond.mid', - 'al_kharid.mid', - 'nomad.mid', - 'start.mid', - 'silence.mid', - 'high_seas.mid', - 'doorways.mid', - 'lasting.mid', - 'crystal_sword.mid', - 'the_shadow.mid', - 'ambience_3.mid', - 'theme.mid', - 'wander.mid', - 'null.mid', - 'spooky2.mid', - 'garden.mid', - 'scape_soft.mid', - 'miles_away.mid', - 'soundscape.mid', - 'gnome_theme.mid', - 'duel_arena.mid', - 'cellar_song1.mid', - 'dunjun.mid', - 'autumn_voyage.mid', - 'starlight.mid', - 'arabian3.mid', - 'cavern.mid', - 'cursed.mid', - 'lightness.mid', - 'underground.mid', - 'landlubber.mid', - 'heart_and_mind.mid', - 'gaol.mid', - 'lightwalk.mid', - 'zealot.mid', - 'cave_background1.mid', - 'trinity.mid', - 'iban.mid', - 'dream1.mid', - 'the_tower.mid', - 'still_night.mid', - 'wonderous.mid', - 'forever.mid', - 'egypt.mid', - 'voyage.mid', - 'baroque.mid', - 'greatness.mid', - 'troubled.mid', - 'newbie_melody.mid', - 'long_way_home.mid', - 'chompy_hunt.mid', - 'fanfare3.mid', - 'horizon.mid', - 'miracle_dance.mid', - 'dark2.mid', - 'the_desert.mid', - 'vision.mid', - 'royale.mid', - 'ice_melody.mid', - 'spirit.mid', - 'serenade.mid', - 'gnome.mid', - 'overture.mid', - 'big_chords.mid', - 'sea_shanty2.mid', - 'adventure.mid', - 'camelot.mid', - 'arrival.mid', - 'flute_salad.mid', - 'venture.mid', - 'attack4.mid', - 'nightfall.mid', - 'unknown_land.mid', - 'book_of_spells.mid', - 'parade.mid', - 'monarch_waltz.mid', - 'voodoo_cult.mid', - 'inspiration.mid', - 'jungly1.mid', - 'reggae.mid', - 'shine.mid', - 'quest.mid', - 'long_ago.mid', - 'tribal_background.mid', - 'attack5.mid', - 'riverside.mid', - 'scape_main.mid', - 'mellow.mid', - 'upcoming.mid', - 'neverland.mid', - 'organ_music_1.mid', - 'alone.mid', - 'oriental.mid', - 'wonder.mid', - 'chain_of_command.mid', - 'trawler_minor.mid', - 'escape.mid', - 'expanse.mid', - 'wilderness2.mid', - 'harmony.mid', - 'emotion.mid', - 'serene.mid', - 'yesteryear.mid', - 'jungle_island.mid', - 'forbidden.mid', - 'upass1.mid', - 'desert_voyage.mid', - 'jungly2.mid', - 'grumpy.mid', - 'magic_dance.mid', - 'dangerous.mid', - 'fanfare.mid', - 'tree_spirits.mid', - 'tomorrow.mid', - 'workshop.mid', - 'attack2.mid', - 'jungly3.mid', - 'expecting.mid', - 'medieval.mid', - 'magical_journey.mid', - 'harmony2.mid', - 'arabian2.mid', - 'ambient_jungle.mid', - 'wolf_mountain.mid', - 'attack1.mid', - 'trawler.mid', - 'waterfall.mid', - 'gnome_village2.mid', - 'close_quarters.mid', - 'lonesome.mid', - 'arabian.mid', - 'background2.mid', - 'witching.mid', - 'attack6.mid', - 'ambience_2.mid', - 'scape_wild1.mid', - 'venture2.mid' -]; -var jingles = [ - 'dice lose.mid', - 'advance crafting.mid', - 'advance woodcutting2.mid', - 'advance defense.mid', - 'advance fletching.mid', - 'advance magic2.mid', - 'advance cooking2.mid', - 'sailing journey.mid', - 'advance attack2.mid', - 'death2.mid', - 'advance firemarking.mid', - 'advance strength2.mid', - 'advance prayer.mid', - 'advance ranged.mid', - 'dice win.mid', - 'quest complete 2.mid', - 'advance hitpoints2.mid', - 'advance ranged2.mid', - 'advance smithing2.mid', - 'advance crafting2.mid', - 'advance strength.mid', - 'advance hitpoints.mid', - 'advance herblaw.mid', - 'death.mid', - 'duel win2.mid', - 'advance prayer2.mid', - 'advance woodcutting.mid', - 'duel start.mid', - 'advance thieving2.mid', - 'advance smithing.mid', - 'advance fishing.mid', - 'treasure hunt win.mid', - 'advance fletching2.mid', - 'advance fishing2.mid', - 'advance attack.mid', - 'quest complete 3.mid', - 'advance mining.mid', - 'advance agility.mid', - 'advance thieving.mid', - 'advance cooking.mid', - 'advance mining2.mid', - 'advance defense2.mid', - 'advance runecraft2.mid', - 'quest complete 1.mid', - 'advance magic.mid', - 'advance firemarking2.mid', - 'advance herblaw2.mid', - 'advance runecraft.mid' -]; -var serverMaps = [ - 'm52_58', - 'm53_50', - 'm51_147', - 'm43_73', - 'm40_150', - 'm40_149', - 'm38_153', - 'm50_149', - 'm37_152', - 'm39_74', - 'm43_145', - 'm46_149', - 'm41_75', - 'm37_150', - 'm46_53', - 'm34_70', - 'm40_74', - 'm35_76', - 'm37_54', - 'm39_45', - 'm51_56', - 'm41_151', - 'm43_56', - 'm44_53', - 'm51_61', - 'm39_147', - 'm36_154', - 'm47_150', - 'm48_48', - 'm44_146', - 'm50_59', - 'm39_149', - 'm48_47', - 'm33_71', - 'm52_54', - 'm50_46', - 'm32_74', - 'm41_146', - 'm51_48', - 'm50_53', - 'm46_152', - 'm46_75', - 'm49_53', - 'm46_48', - 'm39_48', - 'm39_46', - 'm42_73', - 'm47_50', - 'm34_73', - 'm53_49', - 'm40_51', - 'm37_51', - 'm45_154', - 'm32_75', - 'm43_75', - 'm49_62', - 'm41_74', - 'm47_53', - 'm49_48', - 'm44_148', - 'm42_50', - 'm40_53', - 'm42_53', - 'm35_75', - 'm35_20', - 'm45_145', - 'm40_52', - 'm50_153', - 'm44_149', - 'm46_56', - 'm49_149', - 'm50_60', - 'm42_152', - 'm37_75', - 'm41_54', - 'm52_47', - 'm44_145', - 'm44_151', - 'm49_47', - 'm52_53', - 'm47_49', - 'm39_72', - 'm49_153', - 'm37_74', - 'm49_52', - 'm37_148', - 'm31_75', - 'm44_155', - 'm41_72', - 'm41_51', - 'm47_56', - 'm44_49', - 'm49_51', - 'm41_56', - 'm46_50', - 'm37_49', - 'm46_150', - 'm45_75', - 'm45_52', - 'm36_150', - 'm49_56', - 'm38_149', - 'm51_53', - 'm48_156', - 'm29_75', - 'm42_51', - 'm47_153', - 'm41_46', - 'm45_60', - 'm44_75', - 'm47_55', - 'm38_47', - 'm50_152', - 'm36_54', - 'm45_151', - 'm46_153', - 'm40_45', - 'm39_152', - 'm45_74', - 'm47_57', - 'm50_48', - 'm37_154', - 'm45_58', - 'm49_156', - 'm42_54', - 'm43_54', - 'm48_57', - 'm50_61', - 'm41_47', - 'm39_47', - 'm41_52', - 'm45_47', - 'm50_49', - 'm34_75', - 'm46_46', - 'm38_148', - 'm44_48', - 'm42_74', - 'm43_74', - 'm42_145', - 'm38_155', - 'm44_144', - 'm39_76', - 'm49_50', - 'm40_54', - 'm47_54', - 'm38_150', - 'm44_50', - 'm38_151', - 'm48_154', - 'm41_153', - 'm38_45', - 'm43_53', - 'm38_154', - 'm32_71', - 'm38_52', - 'm45_61', - 'm47_161', - 'm47_58', - 'm36_52', - 'm46_47', - 'm50_55', - 'm44_45', - 'm45_48', - 'm46_58', - 'm37_53', - 'm48_61', - 'm45_56', - 'm45_57', - 'm38_73', - 'm39_49', - 'm45_150', - 'm52_153', - 'm50_56', - 'm46_55', - 'm52_57', - 'm44_152', - 'm51_154', - 'm43_153', - 'm39_53', - 'm51_60', - 'm34_74', - 'm53_52', - 'm34_72', - 'm47_152', - 'm44_52', - 'm38_51', - 'm51_47', - 'm49_154', - 'm42_75', - 'm38_55', - 'm42_72', - 'm49_61', - 'm50_54', - 'm33_70', - 'm40_46', - 'm49_155', - 'm38_146', - 'm52_46', - 'm41_48', - 'm45_59', - 'm44_47', - 'm46_51', - 'm36_72', - 'm47_148', - 'm48_155', - 'm43_51', - 'm40_73', - 'm43_46', - 'm50_47', - 'm44_51', - 'm43_154', - 'm44_74', - 'm44_55', - 'm37_149', - 'm45_46', - 'm38_152', - 'm41_149', - 'm49_46', - 'm46_62', - 'm32_72', - 'm47_62', - 'm42_56', - 'm48_153', - 'm52_55', - 'm48_59', - 'm52_49', - 'm42_146', - 'm51_58', - 'm45_51', - 'm48_50', - 'm52_56', - 'm45_54', - 'm38_46', - 'm47_160', - 'm49_49', - 'm48_58', - 'm45_153', - 'm37_50', - 'm41_154', - 'm46_57', - 'm48_149', - 'm52_51', - 'm45_49', - 'm48_51', - 'm39_154', - 'm49_59', - 'm30_75', - 'm36_153', - 'm51_49', - 'm36_74', - 'm53_51', - 'm40_147', - 'm36_149', - 'm52_61', - 'm49_57', - 'm36_147', - 'm51_55', - 'm46_161', - 'm45_76', - 'm39_75', - 'm40_75', - 'm42_55', - 'm48_52', - 'm49_148', - 'm43_52', - 'm45_45', - 'm42_153', - 'm48_152', - 'm38_54', - 'm45_148', - 'm52_59', - 'm51_52', - 'm37_146', - 'm39_50', - 'm40_49', - 'm37_48', - 'm51_62', - 'm46_60', - 'm49_58', - 'm34_76', - 'm51_54', - 'm41_55', - 'm50_52', - 'm39_55', - 'm45_73', - 'm39_51', - 'm48_62', - 'm47_60', - 'm43_47', - 'm39_153', - 'm46_59', - 'm48_53', - 'm50_57', - 'm34_71', - 'm43_45', - 'm50_154', - 'm42_151', - 'm37_153', - 'm44_54', - 'm37_151', - 'm39_54', - 'm47_48', - 'm43_144', - 'm47_61', - 'm40_47', - 'm33_73', - 'm45_146', - 'm38_49', - 'm52_154', - 'm36_53', - 'm42_49', - 'm47_51', - 'm42_144', - 'm37_72', - 'm49_55', - 'm38_53', - 'm44_153', - 'm33_74', - 'm40_151', - 'm50_50', - 'm40_48', - 'm41_152', - 'm50_58', - 'm43_48', - 'm43_55', - 'm51_57', - 'm46_49', - 'm48_49', - 'm44_154', - 'm40_55', - 'm43_49', - 'm40_148', - 'm36_76', - 'm51_51', - 'm48_60', - 'm36_73', - 'm41_73', - 'm47_52', - 'm48_54', - 'm36_146', - 'm41_50', - 'm37_52', - 'm41_53', - 'm51_59', - 'm52_62', - 'm52_152', - 'm46_45', - 'm41_45', - 'm33_76', - 'm39_52', - 'm44_46', - 'm46_154', - 'm41_49', - 'm40_76', - 'm38_74', - 'm37_55', - 'm47_75', - 'm42_52', - 'm49_54', - 'm53_53', - 'm52_52', - 'm43_72', - 'm33_75', - 'm36_75', - 'm50_51', - 'm44_72', - 'm50_150', - 'm48_148', - 'm32_73', - 'm40_72', - 'm37_147', - 'm47_59', - 'm33_72', - 'm40_50', - 'm39_155', - 'm37_73', - 'm47_47', - 'm46_52', - 'm39_151', - 'm43_146', - 'm36_148', - 'm50_62', - 'm45_152', - 'm47_149', - 'm45_55', - 'm46_54', - 'm52_50', - 'm45_53', - 'm40_152', - 'm44_73', - 'm39_148', - 'm45_155', - 'm39_73', - 'm45_62', - 'm49_60', - 'm40_154', - 'm51_50', - 'm38_72', - 'm46_61', - 'm38_147', - 'm51_46', - 'm45_50', - 'm32_70', - 'm48_55', - 'm52_60', - 'm38_50', - 'm40_153', - 'm43_50', - 'm39_150', - 'm38_48', - 'm44_150', - 'm48_56', - 'm52_48' -]; - -// src/lostcity/server/PreloadedPacks.ts function preloadClient() { const allMaps = fs23.readdirSync('data/pack/client/maps'); for (let i = 0; i < allMaps.length; i++) { @@ -54805,7 +54813,8 @@ function preloadClient() { } } async function preloadClientAsync() { - const allMaps = maps; + const {jingles: jingles2, maps: maps2, songs: songs2} = await Promise.resolve().then(() => (init_PreloadedDirs(), exports_PreloadedDirs)); + const allMaps = maps2; for (let i = 0; i < allMaps.length; i++) { const name = allMaps[i]; console.log(name); @@ -54814,7 +54823,7 @@ async function preloadClientAsync() { PRELOADED.set(name, map); PRELOADED_CRC.set(name, crc); } - const allSongs = songs; + const allSongs = songs2; for (let i = 0; i < allSongs.length; i++) { const name = allSongs[i]; console.log(name); @@ -54823,7 +54832,7 @@ async function preloadClientAsync() { PRELOADED.set(name, song); PRELOADED_CRC.set(name, crc); } - const allJingles = jingles; + const allJingles = jingles2; for (let i = 0; i < allJingles.length; i++) { const name = allJingles[i]; console.log(name); @@ -64411,7 +64420,8 @@ class GameMap { async initAsync(zoneMap) { console.time('Loading game map'); const path = 'data/pack/server/maps/'; - const maps2 = serverMaps; + const {serverMaps: serverMaps2} = await Promise.resolve().then(() => (init_PreloadedDirs(), exports_PreloadedDirs)); + const maps2 = serverMaps2; for (let index = 0; index < maps2.length; index++) { console.log('init ', maps2[index]); const [mx, mz] = maps2[index].substring(1).split('_').map(Number);