Jump to content

Racaae

Members
  • Posts

    132
  • Joined

  • Last visited

  • Days Won

    13

Community Answers

  1. Racaae's post in R>Morroc Rebuild epi 14.1 was marked as the answer   
    Hi
    map_morroc_rebuilding.gpf
  2. Racaae's post in Treasure Box with progress bar after mvp is killed was marked as the answer   
    Hi!
    Find:
    getitem .ItemID,1; //Change the [5] to the amount you wish to hand out. Replaee with:
    getunitdata killedgid, .@data; unitwarp getnpcid(0, "World Boss Treasure#wb"), mapid2name(.@data[UMOB_MAPID]), .@data[UMOB_X], .@data[UMOB_Y]; donpcevent "World Boss Treasure#wb::OnReward";  
    Then add this NPC at the end of the file:
     
  3. Racaae's post in help Searching how to delete this npc was marked as the answer   
    Disable the two scripts in npc/re/scripts_athena.conf
    https://github.com/rathena/rathena/blob/master/npc/re/scripts_athena.conf#L101-L102
  4. Racaae's post in summon another monster when mvp killed was marked as the answer   
    Hi. You need to set the array with IDs before using the conditional.
    You can use inarray to check if the monster killed ID is in the array.
     
    //Only monsters in the given array if ( inarray(.@monster_list, killedrid) > -1) //Only monsters who give MvP exp if ( getmonsterinfo( killedrid, MOB_MVPEXP) ) //Or both if ( inarray(.@monster_list, killedrid) > -1 || getmonsterinfo( killedrid, MOB_MVPEXP) ) Example:
    - script boss_treasure HIDDEN_WARP_NPC,{ end; OnNPCKillEvent: // add mvp & mini boss mob id's here setarray .@monster_list[0], 1312,1087,1086,1511; if ( inarray(.@monster_list, killedrid) > -1 || getmonsterinfo( killedrid, MOB_MVPEXP) ) { getmapxy(.@map$,.@x,.@y, BL_PC); monster .@map$, rand(.@x,.@x-3),rand(.@y-3,.@y), "--ja--", 1324, 1; } end; }  
  5. Racaae's post in Donation NPC HELP! was marked as the answer   
    Find:
    query_sql "SELECT `code` , `item_amount` , `validation_code` , `status` FROM `donate` ORDER BY `code` DESC", .@codelist$, .@status$, .@validation$; Replace:
    query_sql "SELECT `code` , `item_amount` , `validation_code` FROM `donate` ORDER BY `code` DESC", .@codelist$, .@status$, .@validation$;  
    Find:
    getitem .donate_item,@Donation_Code$; Replace:
    getitem .donate_item, atoi(@Donation_Code$);  
  6. Racaae's post in cannot add custom pet on pet exchanger was marked as the answer   
    You need to add the egg itemID and ticket itemID to the arrays.
    Example.
    setarray .@tickets, 6116, //Succu_Pet_Coupon 6117, //Imp_Pet_Coupon 6118, //Chung_E_Pet_Coupon 6129, //Ticket_Nightmare 6130, //Ticket_Loli_Ruri 6131, //Ticket_Goblin_Leader 6132, //Ticket_Incubus 6133, //Ticket_Miyabi_Ningyo 6134, //Ticket_Whisper 6135, //Ticket_Wicked_Nymph 6136, //Ticket_Medusa 6137, //Ticket_Stoneshooter 6138, //Ticket_Marionette 6139, //Ticket_Leafcat 6140, //Ticket_Dullahan 6141, //Ticket_Shinobi 6142, //Ticket_Golem 6143, //Ticket_Civil_Servant 6157, //Poring_Ticket 6158, //Drops_Ticket 6159, //Poporing_Ticket 6160, //Lunatic_Ticket 6161, //Picky_Ticket 6162, //Pecopeco_Ticket 6163, //Savage_Baby_Ticket 6164, //Spore_Ticket 6165, //Poison_Spore_Ticket 6166, //Chonchon_Ticket 6167, //Steel_Chonchon_Ticket 6168, //Petit_Ticket 6169, //Deviruchi_Ticket 6170, //Isis_Ticket 6171, //Smokie_Ticket 6172, //Dokebi_Ticket 6173, //Desert_Wolf_B_Ticket 6174, //Yoyo_Ticket 6175, //Sohee_Ticket 6176, //Rocker_Ticket 6177, //Hunter_Fly_Ticket 6178, //Orc_Warrior_Ticket 6179, //Bapho_Jr_Ticket 6180, //Munak_Ticket 6181, //Bongun_Ticket 6182, //Goblin_Ticket 6183, //Hardtack_Ticket 6184, //Zherlthsh_Ticket 6185, //Alice_Ticket 6883, //Pet_Snow_Bunny_Ticket 6884, //Pet_Tikbalang_Ticket XXXX; //MY CUSTOM PET TICKET ID setarray .@eggs, 9055, //Succubus_Egg 9056, //Imp_Egg 9030, //Chung_E_Egg 9054, //Nightmare_Terror_Egg 9042, //Loli_Ruri_Egg 9046, //Goblin_Leader_Egg 9052, //Incubus_Egg 9048, //Miyabi_Ningyo_Egg 9045, //Whisper_Egg 9047, //Wicked_Nymph_Egg 9050, //Medusa_Egg 9051, //Stone_Shooter_Egg 9043, //Marionette_Egg 9041, //Leaf_Cat_Egg 9049, //Dullahan_Egg 9044, //Shinobi_Egg 9053, //Golem_Egg 9040, //Civil_Servant_Egg 9001, //Poring_Egg 9002, //Drops_Egg 9003, //Poporing_Egg 9004, //Lunatic_Egg 9005, //Picky_Egg 9014, //PecoPeco_Egg 9009, //Savage_Bebe_Egg 9012, //Spore_Egg 9013, //Poison_Spore_Egg 9006, //Chonchon_Egg 9007, //Steel_Chonchon_Egg 9022, //Green_Petite_Egg 9023, //Deviruchi_Egg 9021, //Isis_Egg 9015, //Smokie_Egg 9019, //Dokkaebi_Egg 9010, //Baby_Desert_Wolf_Egg 9016, //Yoyo_Egg 9020, //Sohee_Egg 9011, //Rocker_Egg 9008, //Hunter_Fly_Egg 9017, //Orc_Warrior_Egg 9024, //Bapho_Jr 9018, //Munak_Egg 9025, //Bongun_Egg 9029, //Santa_Goblin_Egg 9028, //Rice_Cake_Egg 9026, //Zherlthsh_Egg 9027, //Alice_Egg 9058, //Snow_Rabbit_Egg 9059, //Tikbalang_Pet YYYY; //MY CUSTOM PET EGG ID  
  7. Racaae's post in Summon Boss support script was marked as the answer   
    Add below OnNPCKillEvent:
    if (mobcount(.map$, strnpcinfo(0)+"::OnBossKill")) end; *mobcount("<map name>","<event label>")
    This function will count all the monsters on the specified map that have a given
    event label and return the number or 0 if it can't find any.
     
    Your mapannounce is missing some values.
    *mapannounce "<map name>","<text>",<flag>{,<fontColor>{,<fontType>{,<fontSize>{,<fontAlign>{,<fontY>}}}}}};
    This command will work like 'announce' but will only broadcast to characters
    currently residing on the specified map.
    So the correct is:
    mapannounce .map$, "The player "+strcharinfo(0)+" has killed the boss!", bc_map;  
  8. Racaae's post in R> send item on mail was marked as the answer   
    Hi. I didn't test much. The command is @reward.
  9. Racaae's post in Help me to add guild skill check was marked as the answer   
    } else if (getskilllv("GD_APPROVAL") != 1) { mes "Official Guild Approval required to enter."; }  
  10. Racaae's post in Script: VIP System was marked as the answer   
    Hi. The variables need to be set when the server starts, so you need to add OnInit before the confs and end after. Like this:
    OnInit: //**************** VIP SYSTEM CONFIGURATION ************************* set $VIPs_SilverAccLevel,1; // Account Level assigned for VIP Silver * set $VIPs_GoldAccLevel,2; // Account Level assigned for VIP Gold * set $VIPs_PlatinumAccLevel,3; // Account Level assigned for VIP Platinum * set $VIPs_SilverExpRate,50; // VIP Silver Exp Boost in % ( 1 = 1% ) * set $VIPs_GoldExpRate,100; // VIP Gold Exp Boost in % ( 1 = 1% ) * set $VIPs_PlatinumExpRate,200000; // VIP Platinum Exp Boost in % ( 1 = 1% ) * set $VIPs_SilverItemRate,10; // VIP Silver Item Drop Boost in % ( 1 = 1% ) * set $VIPs_GoldItemRate,20; // VIP Gold Item Drop Boost in % ( 1 = 1% ) * set $VIPs_PlatinumItemRate,30; // VIP Platinum Item Drop Boost in % ( 1 = 1%)* set $VIPs_AdminGmLevel,99; // Define GM Level enabled to add, list and * // remove VIP entries. Any GM with access le- * // vel equal or higher than this will be able * // to manage VIP Accounts. * // ******************************************************************** end;  
×
×
  • Create New...