Jump to content

DevilingKing

Members
  • Posts

    27
  • Joined

  • Last visited

Posts posted by DevilingKing

  1. ../custom/atcommand.inc:37:34: error: request for member ‘Alias’ in ‘atcommand_alias_db’, which is of pointer type ‘DBMap*’ (maybe you meant to use ‘->’ ?)
      parent_cmd = atcommand_alias_db.Alias(command + 1);
                                      ^
    make[1]: *** [obj/atcommand.o] Error 1

     


    +ACMD_FUNC(equipoff) {
    +    int value = 0;
    +    char type[CHAT_SIZE_MAX];
    +
    +    nullpo_retr(-1, sd);
    +
    +    if (map_getmapflag(sd->bl.m, MF_NOEQUIP_OFF) || map_getmapflag(sd->bl.m, MF_EQUIP_HIDE)) {
    +        clif_displaymessage(fd, msg_txt(sd, 1525));
    +        return -1;
    +    }
    +
    +    parent_cmd = atcommand_alias_db.checkAlias(command + 1);
    +
    +    if (strcmp(parent_cmd, "equipoff") == 0) {
    +        if ((sscanf(message, "%s", &type)) < 1) {
    +            clif_displaymessage(fd, msg_txt(sd, 1523)); // Syntax: @equipoff <type>
    +            clif_displaymessage(fd, msg_txt(sd, 1524)); // Type: all - all players | others - other players
    +            return -1;
    +        }
    +
     

  2. 41 minutes ago, DevilingKing said:

    sir help me abot this

    [Warning]: vend loot = 674
    [Warning]: vend loot = 7539
    [Warning]: vend loot = 7179
    [Warning]: vend loot = 675
    [Warning]: vend loot = 7179
    [Warning]: vend loot = 7539
    [Warning]: vend loot = 7227

    this warning  show to putty

    how to fix this?

    @solved

    remove this coding

    /src/map/clif.cpp
     
    -    // Vending shouldn't open if vend_loot is 0 and extended vending is enabled [Easycore]
    -    // ShowWarning("vend loot = %d\n", sd->vend_loot);
    -    if (battle_config.extended_vending && sd->vend_loot == 0) {
    -        sd->state.prevend = 0;
    -        return;
    -    }
     

  3. On 10/8/2021 at 2:46 AM, masterzeus said:

    rAthena clean (update today)
    Rev7


    ZNREs4C.png

     

    trunk/conf/battle/feature.conf
     

    // Item ID for Zeny. Set to 0 if you don't want use Zeny.
    item_zeny: 0

    // Item ID for Cash. Set to 0 if you don't want use Cash.
    item_cash: 0

     

    trunk/db/item_vending.txt

    // Proof of Donation
    7179
    // TCG Card
    7227
    // Mithril Coin
    674
    // Silver Coin
    675
    // Bronze Coin
    673
    // Poring Coin
    7539

  4.  Emistry not work..

     

    can make like this script?

     

    OnDevilDead3:
        .mob--;
        if ( .mob == 25 || .mob == 5 )
            announce "Devil Square : "+ .mob +" monsters remaining in the final round.", bc_map;
        else if ( .mob <= 0 ) {
            announce "Devil Square : CONGRATULATIONS. Please click on the NPC for your rewards.", bc_map;
            goto OnStopEvent;
        }
        end;

    OnStopEvent:
        killmonsterall "ordeal_1-1";
        enablenpc "Devil Square Guardian#2";
        .start = .round = .mob = 0;
        end;
    }

    ordeal_1-1,246,245,7    script    Devil Square Guardian#2    406,{
        mes "[Exit]";
        mes "Farewell.";
        close2;
        getitem 7539,50;
        warp "SavePoint",0,0;
        end;
    }

     

  5. Helo Guys
    who can help me to Fix [ auto reward master guild ] only

    -    script    KoE    -1,{
    OnInit:
        disablenpc "The King#KoE";
        bindatcmd "koe", strnpcinfo(0)+"::OnCommand", 99,99;
        end;
    OnCommand:
        if ( compare( .@atcmd_parameters$, "on" ) ) goto L_start;
        else if ( compare( .@atcmd_parameters$, "off" ) ) goto L_end;
        else {
            dispbottom "type - '@koe on' to start the event";
            dispbottom "type - '@koe off' to end the event";
        }
        end;
    //OnTue2030:
    L_start:
        if ( .start ) end;
        gvgon "guild_vs1";
        announce "The King of Emperium Hill has begun!", bc_all;
        .start = 1;
        enablenpc "The King#KoE";
        $koegid = 0;
        donpcevent "::OnRevKoE";
        maprespawnguildid "guild_vs1", $koegid, 7;
        monster "guild_vs1",49,49,"EMPERIUM",1288,1,"KoE::OnEmpDead";
        end;
    //OnTue2130:
    L_end:
        gvgoff "guild_vs1";
        announce "The King of Emperium Hill is over!", bc_all;
        .start = 0;
        disablenpc "The King#KoE";
        killmonsterall "guild_vs1"; 
        //maprespawnguildid "guild_vs1", $koegid, 6;
    
           //Auto Reward to Master Guild
            if ( getcharid(2) == $koegid && getguildmaster(getcharid(2)) == strcharinfo(0) )
           getitem 607,1; // configure prize here
    
        end;
    OnEmpDead:
        $koegid = getcharid(2);
        announce "The current King of Emperium Hill is the ["+ strcharinfo(2) +"] guild.", bc_all;
        donpcevent "::OnRevKoE";
        maprespawnguildid "guild_vs1", $koegid, 6;
        sleep 500;
        if ( .start )
            monster "guild_vs1",49,49,"EMPERIUM",1288,1,"KoE::OnEmpDead";
        end;
    }
    
    // KoE Entrance
    prontera,147,169,4    script    The King#KoE    811,{
        mes "[The King]";
        if ( !getcharid(2) ) {
            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;
        }
    }
    
    // Flags
    guild_vs1,49,38,4    script    King of Emperium Hill#1::koe_flag    722,{
        if ( !$koegid ) end;
        mes "[King of Emperium Hill]";
        mes "The Current King of Emperium Hill is the ["+ getguildname($koegid) +"] guild.";
        close;
    OnRevKoE:
        flagemblem $koegid;
        end;
    }
    guild_vs1,61,49,6    duplicate(koe_flag)    King of Emperium Hill#2    722
    guild_vs1,38,49,2    duplicate(koe_flag)    King of Emperium Hill#3    722
    guild_vs1,49,61,0    duplicate(koe_flag)    King of Emperium Hill#4    722
    delusion,86,94,4    duplicate(koe_flag)    King of Emperium Hill#5    722
    
    
    guild_vs1    mapflag    nobranch
    guild_vs1    mapflag    nomemo
    guild_vs1    mapflag    nopenalty
    guild_vs1    mapflag    noreturn
    guild_vs1    mapflag    nosave    SavePoint
    guild_vs1    mapflag    noteleport
    guild_vs1    mapflag    gvg_noparty
    guild_vs1    mapflag    nowarp
    guild_vs1    mapflag    nowarpto
    guild_vs1    mapflag    guildlock

     

  6.   trunk/db/pre-re/skill_tree.txt

    latest script

    - Id: 84
        Name: WZ_JUPITEL
        Description: Jupitel Thunder
        MaxLevel: 10
        Type: Magic
        TargetType: Attack
        Flags:
          IsAutoShadowSpell: true
        Range: 9
        Hit: Multi_Hit
        HitCount:
          - Level: 1
            Count: 3
          - Level: 2
            Count: 4
          - Level: 3
            Count: 5
          - Level: 4
            Count: 6
          - Level: 5
            Count: 7
          - Level: 6
            Count: 8
          - Level: 7
            Count: 9
          - Level: 8
            Count: 10
          - Level: 9
            Count: 11
          - Level: 10
            Count: 12
        Element: Wind
        Knockback:
          - Level: 1
            Amount: 2
          - Level: 2
            Amount: 3
          - Level: 3
            Amount: 3
          - Level: 4
            Amount: 4
          - Level: 5
            Amount: 4
          - Level: 6
            Amount: 5
          - Level: 7
            Amount: 5
          - Level: 8
            Amount: 6
          - Level: 9
            Amount: 6
          - Level: 10
            Amount: 7    CopyFlags:
          Skill:
            Plagiarism: true
            Reproduce: true
        CastCancel: true
        CastTime: 500
        AfterCastActDelay:
          - Level: 1
            Time: 1200
          - Level: 2
            Time: 1000
          - Level: 3
            Time: 1400
          - Level: 4
            Time: 1200
          - Level: 5
            Time: 1600
          - Level: 6
            Time: 1400
          - Level: 7
            Time: 1800
          - Level: 8
            Time: 1600
          - Level: 9
            Time: 2000
          - Level: 10
            Time: 1800
        Requires:

     

×
×
  • Create New...