Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/30/13 in all areas

  1. there no end; so it will continue and process the whole waitingroom again. //Quest Warper prontera,164,162,4 script Questing Warper 790,{ warp "que_temsky" ,99,141; end; //NO END OnInit: waitingroom "[ Questing Room ]",0; end; }
    2 points
  2. RO Open Setup About Clone of the default game setup application, shipped with every RagnarokOnline installation. It works on every 32-bit Microsoft* Windows* platform. Source is available for customizations. Known Issues None. Translations English - 100% (primary) French - 100% (Valioukha) German - 100% (Xalion) Brazilian Portuguese - 100% (EvilPuncker) Czech - 100% Japanese - 100% (Mintmoon) Russian - 100% (Jarek) Simplified Chinese - 100% (tinpont) Spanish - 100% (jaBote) Thai - 100% (iSuzutsuki) Traditional Chinese - 100% (Angelmelody) translate OpenSetup into your language Q & A Why does the client not use the Lua settings? Use latest OpenSetup version. If that's already the case, use newer client. Why does OpenSetup not let me to save without Administrator? A few settings are still written to a location in the registry, that needs Administrator rights. I have have issues with OpenSetup, is there something I should add to my report? When you experience the issue, press Shift+Esc inside the OpenSetup window until it closes and provide the generated log file (exename.log) along with your report. Download & Website http://ai4rei.net/p/opensetup License This work is licensed under a Creative Commons Attribution-Noncommercial 3.0 Unported License.
    1 point
  3. Next Development Updates that need more attention will be posted here. Please keep up-to-date with rAthena for avoiding old bugs and please report all issue or bug on our bugtracker. Thank you for using and supporting rAthena. News Index:Updated: Plagiarism and Reproduce (skill_copyable_db.txt) Added: INF2_NO_NEARNPC for skill_db.txt Added: ReqItems column on skill_requre_db.txt Added: New Skills of Episode 14.3 Part 2 Added new atcommand: @autoloottype type core.h update: HP_SP_TABLES config Moved: db/item_delay.txt Modified: @dropall <type> Now support: 2013-08-07a Ragexe Added: Rebellion Job Added: Rebellion Skills! Implemented: Banking System (for 2013 client) Implemented: Monster Transformation support! Added script command: *bonus_script Implemented: Shadow Equipment System Initial realese: Official VIP System! Added: Item & Point (variable) Shop Added config: 'update_enemy_position' Fixed 'cell_basilica' for setcell script Added config: 'devotion_rdamage' old devotion behavior New Item Group Structure Class System: Class_Normal, Class_Boss, and Class_Guardian DB Import: db/import/ Updated: Global Function Added config: check_db New Race: RC_PLAYER Updated Item Bonus: bAddMonsterIdDropItem, bonus3 bAddClassDropItem, bonus3 bAddClassDropItemGroup 3rd Class 2011 Post Balance Update Added script command: *isbegin_quest Implemented: Kagerou/Oboro job change quest Implemented: iRO 2013 Halloween event NPC Added: Author list Added: Monster spawn list for iRO 2013 Halloween event Added: Rebellion Trader NPCs Added: idRO Cash Trader NPCs Added script command: *strcmp Implemented: Kagerou/Oboro Gear Enchants Implemented: Mail Annex Station scripts to iRO Eden Added: Oktoberfest Costume Implemented: 2012 Headgear Quests Implemented: Kagerou/Oboro Equipment Quests Implemented: 2010 Headgear Quests Implemented: Autotrade Persistency Added: 2013 iRO/kRO Christmas Event Added item bonus: bMaxWeight Added item package: IG_Sg_Weapon_Supply_Box Added new atcommand: @showrate Added config: vip_disp_rate Added config: disp_serverbank_msg Added config: warg_can_falcon Implemented: "Script Command to block commands" Added config: path_blown_halt Updated: @iteminfo Removed: Option_Mounting Added new script command: *preg_match Added: INF2_NO_AUTOSHADOWSPELL for skill_db.txt Major custom folder update Replaced INF2_NO_AUTOSHADOWSPELL with INF2_AUTOSHADOWSPELL Implemented: Autotrade Persistency for Buyingstore Implemented: @warp <map> suggestion Added source documentation Added: pRO/twRO "Card Exchange" NPC Updated script command: *instance_enter Replaced: 'getserverdef' command with 'script_hardcoded_constants' function in source Implemented: 'teleport_on_portal' battle config to allow avoidance of Teleporting on top of Map Warp Portals Implemented: 'OnPCStatCalcEvent' label Implemented: 'countitem' and 'delitem' script command variants Added: @costume Added: Icon (SI) for SC_ITEMSCRIPT in 'val2' of sc_start Implemented: Item Flag Added: Support for 2013-12-23c client Implemented: Wolfchev's Laboratory instance Added: 'feature.auction' battle_config for enabling/disabling Auction System Added item bonus: bonus2 bAddItemGroupHealRate,ig,n; Cleaned up the Font System. Char-Server refactor! Battle Config Updates Plagiarism and Reproduce: Updated! commit: 5e6626e Removed db/skill_reproduce_db.txt Added db/skill_copyable_db.txt INF2_NO_NEARNPC commit: 659cc57 A new inf2 value for db/[pre-]re/skill_db.txt that makes skill can't be casted near NPC. Added db/skill_nonearnpc_db.txt ReqItems column on skill_require_db.txt commit: c70762a Equip(s) (item_id) that need to be equipped for casting a skill Added ReqItems column on latest column of db/[pre-]re/skill_require_db.txt CAUTION: If you have custom skills, please update this yourself Episode 14.3 Skills: Implemented! commit: 8a66d82 Added skills: GC_DARKCROW,Dark Claw RA_UNLIMIT,Unlimited GN_ILLUSIONDOPING,Illusion Doping RK_DRAGONBREATH_WATER,Dragon Breath - Water RK_LUXANIMA,Lux Anima NC_MAGMA_ERUPTION,Magma Eruption WM_FRIGG_SONG,Frigg's Song SO_ELEMENTAL_SHIELD,Elemental Shield SR_FLASHCOMBO,Flash Combo SC_ESCAPE,Emergency Escape AB_OFFERTORIUM,Offertorium WL_TELEKINESIS_INTENSE,Intense Telekinesis LG_KINGS_GRACE,King's Grace ALL_FULL_THROTTLE,Full Throttle SR_FLASHCOMBO_ATK_STEP1,Flash Combo Attack Step 1 SR_FLASHCOMBO_ATK_STEP2,Flash Combo Attack Step 2 SR_FLASHCOMBO_ATK_STEP3,Flash Combo Attack Step 3 SR_FLASHCOMBO_ATK_STEP4,Flash Combo Attack Step 4 NOTE: Need 2013 client to make this skill usable @autoloottype: Implemented! commit: a487746 @autoloottype <item type> #define HP_SP_TABLES: a new core.h config commit: af108b2 Allows you to bypass the job HP and SP tables, db/[pre-]re/job_maxhpsp_db.txt db/item_delay.txt is moved! commit: 100bd4a pre-re: db/pre-re/item_delay.txt re: db/re/item_delay.txt CAUTION: If you have custom item on that files, better you recheck the file! @dropall: Modified! commit: 341da22 @dropall <item type> 2013-08-07aRagexe Support! commit: f056629 packet_ver: 45 on db/packet_db.txt src/common/mmo.h: #define PACKETVER 20130807 Rebellion: Implemented! commit: f056629, f058c4d Need 2013-08-07 client The skills aren't done yet (but you can use Gunslinger's skills) CAUTION: For users that use MySQL for item_db, please update your table with sql_files/item_db.sql for Pre-Renewal and sql_files/item_db_re.sql for Renewal server Added 0x40000000 for item_db Job column Rebellion Skills: Implemented! commit: 507f047 Attempt to bring Rebellion Skills on rAthena. See more, click here. Banking System: Implemented! commit: 1290826 CAUTION: Please update your main database with sql-files/upgrades/upgrade_20131105.sql Only for PACKETVER >= 20130724 Need to enable feature.banking: on (conf/battle/feature.conf) Monster Transformation: Updated! commit: 9c438ce Merged from Hercules 9692bc0 CAUTION: For Renewal user that use sql item_db, please update your item_db table with new sql_files/item_db_re.sql bonus_script: Added New Script Command! commit: 99098c1, 9e8e3cf, sample of use dcb2572 This script command allows you to make 'timed item bonus' CAUTION: Please upgrade your main database with sql-files/upgrades/upgrade_20131111.sql file to avoiding error and as storage of bonus_script. Shadow Equipment System: Implemented! commit: bd2503e, 7355677, fef6307 Item type: 12 New loc values:2^15 32768 = Ammo 2^16 65536 = Shadow Armor 2^17 131072 = Shadow Weapon 2^18 262144 = Shadow Shield 2^18 524288 = Shadow Shoes 2^20 1048576 = Shadow Accessory 2 2^21 2097152 = Shadow Accessory 1 CAUTION: Please for user who use MySQL for item_db/item_db_re/item_db2, please upgrade your tables with sql-files/upgrades/upgrade_20131115.sql first, then sql-files/upgrades/upgrade_20131115_2.sql Initial release: Official VIP System! commit: 3064821, d2ee0dd More info, click Official VIP System CAUTION: Please upgrade your database with sql-files/upgrades/upgrade_20131118.sql Initial release: Item & Point Shop commit: 32fd3ee, 1ce4dbf More info, click Item and Point Shop update_enemy_position commit: 43c21ad // Update enemy position while in invisible state? (Note 1) // NOTE: Set to 'no' will make client won't update enemy position unless the players have "Intravision" effect. // So that will help client handling WPE - Maya Purple Hack stuff. // But it will screw 'the game animation display' while players in invisible state.[/topic] Fixed cell_basilica commit: c88b77f Now 'cell_basilica' by 'setcell' script will works! devotion_rdamage commit: 432cdb7 on conf/battle/skill.conf // Using 'old' behavior for devotion vs reflect damage? (Note 2) // Default is 0 (official). If 'devotion_rdamage' is > 0 (chance to devot the reflected damage), // when player with devotion attacks player with reflect damage ability (item bonus or skill), // the damage will be taken by the person who provides devotion instead the attacker. devotion_rdamage: 0 New Item Group Structure commit: 51074a0 Structure: GroupID,ItemID,Rate,Amount,Random,isAnnounced,Duration,isNamed,isBound Added new script command and edited some following this change, more info Class System commit: dae8122, b695ab3, 8120164, 3f4c389 Added: Class_Normal, Class_Boss, and Class_Guardian. Many many changes on this commit (and also the follow ups), click here for more info DB Import commit: 28ecab5, ff29c23, b9aae13 Added import folder for db files. Now you can put your mods on that folder. Like previously, db/item_db2,txt, now it's on db/import/item_db.txt Updated Global Functions commit: 97687ca, 834f3ba, 45c2a3a Updated some global function. Click here for more details. check_db commit: 4af3145 Added a check_db on char-serv startup to ensure all sql-tables was loaded correctly and avoid error on runtime. RC_PLAYER commit: 40f7014 Since official added new RC identification to ensure certain item only work when WoE/PvP, they added Race identifier for player. From now on, Player is not RC_DEMIHUMAN anymore! Player is RC_PLAYER by default. Because of this, some items that has bonus RC_DEMIHUMAN effect before, are being added with RC_PLAYER. Example for Thara Frog Card. Updated Item Bonus: bAddMonsterIdDropItem, bonus3 bAddClassDropItem, bonus3 bAddClassDropItemGroup commit 32713b9 Item bonus 'bAddClassDropItem' renamed to 'bAddMonsterIdDropItem' bonus3 bAddClassDropItem,item_id,class,rate; bonus3 bAddClassDropItemGroup,group_id,class,rate; 3rd Class 2011 Post Balance Update commit 0f7ecd0 Updated many skill formulas according to 2011 Post Balance Patch. More info: Third Class 2011 Post Balance Added script command: *isbegin_quest commit a3dbbe2 Check the quest status of invoker player. More info: click here Implemented: Kagerou/Oboro job change quest commit b2d96cb Also added Kagerou/Oboro support to other Ninja-related files Implemented: iRO 2013 Halloween event NPC commit 93c6386, 645e110 Added file: npc/events/halloween_2013.txt, disabled by default Also updated quest_db according this halloween event Added: Author list commit c0e87af File containing names of major contributors to Athena Added: Monster spawn list for iRO 2013 Halloween event commit c611840 Added monster spawn at npc/events/halloween_2013.txt Added: Rebellion Trader NPCs commit 389ac2a Screenshots: http://rathena.org/board/topic/90115-item-db-help/page-2#entry238439 Added: idRO Cash Trader NPCs commit d35ac5a Added file: npc/re/merchants/cash_trader-idRO.txt, disabled by default Added items according to this updates. NOTE: By using kRO files, some items aren't exist Added script command: *strcmp commit d569d28 More info: click here Implemented: Kagerou/Oboro Gear Enchants commit 9b5798d Added file: npc/re/merchants/enchan_ko.txt Implemented: Mail Annex Station scripts to iRO Eden commit 2ec01da Also added annex tool dealer. Added: Oktoberfest Costume commit b818c78 Added some SCs: SC_OKTOBERFEST, SC_STRANGELIGHTS, and SC_DECORATION_OF_MUSIC NOTE: Requires client version 20131218 or newer Implemented: 2012 Headgear Quests commit 5d08795 Added new SCs: SC_QUEST_BUFF1, SC_QUEST_BUFF2, and SC_QUEST_BUFF3 Added new file: npc/re/quests/newgears/2012_headgears.txt Info from iRO Wiki Implemented: Kagerou/Oboro Equipment Quests commit e6bd362 Added new file: npc/re/quests/ninja_quests.txt Implemented: 2010 Headgear Quests commit 189a46d Added new file: npc/re/quests/newgears/2010_headgears.txt Updated db/quest_db.txt Implemented: Autotrade Persistency commit 27cbc7f Please read this topic for more info Autotrade Persistence & Live Vendor Data Added: 2013 iRO/kRO Christmas Event commit 3813aaa Added new file: npc/events/christmas_2013.txt with monster spawn. Disabled by default Updated db/quest_db.txt, db/re/item_db.txt and db/re/item_package.txt Added item bonus: bMaxWeight commit 0b6c542 bonus bMaxWeight,weight; Added item package: IG_Sg_Weapon_Supply_Box commit 0b6c542 Item package for Sg_Weapon_Supply_Box (12675) Added new atcommand: @showrate commit 31d9712 To disable/enable the message of rate information when VIP is enabled Added config: vip_disp_rate commit 31d9712 Added config 'vip_disp_rate' at conf/battle/player.conf To set the message of rate information (EXP, Drop, and Death penalty message) is displayed or not by default Added config: disp_serverbank_msg commit 31d9712 Added config 'disp_serverbank_msg' at conf/battle/misc.conf To hide "login-serv has been asked to %s the player '%.*s'." message Added config: warg_can_falcon commit 11e507b Added config 'disp_serverbank_msg' at conf/battle/battle.conf, disabled by default Enable player can has Falcon and Warg at same time Implemented: " Script Command to block commands" commit 0310870 Added config 'atcommand_enable_npc' at conf/battle/gm.conf Added new script commands: enable_command and disable_command. See here for more info. Added config: path_blown_halt commit 61f3caa Added config 'path_blown_halt' at conf/battle/skill.conf For official pushback behavior: Hitting a wall will now always cause units to halt, rather than to continue sliding against the wall Updated: @iteminfo commit 8fff37e Now @iteminfo will display type of ammunition instead 'Arrow/Ammunition' Removed: Option_Mounting commit fd063a8 Option_Mounting now is removed, changed to SC_ALL_RIDING Added new script command: *preg_match commit 957f495 preg_match(<regex pattern>,<string>{,<offset>}) More info click here Added: INF2_NO_AUTOSHADOWSPELL for skill_db.txt commit: c9cf222 This inf2 option makes the imitated skill (by Plagiarism or Reproduce) cannot be auto-casted by Shadow Chaser skill, Auto Shadow Spell Replaced with INF2_AUTOSHADOWSPELL at b4bdaeb Major custom folder update commit: 163a98c These scripts have been chosen for being unique and useful, yet structurally simple. In this way, they can serve as usable reference material for future user scripts. Contents: Battleground: bg_emp (Emperium breaker), bg_pvp (PVP match) Event: mvp_ladder (kill every MVP to win), devil_square (3-round monster summoning event) Utility: card_seller (sells all monster cards), mvp_room (private MVP summoning room), autopot (automatically use potions when hit) Credits to AnnieRuru for offering up her scripts and modifying them for use. Other changes:Moved previous custom battleground scripts into 'battleground/unofficial/'. Moved custom holiday event scripts into 'event/holiday/ Added scripts:npc/custom/battleground/bg_emp.txt npc/custom/battleground/bg_pvp.txt npc/custom/card_seller.txt npc/custom/etc/autopot.txt npc/custom/etc/mvp_room.txt npc/custom/events/devil_square.txt npc/custom/events/mvp_ladder.txt Replaced INF2_NO_AUTOSHADOWSPELL with INF2_AUTOSHADOWSPELL commit: b4bdaeb This inf2 option makes the imitated skill (by Plagiarism or Reproduce) can be listed by Auto Shadow Spell (SC_AUTOSHADOWSPELL) by Shadow Chaser skill. By default, the available skills are: MG_FIREBOLT, Firebolt MG_FIREBALL, Fireball MG_FIREWALL, Firewall MG_COLDBOLT, Coldbolt MG_FROSTDIVER, Frost diver MG_LIGHTNINGBOLT, Lightning bolt MG_THUNDERSTORM, Thunder storm MG_NAPALMBEAT, Napalm beat MG_SOULSTRIKE, Soul Strike AL_HEAL, Heal WZ_FIREPILLAR, Fire Pillar WZ_SIGHTRASHER, Sightrasher WZ_METEOR, Meteor Storm WZ_JUPITEL, Jupitel Thunder WZ_VERMILION, Lord of Vermilion WZ_WATERBALL, Waterball WZ_FROSTNOVA, Frost Nova WZ_STORMGUST, Storm Gust WZ_EARTHSPIKE, Earth Spike WZ_HEAVENDRIVE, Heaven's Drive Implemented: Autotrade Persistency for Buyingstore commit: b3506fb, ff9b625, 996ee3d, 899f3c1 Just like Vending, now Buyingstore also supported by autotrade persistency. CAUTION: Added new upgrade file, sql-files/upgrades/upgrade_20140205.sql. Import this .sql file or execute the queries inside Implemented: @warp <map> suggestion commit: f3777cc To enable this feature, turn on 'feature.warp_suggestions' on conf/battle/feature.conf#L24 When invalid map name is specified while using @warp command, map name suggestion will be shown. Added source documentation commit: 1d77a9f doc/source_doc.txt provides a concise overview of rAthena's source code, and is a great starting point for users looking to gain a better understanding of how the emulator works. Maybe later, we will provide the proper source documentation for rAthena project (such UML) "Added: pRO/twRO " Card Exchange" NPC commit: c7e020a Added new NPC: npc/re/merchants/card_exchange.txt "Updated script command: *instance_enter commit: 1f426bc, d068dff, 233d7ac Added 2 optional parameters: *instance_enter "<instance name>",<x>,<y>); More info, click here. "Replaced: 'getserverdef' command with 'script_hardcoded_constants' function in source commit: cad0a57 Contant for 'Option_' and 'VAR_' now placed on script_set_contant in src/map/script.c, not in db/const.txt anymore. "Implemented: 'teleport_on_portal' battle config commit: 931f260 This battle config is being used for allowing avoidance of Teleporting on top of Map Warp Portals. By defaul is set as 'no' since in official server, player never be spawned in warp portal after teleporting. conf/battle/skill.conf "Implemented: 'OnPCStatCalcEvent' label commit: 27a0f3f This label triggered when player's stats are recalculated, like when player puts on/off equipment. Label: OnPCStatCalcEvent "Implemented: 'countitem' and 'delitem' script command variants commit: 01c30bf Now, able to count or delete item in storage or cart. More info, click here. "Added: @costume commit: 0081e25 @costume <Costume Name> Wedding Xmas Summer Hanbok Oktoberfest "Added: Icon (SI) for SC_ITEMSCRIPT in 'val2' of sc_start commit: e2d2494, e54a1d4 SC_ITEMSCRIPT now displaying Icon (this is should be like this), and by using script comamnd 'sc_start', the val2 is used for the SI. "Implemented: Item Flag commit: c95be2e db/re/item_flag.txt - db/pre-re/item_flag.txt Available flag at this commit are: 1 - Item as 'Dead Branch' which in its usage will be logged to branch_log and cannot be used in nobranch mapflag 2 - Item is known as package container, when player use the item, there is check for player's weight so the usage will be canceled "Added: Support for 2013-12-23c client commit: 912b644 At least, in this client version, we can use Oktoberfest costume. "Implemented: Wolfchev's Laboratory instance commit: dd9719d New intance script for Wolfchev's Laboratory, npc/re/instances/WolfchevLaboratory.txt "Added: 'feature.auction' battle_config for enabling/disabling Auction System commit: 577079b Enable/disable auction system. PACKETVER also decides the auction system is supported or not. conf/battle/feature.conf "Added item bonus: bonus2 bAddItemGroupHealRate,ig,n; commit: 704f4f2 This item bonus replace its old bro 'bonus2 bAddItemHealRate' which also being usage for item group. Now, bonus2 bAddItemHealRate only for Item ID (iid), and bonus2 bAddItemGroupHealRate for Item Group ID (iig). See db/const.txt for Item Group (IG_) Cleaned up the Font System commit: 6afcdeb, 7e92017 CAUTION: Please import this sql sql-files/upgrades/upgrade_20140523.sql Char-Server refactor! commit: 6b9ec5f, f5ef82e Char-Server files have been refactor by lighta. There new files at this commit, and please check if maybe there MSVS filters file that don't include those files properly. (IMO~) It's more cleaner and easier to understand the char-server authentication between, login-server, map-server, console, and client. Just like map-server does. Battle Config Updates commit: a8a4425 Added some new configs in conf/battle/player.conf -- transcendent_status_points, stat point bonus for trans classes. -- revive_onwarp, disable/enable to revive a dead player when set new position (warping). -- taekwon_ranker_min_lv, minimum level bonus of Taekwon Ranker. -- fame_taekwon_mission, fame point gained when complete Taekwon Mission. -- fame_refine_lv1, fame point when success to refine to +10 forged weapon level 1. -- fame_refine_lv2, fame point when success to refine to +10 forged weapon level 2. -- fame_refine_lv3, fame point when success to refine to +10 forged weapon level 3. -- fame_forge, fame point when success to forge level 3 weapon with 3 additional ingredients. -- fame_pharmacy_3, fame point when success do pharmacy 3 times in a row. -- fame_pharmacy_5, fame point when success do pharmacy 5 times in a row. -- fame_pharmacy_7, fame point when success do pharmacy 7 times in a row. -- fame_pharmacy_10, fame point when success do pharmacy 8 times in a row.
    1 point
  4. Wow, I posted about a completely different problem The click thing can be solved by changing the config for the max walkpath.
    1 point
  5. I'm reopening this issue, because I still can't fix this. yes, setting langtype to anything above 0 worked BUT it also messed up my palettes. So I have no choice but to stay at langtype 0. Now the question is, how the hell do I get rid of this stupid help menu displaying when login in? it eats half of my chat window.
    1 point
  6. maybe you use? concentration > awakening > berserk? if course atkspd will increase every time because one is greater to the other?
    1 point
  7. Beautiful. Although, I'd like to see a overview of the entire map~ Keep up the good job!
    1 point
  8. We no longer support the old SVN repository. It has been dropped due to inability to maintain. Please move to the GIT repository, using either GIT or the SVN link provided on the GitHub site.
    1 point
  9. Ahahaha, I remember on pRO the 50p Prepaid card -8 Hours of Awesomeness Lol. I remember I had some of these cards as some sorta good luck charm in my wallet until that wallet was stolen. >.< Anyway, I still remember back then whenever I lacked bus fare money, I could sell 1 Unripe apple to a random classmate/schoolmate and it would be enough to get me home. But the most unforgettable RO experience definitely was the uber extreme lag back then. (Around 2000 or 2001) Would take me around 30 mins just to get from one end of Prontera to the other. It was enough lag to make me quit. ~_~ I was practically paying for 8 hours of lag... and the P50 just wasn't worth it anymore. ~__~
    1 point
  10. Looks nice. And yes I edited the title you asked
    1 point
  11. or use my dye_maker changed Well It's free so do as your please morocc_in,146,99,3 script Java Dullihan 58,{ //- multi dyestuff 0/1 - disabled/enabled .multi = 1; //- if ((MaxWeight-Weight) < 200 || checkweight(1201,1) == 0) { mes "- Wait a moment! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; mes "- Please come back later -"; mes "- after you put some items into kafra storage. -"; close; } mes "[Dye Maker Java Dullihan]"; mes "Wow..."; mes "Such a nice day. Days like this are perfect to make dyes."; next; switch(select("Talk:Make Dyestuffs:Cancel")) { case 1: mes "[Dye Maker Java Dullihan]"; mes "Erm, I don't really have much to say to you. But, if you would like me to tell you about my life, I can do that. It's a little long and boring, but would you like to listen?"; next; if (select("Listen:Don't Listen") == 1) { mes "[Dye Maker Java Dullihan]"; mes "As long as I can remember, my father has been making dyes. He used to spend countless hours making dyes of different colors. Even when my mother passed away, he never stopped."; next; mes "[Dye Maker Java Dullihan]"; mes "At one point in my life, I became rebellious and ran away from home. I didn't want to be stuck to the family business and wanted to try other things."; next; mes "[Dye Maker Java Dullihan]"; mes "Anyways..."; mes "I eventually wound up back home to carry on the family tradition, making dyes for 15 years already. I guess it was really in my blood."; next; mes "[Dye Maker Java Dullihan]"; mes "Something I realized these days is that now I can understand my father. Why my father devoted everything to making dyes..."; next; mes "[Dye Maker Java Dullihan]"; mes "In the middle of all that tedious and hard work, he probably felt the magic of those colors passing on so many dreams for other people."; next; mes "[Dye Maker Java Dullihan]"; mes "It was probably for those dreams that he tried so hard to make dyes for his customers..."; next; mes "[Dye Maker Java Dullihan]"; mes "Heh... How do I know this? Well, that's the way I feel right now. Since a couple years ago, I've been able to hear what the colors were saying..."; next; mes "[Dye Maker Java Dullian]"; mes "Just watch. Someday, I'm going to succeed in making the color my father wanted to, but never got the chance to make."; close; } mes "[Dye Maker Java Dullihan]"; mes "Ahahahaha..."; mes "Well, I guess no one would want to listen to a measly dyemaker's story anyway. Hahaha...."; close; case 2: mes "[Dye Maker Java Dullihan]"; mes "Great! If you want it, I'll make it for you. I promise I'll make you the color you want. But what color dye would you like to make? The fee is different depending on the color."; next; mes "[Dye Maker Java Dullihan]"; mes "Why, do you ask? Just remember that there are colors that are easy to make, and those that require more effort and work. Please don't think the fee is too expensive."; next; mes "[Dye Maker Java Dullihan]"; mes "The color of the dye is special, made with all my heart and soul."; next; switch( select( .@a$ = "Scarlet Dyestuffs:Lemon Dyestuffs:Cobaltblue Dyestuffs:Darkgreen Dyestuffs:Orange Dyestuffs:Violet Dyestuffs:White Dyestuffs:Black Dyestuffs:Cancel" )) { case 1: callsub S_MakeDye,1,1,.@a$; break; case 2: callsub S_MakeDye,2,1,.@a$; break; case 3: callsub S_MakeDye,3,2,.@a$; break; case 4: callsub S_MakeDye,4,3,.@a$; break; case 5: callsub S_MakeDye,5,4,.@a$; break; case 6: callsub S_MakeDye,6,4,.@a$; break; case 7: callsub S_MakeDye,7,4,.@a$; break; case 8: callsub S_MakeDye,8,4,.@a$; break; case 9: mes "[Dye Maker Java Dullihan]"; mes "Eeeehhhh!! What's this? You change your mind now!? So disappointing..."; close; } case 3: mes "[Dye Maker Java Dullihan]"; mes "I'm not bragging or anything. But I have the skills to make dyestuff. If you ever need dyestuff, please come to me. I'll make them for you at a reasonable price."; close; } S_MakeDye: mes "[Dye Maker Java Dullihan]"; if ( .multi ) { explode(.@b$, getarg(2), ":"); mes "How must ^FF0000"+ .@b$[ @menu-1 ] +"^000000 do you want to do ?"; if( input( .@n, 1, 100000) != 0 ) { mes "Sorry, wrong value."; close; } } else .@n = 1; switch(getarg(0)) { case 1: setarray .@count[0], 30*.@n, 1*.@n, 1*.@n; set .@cost,3000*.@n; mes "Mmm... I need "+.@count[0]+" Red Herbs, "+.@count[1]+" Counteragent, and "+.@count[2]+" Empty Bottle to make Red Dyestuffs. The fee is only "+.@cost+" zeny to make it."; setarray .@item[0], 507, 973, 713; set .@dyestuff,975; break; case 2: setarray .@count[0], 30*.@n, 1*.@n, 1*.@n; set .@cost,3000*.@n; mes "Mmm... I need "+.@count[0]+" Yellow Herbs, "+.@count[1]+" Couneragent, and "+.@count[2]+" Empty Bottle to make Lemon Dyestuffs. The fee is only "+.@cost+" zeny to make it."; setarray .@item[0], 508, 973, 713; set .@dyestuff,976; break; case 3: setarray .@count[0], 20*.@n, 1*.@n, 1*.@n; set .@cost,3500*.@n; mes "Mmm... I need "+.@count[0]+" Blue Herbs, "+.@count[1]+" Counteragent, and "+.@count[2]+" Empty Bottle to make Cobaltblue Dyestuff. It's hard to use the Blue Herb, so the fee is going to be "+.@cost+" zeny."; setarray .@item[0], 510, 973, 713; set .@dyestuff,978; break; case 4: setarray .@count[0], 5*.@n, 20*.@n, 20*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,5000*.@n; mes "Mmm... I need "+.@count[0]+" Blue Herbs, "+.@count[1]+" Green Herbs, "+.@count[2]+" Yellow Herbs, "+.@count[3]+" Counteragent, "+.@count[4]+" Mixture, and "+.@count[5]+" Empty Bottle to make Darkgreen Dyestuffs. Don't get all of the materials confused. The fee is only "+.@cost+" zeny."; setarray .@item[0], 510, 511, 508, 974, 973, 713; set .@dyestuff,979; break; case 5: setarray .@count[0], 20*.@n, 20*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,5000*.@n; mes "Mmm... I need "+.@count[0]+" Red Herbs, "+.@count[1]+" Yellow Herbs, "+.@count[2]+" Counteragent, "+.@count[3]+" Mixture, and "+.@count[4]+" Empty Bottle to make Orange Dyestuff. The fee is going to be "+.@cost+" zeny."; setarray .@item[0], 507, 508, 974, 973, 713; set .@dyestuff,980; break; case 6: setarray .@count[0], 10*.@n, 30*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,5000*.@n; mes "Mmm... I need "+.@count[0]+" Blue Herbs, "+.@count[1]+" Red Herbs, "+.@count[2]+" Counteragent, "+.@count[3]+" Mixture, and "+.@count[4]+" Empty Bottle to make Violet Dyestuffs. The fee will be "+.@cost+" zeny."; setarray .@item[0], 510, 507, 974, 973, 713; set .@dyestuff,981; break; case 7: setarray .@count[0], 30*.@n, 1*.@n, 1*.@n; set .@cost,3000*.@n; mes "Mmm... I need "+.@count[0]+" White Herbs, "+.@count[1]+" Counteragent, and "+.@count[2]+" Empty bottle to make White Dyestuffs. The fee will be "+.@cost+" zeny."; setarray .@item[0], 509, 973, 713; set .@dyestuff,982; break; case 8: setarray .@count[0], 30*.@n, 30*.@n, 30*.@n, 5*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,7000*.@n; mes "Mmm... I need "+.@count[0]+" of each Red, Yellow, and Green Herb, "+.@count[3]+" Blue Herbs, "+.@count[4]+" Counteragent, "+.@count[5]+" Mixture, and "+.@count[6]+" Empty Bottle. The process takes longer and more effort than the others, so it is going to be "+.@cost+" zeny."; setarray .@item[0], 507, 508, 511, 510, 974, 973, 713; set .@dyestuff,983; break; } next; mes "[Dye Maker Java Dullihan]"; switch(getarg(1)) { case 1: mes "Ah! I think you would have everything ready. Would you like to start the process?"; break; case 2: mes "Okay! I believe you would have everything ready. Would you like to start the process?"; break; case 3: mes "Okay! I believe you would have everything ready. Shall we begin the process?"; break; case 4: mes "Okay! I believe you would have everything prepared. Would you like to start the process?"; break; } next; if (select("Make Dyestuffs:Cancel") == 1) { set .@size, getarraysize(.@item); // check requirements for( set .@i,0 ; .@i < .@size ; set .@i,.@i+1 ) if( countitem(.@item[.@i]) < .@count[.@i] ) break; if( .@i < .@size || Zeny < .@cost ) { mes "[Dye Maker Java Dullihan]"; mes "Hmmm. Not enough..."; mes "I don't think I'll be able to make the color you want with those materials. Why don't you go get some more materials...?"; close; } // delete items for (set .@i, 0; .@i < .@size ; set .@i, .@i+1) delitem .@item[.@i], .@count[.@i]; set zeny,zeny-.@cost; // get dyestuff getitem .@dyestuff,.@n; mes "[Dye Maker Java Dullihan]"; mes "Hmm... It came out pretty well. A very rich color. Of course I'll be trying harder to make a more charming color..."; next; mes "[Dye Maker Java Dullihan]"; mes "Well, then. Stop by whenever you need more dyes."; close; } mes "[Dye Maker Java Dullihan]"; mes "Eeeehhhh!! What's this?"; mes "You change your mind now!? So disappointing..."; return; }
    1 point
×
×
  • Create New...