Jump to content

erryngok

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by erryngok

  1. - script gvubhnji -1,{
    
    OnNPCKillEvent:
    #CASHPOINTS = #CASHPOINTS + .@R;
    
    dispbottom "Gained : "+ .@R +" points. Total : "+ #CASHPOINTS +" points."; }
    
    end;
    
    OnInit:
    set .@R,1; //cashpoints per kill
    end;
    
    }
    
    

    this will add cashpoint for each monster killed

     

    Thanks sir  /no1

  2. search for the use of

    OnNPCKillEvent

    and

    atcommand

    that will help you.

     

     

    I show the example script.. this one if kill mvp / mini bos.. how if if kill all mob on all maps ?

     

     

    - script gvubhnji -1,{

    OnNPCKillEvent:

    if( killedrid && ( getmonsterinfo(killedrid, 21) & 0x0020 ) && ( killedrid <= 3000 ) ) {

    if( getmonsterinfo(killedrid, 22) )

    .@R = rand( 100, 500 );//-- MVP

    else

    .@R = rand( 50, 150 );//-- MINIBOSS

    #CASHPOINTS = #CASHPOINTS + .@R;

    dispbottom "Gained : "+ .@R +" points. Total : "+ #CASHPOINTS +" points."; }

    end;

    }

  3. How to fix this job change guide warper ? already @loadnpc ( locations ) but the npc didnt appear .

    
    prontera,128,211,4 script Guide NPC::Guide NPC 421,{
    
    mes "[Job Guide NPC]";
    mes "Hi!, I can warp you to any jobchange Guide.";
    next;
    mes "[Warp NPC]";
    mes "Where would you like to be warped to?";
    next;
    menu "Towns",town,;
    town:
    menu  "Swordsman Job Quest",wprontera,
    "Mage Job Quest",walberta,
    "Archer Job Quest",waldebaran,
    "Acolyte Job Quest"",wamatsu,
    "Merchant Job Quest"",wayot,
    "Thief Job Quest", wbrasilis,
    "Gunslinger Job Quest",wcomodo,
    "Ninja Job Quest",weinbech,
    "Taekwon Job Quest",weinbroch,
    "Super Novice Job Quest"",wgeffen,
    "Knight Job Quest",wgonryun,
    "Wizard Job Quest",whugel,
    "Hunter Job Quest",wizlude,
    "Priest Job Quest",wjawaii,
    "Blacksmith Job Quest",wlighthalzen,
    "Assassin Job Quest",wlouyang,
    "Crusader Job Quest",wxmas,
    "Sage Job Quest",wmanuk,
    "Bard Job Quest",wmidcamp,
    "Dancer Job Quest",wmorroc,
    "Monk Job Quest",wnameless,
    "Alchemist Job Quest",wniflheim,
    "Rogue Job Quest",wpayon,
    "Rebirth Transcendent Job Quest 1",wyuno,
    "Rebirth Transcendent Job Quest 2",wafeltz;
    
    //-------------------------------
    //          Town Warps
    //-------------------------------
    wprontera: warp "izlude",125,145;  close;
    walberta: warp "geffen_in",164,124;  close;
    waldebaran: warp "payon_in02",64,71;  close;
    wamatsu: warp "prt_church",184,41;  close;
    wayot: warp "alberta_in",53,43;  close;
    wbrasilis: warp "moc_prydb1",39,129;  close;
    wcomodo: warp "que_ng",152,167;  close;
    weinbech: warp "alberta",30,65;  close;
    weinbroch: warp "Payon",157,141;  close;
    wgeffen: warp "aldeba_in",223,167;  close;
    wgonryun: warp "prt_in",88,101;  close;
    whugel: warp "gef_tower",111,37;  close;
    wizlude: warp "hu_in01",386,374;  close;
    wjawaii: warp "prt_church",16,41;  close;
    wlighthalzen: warp "ein_in01",18,28;  close;
    wlouyang: warp "in_moc_16",19,33;  close;
    wxmas: warp "prt_castle",45,169;  close;
    wmanuk: warp "yuno_in03",154,35;  close;
    wmidcamp: warp "comodo",226,123;  close;
    wmorroc: warp "comodo",193,151;  close;
    wnameless: warp "prt_monk",59,247;  close;
    wniflheim: warp "alde_alche",27,185;  close;
    wpayon: warp "in_rogue",363,123;  close;
    wyuno: warp "yuno_in02",88,164;  close;
    wafeltz: warp "yuno_in05",49,43;  close;
    //-------------------------------
    
    

    Thanks advance.

     

    Sorry my bad english then.

×
×
  • Create New...