Jump to content

zackpinoy

Members
  • Content Count

    60
  • Joined

  • Last visited

Posts posted by zackpinoy


  1. can you please

     

    You could cap the damage of Asura Strike in db/pre-re/map_zone_db.conf by specifying skill_damage_cap on the "All" zone:

     

    Example:

     

            skill_damage_cap: {                //Exemple Below caps firebolt damage in maps within this zone to a maximum 50 damage,                // (depends on HMAP_ZONE_DAMAGE_CAP_TYPE in src/config/core.h)                // when cast vs players and monsters.                //MG_COLDBOLT: (50,"PLAYER | MONSTER")        }

     

    I don't think you can reduce its damage in a proportion unless you try to directly edit the source...

    can you please show us how will the script works?


  2.  

    Sa tingin ko po eto ang hinahanap mo.. pakibasa nalang po lahat pati yung mgacomments ha, para maintindihan mo narin po..

     

    Introducing Hercules Map Zone Database

    {	/* All zone is a dynamic (very special) zone that is forcebly inherited by ALL maps automatically */	name: "All" /* changing this name requires MAP_ZONE_ALL_NAME to also be changed in src/map/map.h file */	disabled_skills: {		//both examples below disable napalm beat (id 11) to players		//MG_NAPALMBEAT: "PLAYER"		//ID11: "PLAYER"	}	disabled_items: {		//Both examples below disable apple (id 501)		//Apple: true		//ID501: true	}		mapflags: (	)		/* "command:min-group-lv-to-override" e.g. "heal: 70" */	disabled_commands: {		//Example Below makes @heal be used in maps within this zone only by those group lv 70 and above		//heal: 70	}	skill_damage_cap: {		//Exemple Below caps firebolt damage in maps within this zone to a maximum 50 damage,		// (depends on HMAP_ZONE_DAMAGE_CAP_TYPE in src/config/core.h)		// when cast vs players and monsters.		//MG_COLDBOLT: (50,"PLAYER | MONSTER")	}},

    pano po ba format ng damage reduction?? kunyari asura strike ng champion.

     

    kung 50% po i rereduce ko sa asura strike.

     

    mapflag<tab>adjust_skill_damage<tab>SC_EXTREMITYFIST2<tab>50

     

    or

     

    mapflag<tab>adjust_skill_damage<tab>MO_EXTRIMITYFIST<tab>50


  3. hi po pano po magdagdag ng agi bless sa na automatic buff pag click ng healer? e2 po ang script ng healer npc.  :D

     

    - script Healer -1,{
     
    .@price = 0; // Zeny required for heal
    .@Buffs = 0; // Also buff players? (1: yes / 0: no)
    .@Delay = 0; // Heal delay, in seconds
     
    if (@HD > gettimetick(2)) end;
    if (.@price) {
    message strcharinfo(0),"Healing costs "+.@price+" Zeny.";
    if (Zeny < .@price) end;
    if(select("^0055FFHeal^000000:^777777Cancel^000000") == 2) close;
    Zeny -= .@price;
    }
    specialeffect2 EF_HEAL2; percentheal 100,100;
    if (.@Buffs) {
    specialeffect2 EF_INCAGILITY; sc_start SC_INC_AGI,240000,10;
    specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10;
    }
    if (.@Delay) @HD = gettimetick(2)+.@Delay;
    close;
    }

  4. check mo po kung tama.. dalawa kasi yang map_zone_db isa sa pre at isa sa re

    kung renewal client mo dun mo sa re baguhin.. kung pre-renewal naman dun mo sa pre baguhin

    di padin po gumagana. 

     

     


  5. Di ko pa na ta-try pero subukan mo ilagay dun sa db/[pre/re]/map_zone_db.conf

     

    {	/* PvP zone is applied to all maps with a pvp mapflag */	name: "PvP" /* changing this name requires MAP_ZONE_PVP_NAME to also be changed in src/map/map.h file */		/* "command:min-group-lv-to-override" e.g. "go: 70" */	disabled_commands: {		//Example Below makes @go be used in maps within this zone only by those group lv 70 and above		go: 70	}},

    example lang yan.. try mo nalang tignan yung buong script sa db/[pre/re]/map_zone_db.conf

    may custom pvp room warper po kasi sa client ko. yun ang gnagamit ko. tinry ko ang mapflag pero hndi gumagana


  6. Q> is it possible to add the equip and misc in the option of buying? and how does the script goes?   :D

    i tried the item and the maximum purchase is only 10. how will i change it to maximize the bulk buying? 


  7.  

     

     

    how do i enable broadcast message on group user player 2?

    what does 'group user player 2' mean? Super Player?

     

    yes  :D

     

        query_sql("SELECT account_id FROM `login` WHERE group_id=2" ,.@g2aid);    .@size = getarraysize(.@g2aid);    for(.@i=0;.@i<.@size;.@i++) {        if (attachrid(.@g2aid[.@i]))            announce "blah blah........",bc_blue|bc_self;            }

    where do i put this code?  :o


  8. Pa help po regarding sa War of Emperium. pag nag sstart na ang WOE yung castle na occupied ay

     

    hndi nag rerespawn ang Emperium. tapos yung Emperium naman sa castle na un occupied pag

     

    binasag mo, wlang lalabas na has been captured. 

     

    sana po matulungan nyo ako. at masagot ang aking mga tanong.  :D


  9. prontera,271,212,5 script jumpevent 101,{

     
    OnWhisperGlobal:
    if ( getgmlevel() < 99 ) end;
     
    L_JumpAdmin:
    mes "[Manager]";
    mes "^FF0000~Hi GM " + strcharinfo(0) + "!~^000000";
    mes "^FF0000The Current Prize is:^000000";
    mes "^FF00001. Random Prize:^000000 ^008000"+$jmp_item_amount1+" "+getitemname($jmp_item_id1)+"^000000";
    mes "^FF00002. Random Prize:^000000 ^008000"+$jmp_item_amount2+" "+getitemname($jmp_item_id2)+"^000000";
    mes "^FF00003. Random Prize:^000000 ^008000"+$jmp_item_amount3+" "+getitemname($jmp_item_id3)+"^000000";
    switch(select("Start Jump Event?:Set Prize:Not today Fellas!")){
     
    case 1:
    next;
    if( $@JumpStart == 1 ){
    mes "[Manager]";
    mes "I Can't Start The Event!!";
    mes "The Event is still ON!!";
    next;
    goto L_JumpAdmin;
    }
    next;
    mes "[Manager]";
    mes "^FF0000~Sure thing!~^000000";
    close2;
    goto L_StartJmp;
     
    case 2:
    next;
    mes "[Manager]";
    mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
    menu "Set Prize 1",SP1,"Set Prize 2",SP2,"Set Prize 3",SP3,"Go Back to main",L_JumpAdmin;
     
    SP1:
    next;
    mes "[Manager]";
    mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
    input $jmp_item_id1;
    next;
    mes "[Manager]";
    mes "^FF0000~How many if this item should I give away?~^000000";
    input $jmp_item_amount1;
    next;
    mes "[Manager]";
    mes "^FF0000~So, the prize is^000000 ^008000"+ $jmp_item_amount1 +" "+ getitemname($jmp_item_id1)   +"^000000? ^FF0000Great.~^000000";
    next;
    goto L_JumpAdmin;
     
    SP2:
    next;
    mes "[Manager]";
    mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
    input $jmp_item_id2;
    next;
    mes "[Manager]";
    mes "^FF0000~How many if this item should I give away?~^000000";
    input $jmp_item_amount2;
    next;
    mes "[Manager]";
    mes "^FF0000~So, the prize is^000000 ^008000"+ $jmp_item_amount2 +" "+ getitemname($jmp_item_id2)   +"^000000? ^FF0000Great.~^000000";
    next;
    goto L_JumpAdmin;
     
    SP3:
    next;
    mes "[Manager]";
    mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
    input $jmp_item_id3;
    next;
    mes "[Manager]";
    mes "^FF0000~How many if this item should I give away?~^000000";
    input $jmp_item_amount3;
    next;
    mes "[Manager]";
    mes "^FF0000~So, the prize is^000000 ^008000"+ $jmp_item_amount3 +" "+ getitemname($jmp_item_id3)   +"^000000? ^FF0000Great.~^000000";
    next;
    goto L_JumpAdmin;
     
    case 3:
    next;
    mes "[Manager]";
    mes "Bye!!";
    close;
     
    }// End Admin Manager...
     
    OnClock0016:
    OnClock0310:
    OnClock0625:
    OnClock0918:
    OnClock1228:
    OnClock1540:
    OnClock1829:
    OnClock2042:// Edit this to what ever you want. note : OnClock0000 is 12 midnight and OnClock1200 is 12 Noon
    OnClock2250:
    OnMinute25:
    L_StartJmp:
    announce "Jumper Event : will begin in 20 seconds",bc_all,0x00ffc7;;
    sleep2 5000;
    announce "Jumper Event : I'm Going to JUMP somewhere..!!",bc_all,0x00ffc7;;
    sleep2 5000;
    announce "Jumper Event : By the way I'm going to disguise into a random monster.!!",bc_all,0x00ffc7;;
    sleep2 10000;
    announce "Jumper Event : Last 10 seconds",bc_all,0x00ffc7;;
    sleep2 10000;
    set $@ran, rand(1,10);
    if ($@ran == 10) set $@jmpmap$,"hugel";
    if ($@ran == 9) set $@jmpmap$,"yuno";
    if ($@ran == 8) set $@jmpmap$,"comodo";
    if ($@ran == 7) set $@jmpmap$,"xmas";
    if ($@ran == 6) set $@jmpmap$,"aldebaran";
    if ($@ran == 5) set $@jmpmap$,"izlude";
    if ($@ran == 4) set $@jmpmap$,"payon";
    if ($@ran == 3) set $@jmpmap$,"geffen";
    if ($@ran == 2) set $@jmpmap$,"morocc";
    if ($@ran == 1) set $@jmpmap$,"prontera";
    announce "Jumper Event : Go Find me!! I'm here in "+$@jmpmap$+"!!!",bc_all,0x00ffc7;;
    set $@JmpRnd,10;
    goto OnStart;
     
    OnStart:
    if ($@JmpRnd == 0){
    stopnpctimer;
    set $@JumpStart,0;
    sleep2 3000;
    announce "Jumper Event : is now OVER!!",bc_all,0x00ffc7;;
    sleep2 15000;
    movenpc "Jumper"+$@ran+"",1,1; //move the NPC
    setnpcdisplay "Jumper"+$@ran+"",1002;
    end;
    }
    if ($@JmpRnd == 10){
    goto OnStart2;
    }
    stopnpctimer;
    sleep2 3000;
    announce "Jumper Event : Next Round will begin in 15 seconds...",bc_all,0x00ffc7;;
    sleep2 15000;
    setnpcdisplay "Jumper"+$@ran+"",1002;
    movenpc "Jumper"+$@ran+"",1,1; //move the NPC
    set $@ran, rand(1,10);
    if ($@ran == 10) set $@jmpmap$,"hugel";
    if ($@ran == 9) set $@jmpmap$,"yuno";
    if ($@ran == 8) set $@jmpmap$,"comodo";
    if ($@ran == 7) set $@jmpmap$,"xmas";
    if ($@ran == 6) set $@jmpmap$,"aldebaran";
    if ($@ran == 5) set $@jmpmap$,"izlude";
    if ($@ran == 4) set $@jmpmap$,"payon";
    if ($@ran == 3) set $@jmpmap$,"geffen";
    if ($@ran == 2) set $@jmpmap$,"morocc";
    if ($@ran == 1) set $@jmpmap$,"prontera";
    announce "Jumper Event : Go Find me!! I'm here in "+$@jmpmap$+"!!!",bc_all,0x00ffc7;;
    goto OnStart2;
     
    OnStart2:
    set $monster, rand(1001,1995);
    if($monster == 1003 || $monster == 1218 || $monster == 1006 || $monster == 1017 || $monster == 1021 || $monster == 1022 ||    $monster == 1027 || $monster == 1043 || $monster == 1006 || $monster == 1136 || $monster == 1137 || $monster == 1168 ||    $monster == 1171 || $monster == 1172 || $monster == 1173 || $monster == 1181 || $monster == 1210 || $monster == 1223 ||    $monster == 1284 || ($monster >= 1324 && $monster <= 1363) || $monster == 1006 || $monster == 1407 || $monster == 1411 ||    $monster == 1414 || $monster == 1496 || $monster == 1501 || $monster == 1900){ goto OnStart2; end; }
    while(1) { //Initiate an infinite loop
    set $@jx,rand(0,300); //Set a randon X coordinate
    set $@jy,rand(0,300); //Set a random Y coordinate
    if(checkcell(""+$@jmpmap$+"",$@jx,$@jy,cell_chkpass)) break; //If cell is walkable break out of the loop
    }
    initnpctimer;
    set $@JumpStart,1;
    movenpc "Jumper"+$@ran+"",$@jx,$@jy; //move the NPC
    setnpcdisplay "Jumper"+$@ran+"",$monster;
    set $@JmpRnd,$@JmpRnd-1;
    end;
     
    OnTimer180000:
    set $@JumpStart,0;
    announce "Jumper Event : WOW no One Found ME!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_all,0x00ffc7;;
    sleep2 3000;
    donpcevent "jumpevent::OnStart";
    end;
     
    }//End Script
     
    - script Jumper -1,{
    if( $@JumpStart == 0 ){
    mes "[Jumper]";
    mes "I'm sorry, Someone Found me..";
    close;
    }
    set $@prize, rand(1,100);
    if ( $@prize <= 50 ){
    set $@JumpStart,0;
    getitem $jmp_item_id1,$jmp_item_amount1;
    announce "Jumper Event : "+strcharinfo(0)+" is the WINNER!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_all,0x00ffc7;;
    donpcevent "jumpevent::OnStart";
    mes "[Jumper]";
    mes "WOW you found me!!";
    mes "Take this as a REWARD!!";
    mes "You got ^008000"+ $jmp_item_amount1 +" "+ getitemname($jmp_item_id1) +"^000000";
    close;
    end;
    }
    set $@prize, rand(1,100);
    if ( $@prize <= 49 ){
    set $@JumpStart,0;
    getitem $jmp_item_id2,$jmp_item_amount2;
    announce "Jumper Event : "+strcharinfo(0)+" is the WINNER!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_all,0x00ffc7;;
    donpcevent "jumpevent::OnStart";
    mes "[Jumper]";
    mes "WOW you found me!!";
    mes "Take this as a REWARD!!";
    mes "You got ^008000"+ $jmp_item_amount2 +" "+ getitemname($jmp_item_id2) +"^000000";
    close;
    end;
    }
    set $@prize, rand(1,100);
    if ( $@prize <= 48 ){
    set $@JumpStart,0;
    getitem $jmp_item_id3,$jmp_item_amount3;
    announce "Jumper Event : "+strcharinfo(0)+" is the WINNER!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_all,0x00ffc7;;
    donpcevent "jumpevent::OnStart";
    mes "[Jumper]";
    mes "WOW you found me!!";
    mes "Take this as a REWARD!!";
    mes "You got ^008000"+ $jmp_item_amount3 +" "+ getitemname($jmp_item_id3) +"^000000";
    close;
    end;
    }
    }//End Script
     
    prontera,1,1,1 duplicate(Jumper) Jumper1 1002
    morocc,1,1,1 duplicate(Jumper) Jumper2 1002
    geffen,1,1,1 duplicate(Jumper) Jumper3 1002
    payon,1,1,1 duplicate(Jumper) Jumper4 1002
    izlude,1,1,1 duplicate(Jumper) Jumper5 1002
    aldebaran,1,1,1 duplicate(Jumper) Jumper6 1002
    xmas,1,1,1 duplicate(Jumper) Jumper7 1002
    comodo,1,1,1 duplicate(Jumper) Jumper8 1002
    yuno,1,1,1 duplicate(Jumper) Jumper9 1002
    hugel,1,1,1 duplicate(Jumper) Jumper10 1002
     
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.