Poseidon Posted February 22, 2014 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 107 Reputation: 6 Joined: 12/09/11 Last Seen: May 9, 2017 Share Posted February 22, 2014 (edited) Hi guys Right i have been working on a warper with last warp function but i cant get it to work so i would like some help to get it to work thanks guys prontera,158,193,4 script Warper 117,{ mes "[Warper]"; mes "Hello " + strcharinfo(0) + ","; mes "What can I do for you?"; next; switch(select("Save:Warp Service")){ case 1: mes "You position is saved!"; getmapxy(@mapname$,@mapx,@mapy,0); mes "Current Coordinates: "+@mapname$+", "+@mapx+", " +@mapy; savepoint @mapname$,@mapx,@mapy; close2; end; case 2: mes "[Warper]"; mes "Where would you like to go?"; next; switch(select("Last Warp:Towns:Dungeons")){ case 1: if(lastmap$=="") { mes "You have not warped anywhere yet!"; close; } warp lastmap$,lastx,lasty; end; break; case 2: mes "[Warper]"; mes "Please choose your destination."; next; switch(select("Prontera:Alberta:Aldebaran:Amatsu:Ayothaya:Brasilis:Comodo:Dewata:Eclarge:Einbech:Einbroch:El Dicastes:Geffen:Gonryun:hugel:Izlude:Jawaii:Lighthalzen:Louyang:Lutie:Malangdo:Malaya:Mora:Morroc:Moscovia:Nameless:Niflheim:Payon:Rachel:Thor's Camp:Umbala:Veins:Yuno")){ case 1: warp "prontera",155,183; end; case 2: warp "alberta",28,234; end; case 3: warp "aldebaran",140,131; end; case 4: warp "amatsu",198,84; end; case 5: warp "ayothaya",208,166; end; case 6: warp "brasilis",196,217; end; case 7: warp "comodo",209,143; end; case 8: warp "dewata",200,180; end; case 9: warp "ecl_in01",48,53; end; case 10: warp "einbrech",64,200; end; case 11: warp "einbroch",64,200; end; case 12: warp "dicastes01",198,187; end; case 13: warp "geffen",119,59; end; case 14: warp "gonryun",160,120; end; case 15: warp "hugel",96,145; end; case 16: warp "izlude",127,143; end; case 17: warp "jawaii",251,132; end; case 18: warp "lighthalzen",158,92; end; case 19: warp "louyang",217,100; end; case 20: warp "xmas",147,134; end; case 21: warp "malangdo",140,114; end; case 22: warp "malaya",231,200; end; case 23: warp "mora",55,146; end; case 24: warp "morocc",156,93; end; case 25: warp "moscovia",223,184; end; case 26: warp "nameless_n",256,215; end; case 27: warp "niflheim",202,174; end; case 28: warp "payon",179,100; end; case 29: warp "rachel",130,110; end; case 30: warp "thor_camp",246,68; end; case 31: warp "umbala",97,153; end; case 32: warp "veins",216,123; end; case 33: warp "yuno",157,51; end; break; getmapxy(lastmap$,lastx,lasty,0); close; } case 3: mes "[Warper]"; mes "^0024ff[Please note to access certain dungeons you will need to do the access quest first]^000000"; mes "Please choose your destination."; next; switch(select("Abyss Lakes:Amatsu Dungeon:Anthell:Ayothaya Dungeon:Beach Dungeon:Bio Labs:Brasilis Dungeon:byalan Dungeon:Clock Tower:Coal Mines:Culverts:Cursed Abbey:Dewata Dungeons:Einbroch Dungeon:Gefenia:Geffen Dungeon:Glast Heim:Gonryun Dungeon:Hidden Dungeon:Ice Dungeon:Juperos:Kiel Dungeon:Louyang Dungeon:Magma Dungeon:Malangdo Dungeon:Moscovia Dungeon:Odin Temple:Orc Dungeon:Payon Dungeon:Pyramids:Rachel Sanctuary:Sphinx:Sunken Ship:Thanatos Tower:Thor Volcano:Toy Factory:Turtle Dungeon:Umbala Dungeon:Bifrost Tower")){ case 1: warp "abyss_01",261,272; close; case 2: if( event_amatsu >= 6){ warp "ama_dun01",228,11; end; } else { warp "amatsu",168,171; end;} case 3: warp "anthell01",35,262; end; case 4: if(ayodunquest >= 2){ warp "ayo_dun01",275,19; end; } else { warp "ayothaya",87,129; end;} case 5: warp "beach_dun",266,67; end; case 6: if (MISC_QUEST & 512){ warp "lhz_dun01",149,287; end; } else { warp "lighthalzen",158,92; end; } case 7: if (brazil_ghost == 8){ warp "bra_dun01",87,47; end; } else { warp "brasilis",194,216; } case 8: warp "iz_dun01",253,254; end; case 9: warp "c_tower1",199,159; end; case 10: warp "mjo_dun01",52,17; end; case 11: warp "prt_sewb1",131,247; end; case 12: warp "abbey01",51,14; end; case 13: warp "dew_dun01",285,160; end; case 14: warp "ein_dun01",22,14; end; case 15: if (sign_q = 144) { warp "gefenia01",40,103; break; } else { warp "prontera",150,303; break; } case 16: warp "gef_dun00",104,99; break; case 17: warp "glast_01",200,134; break; case 18: warp "gon_dun01",153,53; break; case 19: warp "prt_maze01",176,7; break; case 20: warp "ice_dun01",157,14; break; case 21: warp "juperos_01",53,247; break; case 22: if (kielhyreQuest = 34){ warp "kh_dun01",28,226; break; } else { warp "yuno",53,105; break; } case 23: warp "lou_dun01",218,196; break; case 24: warp "mag_dun01",126,68; break; case 25: warp "mal_dun01",33,230; break; case 26: if(mos_whale_edq >= 38){ warp "mosk_dun01",189,48; break; } else { warp "moscovia",137,50; break;} case 27: warp "odin_tem01",298,167; break; case 28: warp "orcsdun01",32,170; break; case 29: warp "pay_dun00",21,180; break; case 30: warp "moc_pryd01",192,9; break; case 31: if(MISC_QUEST & 8192){ warp "ra_temin",27,315; break; } else { warp "rachel",98,239; break; } case 32: warp "in_sphinx1",288,9; break; case 33: warp "treasure01",69,24; break; case 34: warp "tha_t01",150,39; break; case 35: warp "thor_v01",21,228; break; case 36: warp "xmas_dun01",205,15; break; case 37: warp "tur_dun02",148,264; break; case 38: warp "um_dun01",42,31; break; case 39: warp "ecl_tdun01",57,13; break; } getmapxy(lastmap$,lastx,lasty,0); close; } } } Edited February 22, 2014 by Poseidon Quote Link to comment Share on other sites More sharing options...
meko9586 Posted February 23, 2014 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 09/27/13 Last Seen: March 25, 2021 Share Posted February 23, 2014 case 14: warp "ein_dun01",22,14; end; The attachment to the player will lose after you end the script. Hence, getmapxy(lastmap$,lastx,lasty,0); << doesn't work after "end;" Find a way to put it after warp but before "end;" Quote Link to comment Share on other sites More sharing options...
Question
Poseidon
Hi guys
Right i have been working on a warper with last warp function but i cant get it to work so i would like some help to get it to work
thanks guys
Edited by PoseidonLink to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.