Jump to content

Green

Members
  • Posts

    61
  • Joined

  • Last visited

Posts posted by Green

  1. anybody have a WoE Prize Giver from different castle ...but everyday is only 1 castle on going...

    because i've experience to my Woe Prize Giver ...even the Castle is not ongoing ..he can still get the prize.

    for example .. 

    Monday = Krimhild

    Tues = Rothenburg

    WEd = Banadis

    Thur = Scarlet Palace

     

    .example Rage Guild conqured the krimhild castle..but tomorrow ..he can still get prize..

    sry for my bad explanation ..lol ..hopefully somebody help me here

  2. How To Add item on Item_buyingstore.txt

     

    Because i Already Add this Items 

    7227    //TCG
    7539    //Event Ticket
    7859    // RO Ticket
    7558    // License Shop
     
     
    But if i click The Buying Store Skill on Merchant Class.. Still those item that i put is nothing
     
    anyone can help me?
  3. I want  To Make This Script is Only GuildMaster Can receive the Prize

    // KoE Exit
    guild_vs1,49,56,5    script    Exit#KoE    51,{
        mes "[Exit]";
        mes "See ya.";
        if ( getcharid(2) == $koegid )
            getitem 12039, 1; // configure prize here
        next;
        warp "Save",0,0;
        close;
    }
    
  4. Anybody Knows ..How to make this script is only GM of the Guild  Can Recieve The Prize

    -    script    KoE    -1,{
    OnInit:
        disablenpc "The King#KoE";
        disablenpc "Exit#KoE";
        end;
    
    OnWhisperGlobal:
        if ( getgmlevel() < 99 ) end;
        else if ( compare ( @whispervar0$, "on" ) ) goto L_start;
        else if ( compare ( @whispervar0$, "off" ) ) goto L_end;
        else end;
            
    L_end:
    OnClock1400:
        announce "The King of Emperium Hill is over!", 0;
        set .koe_start, 0;
        enablenpc "Exit#KoE";
        disablenpc "The King#KoE";
        killmonsterall "guild_vs1";
        end;
    L_start:
    OnClock1300:
        announce "The King of Emperium Hill has begun!", 0;
        set .koe_start, 1;
        enablenpc "The King#KoE";
        disablenpc "Exit#KoE";
        set $koegid, 0;
        donpcevent "::OnRevKoE";
        maprespawnguildid "guild_vs1", $koegid, 6;
        monster "guild_vs1",49,49,"EMPERIUM",1288,1,"KoE::OnEmpDead";
        end;
    
    OnEmpDead:
        set $koegid, getcharid(2);
        announce "The current King of Emperium Hill is the [" + strcharinfo(2) + "] guild.", 0;
        donpcevent "::OnRevKoE";
        maprespawnguildid "guild_vs1", $koegid, 6;
        sleep 500;
        if ( .koe_start )
            monster "guild_vs1",49,49,"EMPERIUM",1288,1,"KoE::OnEmpDead";
        end;
    }
    
    // KoE Entrance
    prontera,156,157,4    script    The King#KoE    99,{
        mes "[The King]";
        if ( getcharid(2) == 0 ) {
            mes "You must have a guild to participate in the ^FF0000King of Emperium Hill Tournament^000000.";
            close;
        }
        mes "Hello.";
        mes "Would you like to participate in the ^FF0000King of Emperium Hill Tournament^000000?";
        if ( select ( "Yes", "No" ) == 2 ) close;
        switch( rand(1,4) ){
            case 1:    warp "guild_vs1", 50, 88; end;
            case 2:    warp "guild_vs1", 88, 50; end;
            case 3:    warp "guild_vs1", 50, 11; end;
            case 4:    warp "guild_vs1", 11, 50; end;
        }
    }
    
    // KoE Exit
    guild_vs1,49,56,5    script    Exit#KoE    51,{
        mes "[Exit]";
        mes "See ya.";
        if ( getcharid(2) == $koegid )
            getitem 12039, 1; // configure prize here
        next;
        warp "Save",0,0;
        close;
    }
    
     
     
    Thx In Advance

    KoE.txt

  5. Do i Paste This one?

    or i Replace?

    Index: battle.c
    ===================================================================
    --- battle.c    (revision 14826)
    +++ battle.c    (working copy)
    @@ -3341,6 +3341,13 @@
        if( (s_bl = battle_get_master(src)) == NULL )
            s_bl = src;
    
    +    if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) {
    +        struct map_session_data *sd = BL_CAST(BL_PC, s_bl);
    +        if ( ( ((TBL_MOB*)target)->class_ == 1288 && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) &&
    +            ( sd->status.guild_id == mapreg_readreg( add_str("$koegid") ) || battle_getcurrentskill(src) > 0 ) )
    +        return 0;
    +    }
    +
        switch( target->type )
        { // Checks on actual target
            case BL_PC:
    Index: battle.h
    ===================================================================
    --- battle.h    (revision 14826)
    +++ battle.h    (working copy)
    @@ -3,6 +3,7 @@
    
    #ifndef _BATTLE_H_
    #define _BATTLE_H_
    +#include "mapreg.h"
    
    // state of a single attack attempt; used in flee/def penalty calculations when mobbed
    typedef enum damage_lv {
    
  6.    How to Fix Aspd aftercast delay?   for example .... because my server now is . if you put ASPD or Agi on your Stats.. = less delay.

    i want to disalbe delay effect of agi stats..

    so .. this is i wanted to happen... if you put higher AGI stats or .doppel Card.. = no effect on delay

     

    thx 

  7.    How to Fix Aspd aftercast delay?   for example .... because my server now is . if you put ASPD or Agi on your Stats.. = less delay.

    i want to disalbe delay effect of agi stats..

    so .. this is i wanted to happen... if you put higher AGI stats or .doppel Card.. = no effect on delay

     

    thx 

×
×
  • Create New...