Jump to content

Lilith

Members
  • Posts

    407
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by Lilith

  1. there will be a final release lilith ?

    Of course :) This version is Pre-Alfa (small functional). I would like add more features.

    Next version will be with documentation.

    Can we have faction channel、 faction Alliance channel?

    • faction channel : player with the same faction can use this channel.
    • faction Alliance channel: player with the same faction Alliance can use this channel.

    btw ,nice system /no1

    Thanks, i'll add it.

  2. Ну во-первых, не С++, а С (Си), во-вторых, можно проверить твои конфиги, если ты чего то не понял. Введи @mi 1002 в игре и кинь сюда строки с шансами выпадения.

  3. if(getequipid(1)>0 && getequipid(9)>0 && getequipid(10)>0){......}
    

    I think to use getequipid would be better

    I think this would be better too o.O

    *isequipped(<id>{,<id>{,<id>{,<id>}}})

    This function will return 1 if the invoking character has all of the item

    IDs given equipped (if card IDs are passed, then it checks if the cards are

    inserted into slots in the equipment they are currently wearing). Theoretically

    there is no limit to the number of items that may be tested for at the same time.

    If even one of the items given is not equipped, 0 will be returned.

    // (Poring,Santa Poring,Poporing,Marin)

    if (isequipped(4001,4005,4033,4196)) mes "Wow! You're wearing a full complement of possible poring cards!";

    // (Poring)

    if (isequipped(4001)) mes "A poring card is useful, don't you think?";

    The function was meant for item scripts to support the cards released by Gravity

    in February 2005, but it will work just fine in normal NPC scripts.

    if(isequipped(<id1>,<id2>,<id3>) { bonus bAllStats,5; skill "SM_BASH",(<skill_lvl>); }

  4. Request # 2

    if(isequipped(Item_ID) && isequipped(Item_ID) && isequipped(Item_ID)) { bonus bAllStats,5; }

    if(isequipped(Item_ID) && isequipped(Item_ID) && isequipped(Item_ID)) { bonus bAllStats,5; skill "SM_BASH",(skill_lvl); }

  5. Не знаю я ваших гайдов )

    char_athena.conf

    строка

    //login_ip: 127.0.0.1

    должна выглядеть так:

    login_ip: внешний_Ip

    строка

    //char_ip: 127.0.0.1

    должна выглядеть так:

    char_ip: внешний_Ip

    map_athena.conf

    //char_ip: 127.0.0.1

    char_ip: внешний_Ip ( который указан в char_athena.conf )

    //map_ip: 127.0.0.1

    map_ip: внешний_Ip

  6. -	script	Reward	-1,{
    OnPCLoginEvent:
    if( #RD == gettime(8) ) end;
    set .@rewarditem, rand( getarraysize( .rewarditem ) );
      query_sql "INSERT INTO `storage` VALUES (NULL, "+ getcharid(3) +", "+.@rewarditem+", 1 , 0, 1, 0, 0, 0, 0, 0, 0, 0)";
    set #RD,gettime(8);
    end;
    Oinit:
    setarray .rewarditem[0],512,513,514; //reward item id
    end;
    }

    it will not work =

  7. Exe version?

    conf/battle/client.conf

    // Set this to 1 if your client supports status change timers and you want to use them

    // Clients from 2009 onward support this

    display_status_timers: yes

  8. - script PvP_System -1,{
    OnPCKillEvent:
    if(strcharinfo(3) != "pvp_y_1-2") end;
    if(@LastKilled == killedrid) end;
    set .@Killer,getcharid(3);
    set .@Killed,killedrid;
    detachrid;
    if(attachrid(.@Killed)){
    if(#CASHPOINTS){
     dispbottom "You Lost 1 Cash Point from "+rid2name(.@Killer);
     set #CASHPOINTS,#CASHPOINTS-1;
     emotion e_sob,1;
     detachrid;
     if(attachrid(.@Killer)){
      dispbottom "You Gained 1 Cash Points from "+rid2name(.@Killed);
      emotion e_meh,1;
      set #CASHPOINTS,#CASHPOINTS+1;
      set @LastKilled,.@Killed;
      attachnpctimer;
      initnpctimer;
     }
    } else {
     emotion e_sob,1;
     detachrid;
     if(attachrid(.@Killer)){
      dispbottom "Sorry no cash points on the "+rid2name(.@Killed);
      emotion e_meh,1;
      set @LastKilled,.@Killed;
      attachnpctimer;
      initnpctimer;
     }
    }
    }
    end;
    OnTimer180000:
    set @LastKilled,0;
    stopnpctimer;
    detachnpctimer;
    end;
    }

×
×
  • Create New...