Jump to content

Emistry

Forum Moderator
  • Posts

    10015
  • Joined

  • Days Won

    396

Community Answers

  1. Emistry's post in Looking for somthing to either FullStrip or unequip/disable weapons was marked as the answer   
    OnPCLoadMapEvent: while( strcharinfo(3) == "mapname" ){ unequip EQI_HAND_L; unequip EQI_HAND_R; sleep2 5000; } end; FCP status can be bypass if they enter the map without wearing any equipment/weapons ...
     
    this kind of request should be done through source mod .... 
  2. Emistry's post in party points was marked as the answer   
    OnNPCKillEvent:
    .@party = getcharid(1);
    .@map$ = strcharinfo(3);
    if( .@party ){
    addrid( 2,0,.@party );
    if( HP > 1 && strcharinfo(3) == .@map$ ){
    #CASHPOINTS += 20;
    }
    }
    end;

  3. Emistry's post in Need help on get array size was marked as the answer   
    like this ?
    setarray .@items[0],15000,15001,15002,15003; .@item_size = getarraysize( .@items ); for( .@i = 0; .@i < .@item_size; .@i++ ){ if( !countitem( .@items[.@i] ) ){ dispbottom "You dont have "+getitemname( .@items[.@i] ); end; }else if( !isequipped( .@items[.@i] ) ){ dispbottom "You didnt equip with "+getitemname( .@items[.@i] ); end; } }
  4. Emistry's post in Sell shop NPC was marked as the answer   
    create a custom npc script...
    *callshop "<name>",<option>; These are a series of commands used to create dynamic shops. The 'callshop' function calls an invisible shop (view -1) as if the player clicked on it. The options are: 0 = The normal window (buy, sell and cancel) 1 = The buy window 2 = The sell window
  5. Emistry's post in Can't load scripts_custom.conf was marked as the answer   
    npc/re/scripts_main.conf#L46
    make sure it's loaded ...
  6. Emistry's post in Error Message - pick logs was marked as the answer   
    repair your sql table..
  7. Emistry's post in who can edit this please? was marked as the answer   
    input .@amount;
    if( ( .@amount % 10 ) > 0 ){
    mes "Enter multiple of 10...";
    close;
    }
  8. Emistry's post in NPC with password. was marked as the answer   
    if( select("Yes:No") == 1 ) {

  9. Emistry's post in R>skill was marked as the answer   
    .....{ skill "ASC_EDP"; },{},{}

  10. Emistry's post in pc_bonus warnings was marked as the answer   
    src/map/pc.h#L23
    #define MAX_PC_BONUS 10
  11. Emistry's post in 2nd Sec, system was marked as the answer   
    use ur gm char...talk with the npc and select create table ..
  12. Emistry's post in Killable when you wear specific item was marked as the answer   
    .......{},{ atcommand "@killable"; },{ atcommand "@killable"; } or i think you also also try the karma system...but the karma system required both player to have negative karma in order to be able to hit each others...
  13. Emistry's post in suggestion and bugs reporting npc was marked as the answer   
    just an npc to inform gm ??
    https://rathena.org/board/index.php?/files/file/2498-%7B?%7D/
  14. Emistry's post in Coin Trader was marked as the answer   
    https://rathena.org/board/index.php?/files/file/2821-%7B?%7D/
     
    Exchanger [ Cashpoint to Coins ] Exchanger [ Poring Coin - Zeny ] Exchanger [ Points to Tickets ] Exchanger [ Item to Item ] Exchanger [ Item to Item ] Exchanger [ Multi Item to 1 Item ]
  15. Emistry's post in Random TEXT at Waiting ROOM.. was marked as the answer   
    OnInit:
    setarray .message$,
    "Hello",
    "Good Morning";
    set .message_size,getarraysize( .message$ );
    while( .message_size ){
    delwaitingroom;
    waitingroom ""+.message$[ rand( .message_size ) ],0;
    sleep 60000;
    }
    end;

  16. Emistry's post in @order command, how to enable was marked as the answer   
    - script Sample -1,{
    OnInit:
    bindatcmd "order",strnpcinfo(3)+"::OnAtCommand";
    end;
    OnAtCommand:
    .@guild_id = getcharid(2);
    if( .@guild_id && getcharid(0) == getguildmasterid( .@guild_id ) ){
    .@name$ = strcharinfo(0);
    .@message$ = implode( .@atcmd_parameters$," " );
    .@size = query_sql( "SELECT `account_id`,`char_id` FROM `guild_member` WHERE `guild_id` = "+.@guild_id+" AND `online` = 1 ORDER BY `position` ASC",.@aid,.@cid );
    while( .@i < .@size ){
    if( isloggedin( .@aid[.@i],.@cid[.@i] ) )
    if( attachrid( .@aid[.@i] ) ){
    announce .@name$+": "+.@message$,bc_self;
    .@received++;
    }
    .@i++;
    }
    attachrid( .@aid[0] );
    dispbottom "Message sent.."+.@received+" received";
    }
    end;
    }


    @order <messages>

  17. Emistry's post in request please was marked as the answer   
    Case 1:
    soundeffect "1234567890123456789.wav",0;
    sc_start SC_INCATKRATE,( .Duration * 1000 ),100;
    sc_start SC_INCMATKRATE,( .Duration * 1000 ),100;
    break;

  18. Emistry's post in Death Penalty was marked as the answer   
    inside trunk/src/map/pc.c , find these...
    base_penalty = (unsigned int) ((double)pc_nextbaseexp(sd) * (double)battle_config.death_penalty_base/10000); base_penalty = (unsigned int) ((double)sd->status.base_exp * (double)battle_config.death_penalty_base/10000); base_penalty = (unsigned int) ((double)pc_nextjobexp(sd) * (double)battle_config.death_penalty_job/10000); base_penalty = (unsigned int) ((double)sd->status.job_exp * (double)battle_config.death_penalty_job/10000); just edit these 4 line by adding another IF-ELSE condition to check for GM Level / Group ID for different penalty..
  19. Emistry's post in Euphys Quest Shop - Announce Name For Complete Quest was marked as the answer   
    trunk/npc/custom/quests/quest_shop.txt
    // ----------------------------------------------------------- // Basic shop settings. // ----------------------------------------------------------- set .Announce,1; // Announce quest completion? (1: yes / 0: no)
  20. Emistry's post in R>need was marked as the answer   
    trunk/conf/battle/client.conf
    // Valid range of dyes and styles on the client. min_hair_style: 0 max_hair_style: 27 min_hair_color: 0 max_hair_color: 8 min_cloth_color: 0 max_cloth_color: 4
  21. Emistry's post in Leveling Room was marked as the answer   
    prt_fild00,0,0,0,0 monster Poring 1002,40,0,0,"Leveling Room::OnLevelUp"

  22. Emistry's post in MVP Cash Points -> Party Share? was marked as the answer   
    try
    http://pastebin.com/raw.php?i=5FL1ktcy
  23. Emistry's post in Help with Item Script please was marked as the answer   
    Job_Minstrel 4068 Job_Minstrel_T 4075 there are 2 type of 3rd job class...regular / transcendent
  24. Emistry's post in auto refiner npc was marked as the answer   
    trunk/npc/merchants/refine.txt
    callfunc "refinemain","Hollgrehenn",1; callfunc "refinemain","Aragham",1; callfunc "refinemain","Antonio",1; callfunc "refinemain","Fredrik",1; callfunc "refinemain","Lambert",1; callfunc "refinemain","Manthasman Pruhag",1; callfunc "refinemain","Fulerr",1;
  25. Emistry's post in Poring Coin NPC Please was marked as the answer   
    https://rathena.org/board/index.php?/files/file/2504-%7B?%7D/
    'or euphy questshop
×
×
  • Create New...