Fixed [SHARE] Zone names with coords for scripts!

fa1thDEV

Knight
Customer
As I have never understood how to make a script that names the zone in the ads, I have made a compilation of all the coordinates with their zones, the script will check the nearest zone and will launch the name of the zone, I hope it helps!

private final Map<String, int[]> zones = new HashMap<>() {{
put("Antharas Lair", new int[]{153096, 111672, -5520});
put("Execution Grounds", new int[]{48789, 145929, -2656});
put("Partisan's Hideaway", new int[]{48789, 118352, -2176});
put("Cruma Marshlands", new int[]{12019, 119151, -3664});
put("Cruma Tower", new int[]{18414, 108959, -3440});
put("Mandragora Farm", new int[]{38291, 148829, -3696});
put("Town of Dion", new int[]{6024, 144130, -2699});
put("Floran Village", new int[]{16016, 163115, -3495});
put("Dion Castle", new int[]{27207, 151325, -2952});
put("Bee Hive", new int[]{28605, 179103, -2976});
put("Dion Hills", new int[]{29964, 135266, -3232});
put("Floran Agricultural Area", new int[]{10610, 157122, -2472});
put("Plains of Dion", new int[]{200, 171030, -3464});
put("Hardin's Private Academy", new int[]{105918, 109759, -3170});
put("Dragon Valley", new int[]{97450, 111357, -2440});
put("Antharas' Lair", new int[]{146911, 116153, -720});
put("Antharas' Nest", new int[]{179319, 109585, -3720});
put("Death Pass", new int[]{69572, 116353, -3544});
put("Giran Harbor", new int[]{47938, 186864, -3420});
put("Town of Giran", new int[]{74968, 141133, -3404});
put("Arena", new int[]{73579, 142709, -3768});
put("Giran Castle", new int[]{116535, 137736, -2824});
put("Breka's Stronghold", new int[]{80364, 127744, -3672});
put("Gorgon Flower Garden", new int[]{107342, 127544, -3540});
put("Ruins of Despair", new int[]{-17158, 140933, -3762});
put("Ruins of Agony", new int[]{-45935, 113955, -3528});
put("Wasteland", new int[]{-20755, 184499, -4056});
put("Ant Nest", new int[]{-17158, 170909, -4160});
put("Gludin Village", new int[]{-80684, 149770, -3043});
put("Gludin Harbor", new int[]{-91101, 150344, -3624});
put("Town of Gludio", new int[]{-12787, 122779, -3114});
put("Abandoned Camp", new int[]{-56726, 136936, -2784});
put("Orc Barracks", new int[]{-94296, 109758, -3576});
put("Forgotten Temple", new int[]{-52729, 183899, -3568});
put("Fellmere Lake", new int[]{-57798, 127629, -2928});
put("Gludin Arena", new int[]{-87328, 142266, -3640});
put("Gludio Castle", new int[]{-17358, 102963, -1268});
put("Windy Hill", new int[]{-82505, 86177, -3472});
put("Red Rock Ridge", new int[]{-35366, 19544908, -3328});
put("Langk Lizardmen Dwellings", new int[]{-49332, 207879, -3736});
put("Fellmere Harvesting Grounds", new int[]{-65419, 99367, -3552});
put("Windmill Hill", new int[]{-75311, 169110, -3632});
put("Evil Hunting Grounds", new int[]{-1500, 93003, -3720});
put("Windawood Manor", new int[]{-25775, 160444, -2536});
put("Ol Mahum Checkpoint", new int[]{-6661, 196680, -3632});
put("Neutral Zone", new int[]{-9963, 75186, -3592});
put("Elven Forest", new int[]{27007, 44611, -3688});
put("Shadow of the Mother Tree", new int[]{50953, 42105, -3480});
put("Elven Village", new int[]{37598, 48207, -2976});
put("Elven Fortress", new int[]{23210, 70389, -3776});
put("Iris Lake", new int[]{51469, 82600, -3312});
put("Shilen Temple", new int[]{25934, 11037, -3720});
put("Dark Elf Village", new int[]{-5167, 12836, -4500});
put("School of Dark Arts", new int[]{-45135, 51005, -3336});
put("Swampland", new int[]{-18956, 44011, -3688});
put("Altar of Rites", new int[]{-40739, 79982, -3736});
put("Sea of Spores", new int[]{53685, 18631, -3104});
put("Bandit Stronghold", new int[]{82562, -22736, -2072});
put("Ivory Tower", new int[]{85760, -354, -3640});
put("Town of Oren", new int[]{75968, 51005, -1470});
put("Oren Castle", new int[]{82362, 29422, -2560});
put("Plains of the Lizardmen", new int[]{85959, 75586, -3103});
put("Timak Outpost", new int[]{67097, 69615, -3648});
put("Ivory Tower Crater", new int[]{85391, 17028, -3640});
put("Forest of Evil", new int[]{96551, 1845, -3016});
put("Outlaw Forest", new int[]{87958, -9346, -2864});
put("Tower of Insolence", new int[]{115336, 13035, -5120});
put("Blazing Swamp", new int[]{147510, -19139, -3320});
put("Seal of Shilen", new int[]{195072, 16033, -3696});
put("Giant's Cave", new int[]{190076, 50006, -4276});
put("Enchanted Valley", new int[]{113737, 47209, -3973});
put("Cemetery", new int[]{176287, 20629, -3328});
put("Forest of Mirrors", new int[]{150108, 81980, -3000});
put("Anghel Waterfall", new int[]{166182, 91560, -3168});
put("Hunters Village", new int[]{109940, 72987, -2670});
put("Aden Castle", new int[]{148510, -6349, -592});
put("Ancient Battleground", new int[]{122530, -10945, -3454});
put("Forsaken Plains", new int[]{175488, 38616, -4072});
put("Silent Valley", new int[]{174688, 48208, -5280});
put("Hunters Valley", new int[]{113937, 83180, -3112});
put("Plains of Glory", new int[]{139317, 10438, -3424});
put("Fields of Massacre", new int[]{174488, -12544, -2768});
put("War-Torn Plains", new int[]{157702, 10438, -4032});
put("Garden of Eva", new int[]{84413, 234334, -3656});
put("Heine", new int[]{111455, 219400, -3546});
put("Innadril Castle", new int[]{116248, 244456, -1056});
put("Monster Arena", new int[]{11419, 176305, -3560});
put("Pa'agrio Temple", new int[]{-55699, -114967, 2528});
put("Orc Village", new int[]{-45158, -112583, -236});
put("Cave of Trials", new int[]{17714, -114263, -2536});
put("Frozen Waterfalls", new int[]{10520, -138643, -1192});
put("Valley of Heroes", new int[]{-34614, -114721, -2104});
put("Immortal Plateau", new int[]{-22253, -133047, -2176});
put("Immortal Plateau, Southern Region", new int[]{-3269, -93279, -2368});
put("Strip Mine", new int[]{106561, -173949, -400});
put("Dwarven Village", new int[]{109940, -188603, -917});
put("Spine Mountains", new int[]{147493, -200840, 192});
put("Abandoned Coal Mines", new int[]{141715, -177212, -1536});
put("Mithril Mines", new int[]{179484, -179810, 3440});
put("Frozen Valley", new int[]{112971, -174924, -608});
put("Western Mining Zone", new int[]{128725, -205789, -3408});
put("Eastern Mining Zone", new int[]{179684, -205789, -3384});
put("Goddard", new int[]{148024, -55281, -2728});
put("Garden of Beasts", new int[]{132997, -60608, -2960});
put("Hot Springs", new int[]{154042, -107990, -2728});
put("Rainbow Springs Chateau", new int[]{139997, -124860, -1896});
put("Forge of the Gods", new int[]{171324, -116522, -2096});
put("Valakas Lair", new int[]{215789, -121682, 2056});
put("Ketra Orc Outpost", new int[]{149025, -84499, -4912});
put("Imperial Tomb", new int[]{186561, -75528, -2824});
put("Wall of Argos", new int[]{172809, -53435, -2128});
put("Varka Silenos Barracks", new int[]{115746, -53873, -3344});
put("Last Imperial Tomb", new int[]{174141, -88685, -5112});
put("Town of Rune", new int[]{43835, -47749, -792});
put("Rune Castle", new int[]{14659, -49230, -160});
put("Rune Harbor", new int[]{36839, -38435, -3640});
put("Windtail Waterfall", new int[]{40723, -94881, -2096});
put("Beast Farm", new int[]{50867, -90809, -2320});
put("Wild Beast Reserve", new int[]{55133, -93217, -1360});
put("Valley of Saints", new int[]{73963, -85053, -3424});
put("Forest of the Dead", new int[]{56321, -52830, -3248});
put("Cursed Village", new int[]{57670, -41672, -3154});
put("Fortress of the Dead", new int[]{57966, -28378, 584});
put("Swamp of Screams", new int[]{79794, -55890, -2328});
put("Monastery of Silence", new int[]{111291, -86516, 1592});
put("Pagan Temple", new int[]{30969, -54947, -3424});
put("Stakato Nest", new int[]{89690, -49871, -2600});
put("Ruins of Ye Sagira", new int[]{-109332, 237041, -2912});
put("Harnak Underground Ruins", new int[]{-125678, 236568, -4040});
put("Talking Island Village", new int[]{-114358, 255884, -1512});
put("Whispering Woods", new int[]{-76689, 236947, -3032});
put("Faeron Village", new int[]{-79445, 249501, -3096});
put("Hive Fortress", new int[]{16732, 188294, -2760});
put("Floran Fortress", new int[]{5317, 149746, -2728});
put("Tanor Fortress", new int[]{60342, 139723, -1592});
put("Valley Fortress", new int[]{126082, 123622, -2424});
put("Camp Fortress", new int[]{-53034, 156482, -1896});
put("Southern Fortress", new int[]{-22429, 219895, -3072});
put("Ivory Fortress", new int[]{72606, 4413, -2888});
put("Cloud Mountain Fortress", new int[]{-53234, 91513, -2664});
put("Dragonspine Fortress", new int[]{11535, 95277, -3264});
put("Antharas' Fortress", new int[]{79503, 91179, -2720});
put("Western Fortress", new int[]{111368, -14851, -832});
put("Narsell Fortress", new int[]{154613, 55391, -3096});
put("Bayou Fortress", new int[]{189828, 40014, -3248});
put("Hunter's Fortress", new int[]{125250, 95423, -1976});
put("White Sands Fortress", new int[]{118659, 205047, -3176});
put("Aaru Fortress", new int[]{72959, 186218, -2424});
put("Archaic Fortress", new int[]{109203, -141149, -2800});
put("Borderland Fortress", new int[]{158920, -70150, -2704});
put("Demon Fortress", new int[]{100429, -55316, -488});
put("Swamp Fortress", new int[]{69955, -61163, -2624});
put("Monastic Fortress", new int[]{72269, -94495, -1264});
put("Fafurion's Nest", new int[]{180987, 211635, -14551});
put("Fafurion Temple", new int[]{168448, 234496, -2560});
put("Devil's Isle", new int[]{48110, 210873, -3592});
put("Forgotten Island", new int[]{14585, -19581, -3032});
}};
 
Back
Top