Victor

Warper

16 сообщений в этой теме

Помогите пожалуйста с варпером, а именно с ласт-варпом.

Не сохраняет последний варп после перезахода на аккаунт (хотя координаты запоминает)


[Debug]: mapindex_name2id: Map "0" not found in index list!
[Debug]: pc_setpos: Passed mapindex(0) is invalid!
[Error]: buildin_warp: moving player 'Novice' to "0",261,272 failed.
[Debug]: Source (NPC): Warper#prt at prontera (159,200)

Скриншот: http://rghost.ru/8yD4gjZG2.view

Сам скрипт: http://pastebin.com/raw.php?i=wTavsRh0

Изменено пользователем Victor
0

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Вот попробуй заменить )


// ------------------- Functions -------------------
// * Go("<map>",<x>,<y>);
// ~ Warps directly to a map.
//
// * Disp("<Menu Option>",<first option>,<last option>);
// * Pick("<map_prefix>"{,<index offset>});
// ~ Dynamic menu and map selection (auto-numbered).
//
// * Disp("<Option 1>:<Option 2>:<etc.>");
// * Pick("","<map1>","<map2>","<etc.>");
// ~ Manual menu and map selection (listed).
//
// * Restrict("<RE | Pre-RE>"{,<menu option numbers>});
// ~ Only allows map for Renewal or Pre-Renewal modes.
// If menu option numbers are given, only those maps
// will be restricted (i.e. not for "Go").
//
// Other notes:
// ~ Array @c[] holds all (x,y) coordinates.
// ~ Use @c[2] EXCEPT when maps begin dynamically
// at 0: use @c[0] and Pick() offset 1.
// --------------------------------------------------
function Go {
warp getarg(0),getarg(1,0),getarg(2,0);
getmapxy(lastwarp$,lastwarpx,lastwarpy,0);
end;
}
function Disp {
if (getargcount() < 3)
set @menu$, getarg(0);
else {
set @menu$,"";
for(set .@i,getarg(1); .@i<=getarg(2); set .@i,.@i+1)
set @menu$, @menu$+getarg(0)+" "+.@i+":";
}
return;
}
function Pick {
set .@warp_block,@warp_block;
set @warp_block,0;
if (getarg(0) == "") {
set .@select, select(@menu$);
set .@i, .@select;
set .@map$, getarg(.@i);
} else {
set .@select, select(@menu$);
set .@i, .@select-getarg(1,0);
set .@map$, getarg(0)+((.@i<10)?"0":"")+.@i;
}
if (.@warp_block & (1<<.@select)) {
message strcharinfo(0),"This map is not enabled in "+((checkre(0))?"":"Pre-")+"Renewal.";
close;
}
warp .@map$,@c[.@i*2],@c[.@i*2+1];
getmapxy(lastwarp$,lastwarpx,lastwarpy,0);
deletearray @c[0],getarraysize(@c);
end;
}
function Restrict {
if ((getarg(0) == "RE" && !checkre(0)) || (getarg(0) == "Pre-RE" && checkre(0))) {
if (getarg(1,0)) {
set @warp_block,0;
for(set .@i,1; .@i<getargcount(); set .@i,.@i+1)
set @warp_block, @warp_block | (1<<getarg(.@i));
} else {
message strcharinfo(0),"This map is not enabled in "+((checkre(0))?"":"Pre-")+"Renewal.";
close;
}
}
return;
}

Если не получится могу предложить только самого варпера)


//===== Hercules Script ======================================
//= Warper
//===== By: ==================================================
//= Euphy
//===== Current Version: =====================================
//= 1.4
//===== Description: =========================================
//= A complete - but very condensed - warper script.
//= Some coordinates written by Tekno-Kanix and ToastOfDoom.
//===== Additional Comments: =================================
//= 1.0 Initial script.
//= 1.1 Added missing duplicates and fixed coordinates.
//= 1.2 Added new episodes and simplified functions.
//= 1.3 Added Renewal checks and Instances menu.
//= Aligned coordinates with @go.
//= 1.4 Added new Guild Dungeons.
//============================================================
- script Warper -1,{
function Go; function Disp; function Pick; function Restrict;
// --------------------------------------------------
// Main Menu:
// --------------------------------------------------
menu "Last Warp ^777777["+lastwarp$+"]^000000",-,
" ~ Towns",Towns, " ~ Fields",Fields, " ~ Dungeons",Dungeons,
" ~ Guild Castles",Castles, " ~ Guild Dungeons",Guild_Dungeons,
" ~ Instances",Instances, " ~ Special Areas",Special;
if (lastwarp$ == "")
message strcharinfo(0),"You haven't warped anywhere yet.";
else
warp lastwarp$,lastwarpx,lastwarpy;
close;
// ------------------- Functions -------------------
// * Go("<map>",<x>,<y>);
// ~ Warps directly to a map.
//
// * Disp("<Menu Option>",<first option>,<last option>);
// * Pick("<map_prefix>"{,<index offset>});
// ~ Dynamic menu and map selection (auto-numbered).
//
// * Disp("<Option 1>:<Option 2>:<etc.>");
// * Pick("","<map1>","<map2>","<etc.>");
// ~ Manual menu and map selection (listed).
//
// * Restrict("<RE | Pre-RE>"{,<menu option numbers>});
// ~ Only allows map for Renewal or Pre-Renewal modes.
// If menu option numbers are given, only those maps
// will be restricted (i.e. not for "Go").
//
// Other notes:
// ~ Array @c[] holds all (x,y) coordinates.
// ~ Use @c[2] EXCEPT when maps begin dynamically
// at 0: use @c[0] and Pick() offset 1.
// --------------------------------------------------
function Go {
warp getarg(0),getarg(1,0),getarg(2,0);
getmapxy(lastwarp$,lastwarpx,lastwarpy,0);
end;
}
function Disp {
if (getargcount() < 3)
set @menu$, getarg(0);
else {
set @menu$,"";
for(set .@i,getarg(1); .@i<=getarg(2); set .@i,.@i+1)
set @menu$, @menu$+getarg(0)+" "+.@i+":";
}
return;
}
function Pick {
set .@warp_block,@warp_block;
set @warp_block,0;
if (getarg(0) == "") {
set .@select, select(@menu$);
set .@i, .@select;
set .@map$, getarg(.@i);
} else {
set .@select, select(@menu$);
set .@i, .@select-getarg(1,0);
set .@map$, getarg(0)+((.@i<10)?"0":"")+.@i;
}
if (.@warp_block & (1<<.@select)) {
message strcharinfo(0),"This map is not enabled in "+((checkre(0))?"":"Pre-")+"Renewal.";
close;
}
warp .@map$,@c[.@i*2],@c[.@i*2+1];
getmapxy(lastwarp$,lastwarpx,lastwarpy,0);
deletearray @c[0],getarraysize(@c);
end;
}
function Restrict {
if ((getarg(0) == "RE" && !checkre(0)) || (getarg(0) == "Pre-RE" && checkre(0))) {
if (getarg(1,0)) {
set @warp_block,0;
for(set .@i,1; .@i<getargcount(); set .@i,.@i+1)
set @warp_block, @warp_block | (1<<getarg(.@i));
} else {
message strcharinfo(0),"This map is not enabled in "+((checkre(0))?"":"Pre-")+"Renewal.";
close;
}
}
return;
}
// --------------------------------------------------
Towns:
// --------------------------------------------------
menu "Prontera",T1, "Alberta",T2, "Aldebaran",T3, "Amatsu",T4, "Ayothaya",T5,
"Brasilis",T6, "Comodo",T7, "Dewata",T8, "Eclage",T9, "Einbech",T10,
"Einbroch",T11, "El Dicastes",T12, "Geffen",T13, "Gonryun",T14, "Hugel",T15,
"Izlude",T16, "Jawaii",T17, "Lighthalzen",T18, "Louyang",T19, "Lutie",T20,
"Malangdo",T21, "Malaya",T22, "Manuk",T23, "Midgarts Expedition Camp",T24,
"Mora",T25, "Morroc",T26, "Moscovia",T27, "Nameless Island",T28,
"Niflheim",T29, "Payon",T30, "Rachel",T31, "Splendide",T32, "Thor Camp",T33,
"Umbala",T34, "Veins",T35, "Yuno",T36;
T1: Go("prontera",155,183);
T2: Go("alberta",28,234);
T3: Go("aldebaran",140,131);
T4: Go("amatsu",198,84);
T5: Go("ayothaya",208,166);
T6: Restrict("RE");
Go("brasilis",196,217);
T7: Go("comodo",209,143);
T8: Restrict("RE");
Go("dewata",200,180);
T9: Restrict("RE");
Go("ecl_in01",48,53);
T10: Go("einbech",63,35);
T11: Go("einbroch",64,200);
T12: Restrict("RE");
Go("dicastes01",198,187);
T13: Go("geffen",119,59);
T14: Go("gonryun",160,120);
T15: Go("hugel",96,145);
T16: Go("izlude",128,114);
T17: Go("jawaii",251,132);
T18: Go("lighthalzen",158,92);
T19: Go("louyang",217,100);
T20: Go("xmas",147,134);
T21: Restrict("RE");
Go("malangdo",140,114);
T22: Restrict("RE");
Go("malaya",212,206);
T23: Go("manuk",282,138);
T24: Go("mid_camp",210,288);
T25: Restrict("RE");
Go("mora",55,146);
T26: Go("morocc",156,93);
T27: Go("moscovia",223,184);
T28: Go("nameless_n",256,215);
T29: Go("niflheim",202,174);
T30: Go("payon",179,100);
T31: Go("rachel",130,110);
T32: Go("splendide",201,147);
T33: Go("thor_camp",246,68);
T34: Go("umbala",97,153);
T35: Go("veins",216,123);
T36: Go("yuno",157,51);
// --------------------------------------------------
Fields:
// --------------------------------------------------
menu "Amatsu Fields",F1, "Ayothaya Fields",F2, "Bifrost Fields", F3,
"Brasilis Fields",F4, "Comodo Fields",F5, "Dewata Fields",F6,
"Eclage Fields",F7, "Einbroch Fields",F8, "El Dicastes Fields",F9,
"Geffen Fields",F10, "Gonryun Fields",F11, "Hugel Fields",F12,
"Lighthalzen Fields",F13, "Louyang Field",F14, "Lutie Field",F15,
"Malaya Fields",F16, "Manuk Fields",F17, "Mjolnir Fields",F18,
"Moscovia Fields",F19, "Niflheim Fields",F20, "Payon Forests",F21,
"Prontera Fields",F22, "Rachel Fields",F23, "Sograt Deserts",F24,
"Splendide Fields",F25, "Umbala Fields",F26, "Veins Fields",F27,
"Yuno Fields",F28;
F1: setarray @c[2],190,197;
Disp("Amatsu Field",1,1); Pick("ama_fild");
F2: setarray @c[2],173,134,212,150;
Disp("Ayothaya Field",1,2); Pick("ayo_fild");
F3: Restrict("RE");
setarray @c[2],193,220,220,187;
Disp("Bifrost Field",1,2); Pick("bif_fild");
F4: Restrict("RE");
setarray @c[2],74,32;
Disp("Brasilis Field",1,1); Pick("bra_fild");
F5: Restrict("Pre-RE",5);
setarray @c[2],180,178,231,160,191,172,228,194,224,203,190,223,234,177,194,175,172,172;
Disp("Comodo Field",1,9); Pick("cmd_fild");
F6: Restrict("RE");
setarray @c[2],371,212;
Disp("Dewata Field",1,1); Pick("dew_fild");
F7: Restrict("RE");
setarray @c[2],97,314;
Disp("Eclage Field",1,1); Pick("ecl_fild");
F8: Restrict("Pre-RE",2,10);
setarray @c[2],142,225,182,141,187,228,185,173,216,173,195,148,272,220,173,214,207,174,196,200;
Disp("Einbroch Field",1,10); Pick("ein_fild");
F9: Restrict("RE");
setarray @c[2],143,132,143,217;
Disp("El Dicastes Field",1,2); Pick("dic_fild");
F10: Restrict("Pre-RE",13,15);
setarray @c[0],46,199,213,204,195,212,257,192,188,171,166,263,248,158,195,191,186,183,221,117,178,218,136,328,240,181,235,235,211,185;
Disp("Geffen Field",0,14); Pick("gef_fild",1);
F11: setarray @c[2],220,227;
Disp("Gonryun Field",1,1); Pick("gon_fild");
F12: Restrict("Pre-RE",3,7);
setarray @c[2],268,101,222,193,232,185,252,189,196,106,216,220,227,197;
Disp("Hugel Field",1,7); Pick("hu_fild");
F13: setarray @c[2],240,179,185,235,240,226;
Disp("Lighthalzen Field",1,3); Pick("lhz_fild");
F14: setarray @c[2],229,187;
Disp("Louyang Field",1,1); Pick("lou_fild");
F15: setarray @c[2],115,145;
Disp("Lutie Field",1,1); Pick("xmas_fild");
F16: Restrict("RE");
setarray @c[2],40,272,207,180;
Disp("Malaya Field",1,2); Pick("ma_fild");
F17: setarray @c[2],35,236,35,262,84,365;
Disp("Manuk Field",1,3); Pick("man_fild");
F18: setarray @c[2],204,120,175,193,208,213,179,180,181,240,195,270,235,202,188,215,205,144,245,223,180,206,196,208;
Disp("Mjolnir Field",1,12); Pick("mjolnir_");
F19: setarray @c[2],82,104,131,147;
Disp("Moscovia Field",1,2); Pick("mosk_fild");
F20: setarray @c[2],215,229,167,234;
Disp("Niflheim Field",1,2); Pick("nif_fild");
F21: Restrict("Pre-RE",5,11);
setarray @c[2],158,206,151,219,205,148,186,247,134,204,193,235,200,177,137,189,201,224,160,205,194,150;
Disp("Payon Forest",1,11); Pick("pay_fild");
F22: setarray @c[0],208,227,190,206,240,206,190,143,307,252,239,213,185,188,193,194,187,218,210,183,195,149,198,164;
Disp("Prontera Field",0,11); Pick("prt_fild",1);
F23: Restrict("Pre-RE",2,7,9,10,11,13);
setarray @c[2],192,162,235,166,202,206,202,208,225,202,202,214,263,196,217,201,87,121,277,181,221,185,175,200,174,197;
Disp("Rachel Field",1,13); Pick("ra_fild");
F24: setarray @c[2],219,205,177,206,194,182,224,170,198,216,156,187,185,263,206,228,208,238,209,223,85,97,207,202,31,195,38,195;
Disp("Sograt Desert 1:Sograt Desert 2:Sograt Desert 3:Sograt Desert 7:Sograt Desert 11:Sograt Desert 12:Sograt Desert 13:Sograt Desert 16:Sograt Desert 17:Sograt Desert 18:Sograt Desert 19:Sograt Desert 20:Sograt Desert 21:Sograt Desert 22");
Pick("","moc_fild01","moc_fild02","moc_fild03","moc_fild07","moc_fild11","moc_fild12","moc_fild13","moc_fild16","moc_fild17","moc_fild18","moc_fild19","moc_fild20","moc_fild21","moc_fild22");
F25: setarray @c[2],175,186,236,184,188,204;
Disp("Splendide Field",1,3); Pick("spl_fild");
F26: setarray @c[2],217,206,223,221,237,215,202,197;
Disp("Umbala Field",1,4); Pick("um_fild");
F27: Restrict("Pre-RE",5);
setarray @c[2],186,175,196,370,222,45,51,250,202,324,150,223,149,307;
Disp("Veins Field",1,7); Pick("ve_fild");
F28: Restrict("Pre-RE",5,10);
setarray @c[2],189,224,192,207,221,157,226,199,223,177,187,232,231,174,196,203,183,214,200,124,195,226,210,304;
Disp("Yuno Field",1,12); Pick("yuno_fild");
// --------------------------------------------------
Dungeons:
// --------------------------------------------------
menu "Abyss Lakes",D1, "Amatsu Dungeon",D2, "Anthell",D3,
"Ayothaya Dungeon",D4, "Beach Dungeon",D5, "Bio Labs",D6,
"Brasilis Dungeon",D7, "Byalan Dungeon",D8, "Clock Tower",D9,
"Coal Mines",D10, "Culvert",D11, "Cursed Abbey",D12, "Dewata Dungeon",D13,
"Einbroch Dungeon",D14, "Gefenia",D15, "Geffen Dungeon",D16,
"Glast Heim",D17, "Gonryun Dungeon",D18, "Hidden Dungeon",D19,
"Ice Dungeon",D20, "Juperos",D21, "Kiel Dungeon",D22, "Louyang Dungeon",D23,
"Magma Dungeon",D24, "Malangdo Dungeon",D25, "Moscovia Dungeon",D26,
"Nidhogg's Dungeon",D27, "Odin Temple",D28, "Orc Dungeon",D29,
"Payon Dungeon",D30, "Pyramids",D31, "Rachel Sanctuary",D32,
"Scaraba Hole",D33, "Sphinx",D34, "Sunken Ship",D35, "Thanatos Tower",D36,
"Thor Volcano",D37, "Toy Factory",D38, "Turtle Dungeon",D39, "Umbala Dungeon",D40;
D1: setarray @c[2],261,272,275,270,116,27;
Disp("Abyss Lakes",1,3); Pick("abyss_");
D2: setarray @c[2],228,11,34,41,119,14;
Disp("Amatsu Dungeon",1,3); Pick("ama_dun");
D3: setarray @c[2],35,262,168,170;
Disp("Anthell",1,2); Pick("anthell");
D4: setarray @c[2],275,19,24,26;
Disp("Ancient Shrine Maze:Inside Ancient Shrine"); Pick("ayo_dun");
D5: setarray @c[2],266,67,255,244,23,260;
Disp("Beach Dungeon",1,3); Pick("","beach_dun","beach_dun2","beach_dun3");
D6: Restrict("RE",4);
setarray @c[2],150,288,150,18,140,134,244,52;
Disp("Bio Lab",1,4); Pick("lhz_dun");
D7: Restrict("RE");
setarray @c[2],87,47,262,262;
Disp("Brasilis Dungeon",1,2); Pick("bra_dun");
D8: Restrict("RE",6);
setarray @c[0],168,168,253,252,236,204,32,63,26,27,141,187;
Disp("Byalan Dungeon",1,6); Pick("iz_dun",1);
D9: setarray @c[2],199,159,148,283,65,147,56,155,297,25,127,169,277,178,268,74;
Disp("Clock Tower 1:Clock Tower 2:Clock Tower 3:Clock Tower 4:Basement 1:Basement 2:Basement 3:Basement 4");
Pick("","c_tower1","c_tower2","c_tower3","c_tower4","alde_dun01","alde_dun02","alde_dun03","alde_dun04");
D10: setarray @c[2],52,17,381,343,302,262;
Disp("Coal Mines",1,3); Pick("mjo_dun");
D11: setarray @c[2],131,247,19,19,180,169,100,92;
Disp("Culvert",1,4); Pick("","prt_sewb1","prt_sewb2","prt_sewb3","prt_sewb4");
D12: setarray @c[2],51,14,150,11,120,10;
Disp("Cursed Abbey",1,3); Pick("abbey");
D13: Restrict("RE");
setarray @c[2],285,160,299,29;
Disp("Dewata Dungeon",1,2); Pick("dew_dun");
D14: setarray @c[2],22,14,292,290;
Disp("Einbroch Dungeon",1,2); Pick("ein_dun");
D15: setarray @c[2],40,103,203,34,266,168,130,272;
Disp("Gefenia",1,4); Pick("gefenia",0);
D16: setarray @c[0],104,99,115,236,106,132,203,200;
Disp("Geffen Dungeon",1,4); Pick("gef_dun",1);
D17: setarray @c[2],370,304,199,29,104,25,150,15,157,287,147,15,258,255,108,291,171,283,68,277,156,7,12,7,133,271,224,274,14,70,150,14;
Disp("Entrance:Castle 1:Castle 2:Chivalry 1:Chivalry 2:Churchyard:Culvert 1:Culvert 2:Culvert 3:Culvert 4:St. Abbey:Staircase Dungeon:Underground Cave 1:Underground Cave 2:Underground Prison 1:Underground Prison 2");
Pick("","glast_01","gl_cas01","gl_cas02","gl_knt01","gl_knt02","gl_chyard","gl_sew01","gl_sew02","gl_sew03","gl_sew04","gl_church","gl_step","gl_dun01","gl_dun02","gl_prison","gl_prison1");
D18: setarray @c[2],153,53,28,113,68,16;
Disp("Gonryun Dungeon",1,3); Pick("gon_dun");
D19: setarray @c[2],176,7,93,20,23,8;
Disp("Hidden Dungeon",1,3); Pick("prt_maze");
D20: setarray @c[2],157,14,151,155,149,22,33,158;
Disp("Ice Dungeon",1,4); Pick("ice_dun");
D21: setarray @c[2],140,51,53,247,37,63,150,285;
Disp("Entrance:Juperos 1:Juperos 2:Core");
Pick("","jupe_cave","juperos_01","juperos_02","jupe_core");
D22: setarray @c[2],28,226,41,198;
Disp("Kiel Dungeon",1,2); Pick("kh_dun");
D23: setarray @c[2],218,196,282,20,165,38;
Disp("The Royal Tomb:Inside the Royal Tomb:Suei Long Gon"); Pick("lou_dun");
D24: setarray @c[2],126,68,47,30;
Disp("Magma Dungeon",1,2); Pick("mag_dun");
D25: Restrict("RE");
setarray @c[2],33,230;
Disp("Malangdo Dungeon",1,1); Pick("mal_dun");
D26: setarray @c[2],189,48,165,30,32,135;
Disp("Moscovia Dungeon",1,3); Pick("mosk_dun");
D27: setarray @c[2],61,239,60,271;
Disp("Nidhogg's Dungeon",1,2); Pick("nyd_dun");
D28: setarray @c[2],298,167,224,149,266,280;
Disp("Odin Temple",1,3); Pick("odin_tem");
D29: setarray @c[2],32,170,21,185;
Disp("Orc Dungeon",1,2); Pick("orcsdun");
D30: setarray @c[0],21,183,19,33,19,63,155,159,201,204;
Disp("Payon Dungeon",1,5); Pick("pay_dun",1);
D31: setarray @c[2],192,9,10,192,100,92,181,11,94,96,192,8;
Disp("Pyramids 1:Pyramids 2:Pyramids 3:Pyramids 4:Basement 1:Basement 2"); Pick("moc_pryd");
D32: setarray @c[2],140,11,32,21,4,149,204,218,150,9;
Disp("Rachel Sanctuary",1,5); Pick("ra_san");
D33: Restrict("RE");
setarray @c[2],364,44,101,141;
Disp("Scaraba Hole",1,2); Pick("dic_dun");
D34: setarray @c[2],288,9,149,81,210,54,10,222,100,99;
Disp("Sphinx",1,5); Pick("","in_sphinx1","in_sphinx2","in_sphinx3","in_sphinx4","in_sphinx5");
D35: setarray @c[2],69,24,102,27;
Disp("Sunken Ship",1,2); Pick("treasure");
D36: setarray @c[2],150,39,150,136,220,158,59,143,62,11,89,221,35,166,93,148,29,107,159,138,19,20,130,52;
Disp("Thanatos Tower",1,12); Pick("tha_t");
D37: setarray @c[2],21,228,75,205,34,272;
Disp("Thor Volcano",1,3); Pick("thor_v");
D38: setarray @c[2],205,15,129,133;
Disp("Toy Factory",1,2); Pick("xmas_dun");
D39: setarray @c[2],154,49,148,261,132,189,100,192;
Disp("Entrance:Turtle Dungeon 1:Turtle Dungeon 2:Turtle Dungeon 3"); Pick("tur_dun");
D40: Restrict("Pre-RE",1,2);
setarray @c[2],42,31,48,30,204,78;
Disp("Carpenter's Shop in the Tree:Passage to a Foreign World:Hvergermil's Fountain");
Pick("","um_dun01","um_dun02","yggdrasil01");
// --------------------------------------------------
Castles:
// --------------------------------------------------
menu "Aldebaran Castles",C1, "Geffen Castles",C2, "Payon Castles",C3,
"Prontera Castles",C4, "Arunafeltz Castles",C5, "Schwaltzvalt Castles",C6;
C1: setarray @c[2],48,83,95,249,142,85,239,242,264,90;
Disp("Neuschwanstein:Hohenschwangau:Nuenberg:Wuerzburg:Rothenburg");
Pick("","alde_gld","alde_gld","alde_gld","alde_gld","alde_gld");
C2: setarray @c[2],214,75,308,240,143,240,193,278,305,87;
Disp("Repherion:Eeyolbriggar:Yesnelph:Bergel:Mersetzdeitz");
Pick("","gef_fild13","gef_fild13","gef_fild13","gef_fild13","gef_fild13");
C3: setarray @c[2],121,233,295,116,317,293,140,160,204,266;
Disp("Bright Arbor:Scarlet Palace:Holy Shadow:Sacred Altar:Bamboo Grove Hill");
Pick("","pay_gld","pay_gld","pay_gld","pay_gld","pay_gld");
C4: setarray @c[2],134,65,240,128,153,137,111,240,208,240;
Disp("Kriemhild:Swanhild:Fadhgridh:Skoegul:Gondul");
Pick("","prt_gld","prt_gld","prt_gld","prt_gld","prt_gld");
C5: setarray @c[2],158,272,83,47,68,155,299,345,292,107;
Disp("Mardol:Cyr:Horn:Gefn:Banadis");
Pick("","aru_gld","aru_gld","aru_gld","aru_gld","aru_gld");
C6: setarray @c[2],293,100,288,252,97,196,137,90,71,315;
Disp("Himinn:Andlangr:Viblainn:Hljod:Skidbladnir");
Pick("","sch_gld","sch_gld","sch_gld","sch_gld","sch_gld");
// --------------------------------------------------
Guild_Dungeons:
// --------------------------------------------------
menu "Baldur",G1, "Luina",G2, "Valkyrie",G3, "Britoniah",G4,
"Arunafeltz",G5, "Schwaltzvalt",G6;
G1: Restrict("RE",2,3);
setarray @c[2],119,93,119,93,120,130;
Disp("Baldur F1:Baldur F2:Hall of Abyss");
Pick("","gld_dun01","gld_dun01_2","gld2_pay");
G2: Restrict("RE",2,3);
setarray @c[2],39,161,39,161,147,155;
Disp("Luina F1:Luina F2:Hall of Abyss");
Pick("","gld_dun02","gld_dun02_2","gld2_ald");
G3: Restrict("RE",2,3);
setarray @c[2],50,44,50,44,140,132;
Disp("Valkyrie F1:Valkyrie F2:Hall of Abyss");
Pick("","gld_dun03","gld_dun03_2","gld2_prt");
G4: Restrict("RE",2,3);
setarray @c[2],116,45,116,45,152,118;
Disp("Britoniah F1:Britoniah F2:Hall of Abyss");
Pick("","gld_dun04","gld_dun04_2","gld2_gef");
G5: Go("arug_dun01",199,195);
G6: Go("schg_dun01",200,124);
// --------------------------------------------------
Instances:
// --------------------------------------------------
menu "Endless Tower",I1, "Hazy Forest",I2, "Malangdo Culvert",I3,
"Nidhoggur's Nest",I4, "Octopus Cave",I5, "Orc's Memory",I6, "Sealed Shrine",I7;
I1: Go("e_tower",72,112);
I2: Restrict("RE");
Go("bif_fild01",161,334);
I3: Restrict("RE");
Go("mal_in01",164,21);
I4: Go("nyd_dun02",95,193);
I5: Restrict("RE");
Go("mal_dun01",152,230);
I6: Go("gef_fild10",240,198);
I7: Go("monk_test",306,143);
// --------------------------------------------------
Special:
// --------------------------------------------------
menu "Auction Hall",S1, "Battlegrounds",S2, "Casino",S3, "Eden Group Headquarters",S4,
"Gonryun Arena",S5, "Izlude Arena",S6, "Monster Race Arena",S7, "Turbo Track",S8;
S1: Go("auction_01",22,68);
S2: Go("bat_room",154,150);
S3: Go("cmd_in02",179,129);
S4: Restrict("RE");
Go("moc_para01",31,14);
S5: Go("gon_test",48,10);
S6: Go("arena_room",100,88);
S7: Go("p_track01",62,41);
S8: Go("turbo_room",99,114);
}
// --------------------------------------------------
// Duplicates:
// --------------------------------------------------
alb2trea,57,70,6 duplicate(Warper) Warper#tre 56
alberta,28,240,4 duplicate(Warper) Warper#alb 56
aldebaran,145,118,4 duplicate(Warper) Warper#alde 56
amatsu,203,87,4 duplicate(Warper) Warper#ama 56
ayothaya,209,169,6 duplicate(Warper) Warper#ayo 56
comodo,194,158,4 duplicate(Warper) Warper#com 56
einbech,59,38,6 duplicate(Warper) Warper#einbe 56
einbroch,69,202,4 duplicate(Warper) Warper#einbr 56
gef_fild10,71,339,4 duplicate(Warper) Warper#orc 56
geffen,124,72,4 duplicate(Warper) Warper#gef 56
glast_01,372,308,4 duplicate(Warper) Warper#glh 56
gonryun,162,122,4 duplicate(Warper) Warper#gon 56
hugel,101,151,4 duplicate(Warper) Warper#hug 56
izlu2dun,110,92,4 duplicate(Warper) Warper#izd 56
izlude,132,120,4 duplicate(Warper) Warper#izl 56
jawaii,253,138,4 duplicate(Warper) Warper#jaw 56
lighthalzen,162,102,4 duplicate(Warper) Warper#lhz 56
louyang,208,103,6 duplicate(Warper) Warper#lou 56
manuk,274,146,6 duplicate(Warper) Warper#man 56
mid_camp,216,288,4 duplicate(Warper) Warper#mid 56
mjolnir_02,85,364,4 duplicate(Warper) Warper#mjo 56
moc_ruins,64,164,4 duplicate(Warper) Warper#moc 56
morocc,159,97,4 duplicate(Warper) Warper#mor 56
moscovia,229,191,4 duplicate(Warper) Warper#mos 56
nameless_n,259,213,4 duplicate(Warper) Warper#nam 56
niflheim,205,179,4 duplicate(Warper) Warper#nif 56
pay_arche,42,134,4 duplicate(Warper) Warper#arc 56
payon,182,108,4 duplicate(Warper) Warper#pay 56
prontera,161,193,4 duplicate(Warper) Warper#prt 480
prt_fild05,279,223,6 duplicate(Warper) Warper#cul 56
rachel,135,116,4 duplicate(Warper) Warper#rac 56
splendide,205,153,4 duplicate(Warper) Warper#spl 56
thor_camp,249,76,4 duplicate(Warper) Warper#thor 56
umbala,106,150,3 duplicate(Warper) Warper#umb 56
veins,214,123,4 duplicate(Warper) Warper#ve 56
xmas,150,136,6 duplicate(Warper) Warper#xmas 56
yuno,162,47,4 duplicate(Warper) Warper#yuno 56
// --------------------------------------------------
// Duplicates (Renewal):
// --------------------------------------------------
brasilis,201,222,4 duplicate(Warper) Warper#bra 56
dewata,204,186,6 duplicate(Warper) Warper#dew 56
dicastes01,194,194,6 duplicate(Warper) Warper#dic 56
ecl_in01,51,60,4 duplicate(Warper) Warper#ecl 56
malangdo,134,117,6 duplicate(Warper) Warper#mal 56
malaya,210,205,4 duplicate(Warper) Warper#ma 56
mora,57,152,4 duplicate(Warper) Warper#mora 56

1

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Изначально версия варпера была такой, но этот вариант не работал. Пытался его переделать, но увы ничего не вышло.

Поэтому прощу помощи у знатоков. Эмулятор eAthena.

0

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

У меня вроде всё работает!

для eAthena есть этот


//===== eAthena Script =======================================
//= Система варпа
//===== By: ==================================================
//= Jaxxer (aka Liseg)
//===== Current Version: =====================================
//= 0.6
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
//= Система варпа с поддержкой функций ласт варпа и оплаты за
//= перемещения
//===== Additional Comments: =================================
//= 0.1 Первая версия, наверное баговая [Jaxxer]
//= 0.2 Исправлены некоторые заминочки, добавлены комменты.
//= На боевом сервере ещё не испытывался.[Jaxxer]
//= 0.5 Исправлены ошибки в синтаксисе, добавлены недостающие
//= брейки, исправлены переменные локаций. [Jaxxer]
//= 0.6 Первый нормально работающий релиз. [Jaxxer]
//=0.7 Добавлены Варпы в локаци,дубликаты,улучшена система варпов через Callfunc [Funt]
//============================================================
prontera,161,187,3 script Варпер::Warper 877,{
specialeffect 217;
set $@namewarper$,"Варпер";
mes "["+$@namewarper$+"]";
mes "Привет,Куда желаешь отправится?";
next;
switch(select("В последнею точку ( "+#lastwarploc$+" )","В город","В поздемелье","В локацию около города...")){
//// Towns ////
case 2:
mes "В какой именно город тебя проводить?";
switch(select("Пронтера","Альберта","Аль-Де-Баран","Аматсу","Аотайя","Гефен","Кунлун","Излюд","Комодо","Лайтхайзен","Лоянг","Люти","Морок","Нифхельм","Пайон","Рахель","Юно","Умбала","Хугель","Эйнброх","Московия")){
case 2:
callfunc "teleportation","alberta",192,147;

break;
case 3:
callfunc "teleportation","aldebaran",140,131;

break;
case 4:
callfunc "teleportation","amatsu",197,84;

break;
case 5:
callfunc "teleportation","ayothaya",150,114;

break;

case 6:
callfunc "teleportation","geffen",119,59;

break;
case 7:
callfunc "teleportation","gonryun",160,121;

break;
case 8:
callfunc "teleportation","izlude",128,114;

break;
case 9:
callfunc "teleportation","comodo",209,143;

break;
case 10:
callfunc "teleportation","lighthalzen",158,92;

break;
case 11:
callfunc "teleportation","louyang",210,108;

break;
case 12:
callfunc "teleportation","xmas",147,134;

break;
case 13:
callfunc "teleportation","morocc",156,93;

break;
case 14:
callfunc "teleportation","niflheim",85,154;

break;
case 15:
callfunc "teleportation","payon",152,75;

break;
case 1:
callfunc "teleportation","prontera",155,181;

break;
case 16:
callfunc "teleportation","rachel",129,140;

break;
case 17:
callfunc "teleportation","yuno",157,51;

break;
case 18:
callfunc "teleportation","umbala",145,155;

break;
case 19:
callfunc "teleportation","hugel",96,145;

break;
case 20:
callfunc "teleportation","einbroch",236,199;

break;
case 21:
callfunc "teleportation","moscovia",223,191;

break;
}
break;
//// Dungeons ////
case 3:
mes "В какое именно подземелье вы хотите отправится?";
switch(select(" Abyss Dungeon","Amatsu Dungeon","Ant Hell","Ayothaya Dungon","Beach Dungeon","Byalan Dungeon","Clock Tower","Coal Mines","Culvert","Einbroch Dungeon","Gefenia","Gonryun Dungeon","Geffen Dungeon","Glast Helm","Ice Dungeon","Labirint","Juperos Dungeon","Lighthlzen Dungeon","Louyang Dungeon","Magma Dungeon","Machin Doll Factory","Odin Temple","Orc Dungeon","Payon Dungeon","Pyramids","Shrine Sacred Precinct","Sphinx","Sunkn Ship","Thantos Dungeon","Thor's Volcano Dungeon","Toy Factory","Turtle Dungeon","Cursed Abbey","Moscovia Dungeon")){
mes "Выберите уровень подземелья";
case 1:
switch(select("1 Уровень","2 Уровень","3 Уровень")){
case 1:
callfunc "teleportation","abyss_01",262,271;

break;
case 2:
callfunc "teleportation","abyss_02",273,270;

break;
case 3:
callfunc "teleportation","abyss_03",115,31;

break;
}
break;
case 2:
switch(select("1 Уровень","2 Уровень","3 Уровень")){
case 1:
callfunc "teleportation","ama_dun01",228,11;

break;
case 2:
callfunc "teleportation","ama_dun02",34,41;

break;
case 3:
callfunc "teleportation","ama_dun03",119,14;

break;
}
break;
case 3:
switch(select("1 Уровень","2 Уровень")){
case 1:
callfunc "teleportation","anthell01",35,262;

break;
case 2:
callfunc "teleportation","anthell02",168,170;

break;
}
break;
case 4:
switch(select("1 Уровень","2 Уровень")){
case 1:
callfunc "teleportation","ayo_dun01",275,17;

break;
case 2:
callfunc "teleportation","ayo_dun01",275,26;

break;
}
break;
case 5:
switch(select("1 Уровень","2 Уровень","3 Уровень")){
case 1:
callfunc "teleportation","beach_dun",266,67;

break;
case 2:
callfunc "teleportation","beach_dun2",255,244;

break;
case 3:
callfunc "teleportation","beach_dun3",23,260;

break;
}
break;
case 6:
switch(select("1 уровень","2 уровень","3 уровень","4 уровень","5 уровень")){
case 1:
callfunc "teleportation","iz_dun00",168,168;

break;
case 2:
callfunc "teleportation","iz_dun01",253,252;

break;
case 3:
callfunc "teleportation","iz_dun02",236,204;

break;
case 4:
callfunc "teleportation","iz_dun03",32,63;

break;
case 5:
callfunc "teleportation","iz_dun04",26,27;

break;
}
break;
case 7:
switch(select("1 Этаж","2 Этаж","3 Этаж","4 Этаж","1 Подземный этаж","2 Подземный этаж","3 Подземный этаж","4 Подземный этаж")){
case 1:
callfunc "teleportation","c_tower1",199,159;

break;
case 2:
callfunc "teleportation","c_tower2",148,283;

break;
case 3:
callfunc "teleportation","c_tower3",65,147;

break;
case 4:
callfunc "teleportation","c_tower4",56,155;

break;
case 5:
callfunc "teleportation","alde_dun01",297,25;

break;
case 6:
callfunc "teleportation","alde_dun02",127,169;

break;
case 7:
callfunc "teleportation","alde_dun03",277,178;

break;
case 8:
callfunc "teleportation","alde_dun04",268,74;

break;
}
break;
case 8:
switch(select("1 Уровень","2 Уровень","3 Уровень")){
case 1:
callfunc "teleportation","mjo_dun01",52,17;

break;
case 2:
callfunc "teleportation","mjo_dun02",381,343;

break;
case 3:
callfunc "teleportation","mjo_dun03",302,262;

break;
}
break;
case 9:
switch(select("1 Уровень","2 Уровень","3 Уровень","4 Уровень")){
case 1:
callfunc "teleportation","prt_sewb1",131,247;

break;
case 2:
callfunc "teleportation","prt_sewb2",19,19;

break;
case 3:
callfunc "teleportation","prt_sewb3",180,169;

break;
case 4:
callfunc "teleportation","prt_sewb4",100,92;

break;
}
break;
case 10:
switch(select("1 Уровень","2 Уровень")){
case 1:
callfunc "teleportation","ein_dun01",22,14;

break;
case 2:
callfunc "teleportation","ein_dun02",289,290;

break;
}
break;
case 11:
switch(select("1 Уровень","2 Уровень","3 Уровень","4 Уровень")){
case 1:
callfunc "teleportation","gefenia01",40,103;

break;
case 2:
callfunc "teleportation","gefenia02",203,34;

break;
case 3:
callfunc "teleportation","gefenia03",266,168;

break;
case 4:
callfunc "teleportation","gefenia04",130,272;

break;
}
break;
case 12:
switch(select("1 Уровень","2 Уровень","3 Уровень")){
case 1:
callfunc "teleportation","gon_dun01",153,53;

break;
case 2:
callfunc "teleportation","gon_dun02",28,113;

break;
case 3:
callfunc "teleportation","gon_dun03",68,16;

break;
}
break;
case 13:
switch(select("1 Уровень","2 Уровень","3 Уровень","4 Уровень")){
case 1:
callfunc "teleportation","gef_dun00",104,99;

break;
case 2:
callfunc "teleportation","gef_dun01",115,236;

break;
case 3:
callfunc "teleportation","gef_dun02",106,132;

break;
case 4:
callfunc "teleportation","gef_dun03",203,200;

break;
}
break;
case 14:
switch(select("Гластхельм(Город)","Крепость 1","Крепость 2","Казармы 1","Казармы 2","Церковный двор","Канализация 1","Канализация 2","Канализация 3","Канализация 4","Аббатсво","Темница","Пещера 1","Пещера 2","Подземная Тюрьма 1","Подземная Тюрьма 2")){
case 1:
callfunc "teleportation","glast_01",370,304;

break;
case 2:
callfunc "teleportation","gl_cas01",199,29;

break;
case 3:
callfunc "teleportation","gl_cas02",104,25;

break;
case 4:
callfunc "teleportation","gl_knt01",150,15;

break;
case 5:
callfunc "teleportation","gl_knt02",157,287;

break;
case 6:
callfunc "teleportation","gl_chyard",147,15;

break;
case 7:
callfunc "teleportation","gl_sew01",258,255;

break;
case 8:
callfunc "teleportation","gl_sew02",108,291;

break;
case 9:
callfunc "teleportation","gl_sew03",171,283;

break;
case 10:
callfunc "teleportation","gl_sew04",68,277;

break;
case 11:
callfunc "teleportation","gl_church",156,7;

break;
case 12:
callfunc "teleportation","gl_step",12,7;

break;
case 13:
callfunc "teleportation","gl_dun01",133,271;

break;
case 14:
callfunc "teleportation","gl_dun02",224,274;

break;
case 15:
callfunc "teleportation","gl_prison",14,70;

break;
case 16:
callfunc "teleportation","gl_prison1",150,14;

break;
}
break;
case 15:
switch(select("1 Уровень","2 Уровень","3 Уровень")){
case 1:
callfunc "teleportation","ice_dun01",157,12;

break;
case 2:
callfunc "teleportation","ice_dun02",151,155;

break;
case 3:
callfunc "teleportation","ice_dun03",149,22;

break;
}
break;
case 16:
switch(select("1 Уровень","2 Уровень","3 Уровень")){
case 1:
callfunc "teleportation","prt_maze01",176,7;

break;
case 2:
callfunc "teleportation","prt_maze02",93,20;

break;
case 3:
callfunc "teleportation","prt_maze03",23,8;

break;
}
break;
case 17:
switch(select("1Уровень","2 Уровень","3 Уровень")){
case 1:
callfunc "teleportation","juperos_01",53,247;

break;
case 2:
callfunc "teleportation","juperos_02",127,277;

break;
case 3:
callfunc "teleportation","jupe_core",149,20;

break;
}
break;
case 18:
switch(select("1 Уровень","2 Уровень","3 Уровень")){
case 1:
callfunc "teleportation","lhz_dun01",150,284;

break;
case 2:
callfunc "teleportation","lhz_dun02",18,146;

break;
case 3:
callfunc "teleportation","lhz_dun03",140,133;

break;
}
break;
case 19:
switch(select("1 Уровень","2 Уровень","3 Уровень")){
case 1:
callfunc "teleportation","lou_dun01",218,196;

break;
case 2:
callfunc "teleportation","lou_dun02",282,20;

break;
case 3:
callfunc "teleportation","lou_dun03",165,38;

break;
}
break;
case 20:
switch(select("1 Уровень","2 Уровень")){
case 1:
callfunc "teleportation","mag_dun01",126,68;

break;
case 2:
callfunc "teleportation","mag_dun02",47,30;

break;
}
break;
case 21:
switch(select("1 Уровень","2 Уровень")){
case 1:
callfunc "teleportation","kh_dun01",3,230;

break;
case 2:
callfunc "teleportation","kh_dun02",41,196;

break;
}
break;
case 22:
switch(select("1 Уровень","2 Уровень","3 Уровень")){
case 1:
callfunc "teleportation","odin_tem01",99,145;

break;
case 2:
callfunc "teleportation","odin_tem02",33,334;

break;
case 3:
callfunc "teleportation","odin_tem03",232,45;

break;
}
break;
case 23:
switch(select("1 Уровень","2 Уровень")){
case 1:
callfunc "teleportation","orcsdun01",32,170;

break;
case 2:
callfunc "teleportation","orcsdun02",21,185;

break;
}
break;
case 24:
switch(select("1 Уровень","2 Уровень","3 Уровень","4 Уровень","5 Уровень")){
case 1:
callfunc "teleportation","pay_dun00",21,183;

break;
case 2:
callfunc "teleportation","pay_dun01",19,33;

break;
case 3:
callfunc "teleportation","pay_dun02",19,63;

break;
case 4:
callfunc "teleportation","pay_dun03",155,159;

break;
case 5:
callfunc "teleportation","pay_dun04",201,204;

break;
}
break;
case 25:
switch(select("1 Уровень","2 Уровень","3 Уровень","4 Уровень","1 Поземный Этаж","2 Подземный этаж")){
case 1:
callfunc "teleportation","moc_pryd01",192,9;

break;
case 2:
callfunc "teleportation","moc_pryd02",10,192;

break;
case 3:
callfunc "teleportation","moc_pryd03",100,92;

break;
case 4:
callfunc "teleportation","moc_pryd04",181,11;

break;
case 5:
callfunc "teleportation","moc_pryd05",94,96;

break;
case 6:
callfunc "teleportation","moc_pryd06",192,8;

break;
}
break;
case 26:
switch(select("1 Уровень","2 Уровень","3 Уровень","4 Уровень","5 Уровень")){
case 1:
callfunc "teleportation","ra_san01",140,10;

break;
case 2:
callfunc "teleportation","ra_san02",32,21;

break;
case 3:
callfunc "teleportation","ra_san03",4,149;

break;
case 4:
callfunc "teleportation","ra_san04",204,220;

break;
case 5:
callfunc "teleportation","ra_san05",150,11;

break;
}
break;
case 27:
switch(select("1 Уровень","2 Уровень","3 Уровень","4 Уровень","5 Уровень")){
case 1:
callfunc "teleportation","in_sphinx1",288,9;

break;
case 2:
callfunc "teleportation","in_sphinx2",149,81;

break;
case 3:
callfunc "teleportation","in_sphinx3",210,54;

break;
case 4:
callfunc "teleportation","in_sphinx4",10,222;

break;
case 5:
callfunc "teleportation","in_sphinx5",100,99;

break;
}
break;
case 28:
switch(select("1 Уровень","2 Уровень")){
case 1:
callfunc "teleportation","treasure01",69,24;

break;
case 2:
callfunc "teleportation","treasure02",102,27;

break;
}
break;
case 29:
switch(select("1 этаж","2 этаж","3 этаж","4 этаж","5 этаж","6 этаж","7 этаж","8 этаж","9 этаж","10 этаж","11 этаж","12 этаж")){
case 1:
callfunc "teleportation","tha_t01",149,36;

break;
case 2:
callfunc "teleportation","tha_t02",150,132;

break;
case 3:
callfunc "teleportation","tha_t03",60,138;

break;
case 4:
callfunc "teleportation","tha_t04",60,141;

break;
case 5:
callfunc "teleportation","tha_t05",62,6;

break;
case 6:
callfunc "teleportation","tha_t06",207,6;

break;
case 7:
callfunc "teleportation","tha_t07",35,166;
break;
case 8:
callfunc "teleportation","tha_t08",93,148;
break;
case 9:
callfunc "teleportation","tha_t09",29,107;
break;
case 10:
callfunc "teleportation","tha_t10",159,138;
break;
case 11:
callfunc "teleportation","tha_t11",19,20;
break;
case 12:
callfunc "teleportation","tha_t12",130,52;
break;
}
break;
case 30:
switch(select("1 Уровень","2 Уровень","3 Уровень")){
case 1:
callfunc "teleportation","thor_v01",21,226;

break;
case 2:
callfunc "teleportation","thor_v02",74,205;
break;
case 3:
callfunc "teleportation","thor_v03",31,272;

break;
}
break;
case 31:
switch(select("1 Уровень","2 Уровень")){
case 1:
callfunc "teleportation","xmas_dun01",204,19;

break;
case 2:
callfunc "teleportation","xmas_dun02",129,33;

break;
}
break;
case 32:
switch(select("1 Уровень","2 Уровень","3 Уровень")){
case 1:
callfunc "teleportation","tur_dun02",148,261;

break;
case 2:
callfunc "teleportation","tur_dun03",132,189;

break;
case 3:
callfunc "teleportation","tur_dun04",100,192;

break;
}
break;
case 33:
switch(select("1 Уровень","2 Уровень","3 Уровень")){
case 1:
callfunc "teleportation","abbey01",51,11;

break;
case 2:
callfunc "teleportation","abbey02",149,11;

break;
case 3:
callfunc "teleportation","abbey03",119,7;

break;
}
break;
case 34:
switch(select("1 Уровень","2 Уровень","3 Уровень")){
case 1:
callfunc "teleportation","mosk_dun01",189,45;

break;
case 2:
callfunc "teleportation","mosk_dun02",167,31;

break;
case 3:
callfunc "teleportation","mosk_dun03",32,132;

break;
}
break;
}
break;
//// Fields ////
case 4:
mes "В локации какого города вы хотите отправится?";
switch(select("Аль-Де-Барана(Горная гряда Мьольнир)","Аматсу","Аотайяи","Вениса","Гефена","Комодо","Кунлуна","Лайтхзена","Лоянга","Люти","Морока","Нифхельма","Пайона","Пронтеры","Рахеля","Умбалы","Хугеля","Эйнброха","Юно")){
mes "Выберите локаци.";
case 1:
switch(Select("Горная гряда Мьольнир 1", "Горная гряда Мьольнир 2","Горная гряда Мьольнир 3","Горная гряда Мьольнир 4","Горная гряда Мьольнир 5","Горная гряда Мьольнир 6","Горная гряда Мьольнир 7","Горная гряда Мьольнир 8","Горная гряда Мьольнир 9","Горная гряда Мьольнир 10","Горная гряда Мьольнир 11","Горная гряда Мьольнир 12")){
case 1:
callfunc "teleportation","mjolnir_01",204,120;
break;
case 2:
callfunc "teleportation","mjolnir_02",175,193;
break;
case 3:
callfunc "teleportation","mjolnir_03",208,213;
break;
case 4:
callfunc "teleportation","mjolnir_04",179,180;
break;
case 5:
callfunc "teleportation","mjolnir_05",181,240;
break;
case 6:
callfunc "teleportation","mjolnir_06",195,270;
break;
case 7:
callfunc "teleportation","mjolnir_07",235,202;
break;
case 8:
callfunc "teleportation","mjolnir_08",188,215;
break;
case 9:
callfunc "teleportation","mjolnir_09",205,144;
break;
case 10:
callfunc "teleportation","mjolnir_10",245,223;
break;
case 11:
callfunc "teleportation","mjolnir_11",180,206;
break;
case 12:
callfunc "teleportation","mjolnir_12",196,208;
break;
}
break;
case 2:
switch(select("Окрестности Аматсу 1")){
case 1:
callfunc "teleportation","ama_fild01",190,197;

break;
}
break;
case 3:
switch(select("Окрестности Аотайя 1","Окрестности Аотайя 2")){
case 1:
callfunc "teleportation","ayo_fild01",173,134;
break;
case 2:
callfunc "teleportation","ayo_fild02",212,150;
break;
}
break;
case 4:
switch(select("Поля Вейниса 1","Поля Вейниса 2","Поля Вейниса 3","Поля Вейниса 4","Поля Вейниса 5","Поля Вейниса 6","Поля Вейниса 7")){
case 1:
callfunc "teleportation","ve_fild01",186,175;
break;
case 2:
callfunc "teleportation","ve_fild02",196,370;
break;
case 3:
callfunc "teleportation","ve_fild03",222,45;
break;
case 4:
callfunc "teleportation","ve_fild04",51,250;
break;
case 5:
callfunc "teleportation","ve_fild05",202,324;
break;
case 6:
callfunc "teleportation","ve_fild06",150,223;
break;
case 7:
callfunc "teleportation","ve_fild07",149,307;
break;
}
break;
case 5:
switch(select("Поля Гефена","Поля Гефена 1","Поля Гефена 2","Поля Гефена 3","Поля Гефена 4","Поля Гефена 5","Поля Гефена 6","Поля Гефена 7","Поля Гефена 8","Поля Гефена 9","Поля Гефена 10","Поля Гефена 11","Поля Гефена 12","Поля Гефена 13","Поля Гефена 14")){
case 1:
callfunc "teleportation","gef_fild00",46,199;
break;
case 2:
callfunc "teleportation","gef_fild01",213,204;
break;
case 3:
callfunc "teleportation","gef_fild02",195,212;
break;
case 4:
callfunc "teleportation","gef_fild03",257,192;
break;
case 5:
callfunc "teleportation","gef_fild04",188,171;
break;
case 6:
callfunc "teleportation","gef_fild05",166,263;
break;
case 7:
callfunc "teleportation","gef_fild06",248,158;
break;
case 8:
callfunc "teleportation","gef_fild07",195,191;
break;
case 9:
callfunc "teleportation","gef_fild08",186,183;
break;
case 10:
callfunc "teleportation","gef_fild09",221,117;
break;
case 11:
callfunc "teleportation","gef_fild10",178,218;
break;
case 12:
callfunc "teleportation","gef_fild11",136,328;
break;
case 13:
callfunc "teleportation","gef_fild12",240,181;
break;
case 14:
callfunc "teleportation","gef_fild13",235,235;
break;
case 15:
callfunc "teleportation","gef_fild14",211,185;
break;
}
break;
case 6:
switch(select("Окрестности Комодо 1","Окрестности Комодо 2","Окрестности Комодо 3","Окрестности Комодо 4","Окрестности Комодо 5","Окрестности Комодо 6","Окрестности Комодо 7","Окрестности Комодо 8","Окрестности Комодо 9")){
case 1:
callfunc "teleportation","cmd_fild01",180,178;
break;
case 2:
callfunc "teleportation","cmd_fild02",231,160;
break;
case 3:
callfunc "teleportation","cmd_fild03",191,172;
break;
case 4:
callfunc "teleportation","cmd_fild04",228,194;
break;
case 5:
callfunc "teleportation","cmd_fild05",224,203;
break;
case 6:
callfunc "teleportation","cmd_fild06",190,223;
break;
case 7:
callfunc "teleportation","cmd_fild07",234,177;
break;
case 8:
callfunc "teleportation","cmd_fild08",194,175;
break;
case 9:
callfunc "teleportation","cmd_fild09",172,172;
break;
}
break;
case 7:
switch(select("Окрестности Кунлуна 1")){
case 1:
callfunc "teleportation","gon_fild01",220,227;
break;
}
break;
case 8:
switch(select("Окрестноти Лайтхзена 1","Окрестноти Лайтхзена 2","Окрестноти Лайтхзена 3")){
case 1:
callfunc "teleportation","lhz_fild01",240,179;
break;
case 2:
callfunc "teleportation","lhz_fild02",185,235;
break;
case 3:
callfunc "teleportation","lhz_fild03",240,226;
break;
}
break;
case 9:
switch(select("Окрестности Лоянга")){
case 1:
callfunc "teleportation","lou_fild01",229,187;
break;
}
break;
case 10:
switch(select("Снежная равнина Люти")){
case 1:
callfunc "teleportation","xmas_fild01",115,145;
break;
}
break;
case 11:
switch(select("Пустыня Сограт 1","Пустыня Сограт 2","Пустыня Сограт 3","Пустыня Сограт 4","Пустыня Сограт 5","Пустыня Сограт 6","Пустыня Сограт 7","Пустыня Сограт 8","Пустыня Сограт 9","Пустыня Сограт 10","Пустыня Сограт 11","Пустыня Сограт 12","Пустыня Сограт 13","Пустыня Сограт 14","Пустыня Сограт 15","Пустыня Сограт 16","Пустыня Сограт 17","Пустыня Сограт 18","Пустыня Сограт 19","Пустыня Сограт 20","Пустыня Сограт 21","Пустыня Сограт 22")){
case 1:
callfunc "teleportation","moc_fild01",219,205;
break;
case 2:
callfunc "teleportation","moc_fild02",177,206;
break;
case 3:
callfunc "teleportation","moc_fild03",194,182;
break;
case 4:
callfunc "teleportation","moc_fild04",184,217;
break;
case 5:
callfunc "teleportation","moc_fild05",203,213;
break;
case 6:
callfunc "teleportation","moc_fild06",213,208;
break;
case 7:
callfunc "teleportation","moc_fild07",224,170;
break;
case 8:
callfunc "teleportation","moc_fild08",229,177;
break;
case 9:
callfunc "teleportation","moc_fild09",195,198;
break;
case 10:
callfunc "teleportation","moc_fild10",209,168;
break;
case 11:
callfunc "teleportation","moc_fild11",198,216;
break;
case 12:
callfunc "teleportation","moc_fild12",156,187;
break;
case 13:
callfunc "teleportation","moc_fild13",185,263;
break;
case 14:
callfunc "teleportation","moc_fild14",209,219;
break;
case 15:
callfunc "teleportation","moc_fild15",223,188;
break;
case 16:
callfunc "teleportation","moc_fild16",206,228;
break;
case 17:
callfunc "teleportation","moc_fild17",208,238;
break;
case 18:
callfunc "teleportation","moc_fild18",209,223;
break;
case 19:
callfunc "teleportation","moc_fild19",75,157;
break;
case 20:
callfunc "teleportation","moc_fild20",47,188;
break;
case 21:
callfunc "teleportation","moc_fild21",24,196;
break;
case 22:
callfunc "teleportation","moc_fild22",40,196;
break;
}
break;
case 12:
switch(select("Окрестности Нифхельма 1","Окрестности Нифхельма 2")){
case 1:
callfunc "teleportation","nif_fild01",215,229;
break;
case 2:
callfunc "teleportation","nif_fild02",167,234;
break;
}
break;
case 13:
switch(select("Леса Пайона 1","Леса Пайона 2","Леса Пайона 3","Леса Пайона 4","Леса Пайона 5","Леса Пайона 6","Леса Пайона 7","Леса Пайона 8","Леса Пайона 9","Леса Пайона 10","Леса Пайона 11")){
case 1:
callfunc "teleportation","pay_fild01",158,206;
break;
case 2:
callfunc "teleportation","pay_fild02",151,219;
break;
case 3:
callfunc "teleportation","pay_fild03",205,148;
break;
case 4:
callfunc "teleportation","pay_fild04",186,247;
break;
case 5:
callfunc "teleportation","pay_fild05",134,204;
break;
case 6:
callfunc "teleportation","pay_fild06",193,235;
break;
case 7:
callfunc "teleportation","pay_fild07",200,177;
break;
case 8:
callfunc "teleportation","pay_fild08",137,189;
break;
case 9:
callfunc "teleportation","pay_fild09",201,224;
break;
case 10:
callfunc "teleportation","pay_fild10",160,205;
break;
case 11:
callfunc "teleportation","pay_fild11",194,150;
break;
}
break;
case 14:
switch(select("Окрестности Пронтеры","Окрестности Пронтеры 1","Окрестности Пронтеры 2","Окрестности Пронтеры 3","Окрестности Пронтеры 4","Окрестности Пронтеры 5","Окрестности Пронтеры 6","Окрестности Пронтеры 7","Окрестности Пронтеры 8","Окрестности Пронтеры 9","Окрестности Пронтеры 10","Окрестности Пронтеры 11")){
case 1:
callfunc "teleportation","prt_fild00",184,235;
break;
case 2:
callfunc "teleportation","prt_fild01",190,206;
break;
case 3:
callfunc "teleportation","prt_fild02",240,206;
break;
case 4:
callfunc "teleportation","prt_fild03",190,143;
break;
case 5:
callfunc "teleportation","prt_fild04",307,252;
break;
case 6:
callfunc "teleportation","prt_fild05",239,213;
break;
case 7:
callfunc "teleportation","prt_fild06",185,188;
break;
case 8:
callfunc "teleportation","prt_fild07",193,194;
break;
case 9:
callfunc "teleportation","prt_fild08",187,218;
break;
case 10:
callfunc "teleportation","prt_fild09",210,183;
break;
case 11:
callfunc "teleportation","prt_fild10",195,149;
break;
case 12:
callfunc "teleportation","prt_fild11",198,164;
break;
}
break;
case 15:
switch(select("Окрестности Рахеля 1","Окрестности Рахеля 2","Окрестности Рахеля 3","Окрестности Рахеля 4","Окрестности Рахеля 5","Окрестности Рахеля 6","Окрестности Рахеля 7","Окрестности Рахеля 8","Окрестности Рахеля 9","Окрестности Рахеля 10","Окрестности Рахеля 11","Окрестности Рахеля 12","Окрестности Рахеля 13")){
case 1:
callfunc "teleportation","ra_fild01",192,162;
break;
case 2:
callfunc "teleportation","ra_fild02",235,166;
break;
case 3:
callfunc "teleportation","ra_fild03",202,206;
break;
case 4:
callfunc "teleportation","ra_fild04",202,208;
break;
case 5:
callfunc "teleportation","ra_fild05",225,202;
break;
case 6:
callfunc "teleportation","ra_fild06",202,214;
break;
case 7:
callfunc "teleportation","ra_fild07",263,196;
break;
case 8:
callfunc "teleportation","ra_fild08",217,201;
break;
case 9:
callfunc "teleportation","ra_fild09",87,121;
break;
case 10:
callfunc "teleportation","ra_fild10",277,181;
break;
case 11:
callfunc "teleportation","ra_fild11",221,185;
break;
case 12:
callfunc "teleportation","ra_fild12",175,200;
break;
case 13:
callfunc "teleportation","ra_fild13",174,197;
break;
}
break;
case 16:
switch(select("Окрестности Умбалы 1","Окрестности Умбалы 2","Окрестности Умбалы 3","Окрестности Умбалы 4")){
case 1:
callfunc "teleportation","um_fild01",217,206;
break;
case 2:
callfunc "teleportation","um_fild02",223,221;
break;
case 3:
callfunc "teleportation","um_fild03",237,215;
break;
case 4:
callfunc "teleportation","um_fild04",202,197;
break;
}
break;
case 17:
switch(select("Окрестности Хугеля 1","Окрестности Хугеля 2","Окрестности Хугеля 3","Окрестности Хугеля 4","Окрестности Хугеля 5","Окрестности Хугеля 6","Окрестности Хугеля 7")){
case 1:
callfunc "teleportation","hu_fild01",268,101;
break;
case 2:
callfunc "teleportation","hu_fild02",222,193;
break;
case 3:
callfunc "teleportation","hu_fild03",232,185;
break;
case 4:
callfunc "teleportation","hu_fild04",252,189;
break;
case 5:
callfunc "teleportation","hu_fild05",196,106;
break;
case 6:
callfunc "teleportation","hu_fild06",216,220;
break;
case 7:
callfunc "teleportation","hu_fild07",227,197;
break;
}
break;
case 18:
switch(select("Окрестности Эйнброха 1","Окрестности Эйнброха 2","Окрестности Эйнброха 3","Окрестности Эйнброха 4","Окрестности Эйнброха 5","Окрестности Эйнброха 6","Окрестности Эйнброха 7","Окрестности Эйнброха 8","Окрестности Эйнброха 9","Окрестности Эйнброха 10")){
case 1:
callfunc "teleportation","ein_fild01",142,225;
break;
case 2:
callfunc "teleportation","ein_fild02",182,141;
break;
case 3:
callfunc "teleportation","ein_fild03",187,228;
break;
case 4:
callfunc "teleportation","ein_fild04",185,173;
break;
case 5:
callfunc "teleportation","ein_fild05",216,173;
break;
case 6:
callfunc "teleportation","ein_fild06",195,148;
break;
case 7:
callfunc "teleportation","ein_fild07",272,220;
break;
case 8:
callfunc "teleportation","ein_fild08",173,214;
break;
case 9:
callfunc "teleportation","ein_fild09",207,174;
break;
case 10:
callfunc "teleportation","ein_fild10",196,200;
break;
}
break;
case 19:
switch(select("Окрестности Юно 1","Окрестности Юно 2","Окрестности Юно 3","Окрестности Юно 4","Окрестности Юно 5","Окрестности Юно 6","Окрестности Юно 7","Окрестности Юно 8","Окрестности Юно 9","Окрестности Юно 10","Окрестности Юно 11","Окрестности Юно 12")){
case 1:
callfunc "teleportation","yuno_fild01",189,224;
break;
case 2:
callfunc "teleportation","yuno_fild02",192,207;
break;
case 3:
callfunc "teleportation","yuno_fild03",221,157;
break;
case 4:
callfunc "teleportation","yuno_fild04",226,199;
break;
case 5:
callfunc "teleportation","yuno_fild05",223,177;
break;
case 6:
callfunc "teleportation","yuno_fild06",187,232;
break;
case 7:
callfunc "teleportation","yuno_fild07",231,174;
break;
case 8:
callfunc "teleportation","yuno_fild08",196,203;
break;
case 9:
callfunc "teleportation","yuno_fild09",183,214;
break;
case 10:
callfunc "teleportation","yuno_fild10",200,124;
break;
case 11:
callfunc "teleportation","yuno_fild11",195,226;
break;
case 12:
callfunc "teleportation","yuno_fild12",210,304;
break;
}
break;
}
break;
//// Last Warp ////
case 1:
warp #lastwarploc$,#lastwarpx,#lastwarpy;
break;
}
end;
}
function script teleportation {
set @warploc$, getarg(0);
set @warpx, getarg(1);
set @warpy, getarg(2);
set #lastwarploc$,@warploc$;
set #lastwarpx,@warpx;
set #lastwarpy,@warpy;
warp @warploc$,@warpx,@warpy;
end;
}
//Дубликаты
rachel,138,117,4 duplicate(Warper) Варпер#1 878
alberta,195,143,4 duplicate(Warper) Варпер#2 878
aldebaran,145,118,4 duplicate(Warper) Варпер#3 878
amatsu,199,85,1 duplicate(Warper) Варпер#4 878
ayothaya,143,162,4 duplicate(Warper) Варпер#5 878
comodo,194,158,4 duplicate(Warper) Варпер#6 878
einbech,142,246,4 duplicate(Warper) Варпер#7 878
einbroch,69,202,4 duplicate(Warper) Варпер#8 878
hugel,90,159,4 duplicate(Warper) Варпер#9 878
lighthalzen,154,99,4 duplicate(Warper) Проводник#10 878
geffen,115,66,4 duplicate(Warper) Варпер#11 878
izlude,129,116,4 duplicate(Warper) Варпер#12 878
xmas,150,136,4 duplicate(Warper) Варпер#13 878
morocc,162,101,4 duplicate(Warper) Варпер#14 878
payon,182,110,4 duplicate(Warper) Варпер#15 878
yuno,137,162,4 duplicate(Warper) Варпер#16 878
moc_fild04,207,331,4 duplicate(Warper) Варпер#17 878
izlu2dun,104,82,4 duplicate(Warper) Варпер#18 878
mjolnir_02,85,363,4 duplicate(Warper) Варпер#19 878
prt_fild05,273,215,4 duplicate(Warper) Варпер#20 878
glast_01,370,308,4 duplicate(Warper) Варпер#21 878
yuno_fild03,37,135,4 duplicate(Warper) Варпер#22 878
gef_fild10,71,339,4 duplicate(Warper) Варпер#23 878
pay_arche,39,135,4 duplicate(Warper) Варпер#24 878
moc_ruins,64,166,4 duplicate(Warper) Варпер#25 878
moc_fild19,106,97,4 duplicate(Warper) Варпер#26 878
alb2trea,73,101,4 duplicate(Warper) Проводник#27 878
tur_dun01,148,239,4 duplicate(Warper) Варпер#28 878
gonryun,161,124,4 duplicate(Warper) Варпер#29 878
louyang,159,117,4 duplicate(Warper) Варпер#30 878
louyang,91,219,6 duplicate(Warper) Варпер#32 878
mid_camp,222,245,3 duplicate(Warper) Warper#33 878

0

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

С этим всё тоже самое было, он раньше стоял. Вообщем причина не ясна до сих пор.

0

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

В базу пишется lastwarp?

0

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

В базу пишется lastwarp?

Да, переменные есть. Только если выйти из игры, то они обнуляются видимо...

0

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Поточнее бы узнать...

Попробуй в src\common\mmo.h увеличить #define GLOBAL_REG_NUM

Изменено пользователем botka4aet
1

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Там же обнова была на рА и Геркулесе, связанная с переменными. Смотрели?

0

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Там же обнова была на рА и Геркулесе, связанная с переменными. Смотрели?

ТС так и не написал, что у него за версия, предполагать, что он использует последнюю как-то странно, да и скрипт рабочий.

0

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Там же обнова была на рА и Геркулесе, связанная с переменными. Смотрели?

У него скрипт работает, но не сохраняет название мапы

0

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Ну если ласт ратена, то во-первых нужно загрузить новые SQL таблицы.

Во-вторых проверить с другим типом переменных

.@, @

https://github.com/rathena/rathena/commit/6295c77

0

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

При использовании команды @version пишет: http://rghost.ru/8DNmwCWkt.view

Может быть это поможет: http://pastebin.com/raw.php?i=vs7DXtTV

Не, у тя старая.

Знач пробуй переменные временные поставить - .@ или @

0

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Не, у тя старая.

Знач пробуй переменные временные поставить - .@ или @

И что они ему дадут?

Человек же ясно написал - после перезахода на аккаунт. То есть они работают и запоминаются, пока он не перезаходит в игру.

Я не видел отписывался ли автор насчёт совета:

Поточнее бы узнать...

Попробуй в src\common\mmo.h увеличить #define GLOBAL_REG_NUM

p.s. Я понимаю, что это нагло, но может уж тогда выложишь сорцы сервера, чтобы мы поковыряли?

Изменено пользователем wl.illusion
0

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Поточнее бы узнать...

Попробуй в src\common\mmo.h увеличить #define GLOBAL_REG_NUM

Увеличил в 2x раза - не помогло. Результат такой же.

0

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Создайте аккаунт или войдите для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!


Зарегистрировать аккаунт

Войти

Уже зарегистрированы? Войдите здесь.


Войти сейчас