SRL Archive - Test corner

GetLocation


nielsie95

2007-06-06 11:19:17

Hello,

Some of you may have read somewhere that it's possible to get your current area by looking at the playing music. I have made a procedure which turns the music into an area. I took all the MusicNames + Locations from the RS site (with a script) and there still may be some bugs in it. If you find a musicname which isn't working: post it here.

This should cover the whole RS map (473 different MusicNames :))
If you test this, please post the music/location you tested this and if it worked.


Thanks in advance,
Nielsie95

program Music;
{.include SRL/SRL.scar}

var
Music, Location: TStringArray;

procedure LoadMusicArray;
begin

SetarrayLength(Music, 472);
SetArrayLength(Location, 472);

Music[0] := 'adventure' Location[0] := 'Varrock Palace'
Music[1] := 'al kharid' Location[1] := 'Al Kharid'
Music[2] := 'fairy in love ' Location[2] := 'Fairy resistance hideout'
Music[3] := 'alone' Location[3] := 'Black Knights Fortress/Clocktower dungeon'
Music[4] := 'alternative root' Location[4] := 'What Lies Below'
Music[5] := 'ambient jungle' Location[5] := 'Shilo Village'
Music[6] := 'anywhere' Location[6] := 'Ape Atoll'
Music[7] := 'arabian' Location[7] := 'Al Kharid central desert path to Duel Arena entrance'
Music[8] := 'arabian 2' Location[8] := 'Al Kharid scorpion/Mining site'
Music[9] := 'arabian 3' Location[9] := 'Kalphite Lair'
Music[10] := 'arabique' Location[10] := 'Taverley Dungeon, section with poison spiders/hellhounds'
Music[11] := 'army of darkness' Location[11] := 'Dark Knights Castle'
Music[12] := 'arrival' Location[12] := 'West of gem trader in Falador'
Music[13] := 'artistry' Location[13] := 'Mime Theatre'
Music[14] := 'assault and battery' Location[14] := 'Barbarian Assault'
Music[15] := 'attack 1' Location[15] := 'Khazard Battlefield'
Music[16] := 'attack 2' Location[16] := 'Elvargs Lair'
Music[17] := 'attack 3' Location[17] := 'Area under the Lava Maze/north-west of the Lava Maze'
Music[18] := 'attack 4' Location[18] := 'Fight Arena'
Music[19] := 'attack 5' Location[19] := 'Entrance/KBD Lair'
Music[20] := 'attack 6' Location[20] := 'GuTanoth Ogre Enclave'
Music[21] := 'attention' Location[21] := 'Coastline below Rimmington'
Music[22] := 'autumn voyage' Location[22] := 'Lumbridge Farm (East)'
Music[23] := 'aye car rum ba' Location[23] := 'Braindeath Island'
Music[24] := 'aztec' Location[24] := 'Brimhaven Agility Arena'
Music[25] := 'back to life' Location[25] := 'Contact'
Music[26] := 'background' Location[26] := 'Entrana/Candlelight Random Event'
Music[27] := 'ballad of enchantment' Location[27] := 'Monastery (Monks Friend quest start)'
Music[28] := 'bandit camp' Location[28] := 'Desert Bandit Camp'
Music[29] := 'barbarianism' Location[29] := 'Barbarian Village'
Music[30] := 'barking mad' Location[30] := 'Werewolf Agility Course'
Music[31] := 'baroque' Location[31] := 'Ardougne area'
Music[32] := 'beetle juice' Location[32] := 'Contact'
Music[33] := 'beyond' Location[33] := 'Ice dungeon under White Wolf Mountain'
Music[34] := 'big chords' Location[34] := 'West Yanille'
Music[35] := 'blistering barnacles' Location[35] := 'Braindeath Island mountain'
Music[36] := 'bodyparts' Location[36] := 'Experiment dungeon south-east of Fenkenstrains Castle'
Music[37] := 'bone dance' Location[37] := 'Area west of Mortton'
Music[38] := 'bone dry' Location[38] := 'Smoke Well'
Music[39] := 'book of spells' Location[39] := 'Lumbridge Swamp coastline area'
Music[40] := 'borderland' Location[40] := 'East of Rellekka'
Music[41] := 'breeze' Location[41] := 'Underground Pass'
Music[42] := 'brew hoo hoo!' Location[42] := 'Port Phasmatys brewery'
Music[43] := 'brimstails scales' Location[43] := 'Brimstails cave'
Music[44] := 'bubble and squeak' Location[44] := 'Keldagrim rat pits'
Music[45] := 'cabin fever' Location[45] := 'Cabin Fever'
Music[46] := 'camelot' Location[46] := 'Camelot'
Music[47] := 'castlewars' Location[47] := 'Castle Wars main fighting area'
Music[48] := 'catch me if you can' Location[48] := 'Ardougne rat pits'
Music[49] := 'cave background' Location[49] := 'Dwarven Mines'
Music[50] := 'cave of beasts' Location[50] := 'Mountain Daughter'
Music[51] := 'cave of goblins' Location[51] := 'Caves beneath Lumbridge Swamp'
Music[52] := 'cavern' Location[52] := 'Red spiders in Wilderness, Yanille Agility dungeon'
Music[53] := 'the cellar dwellers' Location[53] := 'Hazeel Cult'
Music[54] := 'cellar song' Location[54] := 'Varrock west bank vault'
Music[55] := 'chain of command' Location[55] := 'Temple of Ikov'
Music[56] := 'chamber' Location[56] := 'Haunted Mine'
Music[57] := 'chef surprise' Location[57] := 'Recipe for Disaster'
Music[58] := 'chickened out' Location[58] := 'Evil Chickens Lair'
Music[59] := 'chompy hunt' Location[59] := 'Chompy bird area near Rantz'
Music[60] := 'the chosen' Location[60] := 'Recruitment Drive'
Music[61] := 'city of the dead' Location[61] := 'Sophanem'
Music[62] := 'claustrophobia' Location[62] := 'Between a Rock...'
Music[63] := 'close quarters' Location[63] := 'Wilderness, in area with furnace and red spiders'
Music[64] := 'competition' Location[64] := 'Burthorpe Games Room'
Music[65] := 'complication' Location[65] := 'Chaos rune altar'
Music[66] := 'contest' Location[66] := 'Dad the Trolls Arena'
Music[67] := 'corporal punishment' Location[67] := 'Drill Demon Random Event'
Music[68] := 'corridors of power' Location[68] := 'Royal Trouble'
Music[69] := 'courage' Location[69] := 'Taverley Dungeon'
Music[70] := 'creatuer cruelty' Location[70] := 'Tower of Life'
Music[71] := 'crystal castle' Location[71] := 'South-east of Prifddinas'
Music[72] := 'crystal cave' Location[72] := 'Zanaris Market'
Music[73] := 'crystal sword' Location[73] := 'Wilderness north of Varrock'
Music[74] := 'cursed' Location[74] := 'Underground Pass'
Music[75] := 'dagannoth dawn' Location[75] := 'Deeper dungeons in Waterbirth Island'
Music[76] := 'dance of the undead' Location[76] := 'Barrows area'
Music[77] := 'dance of death' Location[77] := 'Sepulchre of Death'
Music[78] := 'dangerous' Location[78] := 'North of Edgeville'
Music[79] := 'dangerous road' Location[79] := 'Under Crandor'
Music[80] := 'dangerous way' Location[80] := 'Barrows underground'
Music[81] := 'dark' Location[81] := 'Wilderness area with hill giants'
Music[82] := 'davy jones locker' Location[82] := 'Recipe for Disaster'
Music[83] := 'dead can dance' Location[83] := 'Graveyard of Shadows'
Music[84] := 'dead quiet' Location[84] := 'North Mort Myre'
Music[85] := 'deadlands' Location[85] := 'Morytania Haunted Woods'
Music[86] := 'deep down' Location[86] := 'Haunted Mine bottom floor'
Music[87] := 'deep wildy' Location[87] := 'Wilderness area near chaos altar'
Music[88] := 'the depths' Location[88] := 'Contact!'
Music[89] := 'the desert' Location[89] := 'West side of the Desert'
Music[90] := 'desert heat' Location[90] := 'Bare desert near Nardah'
Music[91] := 'desert voyage' Location[91] := 'Smoke Well'
Music[92] := 'the desolate isle' Location[92] := 'Waterbirth Island, above ground'
Music[93] := 'diangos little helpers' Location[93] := 'Diangos Christmas workshop'
Music[94] := 'dimension x' Location[94] := 'Gorack plane'
Music[95] := 'distant land' Location[95] := 'Burgh De Rott'
Music[96] := 'distillery hilarity' Location[96] := 'Trouble Brewing'
Music[97] := 'dogs of war' Location[97] := 'Vault of War'
Music[98] := 'doorways' Location[98] := 'Forest area east of Edgeville'
Music[99] := 'dorgeshuun city' Location[99] := 'Dorgesh-Kaan'
Music[100] := 'dorgeshuun deep' Location[100] := 'Dorgesh-Kaan South Dungeon'
Music[101] := 'down and out' Location[101] := 'Dream Mentor'
Music[102] := 'down below' Location[102] := 'Dungeon under Draynor'
Music[103] := 'down to earth' Location[103] := 'Earth rune altar'
Music[104] := 'dragontooth island' Location[104] := 'Dragontooth Island'
Music[105] := 'dream' Location[105] := 'Country path from Lumbridge to Draynor'
Music[106] := 'dreamstate' Location[106] := 'Lunar Diplomacy'
Music[107] := 'duel arena' Location[107] := 'Duel Arena'
Music[108] := 'dunjun' Location[108] := 'Taverley Dungeon'
Music[109] := 'dwarf theme' Location[109] := 'Dwarven Mines'
Music[110] := 'dynasty' Location[110] := 'Pollnivneach'
Music[111] := 'eagles peak' Location[111] := 'Eagles Peak'
Music[112] := 'easter jig' Location[112] := 'Easter 2007 Event'
Music[113] := 'egypt' Location[113] := 'Shantay Pass area'
Music[114] := 'elven mist' Location[114] := 'Exit of Underground pass area'
Music[115] := 'emotion' Location[115] := 'Tree Gnome Maze'
Music[116] := 'emperor' Location[116] := 'Melzars Maze'
Music[117] := 'the enchanter' Location[117] := 'Enchantment room of the Mage Training Area'
Music[118] := 'escape' Location[118] := 'Perfect Gold mine area under Ardougne'
Music[119] := 'espionage' Location[119] := 'Cold War'
Music[120] := 'etceteria' Location[120] := 'Etceteria'
Music[121] := 'everywhere' Location[121] := 'South-west of Prifddinas'
Music[122] := 'everlasting' Location[122] := 'Dream Mentor'
Music[123] := 'everlasting fire' Location[123] := 'Wilderness Volcano'
Music[124] := 'evil bobs island' Location[124] := 'Random event, Evil Bobs Island'
Music[125] := 'expanse' Location[125] := 'Stone circle south of Varrock'
Music[126] := 'expecting' Location[126] := 'Unholy altar north of Observatory'
Music[127] := 'expedition' Location[127] := 'Observatory cavern'
Music[128] := 'exposed' Location[128] := 'South of Tyras Camp'
Music[129] := 'faerie' Location[129] := 'Zanaris'
Music[130] := 'faithless' Location[130] := 'Chaos Temple (Wilderness)'
Music[131] := 'fanfare' Location[131] := 'Falador'
Music[132] := 'fanfare 2' Location[132] := 'Shipyard on Karamja'
Music[133] := 'fanfare 3' Location[133] := 'Port Khazard'
Music[134] := 'fangs for the memory' Location[134] := 'In Aid of the Myreque'
Music[135] := 'far away' Location[135] := 'Lletya'
Music[136] := 'the far side' Location[136] := 'Rogues Den training area'
Music[137] := 'fe fi fo fum' Location[137] := 'Grim Tales'
Music[138] := 'fear and loathing' Location[138] := 'Fear room of Tolnas Rift area'
Music[139] := 'fenkenstrains refrain' Location[139] := 'Top floor of Fenkenstrains Castle'
Music[140] := 'fight or flight' Location[140] := 'Underground slave mine, under West Ardougne'
Music[141] := 'find my way' Location[141] := 'Tunnel to gnomes under Ape Atoll'
Music[142] := 'fire and brimstone' Location[142] := 'TzHaar waiting area'
Music[143] := 'fishing' Location[143] := 'Catherby beach'
Music[144] := 'floating free' Location[144] := 'An Enlightened Journey'
Music[145] := 'flute salad' Location[145] := 'Lumbridge Farm (West) / Windmill area'
Music[146] := 'food for thought' Location[146] := 'Catacomb of Famine'
Music[147] := 'forbidden' Location[147] := 'North of the Lumber Yard'
Music[148] := 'forest' Location[148] := 'North-east of Poison Waste'
Music[149] := 'forever' Location[149] := 'Edgeville'
Music[150] := 'forgettable melody' Location[150] := 'Forgettable Tale of a Drunken Dwarf'
Music[151] := 'forgotten' Location[151] := 'the Golem'
Music[152] := 'frogland' Location[152] := 'Random Event - Frog Prince/Princess will teleport you here if you ignore them'
Music[153] := 'frostbite' Location[153] := 'Ice path north of Trollheim'
Music[154] := 'fruits de mer' Location[154] := 'Fishing Platform'
Music[155] := 'funny bunnies' Location[155] := 'Underground area from Easter Event 2006'
Music[156] := 'gaol' Location[156] := 'North of Wilderness Bandit Camp'
Music[157] := 'the galleon' Location[157] := 'Lunar Diplomacy'
Music[158] := 'garden' Location[158] := 'Varrock city centre'
Music[159] := 'garden of autumn' Location[159] := 'Sorceress Garden'
Music[160] := 'garden of spring' Location[160] := 'Sorceress Garden'
Music[161] := 'garden of summer' Location[161] := 'Sorceress Garden'
Music[162] := 'garden of winter' Location[162] := 'Sorceress Garden'
Music[163] := 'the genie' Location[163] := 'Genies cave, west of Nardah'
Music[164] := 'gnomeball' Location[164] := 'Gnomeball pitch'
Music[165] := 'gnome king' Location[165] := 'Tree Gnome Stronghold'
Music[166] := 'gnome village' Location[166] := 'Gnome Agility area'
Music[167] := 'gnome village 2' Location[167] := 'Area south-west of Tree Gnome Stronghold'
Music[168] := 'goblin game' Location[168] := 'Goblin cave near Fishing Guild'
Music[169] := 'goblin village' Location[169] := 'Goblin Village'
Music[170] := 'golden touch' Location[170] := 'Alchemists room of the Mage Training Arena'
Music[171] := 'the golem' Location[171] := 'Ruins of Uzer area'
Music[172] := 'greatness' Location[172] := 'Champions Guild'
Music[173] := 'grip of the talon' Location[173] := 'Shadow of the Storm'
Music[174] := 'grotto' Location[174] := 'Nature Spirit'
Music[175] := 'ground scape' Location[175] := 'Main tune for Farming update'
Music[176] := 'grumpy' Location[176] := 'Swamp toad pond area on Feldip Hills'
Music[177] := 'ham fisted' Location[177] := 'H.A.M. Store rooms'
Music[178] := 'harmony' Location[178] := 'Lumbridge Area'
Music[179] := 'harmony 2' Location[179] := 'Lumbridge Castle basement'
Music[180] := 'haunted mine' Location[180] := 'Boss area of the Haunted Mine'
Music[181] := 'have a blast' Location[181] := 'Blast Furnace minigame'
Music[182] := 'have an ice day' Location[182] := 'Cold War'
Music[183] := 'head to head' Location[183] := 'Random Event - Evil Twin area'
Music[184] := 'heart and mind' Location[184] := 'Body rune altar'
Music[185] := 'hells bells' Location[185] := 'Sledding slopes'
Music[186] := 'hermit' Location[186] := 'Hermits cave north-west of Burthorpe'
Music[187] := 'high seas' Location[187] := 'Brimhaven area'
Music[188] := 'high spirits' Location[188] := 'Halloween 2006 Event'
Music[189] := 'home sweet home' Location[189] := 'Player Owned House'
Music[190] := 'homescape' Location[190] := 'Player Owned House'
Music[191] := 'horizon' Location[191] := 'Taverley'
Music[192] := 'hypnotized' Location[192] := 'Icthlarins Little Helper'
Music[193] := 'iban' Location[193] := 'Ibans Temple'
Music[194] := 'ice melody' Location[194] := 'White Wolf Mountain'
Music[195] := 'illusive' Location[195] := 'Dream Mentor'
Music[196] := 'in between' Location[196] := 'Between a Rock...'
Music[197] := 'in the brine' Location[197] := 'Mos LeHarmless'
Music[198] := 'in the clink' Location[198] := 'Prison Pete Random Event'
Music[199] := 'in the manor' Location[199] := 'Ogre Island/area west of Yanille'
Music[200] := 'in the pits' Location[200] := 'TzHaar area'
Music[201] := 'inadequacy' Location[201] := 'Dream Mentor'
Music[202] := 'incantation' Location[202] := 'Shadow of the Storm'
Music[203] := 'insect queen' Location[203] := 'Kalphite Lair'
Music[204] := 'inspiration' Location[204] := 'Area north of Black Knights Fortress'
Music[205] := 'into the abyss' Location[205] := 'Abyssal space'
Music[206] := 'intrepid' Location[206] := 'Underground Pass caverns'
Music[207] := 'island of the trolls' Location[207] := 'Fremennik Isles'
Music[208] := 'island life' Location[208] := 'South-west Ape Atoll'
Music[209] := 'isle of everywhere' Location[209] := 'Northern coast of Lunar Isle'
Music[210] := 'jester minute' Location[210] := 'Fremennik Isles'
Music[211] := 'jolly r' Location[211] := 'Brimhaven north dock'
Music[212] := 'joy of the hunt' Location[212] := 'Piscatoris Hunter Area'
Music[213] := 'jungle bells' Location[213] := 'Christmas 2006 Event'
Music[214] := 'jungle hunt' Location[214] := 'Feldip Hunter Area'
Music[215] := 'jungle island' Location[215] := 'Karamja Volcano'
Music[216] := 'jungle island xmas' Location[216] := 'Christmas 2006 Event'
Music[217] := 'jungle troubles' Location[217] := 'North-east Karamja jungle'
Music[218] := 'jungly 1' Location[218] := 'Cairn Island'
Music[219] := 'jungly 2' Location[219] := 'North-west of Brimhaven, area with gold rocks'
Music[220] := 'jungly 3' Location[220] := 'Tai Bwo Wannai'
Music[221] := 'karamja jam' Location[221] := 'Red dragon area of Brimhaven Dungeon'
Music[222] := 'kingdom' Location[222] := 'Death Plateau'
Music[223] := 'knightly' Location[223] := 'Ardougne Castle'
Music[224] := 'la mort' Location[224] := 'Death rune altar'
Music[225] := 'labyrinth' Location[225] := 'Contact'
Music[226] := 'lair' Location[226] := 'Shade Catacombs under Mortton'
Music[227] := 'lament' Location[227] := 'Enakhras Lament'
Music[228] := 'lament of meiyerditch' Location[228] := 'The Darkness of Hallowvale'
Music[229] := 'land down under' Location[229] := 'Royal Trouble'
Music[230] := 'land of the dwarves' Location[230] := 'West Keldagrim'
Music[231] := 'landlubber' Location[231] := 'West Brimhaven'
Music[232] := 'last shanty' Location[232] := 'The Darkness of Hallowvale'
Music[233] := 'last stand' Location[233] := 'Swan Song'
Music[234] := 'lasting' Location[234] := 'Hemenster'
Music[235] := 'legend' Location[235] := 'South-east of Rellekka'
Music[236] := 'legion' Location[236] := 'Barbarian Outpost'
Music[237] := 'lifes a beach' Location[237] := 'Coastal area of Mos LeHarmless'
Music[238] := 'lighthouse' Location[238] := 'Lighthouse'
Music[239] := 'lightness' Location[239] := 'Around Edgeville'
Music[240] := 'lightwalk' Location[240] := 'Keep La Faye'
Music[241] := 'little cave of horrors' Location[241] := 'Slayer dungeon beneath Mos LeHarmless'
Music[242] := 'lonesome' Location[242] := 'Desert Mining Camp area'
Music[243] := 'long ago' Location[243] := 'East Yanille Fishing Platform'
Music[244] := 'long way home' Location[244] := 'Rimmington'
Music[245] := 'looking back' Location[245] := 'Varrock Museum'
Music[246] := 'lost soul' Location[246] := 'On the shore of the Poison Waste'
Music[247] := 'the lost melody' Location[247] := 'Lost Tribe'
Music[248] := 'the lost tribe' Location[248] := 'Under Lumbridge, in the cave goblin mines'
Music[249] := 'lullaby' Location[249] := 'Area south-west of Rellekka'
Music[250] := 'the lunar isle' Location[250] := 'Lunar Isle'
Music[251] := 'mad eadgar' Location[251] := 'Eadgars cave on Trollheim'
Music[252] := 'the mad mole' Location[252] := 'Mole Lair beneath Falador Park'
Music[253] := 'mage arena' Location[253] := 'Mage Arena'
Music[254] := 'magic dance' Location[254] := 'East half of Yanille'
Music[255] := 'magic magic magic' Location[255] := 'Tower of Life'
Music[256] := 'magical journey' Location[256] := 'Sorcerors Tower'
Music[257] := 'major miner' Location[257] := 'Fremennik Isles'
Music[258] := 'making waves' Location[258] := 'Swan Song'
Music[259] := 'malady' Location[259] := 'Pit of Pestilence'
Music[260] := 'march' Location[260] := 'King Lathass combat training camp'
Music[261] := 'marooned' Location[261] := 'Crash Island'
Music[262] := 'marzipan' Location[262] := 'Trollheim'
Music[263] := 'masquerade' Location[263] := 'West portion of the Fremennik Slayer dungeon'
Music[264] := 'mastermindless' Location[264] := 'Recipe for Disaster'
Music[265] := 'mausoleum' Location[265] := 'Under Paterdomus'
Music[266] := 'meddling kids' Location[266] := 'Royal Trouble'
Music[267] := 'mellow' Location[267] := 'Fishing Guild'
Music[268] := 'melodrama' Location[268] := 'Castle Wars waiting area'
Music[269] := 'medieval' Location[269] := 'West of the Dig Site'
Music[270] := 'meridian' Location[270] := 'Area near Tyras Camp'
Music[271] := 'method of madness' Location[271] := 'Confusion room of Tolnas Rift area'
Music[272] := 'miles away' Location[272] := 'Crafting Guild area'
Music[273] := 'mind over matter' Location[273] := 'Telekinesis room of the Mage Training Arena'
Music[274] := 'miracle dance' Location[274] := 'Mind rune altar'
Music[275] := 'mirage' Location[275] := 'Icthlarins Little Helper'
Music[276] := 'miscellania' Location[276] := 'Miscellania'
Music[277] := 'the mollusc menace' Location[277] := 'Slug Menace'
Music[278] := 'monarch waltz' Location[278] := 'Sinclair Mansion'
Music[279] := 'monkey madness' Location[279] := 'Marim, on Ape Atoll'
Music[280] := 'monster melee' Location[280] := 'H.A.M area'
Music[281] := 'monsters below' Location[281] := 'Waterbirth Island Dungeon'
Music[282] := 'moody' Location[282] := 'Underground Pass'
Music[283] := 'morytania' Location[283] := 'East of Paterdomus'
Music[284] := 'mouse trap' Location[284] := 'Grim Tales'
Music[285] := 'mudskipper melody' Location[285] := 'Mudskipper Point'
Music[286] := 'mutant medley' Location[286] := 'Tower of Life'
Music[287] := 'my arms journey' Location[287] := 'My Arms Big Adventure'
Music[288] := 'narnodes theme' Location[288] := 'Under the Grand Tree'
Music[289] := 'natural' Location[289] := 'Nature Spirit'
Music[290] := 'the navigator' Location[290] := 'Fremennik trials'
Music[291] := 'newbie melody' Location[291] := 'Newbie Island'
Music[292] := 'neverland' Location[292] := 'Below Gnome Village'
Music[293] := 'nightfall' Location[293] := 'Area north of Rimmington'
Music[294] := 'night of the vampyre' Location[294] := 'The Darkness of Hallowvale'
Music[295] := 'no way out' Location[295] := 'Hopelessness room of Tolnas rift area'
Music[296] := 'the noble rodent' Location[296] := 'Rat Catchers'
Music[297] := 'nomad' Location[297] := 'Area just north of Tai Bwo Wannai'
Music[298] := 'norse code' Location[298] := 'Fremennik Isles'
Music[299] := 'null and void' Location[299] := 'Pest Control'
Music[300] := 'ogre the top' Location[300] := 'Fremennik Isles'
Music[301] := 'on the up' Location[301] := 'Dream Mentor'
Music[302] := 'on the wing' Location[302] := 'Enchanted Valley'
Music[303] := 'oriental' Location[303] := 'Area under the Waterfall dungeon near Shilo Village'
Music[304] := 'out of the deep' Location[304] := 'Beneath the Lighthouse'
Music[305] := 'the other side' Location[305] := 'Port Phasmatys'
Music[306] := 'overpass' Location[306] := 'Arandar'
Music[307] := 'over to nardah' Location[307] := 'Nardah'
Music[308] := 'overture' Location[308] := 'Seers Village'
Music[309] := 'parade' Location[309] := 'Jolly Boar Inn/Path to Paterdomus'
Music[310] := 'path of peril' Location[310] := 'Shadow dungeon (Damis dungeon)'
Music[311] := 'pathways' Location[311] := 'Brimhaven Dungeon Entrance'
Music[312] := 'pest control' Location[312] := 'Pest Control'
Music[313] := 'pharoahs tomb' Location[313] := 'Agility Pyramid'
Music[314] := 'phasmatys' Location[314] := 'Ectopool area'
Music[315] := 'pheasant peasant' Location[315] := 'Random Event - Freaky Forester area'
Music[316] := 'pinball wizard' Location[316] := 'Random Event - Pinball area'
Music[317] := 'pirates of penance' Location[317] := 'Barbarian Assault'
Music[318] := 'pirates of peril' Location[318] := 'Pirates Hideout in deep Wilderness'
Music[319] := 'poles apart' Location[319] := 'Trollweiss and Rellekka Hunter area'
Music[320] := 'the power of tears' Location[320] := 'Tears of Guthix'
Music[321] := 'prime time' Location[321] := 'Elemental Workshop II'
Music[322] := 'principality' Location[322] := 'Burthorpe'
Music[323] := 'quest' Location[323] := 'Fire rune altar'
Music[324] := 'the quizmaster' Location[324] := 'Quizmaster Random Event area'
Music[325] := 'rat a tat tat' Location[325] := 'Varrock rat pits'
Music[326] := 'rat hunt' Location[326] := 'Mansion found during Rat Catchers quest'
Music[327] := 'ready for battle' Location[327] := 'Beneath Castle Wars'
Music[328] := 'regal' Location[328] := 'Rogues Castle'
Music[329] := 'reggae' Location[329] := 'Middle/south-east area of Kharazi Jungle'
Music[330] := 'reggae 2' Location[330] := 'East area of Karamja Jungle'
Music[331] := 'rellekka' Location[331] := 'Rellekka'
Music[332] := 'right on track' Location[332] := 'Forgettable Tale of a Drunken Dwarf'
Music[333] := 'righteousness' Location[333] := 'Law rune altar'
Music[334] := 'rising damp' Location[334] := 'Olafs Quest'
Music[335] := 'riverside' Location[335] := 'West of Tyras Camp'
Music[336] := 'roc and roll' Location[336] := 'My Arms Big Adventure'
Music[337] := 'the rogues den' Location[337] := 'Rogues Den'
Music[338] := 'roll the bones' Location[338] := 'Graveyard area of the Mage Training Arena'
Music[339] := 'romancing the crone' Location[339] := 'Top plateau of Trollweis'
Music[340] := 'romper chomper' Location[340] := 'Ogre area south of Castle Wars'
Music[341] := 'royale' Location[341] := 'Black Knight base beneath Taverley'
Music[342] := 'rune essence' Location[342] := 'Rune Essence Mine'
Music[343] := 'sad meadow' Location[343] := 'West Ardougne'
Music[344] := 'saga' Location[344] := 'South of Relleka'
Music[345] := 'sarcophagus' Location[345] := 'Inside the Desert Treasure Pyramid'
Music[346] := 'sarims vermin' Location[346] := 'Port Sarim Rat Pits'
Music[347] := 'scape cave' Location[347] := 'Varrock Sewers'
Music[348] := 'scape hunter' Location[348] := 'Eagles Peak'
Music[349] := 'scape main' Location[349] := 'Main tune of RuneScape'
Music[350] := 'scape original' Location[350] := 'Older soundtrack of RuneScape'
Music[351] := 'scape sad' Location[351] := 'Demonic Ruins in the Wilderness'
Music[352] := 'scape santa' Location[352] := 'Christmas 2004 Event'
Music[353] := 'scape scared' Location[353] := 'Soundtrack to Halloween 2005'
Music[354] := 'scape soft' Location[354] := 'Area north of Falador'
Music[355] := 'scape wild' Location[355] := 'Wilderness, area near the Demonic Ruins'
Music[356] := 'scarab' Location[356] := 'Desert Treasure'
Music[357] := 'sea shanty' Location[357] := 'Karamja Port'
Music[358] := 'sea shanty 2' Location[358] := 'Port Sarim'
Music[359] := 'serenade' Location[359] := 'Observatory area'
Music[360] := 'serene' Location[360] := 'Air rune altar'
Music[361] := 'settlement' Location[361] := 'Mountain Camp'
Music[362] := 'the shadow' Location[362] := 'Crandor'
Music[363] := 'shadowland' Location[363] := 'East side of Morytania/Mortton'
Music[364] := 'shine' Location[364] := 'Duel Arena hospital'
Music[365] := 'shining' Location[365] := 'Wilderness Bone Yard'
Music[366] := 'shipwrecked' Location[366] := 'Shipwreck on the north coast of Morytania'
Music[367] := 'showdown' Location[367] := 'Monkey Madness'
Music[368] := 'sigmunds showdown' Location[368] := 'Death to the Dorgeshuun'
Music[369] := 'the slayer' Location[369] := 'East portion of the Fremennik Slayer dungeon'
Music[370] := 'slice of silent movie' Location[370] := 'Another Slice of H.A.M.'
Music[371] := 'slither and thither' Location[371] := 'Royal Trouble'
Music[372] := 'slug a bug ball' Location[372] := 'Slug Menace'
Music[373] := 'sojourn' Location[373] := 'Entrance to Troll Stronghold/Trollheim'
Music[374] := 'soundscape' Location[374] := 'Feldip Hills glider area'
Music[375] := 'sphinx' Location[375] := 'Icthlarins Little Helper'
Music[376] := 'spirit' Location[376] := 'Cooks Guild area'
Music[377] := 'spirits of the elid' Location[377] := 'Spirit cave far north of Nardah'
Music[378] := 'splendour' Location[378] := 'Heroes Guild/Druids Circle area'
Music[379] := 'spooky' Location[379] := 'Draynor Manor'
Music[380] := 'spooky 2' Location[380] := 'Haunted Mine entrance'
Music[381] := 'spooky jungle' Location[381] := 'North-east Karamja Jungle'
Music[382] := 'stagnant' Location[382] := 'Morytania Swamp - the Hollows'
Music[383] := 'starlight' Location[383] := 'Ice Dungeon, north of Mudskipper Point'
Music[384] := 'start' Location[384] := 'Draynor Village'
Music[385] := 'still night' Location[385] := 'South-east Varrock Mining area'
Music[386] := 'stillness' Location[386] := 'Myreque area under Mort Myre'
Music[387] := 'storm brew' Location[387] := 'Killerwatt plane'
Music[388] := 'stranded' Location[388] := 'Ice gate north of Trollheim'
Music[389] := 'strange place' Location[389] := 'A Tail of Two Cats'
Music[390] := 'stratosphere' Location[390] := 'Cosmic rune altar'
Music[391] := 'subterranaea' Location[391] := 'Waterbirth Island Dungeon'
Music[392] := 'sunburn' Location[392] := 'Desert north of pyramid/mirror circle'
Music[393] := 'superstition' Location[393] := 'Cave under Kharazi Jungle'
Music[394] := 'suspicious' Location[394] := 'Monkey Madness'
Music[395] := 'tale of keldagrim' Location[395] := 'East Keldagrim'
Music[396] := 'talking forest' Location[396] := 'McGrubors Wood'
Music[397] := 'tears of guthix' Location[397] := 'Tears of Guthix'
Music[398] := 'technology' Location[398] := 'Monkey Madness'
Music[399] := 'temple' Location[399] := 'Ape Atoll'
Music[400] := 'temple of light' Location[400] := 'Temple of Light, under West Ardougne'
Music[401] := 'the depths' Location[401] := 'Contact'
Music[402] := 'the terrible tower' Location[402] := 'Slayer Tower'
Music[403] := 'theme' Location[403] := 'Coal trucks area'
Music[404] := 'throne of the demon' Location[404] := 'Shadow of the Storm'
Music[405] := 'time out' Location[405] := 'Random Event Maze'
Music[406] := 'time to mine' Location[406] := 'Between a Rock...'
Music[407] := 'tiptoe' Location[407] := 'Under Draynor Manor'
Music[408] := 'title fight' Location[408] := 'Champions Challenge underground Arena'
Music[409] := 'tomb raider' Location[409] := 'Pyramid Plunder'
Music[410] := 'tomorrow' Location[410] := 'Coastline south of Port Sarim'
Music[411] := 'too many cooks..' Location[411] := 'Recipe for Disaster'
Music[412] := 'the tower' Location[412] := 'North-west of Ardougne'
Music[413] := 'trawler' Location[413] := 'Fishing Trawler minigame'
Music[414] := 'trawler minor' Location[414] := 'Sunk Fishing Trawler'
Music[415] := 'tree spirits' Location[415] := 'Area west of the Tree Gnome Stronghold'
Music[416] := 'tremble' Location[416] := 'Death Plateau'
Music[417] := 'tribal' Location[417] := 'East of Tai Bwo Wannai'
Music[418] := 'tribal 2' Location[418] := 'Gnome glider area on Karamja'
Music[419] := 'tribal background' Location[419] := 'South-east Kharazi Jungle'
Music[420] := 'trinity' Location[420] := 'Inside Legends Guild'
Music[421] := 'trouble brewing' Location[421] := 'Trouble Brewing'
Music[422] := 'troubled' Location[422] := 'West of Bandit Camp in Wilderness'
Music[423] := 'twilight' Location[423] := 'Elemental Workshop'
Music[424] := 'tzhaar!' Location[424] := 'In the TzHaar arena'
Music[425] := 'undead dungeon' Location[425] := 'Tarns Lair'
Music[426] := 'undercurrent' Location[426] := 'East of Bandit Camp in Wilderness'
Music[427] := 'underground' Location[427] := 'Entrana dungeon, dramen tree area'
Music[428] := 'underground pass' Location[428] := 'Underground Pass'
Music[429] := 'understanding' Location[429] := 'Nature rune altar'
Music[430] := 'unknown land' Location[430] := 'Draynor market/jail area'
Music[431] := 'untouchable' Location[431] := 'Dream Mentor'
Music[432] := 'upass' Location[432] := 'Underground Pass'
Music[433] := 'upcoming' Location[433] := 'Necromancer area'
Music[434] := 'venture' Location[434] := 'Dig Site'
Music[435] := 'venture 2' Location[435] := 'Dig Site'
Music[436] := 'victory is mine' Location[436] := 'Fighting in the Champions Challenge'
Music[437] := 'village' Location[437] := 'Canifis'
Music[438] := 'vision' Location[438] := 'Wizards Tower'
Music[439] := 'volcanic vikings' Location[439] := 'Fremennik Isles'
Music[440] := 'voodoo cult' Location[440] := 'Cave under Kharazi Jungle'
Music[441] := 'voyage' Location[441] := 'On top of Baxtorian Waterfall, raft area'
Music[442] := 'waking dream' Location[442] := 'Lunar Diplomacy'
Music[443] := 'wander' Location[443] := 'Farm area south of Falador'
Music[444] := 'warrior' Location[444] := 'the Fremennik Trials'
Music[445] := 'warriors guild' Location[445] := 'Warriors Guild'
Music[446] := 'waterfall' Location[446] := 'Baxtorian Waterfall'
Music[447] := 'waterlogged' Location[447] := 'Myre south of Canifis'
Music[448] := 'way of the enchanter' Location[448] := 'Dungeon beneath Lunar Isle'
Music[449] := 'wayward' Location[449] := 'Zogre dungeon'
Music[450] := 'we are the fairies' Location[450] := 'Cosmic entity plane'
Music[451] := 'well of voyage' Location[451] := 'The connection passage between Ibans Temple and Isafdar'
Music[452] := 'where eagles lair' Location[452] := 'Eagles Peak'
Music[453] := 'wild side' Location[453] := 'Deep Wilderness, around the north of the Lava Maze'
Music[454] := 'wilderness' Location[454] := 'Wilderness area near hobgoblins/mine'
Music[455] := 'wilderness 2' Location[455] := 'East section of Lava Maze'
Music[456] := 'wilderness 3' Location[456] := 'Wilderness area directly north of Goblin Village'
Music[457] := 'wildwood' Location[457] := 'Area west of Dark Knights Castle'
Music[458] := 'witching' Location[458] := 'Wilderness Bone Yard'
Music[459] := 'woe of the wyvern' Location[459] := 'Skeletal wyvern area, in the Ice Dungeon'
Music[460] := 'wolf mountain' Location[460] := 'South-east of Red Dragon Isle'
Music[461] := 'wonder' Location[461] := 'Wilderness north-west of Black Knights Fortress'
Music[462] := 'wonderous' Location[462] := 'Legends Guild area'
Music[463] := 'woodland' Location[463] := 'Elf Camp'
Music[464] := 'work work work' Location[464] := 'Tower of Life'
Music[465] := 'workshop' Location[465] := 'Falador, near Mining Guild'
Music[466] := 'wrath and ruin' Location[466] := 'Anger room in Tolnas Rift area'
Music[467] := 'xenophobe' Location[467] := 'Waterbirth Island Dungeon'
Music[468] := 'yesteryear' Location[468] := 'East Lumbridge Swamp'
Music[469] := 'zealot' Location[469] := 'Water rune altar'
Music[470] := 'zogre dance' Location[470] := 'Zogre Area'
Music[471] := 'zombiism' Location[471] := 'Harmony Island'
end;

function GetMusic: String;
begin
GameTab(13);
Result := Trim(GetTextAtex(558, 240, 50, SmallChars, True, True, 0, 2, 65280, 50, False, tr_allChars));
end;

function GetLocation(var Loc: String): Boolean;
var
i, arLength: integer;
PlayingMusic: String;
begin
arLength := GetArrayLength(Music);
PlayingMusic := GetMusic;
if Length(PlayingMusic) < 1 then Exit;

for i := 0 to arLength do
if Pos(Music[i], LowerCase(PlayingMusic)) <> 0 then
begin
Loc := Location[i];
Result := True;
Break;
end;
end;

var Loc: String;
begin
SetupSRL;
LoadMusicArray;
if GetLocation(Loc) then WriteLn('Found location: '+Loc);
end.

Bobarkinator

2007-06-06 12:26:01

Very good work! Worked for me in Gnome Tree Stronghold.

nielsie95

2007-06-06 13:13:33

Thanks, only 471 locations left to check :p.
I believe this can come very usefull for location finding and random detection (example: Music Artistry = Mime).

R0b0t1

2007-06-06 15:52:40

Cool, I was to lazy to continue my idea, but I see you did… :p.


I'll check some later.

nielsie95

2007-06-06 16:11:22

What idea? I never heard you about game-music?

R0b0t1

2007-06-06 16:47:24

No, my idea was to return a position on runescape, I was going to use something other than music.

I'm just glad to see an idea better than mine.

WT-Fakawi

2007-06-06 16:51:23

Wow. Thats a lot of work nielsie95! Looks good… I see you have the P2p covered too. Maybe you should make music and Location a name/value pair, by tying them together inside a Record MusicLocation.
This should go under / Misc :) (Ask Dankness for L/P to the repos…)

JuKKa

2007-06-06 17:15:15

Tested:
Edgevillage = Worked
BarbarianVillage = Worked
Cookings Guild = Worked
Varrok = Worked

grindisbest

2007-06-06 17:33:40

Wow!!!! Dam that must have taken you awhile!!!!

Smartzkid

2007-06-06 17:47:33

Wow!

That could be quite useful….

*walks off muttering to self*

Abyssal

2007-06-06 17:50:17

Very nice work!

nielsie95

2007-06-07 05:09:44

Thanks Jukka! :)

Fawki: I'll convert it to types this afternoon. But before it comes in SRL I'll need a lot more testers, though I think most F2P area's work :)

GoF

2007-06-07 06:56:14

Someone has had some spare time :)? Very nice :D

Bobarkinator

2007-06-07 20:51:02

Hey Nielsie, how often does the music change? Like how much walking would you have to do before the song changes? Or is it random?

I was thinking to make a KYAB script to check all the songs.

nielsie95

2007-06-08 01:43:34

It changes a lot and every time at the same place (so it isn't random). Varrock has 2/3 songs on it's own for example (the mines are not included, only the city).
Sure you can make one with KYAB, but that wont be usefull for non-members. :)

me_ntal

2007-06-08 04:37:03

Thats amazingly impressive, i would have never have thought of this. We will be able to use this to detect which random event wont we? Doesnt pinball and mime have special songs?

Bobarkinator

2007-06-08 08:27:32

@Mental:I believe they do.

@Nielsie: I was just going to test all the songs, just to say that they have all been tested.

Negaal

2007-09-07 11:20:23

[Runtime Error] : Out Of Range in line 503 in script

Tested with Srl 4…

Wonderful idea btw

n3ss3s

2007-09-07 11:44:24

Good job, but arent the areas pretty big?

nielsie95

2007-09-07 13:24:44

They're big, but not that big.. Falador city for example has 2 different kinds of music in the city itself..

negaal: Did you test the SRL-version or the posted version?

RAM

2007-10-19 22:59:19

From: negaal
[Runtime Error] : Out Of Range in line 503 in script

Tested with Srl 4…

Wonderful idea btw


[BANANA]if Pos(Music, LowerCase(PlayingMusic)) <> 0 then[/BANANA]

From: nielsie95
They're big, but not that big.. Falador city for example has 2 different kinds of music in the city itself..

negaal: Did you test the SRL-version or the posted version?


Tested this posted version and got the same error….

I thought I had stumbled on a major discovery with this a few weeks ago…made a big post, and within minutes Wiz made mention of you already having made this….I guess it pays to read a bit first :duh:….Anyways…Great minds think alike ;)…this is going to be very useful….

On a script I'm working on, the Sheep pen has 3 different songs associated with it…making it very hard to get lost in that little area ;)

Thanks Again,

~RAM

King of Knives

2007-10-20 11:50:54

This is probably the most reliable source of getting whereabouts.

If there's a mistake in the music, there's a mistake in RuneScape.

Great job, Nielsie.

-Knives

nielsie95

2007-10-20 13:03:46

From: RAM
[BANANA]if Pos(Music, LowerCase(PlayingMusic)) <> 0 then[/BANANA]

On a script I'm working on, the Sheep pen has 3 different songs associated with it…making it very hard to get lost in that little area ;)

Thanks Again,

~RAM


In this version I forgot the -1 in

for i := 0 to arLength -1 do

This is fixed in SRL though..

Another thing:


function GetMusic: string;
begin
GameTab(13);
Wait(100 +Random(300));
Result := Trim(GetTextAtex(552, 240, 50, SmallChars, True, True, 0, 2, 65280,
50, False, tr_allChars));
end;

Please make sure that GetMusic looks like this..

Jason2gs

2007-10-20 17:50:55

Oh dear…

I wish I could try it, but every time I try and run it, it freezes up :(

It doesn't go unresponsive or anything, it just does NOTHING. It won't let me activate that window, nothing.

Tried over and over, and every time it was the same.

Looks like a good idea, though. Nice job :)

Edit: Nevermind, Now it works :p Great job, tested…

Just outside Lumby courtyard, Found location: Lumbridge Area

Near the little chicken area on the right side of the river, Found location: Lumbridge Farm (East)

Draynor bank, Found location: Draynor market/jail area

TheGuyWhoGotOn

2007-10-22 21:26:04

Oh my god such a great idea! I never would have thought of that…And I don't understand text well :P. Great job!