Jump to content

Capuche

Developer
  • Posts

    2,401
  • Joined

  • Last visited

  • Days Won

    47

Capuche last won the day on July 14

Capuche had the most liked content!

About Capuche

Profile Information

  • Gender
    Male
  • Location
    France
  • Server
    None
  • Github: Atemo
  • Discord: Atemo

Recent Profile Visitors

13,884 profile views

Mood

  • Cool
  • Currently Feeling Cool

Capuche's Achievements

  1. Maybe there is a mistake in your group name ? item_group_db_.yml - Group: MyItemGroup Contain: the name in const.yml must be IG_MyItemGroup because 'IG_' is appended to the name when the file is read.
  2. Ratio is a number between 0 and 10000, it can't exceed 10000 like in conf/battle/drops.txt 0 to remove the item 1 for 0.01% 10000 for 100% (in theory)
  3. To add a custom monster summon branch, the steps are: Add MOBG_G_D_Branch_01 before MOBG_MAX in https://github.com/rathena/rathena/blob/2f311bd1ef6abf0de642f93690eb37bebbb34d14/src/map/mob.hpp#L116 Add MOBG_G_D_Branch_01 after export_constant(MOBG_TAEKWON_MISSION); in https://github.com/rathena/rathena/blob/2f311bd1ef6abf0de642f93690eb37bebbb34d14/src/map/script_constants.hpp#L4625 After compiling your server should have created a folder named "import". Add your custom branch data in import/mob_summon.yml Header: Type: MOB_SUMMONABLE_DB Version: 1 Body: - Group: G_D_Branch_01 Default: MAYA Summon: - Mob: MAYA Rate: 100000 - Mob: DEVILING Rate: 700000 - Mob: Drake Rate: 700000 4. In import/item_db.yml - Id: **** AegisName: name Name: name Type: Usable Buy: 10000 Weight: 200 Flags: BuyingStore: true DeadBranch: true Script: | monster "this",-1,-1,"--ja--",-1-MOBG_G_D_Branch_01,1,""; All other steps are unnecessary (I think you just forgot to compile according to the error in your first post).
  4. In switch(instance_enter( [email protected]$, 170, 36, [email protected]_id, 102)) { "102" should be replaced by the instance id of your guild given by instance_id(IM_GUILD)
  5. Post your instance_enter line here we will see what's going on
  6. *instance_enter("<instance name>",{<x>,<y>,<char_id>,<instance id>}); Warps the attached player to the specified <instance id>. If no ID is specified, the IM_PARTY instance the invoking player is attached to is used. you need to fill the instance id parameter to enter in the other type of instance than party. The instance without timer is currently not supported but you may use this pull request https://github.com/rathena/rathena/pull/5112
  7. # ItemCost: Item required to cast. (Default: 0) # - Item Item name. # Amount Item amount. How come you came to think that the file could support this when it's not in the documentation hmm.............
  8. How about https://github.com/rathena/rathena/blob/c5cf2f6e42b1cb88d501e0b3e7c56e870b928209/doc/script_commands.txt#L6567 *unloadnpc "<NPC object name>"; This command will fully unload a NPC object and all of it's duplicates.
  9. AG_CHATTING is not supported yet. See the pull request https://github.com/rathena/rathena/pull/4446 for an initial implementation.
  10. https://github.com/rathena/rathena/commit/d4d8130bcf0733d4d9edc4019db02184912c13c0
  11. Your old file have mistakes, your items should be type armor instead of weapon (4 instead of 5), or if they are supposed to be weapon type, the 'viewid' of the weapon must be defined source side.
  12. ^ The tool to convert txt to yml (csv2yaml) can convert your import/item_db.txt as well. Compile the tool, run it !
  13. The 'SubType' (or viewid) 1100 for weapon doesn't exist. Replace the item type 5 (weapon) by type 4 (armor). 30001,Akatsuki_Hat,Akatsuki_Hat,4,10000...
  14. The quest system already handle the timer. For example - Id: 9998 Title: "Memorial Dungeon: Champion" TimeLimit: 4h - Id: 9999 Title: "Memorial Dungeon: Champion" TimeLimit: +4h 9998 is reset at every 4:00, 9999 is reset 4h after the quest is given. The issue of the topic owner was because he made some mistakes in the NPC script, the conditions on the timers were always false so the player could always recreate the instance. Sample of correction switch( checkquest(9998,PLAYTIME) ) { case -1: break; case 0: case 1: mes "^ff0000Memorial Dungeon cannot be reentered within 8 hours after your last entrance.^000000"; mes "Reset Every 04:00 AM"; close; case 2: erasequest 9998;// Memorial Dungeon: Champion break; } switch( checkquest(9999,PLAYTIME) ) { case -1: break; case 0: case 1: mes "^ff0000Memorial Dungeon cannot be reentered within 8 hours after your last entrance.^000000"; mes "Reset Every 04:00 AM"; close; case 2: erasequest 9999; break; } Create INSTANCE
  15. https://github.com/rathena/rathena/blob/master/doc/item_db.txt#L186
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.