Line 79560, the quotes are not escaped properly. Replace with
"거대한 뱀 "요르문간드"의 늑골. 믿을 수 없을 정도의 강도와 크기를 자랑한다.",
Same with line 79576 :
"오딘의 사역마 중 하나인 사고를 관장하는 까마귀 "후긴"의 혼을 형상화 한 것.",
And line 79594 :
"오딘의 사역마 중 하나인 기억를 관장하는 까마귀 "무닌"의 혼을 형상화 한 것.",
You could also use the replace feature within Notepad++ and use "Replace all" :
change
menu "Last Warp[LastWarperMap$,]"intomenu "Last Warp["+LastWarperMap$+"]"however that wont display anything if the character viewing never warped before.
I did not remember .@ vars do not pass to subs, Thanks to Haru now I do
I've tested this one:
- script Warper NPC::warper -1,{ mes "[^3366FFGenie^000000]"; mes "Hello ^0000FF" + strcharinfo(0) + "^000000, I am the ^3366FFGenie^000000. Nice day isn't it?"; mes "Where in the world of Midgard, or beyond would you like to go?"; next; menu "LastWarp",L_LastWarp,"Prontera [" + getmapusers ("prontera") + "] ",-,"Payon [" + getmapusers ("payon") + "] ",L_pay,"Towns",L_town,"Dungeons",L_dung; warp "prontera", 156, 178; close; L_pay: warp "payon", 175, 98; close; L_town: menu "Alberta",L_alb, "Al De Baran",L_ald, "Amatsu",L_ama, "Ayothaya",L_ayo, "Braslis",L_bra, "Comodo",L_com, "Einbroch",L_ein, "Geffen",L_gef, "Gonryun",L_gon, "Hugel",L_hug, "Izlude",L_izl, "Jawaii",L_jaw, "Lighthalzen",L_lhz, "Louyang",L_lou, "Lutie",L_lut, "Morroc",L_mor, "Moscovia",L_mos, "Nifflheim",L_nif, "Rachel",L_rac, "Umbala",L_umb, "Vein",L_vei, "Yuno",L_yun; L_alb: set @mapname$,"alberta"; set @x,116; set @y,57; callsub L_Warp; L_ald: set @mapname$,"aldebaran"; set @x,139; set @y,118; callsub L_Warp; L_ama: set @mapname$,"amatsu"; set @x,198; set @y,121; callsub L_Warp; L_ayo: set @mapname$,"ayothaya"; set @x,208; set @y,189; callsub L_Warp; L_bra: set @mapname$,"brasilis"; set @x,227; set @y,291; callsub L_Warp; L_com: set @mapname$,"comodo"; set @x,201; set @y,137; callsub L_Warp; L_ein: set @mapname$,"einbroch"; set @x,232; set @y,189; callsub L_Warp; L_gef: set @mapname$,"geffen"; set @x,120; set @y,93; callsub L_Warp; L_gon: set @mapname$,"gonryun"; set @x,160; set @y,111; callsub L_Warp; L_hug: set @mapname$,"hugel"; set @x,96; set @y,156; callsub L_Warp; L_izl: set @mapname$,"izlude"; set @x,130; set @y,131; callsub L_Warp; L_jaw: set @mapname$,"jawaii"; set @x,203; set @y,289; callsub L_Warp; L_lhz: set @mapname$,"lighthalzen"; set @x,158; set @y,92; callsub L_Warp; L_lou: set @mapname$,"louyang"; set @x,218; set @y,100; callsub L_Warp; L_lut: set @mapname$,"xmas"; set @x,148; set @y,130; callsub L_Warp; L_mor: set @mapname$,"morocc"; set @x,158; set @y,89; callsub L_Warp; L_mos: set @mapname$,"moscovia"; set @x,223; set @y,184; callsub L_Warp; L_nif: set @mapname$,"niflheim"; set @x,193; set @y,185; callsub L_Warp; L_rac: set @mapname$,"rachel"; set @x,119; set @y,136; callsub L_Warp; L_umb: set @mapname$,"umbala"; set @x,144; set @y,154; callsub L_Warp; L_vei: set @mapname$,"veins"; set @x,214; set @y,124; callsub L_Warp; L_yun: set @mapname$,"yuno"; set @x,158; set @y,176; callsub L_Warp; L_dung: menu "Abyss Lake",L_aby, "Amatsu Dungeon",L_amad, "Anthell",L_ant, "Ayothaya Dungon",L_ayod, "Bylan Island",L_byl, "Coal Mine",L_coa, "Einbroch Mine",L_einm, "Geffen Dungeon",L_gefd, "Glast Heim",L_gh, "Glast Heim Churchyard",L_ghc, "Glast Heim Prison",L_ghp, "Hidden Temple",L_hid, "Ice Dungeon",L_ice, "Juperos Ruins",L_jup, "Kiel Robot Factory",L_kie, "Magma Dungeon",L_mag, "Nameless Island",L_nam, "Orc Dungeon",L_orc, "Payon Caves",L_payc, "Prontera Culvert",L_proc, "Pyramids",L_pyr, "Rachel Sanctuary",L_racs, "Sphinx",L_sph, "Sunken Ship",L_sun, "Thors Volcano",L_tho, "Toy Factory",L_toy, "Turtle Dungeon",L_tur, "Umbala Dungeon",L_umbd; L_aby: set @mapname$,"hu_fild05"; set @x,167; set @y,300; callsub L_Warp; L_amad: set @mapname$,"ama_in02"; set @x,122; set @y,180; callsub L_Warp; L_ant: set @mapname$,"anthell01"; set @x,37; set @y,259; callsub L_Warp; L_ayod: set @mapname$,"ayo_fild01"; set @x,126; set @y,197; callsub L_Warp; L_byl: set @mapname$,"iz_dun00"; set @x,168; set @y,165; callsub L_Warp; L_coa: set @mapname$,"mjolnir_02"; set @x,81; set @y,355; callsub L_Warp; L_einm: set @mapname$,"einbech"; set @x,138; set @y,246; callsub L_Warp; L_gefd: set @mapname$,"gef_tower"; set @x,152; set @y,34; callsub L_Warp; L_gh: set @mapname$,"glast_01"; set @x,199; set @y,134; callsub L_Warp; L_ghc: set @mapname$,"gl_chyard"; set @x,147; set @y,149; callsub L_Warp; L_ghp: set @mapname$,"gl_prison"; set @x,91; set @y,180; callsub L_Warp; L_hid: set @mapname$,"prt_fild01"; set @x,137; set @y,366; callsub L_Warp; L_ice: set @mapname$,"ra_fild01"; set @x,233; set @y,326; callsub L_Warp; L_jup: set @mapname$,"yuno_fild07"; set @x,213; set @y,175; callsub L_Warp; L_kie: set @mapname$,"yuno_fild08"; set @x,72; set @y,178; callsub L_Warp; L_mag: set @mapname$,"yuno_fild03"; set @x,39; set @y,140; callsub L_Warp; L_nam: set @mapname$,"ve_fild07"; set @x,129; set @y,132; callsub L_Warp; L_orc: set @mapname$,"gef_fild10"; set @x,69; set @y,333; callsub L_Warp; L_payc: set @mapname$,"pay_arche"; set @x,42; set @y,131; callsub L_Warp; L_proc: set @mapname$,"prt_fild05"; set @x,282; set @y,224; callsub L_Warp; L_pyr: set @mapname$,"moc_ruins"; set @x,66; set @y,159; callsub L_Warp; L_racs: set @mapname$,"ra_temin"; set @x,28; set @y,310; callsub L_Warp; L_sph: set @mapname$,"moc_fild19"; set @x,106; set @y,99; callsub L_Warp; L_sun: set @mapname$,"alb2trea"; set @x,84; set @y,64; callsub L_Warp; L_tho: set @mapname$,"ve_fild03"; set @x,168; set @y,288; callsub L_Warp; L_toy: set @mapname$,"xmas"; set @x,143; set @y,302; callsub L_Warp; L_tur: warp "tur_dun01", 152, 49; set @mapname$,"tur_dun0"; set @x,152; set @y,49; callsub L_Warp; L_umbd: warp "um_dun01", 42, 32; set @mapname$,"um_dun01"; set @x,42; set @y,32; callsub L_Warp; L_Warp: if( @mapname$ == "" && !@x && !@y ) mes "YAHOOO L_Warp vars are missing aka bypassed the set!"; set LastWarperMap$,@mapname$; set LastWarperX,@x; set LastWarperY,@y; warp @mapname$,@x,@y; end; L_LastWarp: if( LastWarperMap$ == "" && !LastWarperX && !LastWarperY ) { mes "YAHOOO L_LastWarp doesn't have a record of where you've been last to!!"; close; } warp LastWarperMap$,LastWarperX,LastWarperY; end;}
You should have only 1 "warp" call, i.e.
Instead of:
L_ein: warp "einbroch", 232, 189; close; L_gef: warp "geffen", 120, 93; close;Be like: L_ein: set .@mapname$,"einbroch"; set .@x,232; set .@y,189; callsub L_Warp; L_gef: warp "geffen", 120, 93; set .@mapname$,"geffen"; set .@x,120; set .@y,93; callsub L_Warp; L_Warp: warp .@mapname$,.@x,.@y; end;That way you can easily record whatever you last warped them to, by simply changing the label into L_Warp: set LastWarperMap$,.@mapname$; set LastWarperX,.@x; set LastWarperY,.@y; warp .@mapname$,.@x,.@y; end;
You will learn a lot by reading our Wiki Basic Scripting, Scripting Commands, and reviewing some of examples.
and by also reading Script Documentation.
It is 2013, many scripts that you want or similar to what you want is most likely already made. You just need to edit them, change a few things to suit what you want it to do. That is were script documentation comes in handy
if you just want to install scripts into your server and make them bugless, just learn basic scripting is enough
if you want to turn into expert scripter, you have to write everything from scratchthough, the fastest way to learn, is to get yourself a teacher
this might help
http://www.eathena.ws/board/index.php?s=&showtopic=169148&view=findpost&p=962485
yesalways redo and redo again
my favorite warper script has been scrap at least 7 times then I released it
1 year later toasty release another one to beats mine again
each time you scrap your script, it also means you have learn something new
and you should congratulate yourself that you have improved
toastofdoom actually copy my idea from favorite warper scriptand kingkronos also has duplicate out toastywarper
someday you might able to duplicate both of their scripts ... who knows ?
Yes.. add // at the beginning of define, like this.
//#define PACKETVER_RE
so to define pre-renewal server go to src/config/renewal.h
and add // to disable renwal features like this.
//#define RENEWAL//#define RENEWAL_CAST//#define RENEWAL_DROP//#define RENEWAL_EXP//#define RENEWAL_LVDMG//#define RENEWAL_EDP//#define RENEWAL_ASPD
then recompile your server.