Jump to content

Emistry

Forum Moderator
  • Posts

    10015
  • Joined

  • Days Won

    396

Everything posted by Emistry

  1. So, i guess this will be the final 1 right ? Script : prontera,155,181,5 script Sample 718,{ function MonsterList; mes "Heeyyyy....Little fella!"; mes "I'm the Prof.M aka the Warp Caster. My Services are totally free,uhm...At least for today."; mes "Uhm...I'm talking too much...Come...come...Pick and Warp."; next; switch( select( "^FF0000Last Warp^000000 [ "+( ( LastWarp$ )?LastWarp$:"No Map Selected" )+" ]","MVP Monster Lists","Mini Boss Monster Lists" )){ Case 1: mes "You will be warped back to ^FF0000"+LastWarp$+"^000000 ."; if( select("Yes:No") == 2 ) break; warp LastWarp$,0,0; end; Case 2: mes "^0000FFYou took over the MvP List from Prof. M and start choosing your desired option carefully...^000000"; next; switch( select( "Amon Ra", "Atroce", "Bacsojin", "Baphomet", "Dark Lord", "Detale", "Bio Lab MvP" )){ Case 1: MonsterList( 1,1511,1,"moc_pryd06" ); Case 2: MonsterList( 1,1785,5,"ra_fild02","ra_fild03","ra_fild04","ve_fild01","ve_fild02"); Case 3: MonsterList( 1,1630,1,"lou_dun03" ); Case 4: MonsterList( 1,1039,1,"prt_maze03" ); Case 5: MonsterList( 1,1272,1,"gl_chyard" ); Case 6: MonsterList( 1,1719,1,"abyss_03" ); Case 7: MonsterList( 6,1646,1647,1648,1649,1650,1651,1,"lhz_dun03" ); // Case 6: // Case 7: // etc...( Max 128 ) default: mes "Wrong Selection."; break; } Case 3: mes "^0000FFYou took over the Mini Boss List from Prof. M and start choosing your desired option carefully...^000000"; next; switch( select( "Angeling", "Arch Angeling", "Cat O Nine Tail", "Chimera", "Deviling" )){ Case 1: MonsterList( 1,1096,1,"pay_fild04" ); Case 2: MonsterList( 1,1388,1,"yuno_fild05" ); Case 3: MonsterList( 1,1307,1,"pay_dun04" ); Case 4: MonsterList( 1,1283,1,"gl_cas02" ); Case 5: MonsterList( 1,1582,1,"pay_fild04" ); // Case 6: // Case 7: // etc...( Max 128 ) default: mes "Wrong Selection."; break; } }[/size][/size] [size=7][size=4]function MonsterList { for( set .@i,1; .@i <= getarg(0); set .@i,.@i + 1 ) set .@MobMenu$,.@MobMenu$ + getmonsterinfo( getarg(.@i),0 ) +":"; set .@i,select( .@MobMenu$ );[/size][/size] [size=7][size=4]mes "^FF0000Name^000000 : "+getmonsterinfo( getarg(.@i),0 ); mes "^FF0000Level^000000 : "+getmonsterinfo( getarg(.@i),1 ); mes "^FF0000Max HP^000000 : "+getmonsterinfo( getarg(.@i),2 ); mes "^FF0000Base EXP^000000 : "+getmonsterinfo( getarg(.@i),3 ); mes "^FF0000Job EXP^000000 : "+getmonsterinfo( getarg(.@i),4 ); mes "^FF0000Size^000000 : "+.Size$[ getmonsterinfo( getarg(.@i),18 ) ]; mes "^FF0000Race^000000 : "+.Race$[ getmonsterinfo( getarg(.@i),19 ) ]; mes "^FF0000Element^000000 : "+.Element$[ getmonsterinfo( getarg(.@i),20 ) ];[/size][/size] [size=7][size=4]for( set .@i,( getarg(0) + 2 ); .@i < ( ( getarg(0) + 2 ) + getarg( getarg(0) + 1 ) ); set .@i,.@i + 1 ) set .@Map$,.@Map$ + getarg( .@i )+" [ "+getmapusers( getarg(.@i) )+" ]:"; next; set .@i,select( .@Map$ ); set LastWarp$,getarg( getarg(0) + 1 + .@i ); warp getarg( getarg(0) + 1 + .@i ),0,0; end; } OnInit: setarray .Size$[0],"Small","Medium","Large"; setarray .Race$[0],"Formless","Undead","Brute","Plant","Insect","Fish","Demon","Demi Human","Angel","Dragon"; setarray .Element$[0],"Neutral","Water","Earth","Fire","Wind","Poison","Holy","Dark","Spirit","Undead"; end; } Add Monsters ( Multi Monster & Multi Maps ): For Multi Maps i take the Atroce as Example ..... Case 2: MonsterList( 1,1785,5,"ra_fild02","ra_fild03","ra_fild04","ve_fild01","ve_fild02"); For Multi Monsters i take the Bio Lab MvP as Example ..... Case 7: MonsterList( 6,1646,1647,1648,1649,1650,1651,1,"lhz_dun03" ); Format for Setup : Case X: MonsterList( <MonsterNumber>,<MonsterList>,<MonsterList>.........,<MapNumber>,<MapName>,<MapName>....... );
  2. Emistry

    Cluck !

    try this method... Find this add this line below it. npcwalkto 142+rand(-10,10),229+rand(-10,10); the result should be walking around the area of 10x10 with the Coordinate 142,229 as center.
  3. Alright...sorry to keep you waiting i just finished my school assignment...which keep me damn busy with it for the past few days..xD So, now i have modified the scripts.... Script : prontera,155,181,5 script Sample 718,{ function MonsterList; mes "Heeyyyy....Little fella!"; mes "I'm the Prof.M aka the Warp Caster. My Services are totally free,uhm...At least for today."; mes "Uhm...I'm talking too much...Come...come...Pick and Warp."; next; switch( select( "^FF0000Last Warp^000000 [ "+( ( LastWarp$ )?LastWarp$:"No Map Selected" )+" ]","MVP Monster Lists","Mini Boss Monster Lists" )){ Case 1: mes "You will be warped back to ^FF0000"+LastWarp$+"^000000 ."; if( select("Yes:No") == 2 ) break; warp LastWarp$,0,0; end; Case 2: mes "^0000FFYou took over the MvP List from Prof. M and start choosing your desired option carefully...^000000"; next; switch( select( "Amon Ra", "Atroce", "Bacsojin", "Baphomet", "Dark Lord", "Detale" )){ Case 1: MonsterList( 1511,1,"moc_pryd06" ); Case 2: MonsterList( 1785,5,"ra_fild02","ra_fild03","ra_fild04","ve_fild01","ve_fild02"); Case 3: MonsterList( 1630,1,"lou_dun03" ); Case 4: MonsterList( 1039,1,"prt_maze03" ); Case 5: MonsterList( 1272,1,"gl_chyard" ); Case 6: MonsterList( 1719,1,"abyss_03" ); // Case 6: // Case 7: // etc...( Max 128 ) default: mes "Wrong Selection."; break; } Case 3: mes "^0000FFYou took over the Mini Boss List from Prof. M and start choosing your desired option carefully...^000000"; next; switch( select( "Angeling", "Arch Angeling", "Cat O Nine Tail", "Chimera", "Deviling" )){ Case 1: MonsterList( 1096,1,"pay_fild04" ); Case 2: MonsterList( 1388,1,"yuno_fild05" ); Case 3: MonsterList( 1307,1,"pay_dun04" ); Case 4: MonsterList( 1283,1,"gl_cas02" ); Case 5: MonsterList( 1582,1,"pay_fild04" ); // Case 6: // Case 7: // etc...( Max 128 ) default: mes "Wrong Selection."; break; } } function MonsterList { mes "^FF0000Name^000000 : "+getmonsterinfo( getarg(0),0 ); mes "^FF0000Level^000000 : "+getmonsterinfo( getarg(0),1 ); mes "^FF0000Max HP^000000 : "+getmonsterinfo( getarg(0),2 ); mes "^FF0000Base EXP^000000 : "+getmonsterinfo( getarg(0),3 ); mes "^FF0000Job EXP^000000 : "+getmonsterinfo( getarg(0),4 ); mes "^FF0000Size^000000 : "+.Size$[ getmonsterinfo( getarg(0),18 ) ]; mes "^FF0000Race^000000 : "+.Race$[ getmonsterinfo( getarg(0),19 ) ]; mes "^FF0000Element^000000 : "+.Element$[ getmonsterinfo( getarg(0),20 ) ]; for( set .@i,1; .@i <= getarg(1); set .@i,.@i + 1 ) set .@Map$,.@Map$ + getarg( .@i+1 )+" [ "+getmapusers( getarg(.@i+1) )+" ]:"; next; set .@i,select( .@Map$ )+1; set LastWarp$,getarg(.@i); warp getarg(.@i),0,0; end; } OnInit: setarray .Size$[0],"Small","Medium","Large"; setarray .Race$[0],"Formless","Undead","Brute","Plant","Insect","Fish","Demon","Demi Human","Angel","Dragon"; setarray .Element$[0],"Neutral","Water","Earth","Fire","Wind","Poison","Holy","Dark","Spirit","Undead"; end; } Add Monsters ( Multi Maps ) Case X: MonsterList( <Mob ID>,<How Many Maps>,<MapName>,<MapName>.....); For Example : i take the Atroce as Example ..... Case 2: MonsterList( 1785,5,"ra_fild02","ra_fild03","ra_fild04","ve_fild01","ve_fild02"); 1785 = Monster ID 5 = Appear in 5 Maps. the rest..is Map Name i guess...you can barely understand how to setup this right ?
  4. this can be disabled by using "nocalc rank" mapflag....
  5. LOL ? you do a Looping....but...loop nothing but ended it ? hmm ? i doubt will that run fine for you upon loaded ? O.O suppose to be something like this... for ( set .@i, 0; .@i < getarraysize(.@lowerid); set .@i, .@i +1 ) { for ( set .@i, 0; .@i < getarraysize(.@lowername$); set .@i, .@i +1 ) ;{ <<content go here>> } }
  6. remove this if you dont want party get hit by his own party member mapname mapflag pvp_noparty
  7. Agree.....maybe we can implant a feature to allow users control his own "Online / Offline / Busy / Away" Status ? something that look like Status managing that appear in most of the communication tool...but dunno can this apply on Forum or not ~
×
×
  • Create New...