Jump to content

nanakiwurtz

Members
  • Posts

    1654
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by nanakiwurtz

  1. October Digest 2016 The following digest covers the month of October, 2016. Staff Changes @Limestone is now a Community Contributor. Development Highlights CORE:Merged warp and warpchar into a single function (6510d41) Fixed random options being removed on cardremoval (5a56210) Cleanup party withdraw (9a52768) Fixed a bug with cart change (19d6205) Fixing @at venders being stuck when map->char connection gets reset (3e4d2b8) Added guild/party checks for character deletion process (5ea873b) Added a configuration for deletion restriction (ce9e623) Cleaned up map property sending functions (940c473) Removed additional clif_maptypeproperty2 calls (f51a1c7) Fixed VIP char selection window (8f3599b) Expand NPC Name Length to 50 (d307743) Fixed a few EVENT_NAME_LENGTH usages (4d71a12, b60f74c, e443f84) Fixed NPC markets (6a89855) Refactored clif_charnameack (48c43cf) Introducing charpointer macros for fifo/buffers (73eb96f) Fixed a minor typo in warning message (655d6f5) Fixed a minor typo in ipban.c (428e516) Removed use of petheal command from pet_db.txt in both PRE and RE (d20cbca) Fixed Siroma and Imp card cast time reduction behavior (6dfaa0b) Fixed unknown state handling in mob skills (1c74af7) Fixed instance maps not being freed (e9c5dc6) Fixed extra status variables not being cleared correctly when the killed unit did not have any status change (9a130fa) DATABASE:Skill Update: Ranger Traps, Manhole, Occult Impact, Phantom Thrust, Falcon Assault, Lex Divina (031adff, e93c888, 04cf397, c14e674, 561a874, 5d24d73) Added missing items for IG_Mysterious_Travel_Sack4 (644d809) Added latest npc constants (568262f) SCRIPT:Renamed WoE:TE directory and files (42ce38c) Fixed Kafra length name (6216bfb) Added a sample script for utilizing the random option system (09cb81d) Fixed a wrong close in the Eye of Hellion quest (56c9765) Adjusted some script syntax (481a730) OTHERS:Removed README.txt (10946dd) Script_command.txt updated (6663df3) Fixed some compile warnings (57131f2, 55c5627) Fixes appveyor not building in pre-renewal mode (15b4050) Added a configure option for VIP features in the CI matrix (3108bb1, 7d0931a) Reenabled buildbot defines (dd55592, abd9809, ed53167, 40430d6) Added documentation for item links in mes (6f67a65) Statistics 12 authors have pushed 95 commits during this period. On master, 100 files have changed. There have been 1,933 additions and 1,878 deletions. There are 25 merged Pull Requests and 8 Proposed Pull Requests. There are 31 new Issues and 45 Closed Issues. List of Contributors @Akkarinage, @aleos89, @Atemo, @Baalberith6, @Badarosk0, @CairoLee, @cold-hr, @cydh, @cyilcode, @icxbb-xx, @ignizh, @Jeybla, @keitenai, @Lemongrass3110, @lelouch22, @lucasoli, @mgksrt8, @Playtester, @Ridley8819, @secretdataz, @Smokexyz, @Temtaime, @tmav94, @Tokeiburu Show your support to rAthena by submitting your Issue or Pull Requests! By providing enough useful info (Git Hash, Client Date, RE/Pre-RE, crashdump, how to reproduce, etc) you will help us to solve the issues faster
  2. There's no bound card, when a bound card inserted into an equipment, it lose its bound property.
  3. September Digest 2016 The following digest covers the month of September, 2016. Staff Changes NoneDevelopment Highlights CORE:Added defines and constants for new skills (382c8d4) Corrected script command `unitwalk` (432dcda) Fixed typo in warning message of `getcastledata` (cf80d72) Initial release of `nocostume` mapflag (23b271c) Added new Status Changes (b46e433) Fixed Cart is not shown after relog (dc8471d) Battleground script command expansion (33cda97) Adjusted minimum vit_penalty_num config to 1 to avoid potential crash (ddac48d) Fixed map-server errors from Cloud Kill (391f0d6) Added more Exports constants (79b39e5, 228f0c5) Added English comments in nullpo.h (90539f4) Changed mob parsing order (8e3da7f) Enabled Warlock for atcommand `bodystyle` (7be38fa) Fixed random options with MAX_ITEM_RDM_OPT < 5 (3b09de1) DATABASE:Skill Update: Phantasmic Arrow (443a2b0) Item DB Update (cae6088, 88fb5bd, 82ab444, 71c8cc3, b46e433, ef113ce, 17eab30, 0fc59c7, 9425f54) Fixed some typos and mistakes (d21460d) Added WOE:TE monsters and spawn (6aed7e0) Added AL_HEAL to power skill list (0c903a0) Fixed monster Sightrasher and Stormgust Level 10 (0e4d6a4) Updated buyingstore list (0c07b66) Corrected Eleanor's Eternal Quick Combo behavior (f4f4367) Updated monster skills (6d31591) SCRIPT:Adjusted some scripts to the new syntax (58c0920, 547a8e6, 818727f) Fixed some typos and minor errors (55b3062, 4ef35f4) Fixed some bugs in WOE:TE (644e294, 2995ba0, 2661b7a, 3064701, fed6814, 14628e2) Corrected Mora Daily Quest Job EXP formula (3607efd, reverted in d074cf6) Fixed a bug in Theore's Request quest (fb85ce2) Implemented Nightmare Clocktower (a7be32f, aaa2ca8, 8d60ed2) Implemented Nightmare Glastheim (61a5766, 7d72a70) Fixed Mixed Solution No.3 Arc never being assigned in Mage jobchange quest (6a457be) Fixed WOE behaviour, the mobs shouldn't be killed when the emperium is broken (bbb2945) Corrected OnTouch/OnTouch_ in NPC script (d62f422) Initial Release of Dimensional Gap (dali) NPCs (7d0c7d8, 64e1593) Fixed Bakonawa spawn coordinate (bc7f203) OTHERS:Fixed an ambiguous if statement (01e5fbe)Statistics 11 authors have pushed 110 commits during this period. On master, 207 files have changed. There have been 11,707 additions and 1,845 deletions. There are 18 merged Pull Requests and 9 Proposed Pull Requests. There are 6 new Issues and 26 Closed Issues. List of Contributors @aleos89, @anacondaqq, @Atemo, @cydh, @cyilcode, @Fran-, @Hope8888, @icxbb-xx, @Indigo000, @Jeybla, @Lemongrass3110, @LiMoon, @lucasoli, @paecantalup, @Playtester, @Ridley8819, @secretdataz, @X-eno, @zackdreaver Show your support to rAthena by submitting your Issue or Pull Requests! By providing enough useful info (Git Hash, Client Date, RE/Pre-RE, crashdump, how to reproduce, etc) you will help us to solve the issues faster
  4. August Digest 2016 The following digest covers the month of August, 2016. Staff Changes @Napster is now a Community Contributor.Development Highlights CORE:Removed unused variables in @rates code (6bc2f62) Fixed a mapcrash caused by SC_CLOUD_KILL (5fabab9, 99e49d9) Corrected progress bar behavior (842e30e) Implemented new item bonuses: bNoMadoGear, bRegenPercentHP and bRegenPercentSP (5f981bc, a79d065) Fixed a crash on invalid combo scripts (f560da8) Added Script level up events from atcommands (9157318) Refurbished hat effects (ede39b1) Initial Release of Random Option system (f296409, 8657c42, e7147d9, 78bc0a6) Implemented basic script commands to apply Random Options to equipped item (8deabb1) Exported some constants (1e2e37a) Fixed memory leaks from item Random Options (e2bf685, 8da71a1) Corrected the showscript packet (47a69c0) Updated Status Icons from latest kRO (371f619) Adjusted the temporary ban check (cd7e610, bd65341) Removed an unused function declaration (d11b58c) Added missing column check for char table in char_checkdb (04ffafa) Implemented status reduction potion support (021bed5, 472b885, eb8ea91) Used defined variable names for constant exports (5cae674) Corrected quest progression (08f63aa) Adjusted battle_getcurrentskill() return type (bf84469) Adjusted the npctalk script command (cd5dbe2, b3b2bab) Initial release: Map X Job restriction (d84d6ba, f7e4001) Fixed Eclage skill animations (0feabf3) Fixed searchstore feature for 2015-02-26 onwards (600e8ae) Clean up party invitation reply (47276e9) Fixed Random Options not being updated correctly (0569d85) DATABASE:Skill Update: Voice of Siren, Mystical Amplification, Clearance, Phantom Thrust, Knuckle Arrow (f7a276e, 676ae63, f200541, 8788c74, 5fcb3bf) Item DB Update (bc0e171, cfc6d22, 52f88eb, a1f59c6, 393e07d, a599264, 9c2a744, 574e3ae, 574072d, 5777162, a209e4c, d73bad4, 8b3e889, 24882c9, 399b98e) Implemented Infinite Space instance's armor set (be4a87f, 66f054f) Corrected Rift_Manteau and Rift_Shoes' tradability (9912ad9) Implemented cards from Charleston Crisis (f7b36e8) Fixed GX Poison duration (72b61d7) Skill Tree cleanup (e40c88e, 16b100d, d7ee77c, b2a46a3) Updated hateffects to latest kRO (c1aa841) Implemented `hateffect` script for some items (d8537a2) Updated some AegisName to official name (6bcfc18, 1d6f99a) Fixed default roulette data (c3b6951) Added dummy monster data from kRO 2016-08-31 (140ecb9) SCRIPT:Adjusted some scripts to the new syntax (d017e24) Fixed wrong operator usage in 2 scripts (a855bcc) Fixed Bullet and Magazine Dealer (e00adfe) Fixed a bug on Juperos Ruins History quest (c488268) Updated Custom Godlike Mixing NPC (5d52871) Removed 20x Oridecon from Sleipnir (5353c44) Updated Custom Godlike Mixing NPC: Adds Muspellium and Essence of Rune (14654b8) Implemented Heroes' Trail Part 1 - Sara's Memory instance (75b0b43, 9b52803, 7a3c390, 3678fca) Fixed a bug on Hazy Forest script (55edbc1) OTHERS:Updated .sql DB files (d1c40d6) Added custom battle config support (8857ff6) Fixed some compile error and warnings (2cbc9ac, ebcb923, 1e8c27c, da21013, b9e61c7) Documentation update (a87d86c, 8da71a1, 021bed5) Added /sql-files/upgrades/upgrade_20160814.sql and /sql-files/upgrades/upgrade_20160814_log.sql (f296409) Statistics 12 authors have pushed 161 commits during this period. On master, 111 files have changed. There have been 28,184 additions and 23,786 deletions. There are 17 merged Pull Requests and 8 Proposed Pull Requests. There are 16 new Issues and 32 Closed Issues. List of Contributors @aleos89, @Atemo, @cydh, @CygnusBot, @Darkelfen, @DriwFS, @ElsaEve, @Emistry, @Everade, @Hope8888, @Jeybla, @jgoog999, @julia40124009, @Lemongrass3110, @LiMoon, @lucasoli, @philg666, @Playtester, @RagnarokNova, @secretdataz, @shushusao, @spinzaku, @tmav94, @Tokeiburu, @vstumpf, @zackdreaver Show your support to rAthena by submitting your Issue or Pull Requests! By providing enough useful info (Git Hash, Client Date, RE/Pre-RE, crashdump, how to reproduce, etc) you will help us to solve the issues faster
  5. July Digest 2016 The following digest covers the month of July, 2016. Staff Changes @Limestone is now a Supporting Developer! [member=Tonetzkii] is now a Community Contributor. [member=helvetica] is now a Community Contributor. [member=Conflicts] is now a Community Contributor. [member=philg666] is now a Community Contributor. [member=Missingno] is now a Community Contributor. Development Highlights CORE:Script engine fixes/additions (fd48238) Corrected an issue with script command set (9f68f78) Fixed instance idle timeout (4744ee0) Fixed emperium deletion on guild creation (63f719a) Removed duplicate check in guild creation (d632f10) Constant cleanup (e771472) Enable Ranger class in bodystyle atcommand (6349802) Cleaned up player specific drop rate calculations (e788235) Corrected item bonus WeaponMatkRate (ffec87d) Cleaned up `char_del_option` checks (2a1aeba) Corrected MVP Tomb behavior (160f24d) Corrected bResEff behavior (efdc748, 1daa6fd, cdd4767) VIP System cleanup (d1a957e, 50e81a4) Added new hat effect packet and script support (5da49b8) DATABASE:Skill Update: Elemental Change, Cloud Kill, Shield Press, Leech End, Scapegoat, Earth Shaker, Camouflage, Change Cart (10d1020, e5a197a, b3e1c52, 82250c2, d5edd06, e24f2f4, bec9845, e99f17b) Item DB Update (15c382e, 63fea9c, d57eb44, 395f22d, 9d730f3, 8f5739c, 7558c1e, bf209d1, 4b2b479, a33fbce, 63ff4a9, 52a74e8) Updated Homunculus S Summons (db592a2) Removed hardcoded aloevera restriction (b1b43bb) Updated some aegis names (a41b132) Fixed some incorrect shadow gears combo script (95f09f8) Updated Golden Thief Bug card immunity (1a0fb8f) Fixed Emergency Call scroll being usable on non guild-leader (1f85dab) Implemented new costumes with visual effects (43b95eb) Replaced specialeffect2 calls without constants (b6adc1d) One Click Identify feature adjustments (120df33) Added HAT_EF_FIREWORK (4ee0cd9) Added items from idRO (65bd0ee) SCRIPT:Fixed creator npc for rebirth (11179e3) Fixed error in EndlessTower.txt, SealedShrine.txt and quests_13_1.txt (109b30d, fd6f241) Fixed Loki NPC to be disabled at entrance of Hazy Forest after the Wandering Purple Dragon has been defeated (22bc090) Assassin Guildmaster NPC shouldn't be clickable (f927d63) Made @channel unusable by non-players (369799a, fbf7957) Changed Job_SuperNovice to Job_Super_Novice in several scripts (2f9d44c) Added new script bonus: "bonus2 bDropAddRace" and "bonus2 bDropAddClass" (29379c3) OTHERS:Corrected documentation for SkillUseSP and SkillUseSPRate (10c4eb0) Updated clone depth for appveyor (b8660e3) Fixed a compile error (639830a) Updated .gitattributes (a0dd1f0) Statistics 7 authors have pushed 70 commits during this period. On master, 72 files have changed. There have been 22,765 additions and 22,376 deletions. There are 4 merged Pull Requests and 8 Proposed Pull Requests. There are 15 new Issues and 43 Closed Issues. List of Contributors @4144, @aleos89, @Angelmelody, @Atemo, @cydh, @Darkelfen, @dastgir, @Everade, @Jeybla, @jgoog999, @joelolopez, @julia40124009, @lelouch22, @Lemongrass3110, @lighta, @majimboo, @MishimaHaruna, @niknokseyer, @Paoly28, @Playtester, @RagnarokNova, @reigneil, @secretdataz, @shushusao, @spinzaku, @technoken, @Tokeiburu, @Vomaito, @zackdreaver Show your support to rAthena by submitting your Issue or Pull Requests! By providing enough useful info (Git Hash, Client Date, RE/Pre-RE, crashdump, how to reproduce, etc) you will help us to solve the issues faster
  6. First of all, good luck with the new project. As a server owner point of view, this project will only focused on Renewal mechanics so RagEmu will be attractive to non-classic server owners. As a dev point of view, it will somewhat helpful to have another source for comparison if there's new updates/bug reports. But IMO this will make the community & devs even more splitted, it looks exactly like this: [spoiler=Fork Illustration] Current active projects (rA/Herc/idA/etc) have suffered from devs that inactive because of busy irl, not to mention those never ending Bug Reports/GitHub Issues which needs official confirmation. In score of 0 being disagree and 100 being agree, I'm on 35 with this project.
  7. You need to use proper patch, or else it will read either the clientinfo.xml from data folder first, or the client found the file on grf which determined from data.ini So if you don't have clientinfo.xml on data folder, then look inside your grf
  8. You forget the Class, Jobmask and Gender 0xFFFFFFFF,63,2
  9. June Digest 2016 The following digest covers the month of June, 2016. Staff Changes NoneDevelopment Highlights CORE:Cleaned up item group & monster group parsing, now it use sv_readdb and import (1591e9a, 48a4ee1) Fixed incorrect map-server buffer allocation size (b8d4761, e2d3819) Fixed monster with cast sensor not working (63e8fa0) Resolved a potential map crash on instance destruction (5ef2000) Resolved a memory leak in the channel system (323bd72) Implemented recalculatestat command (98fdf31, 0d43d26) Cleaned up do_reload_instance (e219dd9, 407fd01, f61535b) Updated item database job mask to 64 bit (15fdc12, a14e21f) Improved char-bound instance mode (195a525) Fixed error on atcommand ii (abf939c, 604e805) Fixed error on atcommand monsterinfo and whereis (93c01ee) Fixed error on atcommand bodystyle (247217e) Fixed error on atcommand showexp (cccb740) Fixed Reflect Damage versus Emperium (7a84b53) Expands pc_bonus warnings to give more info when unknown bonus type is detected (33270ed, c658ea2) Moved 'mob random groups' constants into script_constants.h (9558ef0) Removed some hardcoded mob IDs (65b716f, 562a1a7) Added const support to mob race2 db (2534588) Fixed issue with 0 experience (d2bbd91, 6412c82, mb95df50) Refactored clif damage type calls (82af619, c2035f0) Streamlined renewal ASPD skill and potion calculations (fe11416, d6d92a4) DATABASE:Skill Update: Earth Quake, Warmer, Knuckle Arrow, Phantasmic Arrow, Soul Breaker, Rebirth Spirit, Blastmine, Claymore Trap, Swing Dance, Impressive Riff (e39293f, 3817bb3, ab576e9, aa5d7a4, e4ac1ee, d4824c3, 9b3a581, 1d09abe, ec042e9, b2fedb8, 574f69e, b99114c, 06eab75) Updated Item DB (c6df701, 520a840, 90c6d7a, 29ae472, 9cf7cae, 124572e, b3ab05d, b1d8271, 16ad1fc) Resolve error in quest_db (14587cc, ac2009b) Added some more missing placeholders to mobdb (bea47ea) ECL_SQUOIA now removes SC_DECREASEAGI (26aa69d) SCRIPT:Add official quest condition for Guillotine Cross job change quest (25c4334) Updated Old Glast Heim instance (b8898cd) Fixed PLAYTIME issue in guillotine_cross.txt (a667fc0) Added weight check in Ring of the Wise King Quest (055ee42) Fixed Pintados Festival never ends (aed00e0) Fixed warning on Hunting Mission (673a93c, 6546566, 14d93ff) Added support to Para_Team_Mark_ item in Eden Group (274232f) Added use of F_HasEdenGroupMark function (815368a) Removed useless lines from several scripts (85f44a5) Fixed issue with Quest Error (94b866e) Added duplicate NPCs to Novice Grounds (1dd674f) Fixed wrong usage of close in Thor Volcano Base Quest (933d687) OTHERS:Resolved compile warning and errors (46f1a6f, 7cf7a54, dfd9bde) Remove webtatic repo reference for CentOS5 (66cda76) Updated the SQL conversion script (5892e5e) Updated bSkillUseSP item bonus documentation (33f83e0) Update .gitignore to ignore *.VC.opendb (0798ace) Updated script documentation (2e98ff6) Added appveyor for windows build tests (7316c45, 4ad8eb0) Fixed Full Throttle status icon (f031741) Statistics 9 authors have pushed 92 commits during this period. On master, 100 files have changed. There have been 2,074 additions and 1,380 deletions. There are 7 merged Pull Requests and 0 Proposed Pull Requests. There are 24 new Issues and 69 Closed Issues. List of Contributors @admkakaroto, @aleos89, @Akaineko-astasi, @Akkarinage, @anacondaqq, @Atemo, @AtlantisRO, @CairoLee, @cydh, @dragonis1701, @dynaraan, @Everade, @exneval, @iubantot, @jezznar, @Jeybla, @julia40124009, @Lemongrass3110, @LiamKarlMitchell, @lighta, @MishimaHaruna, @MrAntares, @nykuz85, @Paoly28, @Playtester, @RadianFord, @rubie123, @secretdataz, @stealth62, @Stolao, @spinzaku, @technoken, @tlacson7, @tmav94, @VXPlay, @wilkemeyer, @zackdreaver Show your support to rAthena by submitting your Issue or Pull Requests! By providing enough useful info (Git Hash, Client Date, RE/Pre-RE, crashdump, how to reproduce, etc) you will help us to solve the issues faster
  10. You can try this (untested) //===== rAthena Script ======================================= //= MVP Ladder Game //===== By: ================================================== //= aftermath, AnnieRuru (rewrite) //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= Gather a party and kill every MVP in ascending order. //===== Additional Comments: ================================= //= 1.0 First version, edited. [Euphy] //============================================================ prontera,164,171,3 script MvP Ladder Warper 56,{ mes "[MvP Ladder Warper]"; mes "Say... do you want to play the MvP Ladder game?"; next; switch(select("Yes, let's get it on!:Information.:Show me the best record.:No.")) { case 1: break; case 2: mes "[MvP Ladder Warper]"; mes "In this game, your party has to kill every single MvP monster in ascending order, from the weakest to strongest."; if ( .finish_item_amount ) mes "If your party can finish the MVP ladder game, each member will earn "+ callfunc("F_InsertPlural", .finish_item_amount, getitemname( .finish_item_id )) +"."; if ( .register_cost ) mes "But the entrance fee is "+ callfunc( "F_InsertComma", .register_cost ) +" zeny."; next; mes "[MvP Ladder Warper]"; mes "You lose the game if you can't finish in "+ .timeout +" minutes, or if your entire party is killed."; mes "Good luck!"; close; case 3: mes "[MvP Ladder Warper]"; if ( !$mvpladdderparty_time ) { mes "Nobody has finished this game yet."; close; } mes "The best record is"; mes "[ "+( $mvpladdderparty_time / 60 )+" min "+( $mvpladdderparty_time % 60 )+" sec ]"; mes "By the party ^FF0000"+ $mvpladdderparty_name$ +"^000000."; .@size = getarraysize( $mvpladderparty_member$ ); for ( .@i = 0; .@i < .@size; .@i++ ) mes "^000000"+ ( .@i +1 ) +". ^0000FF"+ $mvpladderparty_member$[.@i]; if ( getgmlevel() < .gmlvlreset ) close; next; if ( select( "Close.", "Reset the record." ) == 1 ) close; if ( select( "Never mind.", "I really want to reset it." ) == 1 ) close; $mvpladdderparty_time = 0; $mvpladdderparty_name$ = ""; deletearray $mvpladderparty_member$[.@i]; mes "[MvP Ladder Warper]"; mes "Record reset successfully."; close; case 4: mes "[MvP Ladder Warper]"; mes "When you are strong enough to complete the game, please come back."; close; } if ( !getcharid(1) ) { mes "[MvP Ladder Warper]"; mes "You have to form a party to play."; close; } if ( getpartyleader( getcharid(1), 2 ) != getcharid(0) ) { mes "[MvP Ladder Warper]"; mes "Only the party leader can register."; close; } .@origin = getcharid(3); getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == strnpcinfo(4) ) .@online++; } } attachrid .@origin; if ( $@partymembercount != .register_min ) { mes "[MvP Ladder Warper]"; mes "You have to form a party with exactly "+ .register_min +" members to play."; close; } else if ( .@online != .register_min ) { mes "[MvP Ladder Warper]"; mes "Your party must have "+ .register_min +" members online on map '"+ strnpcinfo(4) +"'."; close; } else if ( .register_cost && Zeny < .register_cost ) { mes "[MvP Ladder Warper]"; mes "You don't have enough zeny. Please come back when you do."; close; } else if ( .party_id ) { mes "[MvP Ladder Warper]"; mes "I'm sorry, but a party is currently playing the game. Please standby until the party is finished."; mes "Thank you."; close; } Zeny -= .register_cost; announce "The party ["+ strcharinfo(1) +"] has started the MvP ladder game.", bc_all; set .party_id, getcharid(1); set .@time_enter, gettimetick(2); cleanmap .eventmap$; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == strnpcinfo(4) ) { .@name$[.@c] = strcharinfo(0); .@c++; if (gettimetick(2) < mlwd) { dispbottom "You have to wait for "+callfunc("Time2Str",mlwd); } else { announce "You have "+ .timeout +" minutes to complete "+ .totalround +" rounds.", bc_self; addtimer 5000, strnpcinfo(3)+"::OnCheck"; mlwd = gettimetick(2)+3600; @mwli = 0; warp .eventmap$,0,0; } } } } donpcevent strnpcinfo(0)+"::OnMvpDead"; sleep .timeout * 60000; if ( .round == .totalround +1 ) { getpartymember .party_id, 1; getpartymember .party_id, 2; mapannounce .eventmap$, "Congratulations... You were able to defeat all the MVPs!", bc_map; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == .eventmap$ ) getitem .finish_item_id, .finish_item_amount; } } set .@timeused, gettimetick(2) - .@time_enter; if ( .bonus_item_amount && .@timeused < .bonus_time * 60 ) { mapannounce .eventmap$, "You are rewarded a bonus item for completing the ladder within "+ .bonus_time +" minutes.", bc_map; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == .eventmap$ ) getitem .bonus_item_id, .bonus_item_amount; } } } if ( !$mvpladdderparty_time || .@timeused < $mvpladdderparty_time ) { mapannounce .eventmap$, "And you broke the record! [ "+( .@timeused / 60 )+" min "+( .@timeused % 60 )+" sec ]", bc_map; set $mvpladdderparty_time, .@timeused; set $mvpladdderparty_name$, getpartyname( .party_id ); copyarray $mvpladderparty_member$, .@name$, .register_min; } else mapannounce .eventmap$, "Time used [ "+( .@timeused / 60 )+" min "+( .@timeused % 60 )+" sec ]", bc_map; sleep 10000; announce "The party ["+ getpartyname( .party_id ) +"] has finished the MvP ladder game!", bc_all; } else announce "The party ["+ getpartyname( .party_id ) +"] has failed to finish the MvP ladder game.", bc_all; mapwarp .eventmap$, .map$, .x, .y; killmonsterall .eventmap$; .party_id = .round = 0; end; OnCheck: if ( strcharinfo(3) != .eventmap$ || !getcharid(1) ) { deltimer strnpcinfo(3)+"::OnCheck"; } else { getmapxy(.@m$,.@x,.@y,UNITTYPE_PC); addtimer 5000, strnpcinfo(3)+"::OnCheck"; if ((@mlwx == .@x) && (@mlwy == .@y)) { @mlwi++; } else { @mwli = 0; } if (@mlwi >= 12) { warp "SavePoint",0,0; @mwli = 0; } } end; OnMvpDead: .round++; if ( .round >= 2 && .round != .totalround +1 && .round_item_amount ) { for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == .eventmap$ ) getitem .round_item_id, .round_item_amount; } } } if ( .round == .totalround +1 ) { awake strnpcinfo(0); end; } else if ( .round == .totalround ) mapannounce .eventmap$, "The final Round will begin in "+ .delay +" seconds...", bc_map; else mapannounce .eventmap$, "Starting round "+ .round +" in "+ .delay +" seconds...", bc_map; sleep .delay * 1000; if ( .mvpid[.round] == 1646 ) // pick random Bio3 MVP .mvpid[.round] = rand(1646,1651); monster .eventmap$,0,0, "--ja--", .mvpid[.round], 1, strnpcinfo(0)+"::OnMvpDead"; mapannounce .eventmap$, getmonsterinfo( .mvpid[.round], MOB_NAME ) +" has spawned!", bc_map|bc_blue; end; OnPCLogoutEvent: if ( hp > 0 ) .@less_one = 1; else end; OnPCDieEvent: if ( strcharinfo(3) != .eventmap$ || !getcharid(1) ) end; if ( getcharid(1) != .party_id ) end; getpartymember .party_id, 1; getpartymember .party_id, 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == .eventmap$ && hp > 0 ) .@alive++; } } if ( .@less_one ) .@alive--; if ( !.@alive ) { mapannounce .eventmap$, "Party wiped!", bc_map; sleep 10000; awake strnpcinfo(0); } end; OnInit: // Configurations ----------------------------------------------------- // Time limit (in minutes) // When time runs out, all players inside the room will be kicked out. // Do NOT set this to zero! set .timeout, 60; // entrance fee (in Zeny) set .register_cost, 100000; // exact amount of party members needed to start the game set .register_min, 2; // id of each mvp. you can add more setarray .mvpid[1], 1086,// Golden Thief Bug 64 1115,// Eddga 65 1150,// Moonlight Flower 67 1159,// Phreeoni 69 1112,// Drake 70 1583,// Tao Gunka 70 1492,// Incantation Samurai 71 1046,// Doppelgangger 72 1252,// Garm 73 1418,// Evil Snake Lord 73 1059,// Mistress 74 1190,// Orc Lord 74 1087,// Orc Hero 77 1251,// Knight of Windstorm 77 1038,// Osiris 78 1658,// Ygnizem 79 1272,// Dark Lord 80 1871,// Fallen Bishop 80 1039,// Baphomet 81 1147,// Maya 81 1785,// Atroce 82 1389,// Dracula 85 1630,// Bacsojin 85 1885,// Gorynych 85 1623,// RSX 0806 86 1511,// Amon Ra 88 1688,// Lady Tanee 89 1768,// Gloom Under Night 89 1719,// Datale 90 1734,// Kiel D-01 90 1157,// Pharaoh 93 1373,// Lord of Death 94 1312,// Turtle General 97 1779,// Ktullanux 98 1874,// Beelzebub 98 1646,// Bio3 placeholder 99 1708,// Thanatos 99 1751,// Valkyrie Randgris 99 1832;// Ifrit 99 // number of rounds (default: 39) set .totalround, getarraysize(.mvpid) -1; // item reward for completing each round set .round_item_id, 512; set .round_item_amount, 1; // item reward for completing the entire ladder set .finish_item_id, 501; set .finish_item_amount, 10; // bonus reward if ladder completed within a certain time (in minutes) set .bonus_time, 45; // if completed within 45 minutes, this reward is given set .bonus_item_id, 504; set .bonus_item_amount, 10; // time delay between rounds, in seconds (default: 3) set .delay, 5; // minimum GM level to reset the best record set .gmlvlreset, 99; // event map set .eventmap$, "guild_vs2-2"; // mapflag configuration setarray .@mapflag, mf_nowarp, mf_nowarpto, mf_nosave, mf_nomemo, mf_noteleport, // mf_nopenalty, // disable exp loss mf_noreturn, // mf_nobranch, // mf_nomobloot, // disable monster drop loots, // mf_nomvploot, // 2 of these mf_partylock; // Config Ends -------------------------------------------------------------- mapannounce .eventmap$, "An administrator has refreshed the server. Please re-register. We apologize for the inconvenience.", bc_map; getmapxy .map$, .x, .y, UNITTYPE_NPC; mapwarp .eventmap$, .map$, .x, .y; killmonsterall .eventmap$; .@size = getarraysize( .@mapflag ); for ( .@i = 0; .@i < .@size; .@i++ ) setmapflag .eventmap$, .@mapflag[.@i]; end; }
  11. Hello @Lelouch vi Britannia Try this one: //===== rAthena Script ============================================ //= Enchantment System //===== By: ======================================================= //= Kenedos //===== Current Version: ========================================== //= 1.0 //===== Compatible With: ========================================== //= rAthena SQL/TXT //===== Description: ============================================== //= Uses the 2nd, 3rd and 4th slot on armors (headgears, footgears //= garments, shields and armors) to add extra bonus status and //= diverse attributes. //===== Topic ===================================================== //= Unknown //===== Additional Comments: ====================================== //= BE WARNED : The use of decarder NPCs, Sign your Name on items //= NPCs and any other kind of NPC that make use of the extra armor //= slots will bug this whole system. Also make sure every armor //= in your server only have 1 slot at max, otherwise it will also //= cause unexpected behaviour. //= //= If you wish to change the GM level to access the command menu, //= just find the command "getgmlevel()" in this script. //= It is located a few lines bellow the header. //= //= If you wish to change the cost for the Power Stones, look for //= the "MvP Power Stone Conversion Table" in the end of the script. //================================================================= prontera,124,207,5 script Special Enchanter#r1 64,{ mes "["+strnpcinfo(1)+"]"; if (Sex) mes "Hello sir ^0000FF"+strcharinfo(0)+"^000000, how may I help you?"; else mes "Hello lady ^0000FF"+strcharinfo(0)+"^000000, how may I help you?"; next; if (getgmlevel() < 80) set .@menu, select("Enchant:Information:Trade MvP Soul Stone"); else { set .@menu, select("Enchant:Information:Trade MvP Soul Stone:^FF0000GM Special Enchant^000000"); if (.@menu == 4) { set .@gmlevel, 1; goto L_EnchantLoc; } } if (.@menu == 2) { mes "["+strnpcinfo(1)+"]"; mes "Aah so you are looking information about the ^009900New Special Enchantment System^000000? Very well, I shall answer you. What's the matter?"; next; while (1) { set .@menu, select("Prices:General:Chances:Bonuses:MvP Special Enchanting"); if (.@menu == 2) { mes "["+strnpcinfo(1)+"]"; mes "The ^009900Special Enchantment System^000000 is rather simple, first, you show me your currently equipped gear, then I will show you a list of everything I can try to enchant."; next; mes "["+strnpcinfo(1)+"]"; mes "I can only work on ^FF0000Armors^000000, ^FF0000Footgears^000000, ^FF0000Upper Headgears^000000, ^FF0000Garments^000000 and ^FF0000Shields.^000000"; next; mes "["+strnpcinfo(1)+"]"; mes "Each refine attempt will cost you some ^0000FFZeny^000000, depending on which slot you wish to try. You can have three enchantments at total per equipment piece, one in each slot."; next; mes "["+strnpcinfo(1)+"]"; mes "Enchantments in the ^0000FFSame Slot^000000 will ^FF0000Overplace^000000 currently existing ones, so be carefull not to choose the wrong slot!"; next; mes "["+strnpcinfo(1)+"]"; mes "Enchantments obviously, give you bonuses such as statuses, Hp, Sp, and many other bonuses depending on what type of enchantment you choose."; next; mes "["+strnpcinfo(1)+"]"; mes "You can choose an enchantment for a specific type of class, but not necessarily that enchantment will be restricted only to that class. After choosing a class, the specific enchantment will be given randomly."; next; mes "["+strnpcinfo(1)+"]"; mes "You can collect ^009900MvP Special Misc Items^000000 to trade them in for better enchantments, or making you able to choose one enchantment instead of giving it randomly. But be aware, those type of enchantments will be more costy!"; next; } else if (.@menu == 1) { mes "["+strnpcinfo(1)+"]"; mes "The prices depend on which enchanting slot you pick."; mes "1st Slot - ^0000FF500,000z^000000 - ^0000FF1x Special Enchant Coupon^000000"; mes "2nd Slot - ^0000FF1,000,000z^000000 - ^0000FF2x Special Enchant Coupon^000000"; mes "3rd Slot - ^0000FF2,000,000z^000000 - ^0000FF3x Special Enchant Coupon^000000"; mes "MvP Special Enchanting - ^0000FF50,000,000z^000000 - ^0000FF5x Special Enchant Coupon^000000"; next; mes "["+strnpcinfo(1)+"]"; mes "Note that the MvP Special Enchanting does not depend on the slot number, it's a fixed price."; mes "If an enchantment fail, I'm sorry but you won't be refunded."; next; } else if (.@menu == 3) { mes "["+strnpcinfo(1)+"]"; mes "The chances depend on which enchanting slot you pick."; mes "1st Slot - ^0000FF80% Success^000000"; mes "2nd Slot - ^0000FF70% Success^000000"; mes "3rd Slot - ^0000FF60% Success^000000"; mes "MvP Special Enchanting - ^0000FF50% Success^000000"; next; mes "["+strnpcinfo(1)+"]"; mes "^0000FFAttention^000000, when an enchantment fail, the equipment will be completely ^0000FFDestroyed^000000."; mes "The MvP Special Enchanting has a fixed chance, that means, even if you attempt to do it in the first slot, the chance will always be 50%."; next; } else if (.@menu == 4) { mes "["+strnpcinfo(1)+"]"; mes "Once you succeed enchanting, you will get a bonus for the slot you chose. Upon choosing a class, the chance to get each random bonus for that class is exactly the same."; next; mes "["+strnpcinfo(1)+"]"; mes "The class type just helps you getting a good bonus for you, but you are not obligated to follow it. Every class can benefit from every class bonus. Now, Tell me a class, and i'll show you the available bonuses for it."; next; set .@menu2, select("Swordman:Mage:Thief:Archer:Merchant:Acolyte"); if (.@menu2 == 1) { mes "["+strnpcinfo(1)+"]"; mes "^0000FFSwordman STR+1^000000"; mes "^0000FFSwordman STR+2^000000"; mes "^0000FFSwordman VIT+1^000000"; mes "^0000FFSwordman VIT+2^000000"; mes "^0000FFSwordman VIT+3^000000"; mes "^0000FFSwordman STR+1/VIT+1^000000"; mes "^0000FFSwordman STR+2/VIT+1^000000"; mes "^0000FFSwordman STR+1/VIT+2^000000"; mes "^0000FFSwordman MHp+1%^000000"; mes "^0000FFSwordman MHp+2%^000000"; mes "^0000FFSwordman ATK+5^000000"; mes "^0000FFSwordman ATK+10^000000"; mes "^0000FFSwordman ATK+15^000000"; mes "^0000FFSwordman PhysicalReduction+1%^000000"; mes "^0000FFSwordman Damage+1%^000000"; mes "^0000FFSwordman Damage+2%^000000"; mes "^0000FFSwordman DEF+1^000000"; mes "^0000FFSwordman DEF+2^000000"; next; } else if (.@menu2 == 2) { mes "["+strnpcinfo(1)+"]"; mes "^0000FFMage INT+1^000000"; mes "^0000FFMage INT+2^000000"; mes "^0000FFMage INT+3^000000"; mes "^0000FFMage DEX+1^000000"; mes "^0000FFMage DEX+2^000000"; mes "^0000FFMage INT+1/DEX+1^000000"; mes "^0000FFMage INT+1/DEX+2^000000"; mes "^0000FFMage INT+2/DEX+1^000000"; mes "^0000FFMage MSp+1%^000000"; mes "^0000FFMage MSp+2%^000000"; mes "^0000FFMage MSp+3%^000000"; mes "^0000FFMage Matk+1%^000000"; mes "^0000FFMage Matk+2%^000000"; mes "^0000FFMage Cast-2%^000000"; mes "^0000FFMage Cast-4%^000000"; mes "^0000FFMage MdefIgnore+1%^000000"; mes "^0000FFMage MdefIgnore+2%^000000"; mes "^0000FFMage MDEF+1^000000"; mes "^0000FFMage MDEF+2^000000"; mes "^0000FFMage MDEF+3^000000"; next; } else if (.@menu2 == 3) { mes "["+strnpcinfo(1)+"]"; mes "^0000FFThief AGI+1^000000"; mes "^0000FFThief AGI+2^000000"; mes "^0000FFThief AGI+3^000000"; mes "^0000FFThief LUK+1^000000"; mes "^0000FFThief LUK+2^000000"; mes "^0000FFThief AGI+1/LUK+1^000000"; mes "^0000FFThief AGI+1/LUK+2^000000"; mes "^0000FFThief AGI+2/LUK+1^000000"; mes "^0000FFThief CRIT+2^000000"; mes "^0000FFThief CRIT+4^000000"; mes "^0000FFThief CRIT+6^000000"; mes "^0000FFThief FLEE+3^000000"; mes "^0000FFThief FLEE+6^000000"; mes "^0000FFThief FLEE+9^000000"; mes "^0000FFThief Damage+2%/MHp-1%^000000"; mes "^0000FFThief Damage+4%/MHp-2%^000000"; mes "^0000FFThief P.Dodge+1^000000"; mes "^0000FFThief P.Dodge+2^000000"; mes "^0000FFThief ASPD+1%^000000"; mes "^0000FFThief ASPD+2%^000000"; mes "^0000FFThief ASPD+3%^000000"; next; } else if (.@menu2 == 4) { mes "["+strnpcinfo(1)+"]"; mes "^0000FFArcher DEX+1^000000"; mes "^0000FFArcher DEX+2^000000"; mes "^0000FFArcher DEX+3^000000"; mes "^0000FFArcher AGI+1^000000"; mes "^0000FFArcher AGI+2^000000"; mes "^0000FFArcher AGI+3^000000"; mes "^0000FFArcher AGI+1/DEX+1^000000"; mes "^0000FFArcher AGI+1/DEX+2^000000"; mes "^0000FFArcher AGI+2/DEX+1^000000"; mes "^0000FFArcher CRIT+1^000000"; mes "^0000FFArcher CRIT+2^000000"; mes "^0000FFArcher CRIT+3^000000"; mes "^0000FFArcher FLEE+3^000000"; mes "^0000FFArcher FLEE+6^000000"; mes "^0000FFArcher FLEE+9^000000"; mes "^0000FFArcher BowDamage+2%^000000"; mes "^0000FFArcher BowDamage+3%^000000"; mes "^0000FFArcher Hit+2^000000"; mes "^0000FFArcher Hit+4^000000"; mes "^0000FFArcher Hit+6^000000"; mes "^0000FFArcher ASPD+1%^000000"; mes "^0000FFArcher ASPD+2%^000000"; next; } else if (.@menu2 == 5) { mes "["+strnpcinfo(1)+"]"; mes "^0000FFMerchant STR+1^000000"; mes "^0000FFMerchant STR+2^000000"; mes "^0000FFMerchant STR+3^000000"; mes "^0000FFMerchant VIT+1^000000"; mes "^0000FFMerchant AGI+1^000000"; mes "^0000FFMerchant AGI+2^000000"; mes "^0000FFMerchant STR+1/AGI+1/VIT+1^000000"; mes "^0000FFMerchant STR+2/AGI+1/VIT+1^000000"; mes "^0000FFMerchant STR+1/AGI+2/VIT+1^000000"; mes "^0000FFMerchant MHp+1%^000000"; mes "^0000FFMerchant ATK+3/STR+1^000000"; mes "^0000FFMerchant ATK+6/STR+1^000000"; mes "^0000FFMerchant ATK+9/STR+2^000000"; mes "^0000FFMerchant Greed1^000000"; mes "^0000FFMerchant Greed2^000000"; mes "^0000FFMerchant Greed3^000000"; mes "^0000FFMerchant FireResist+3%^000000"; mes "^0000FFMerchant FireResist+6%^000000"; mes "^0000FFMerchant EarthResist+2%^000000"; mes "^0000FFMerchant EarthResist+4%^000000"; mes "^0000FFMerchant ASPD+1%^000000"; mes "^0000FFMerchant ASPD+2%^000000"; next; } else if (.@menu2 == 6) { mes "["+strnpcinfo(1)+"]"; mes "^0000FFAcolyte INT+1^000000"; mes "^0000FFAcolyte INT+2^000000"; mes "^0000FFAcolyte VIT+1^000000"; mes "^0000FFAcolyte VIT+2^000000"; mes "^0000FFAcolyte DEX+1^000000"; mes "^0000FFAcolyte INT+1/DEX+1/VIT+1^000000"; mes "^0000FFAcolyte INT+1/DEX+1/VIT+2^000000"; mes "^0000FFAcolyte INT+2/DEX+1/VIT+1^000000"; mes "^0000FFAcolyte MHp+1%^000000"; mes "^0000FFAcolyte MSp+1%^000000"; mes "^0000FFAcolyte MSp+2%^000000"; mes "^0000FFAcolyte Matk+1%^000000"; mes "^0000FFAcolyte Heal+2%^000000"; mes "^0000FFAcolyte Heal+3%^000000"; mes "^0000FFAcolyte Heal+4%^000000"; mes "^0000FFAcolyte DEF+1/MDEF+1^000000"; mes "^0000FFAcolyte DEF+1/MDEF+2^000000"; mes "^0000FFAcolyte DEF+1/MDEF+3^000000"; mes "^0000FFAcolyte SPRegen1/INT+1^000000"; mes "^0000FFAcolyte SPRegen2/INT+1^000000"; mes "^0000FFAcolyte SPRegen3/INT+1^000000"; mes "^0000FFAcolyte PhysicalReduction+1%^000000"; mes "^0000FFAcolyte RangedReduction+1%^000000"; mes "^0000FFAcolyte RangedReduction+2%^000000"; next; } } else if (.@menu == 5) { mes "["+strnpcinfo(1)+"]"; mes "So you are talking about big stuff now, eh? ^009900MvP Special Enchanting^000000 is very difficult for me, therefore ^FF0000Any^000000 MvP Special enchantments will have a fixed price of 5,000,000z and a (80% - 10% * Slot Number) chance of success."; next; mes "["+strnpcinfo(1)+"]"; mes "That means, it doesn't matter if it's in the first, second or third slots, the chance will always be the same. As well as the price."; next; mes "["+strnpcinfo(1)+"]"; mes "Oh and I almost forgot, obviously, you must bring me the ^009900MvP Special Misc Items^000000, so I can trade them for ^0000FFUnique Power Stones^000000."; next; mes "["+strnpcinfo(1)+"]"; mes "Those ^0000FFUnique Power Stones^000000 are made from the extract of an MvP's power, meaning the more powerful the MvP is, the more ^0000FFUnique Power Stones^000000 it can give you."; next; mes "["+strnpcinfo(1)+"]"; mes "Here, I'll give you a list of every ^009900MvP Special Misc Items^000000 you can get, as well as how many ^0000FFUnique Power Stones^000000 they would give you..."; next; mes "["+strnpcinfo(1)+"]"; mes "^009900U.P.S^000000 = ^0000FFUnique Power Stones^000000"; callfunc("c_enchant_mvplist",1); next; mes "["+strnpcinfo(1)+"]"; mes "So now you must be wondering what you can do with those stones, well it's simple. Each ^0000FFUnique Power Stone^000000 can be traded for one normal enchantment, but by using a power stone, you can choose the specific enchantment!"; next; mes "["+strnpcinfo(1)+"]"; mes "That means, you can choose precisely what you want, meaning if you had enough power stones, you could have all the best enchantments you could ever get!"; next; mes "["+strnpcinfo(1)+"]"; mes "But not just that, the ^0000FFUnique Power Stones^000000 magic are so strong, that if you get ^FF0000Three^000000 of them together, you can try to make a ^0000FFMvP Unique Enchantment^000000"; next; mes "["+strnpcinfo(1)+"]"; mes "The chance is (60% - 10% * Slot Number) and zeny cost for those enchantments is always 1000000z, no matter the slot. The biggest difference is that their given bonus is completely different from the rest."; next; mes "["+strnpcinfo(1)+"]"; mes "If it succeeds, it will give you one of the following bonuses, note that the bonuses cannot be chosen specifically this time! They will be given randomly!"; next; mes "["+strnpcinfo(1)+"]"; mes "^0000FFUnique MHp+4%/MSp+4%^000000"; mes "^0000FFUnique MHp+6%/MSp+6%^000000"; mes "^0000FFUnique STR+3/VIT+3/DEX+3^000000"; mes "^0000FFUnique STR+3/AGI+3/LUK+3^000000"; mes "^0000FFUnique DEX+3/VIT+3/LUK+3^000000"; mes "^0000FFUnique INT+3/VIT+3/DEX+3^000000"; mes "^0000FFUnique INT+3/STR+3/AGI+3^000000"; mes "^0000FFUnique DEF+4/MDEF+4^000000"; mes "^0000FFUnique DEF+6/MDEF+6^000000"; mes "^0000FFUnique Damage Reflect5%^000000"; mes "^0000FFUnique Damage Reflect7%^000000"; mes "^0000FFUnique P.Damage+5%/MATK+5%^000000"; mes "^0000FFUnique P.Damage+7%/MATK+7%^000000"; mes "^0000FFUnique Skill/Spell Delay-7%^000000"; mes "^0000FFUnique Skill/Spell Delay-9%^000000"; mes "^0000FFUnique DEF/MDEF Ignore+3%^000000"; mes "^0000FFUnique DEF/MDEF Ignore+6%^000000"; mes "^0000FFUnique ASPD+5%/Cast Time-5%^000000"; mes "^0000FFUnique ASPD+7%/Cast Time-7%^000000"; mes "^0000FFUnique Skill/Spell Sp Cost-5%^000000"; mes "^0000FFUnique Skill/Spell Sp Cost-7%^000000"; next; } } } else if (.@menu == 3) { callfunc("c_enchant_mvplist",0); mes "["+strnpcinfo(1)+"]"; mes "There, I gave you all the power stones I could, please come back with more ^009900MvP Misc Items^000000 later!"; close; } else if (.@menu == 1) { L_EnchantLoc: mes "["+strnpcinfo(1)+"]"; mes "Select an equipment first, then I'll ask you the ^FF0000Enchantment Type^000000, ^FF0000Class Type^000000 (If necessary), ^0000FFSlot Number^000000, and give you the final ^009900Zeny Cost^000000 for my services."; next; setarray .@position$[1], "Headgear","Armor","Shield","Invalid","Garment","Footgear"; set .@menu$,""; deletearray .@arr; set .@j, 1; for( set .@i,1; .@i <= 6; set .@i,.@i+1 ) { if ((.@i == 3) && (getiteminfo(getequipid(3),5) == 32) && (getequipisequiped(.@i))) { // Only catch shields set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; set .@arr[.@j], .@i; set .@j, .@j + 1; set .@menu$, .@menu$ + ":"; } if(getequipisequiped(.@i) && (.@i != 4) && (.@i != 3)) { set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; set .@arr[.@j], .@i; set .@j, .@j + 1; set .@menu$, .@menu$ + ":"; } } if (.@menu$ == "") { mes "["+strnpcinfo(1)+"]"; mes "Errr wait. Oh Sorry but you must have armors equipped to enchant them!"; close; } // Calibrating menu set .@part, select(.@menu$); if (.@arr[.@part] == 1) set .@part, EQI_HEAD_TOP; else if (.@arr[.@part] == 2) set .@part, EQI_ARMOR; else if (.@arr[.@part] == 3) set .@part, EQI_HAND_L; else if (.@arr[.@part] == 5) set .@part, EQI_GARMENT; else if (.@arr[.@part] == 6) set .@part, EQI_SHOES; if (.@gmlevel) goto L_SelectSlot; // Selecting Types set .@menu, select("Normal Enchantment:MvP Special Enchantment"); if (.@menu == 1) { set .@enchant_type, 0; } else { set .@menu, select ("Specific Normal Enchant:Random Unique Enchant"); if (.@menu == 1) set .@enchant_type,1; else set .@enchant_type,2; } // Class Types if (.@enchant_type == 0) set .@class_type, select("Swordman:Mage:Thief:Archer:Merchant:Acolyte"); // Selecting Slots L_SelectSlot: set .@slot_num, 0; set .@slot_num, select("1st Slot:2nd Slot:3rd Slot"); if ((.@slot_num <= 0) || (.@slot_num > 3)) { mes "["+strnpcinfo(1)+"]"; mes "Sorry but you must select a valid slot number."; close; } // Gm Option Select if (.@gmlevel) set .@enchant_type, 1; // Special Specific Enchant Selection if (.@enchant_type == 1) { L_SelectEnc: mes "["+strnpcinfo(1)+"]"; mes "Please now select the specific enchantment. First you choose the class type, then you select the specific enchant."; next; set .@menu$, ""; set .@selected_bonus, 0; if (.@gmlevel) { set .@menu2, select("Swordman:Mage:Thief:Archer:Merchant:Acolyte:^FF0000MvP Special Enchant^000000"); if (.@menu2 == 7) { set .@menu$, "^0000FFUnique MHp+4%/MSp+4%^000000"; set .@menu$, .@menu$ + ":^0000FFUnique MHp+6%/MSp+6%^000000"; set .@menu$, .@menu$ + ":^0000FFUnique STR+3/VIT+3/DEX+3^000000"; set .@menu$, .@menu$ + ":^0000FFUnique STR+3/AGI+3/LUK+3^000000"; set .@menu$, .@menu$ + ":^0000FFUnique DEX+3/VIT+3/LUK+3^000000"; set .@menu$, .@menu$ + ":^0000FFUnique INT+3/VIT+3/DEX+3^000000"; set .@menu$, .@menu$ + ":^0000FFUnique INT+3/STR+3/AGI+3^000000"; set .@menu$, .@menu$ + ":^0000FFUnique DEF+4/MDEF+4^000000"; set .@menu$, .@menu$ + ":^0000FFUnique DEF+6/MDEF+6^000000"; set .@menu$, .@menu$ + ":^0000FFUnique Damage Reflect5%^000000"; set .@menu$, .@menu$ + ":^0000FFUnique Damage Reflect7%^000000"; set .@menu$, .@menu$ + ":^0000FFUnique P.Damage+5%/MATK+5%^000000"; set .@menu$, .@menu$ + ":^0000FFUnique P.Damage+7%/MATK+7%^000000"; set .@menu$, .@menu$ + ":^0000FFUnique Skill/Spell Delay-7%^000000"; set .@menu$, .@menu$ + ":^0000FFUnique Skill/Spell Delay-9%^000000"; set .@menu$, .@menu$ + ":^0000FFUnique DEF/MDEF Ignore+3%^000000"; set .@menu$, .@menu$ + ":^0000FFUnique DEF/MDEF Ignore+6%^000000"; set .@menu$, .@menu$ + ":^0000FFUnique ASPD+5%/Cast Time-5%^000000"; set .@menu$, .@menu$ + ":^0000FFUnique ASPD+7%/Cast Time-7%^000000"; set .@menu$, .@menu$ + ":^0000FFUnique Skill/Spell Sp Cost-5%^000000"; set .@menu$, .@menu$ + ":^0000FFUnique Skill/Spell Sp Cost-7%^000000"; set .@selected_bonus, select(.@menu$) + 45126; next; } } else { set .@menu2, select("Swordman:Mage:Thief:Archer:Merchant:Acolyte"); } if (.@menu2 == 1) { set .@menu$, "^0000FFSwordman STR+1^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman STR+2^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman VIT+1^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman VIT+2^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman VIT+3^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman STR+1/VIT+1^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman STR+2/VIT+1^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman STR+1/VIT+2^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman MHp+1%^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman MHp+2%^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman ATK+5^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman ATK+10^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman ATK+15^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman PhysicalReduction+1%^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman Damage+1%^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman Damage+2%^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman DEF+1^000000"; set .@menu$, .@menu$ + ":^0000FFSwordman DEF+2^000000"; set .@selected_bonus, select(.@menu$) + 44999; next; } else if (.@menu2 == 2) { set .@menu$, "^0000FFMage INT+1^000000"; set .@menu$, .@menu$ + ":^0000FFMage INT+2^000000"; set .@menu$, .@menu$ + ":^0000FFMage INT+3^000000"; set .@menu$, .@menu$ + ":^0000FFMage DEX+1^000000"; set .@menu$, .@menu$ + ":^0000FFMage DEX+2^000000"; set .@menu$, .@menu$ + ":^0000FFMage INT+1/DEX+1^000000"; set .@menu$, .@menu$ + ":^0000FFMage INT+1/DEX+2^000000"; set .@menu$, .@menu$ + ":^0000FFMage INT+2/DEX+1^000000"; set .@menu$, .@menu$ + ":^0000FFMage MSp+1%^000000"; set .@menu$, .@menu$ + ":^0000FFMage MSp+2%^000000"; set .@menu$, .@menu$ + ":^0000FFMage MSp+3%^000000"; set .@menu$, .@menu$ + ":^0000FFMage Matk+1%^000000"; set .@menu$, .@menu$ + ":^0000FFMage Matk+2%^000000"; set .@menu$, .@menu$ + ":^0000FFMage Cast-2%^000000"; set .@menu$, .@menu$ + ":^0000FFMage Cast-4%^000000"; set .@menu$, .@menu$ + ":^0000FFMage MdefIgnore+1%^000000"; set .@menu$, .@menu$ + ":^0000FFMage MdefIgnore+2%^000000"; set .@menu$, .@menu$ + ":^0000FFMage MDEF+1^000000"; set .@menu$, .@menu$ + ":^0000FFMage MDEF+2^000000"; set .@menu$, .@menu$ + ":^0000FFMage MDEF+3^000000"; set .@selected_bonus, select(.@menu$) + 45017; next; } else if (.@menu2 == 3) { set .@menu$, "^0000FFThief AGI+1^000000"; set .@menu$, .@menu$ + ":^0000FFThief AGI+2^000000"; set .@menu$, .@menu$ + ":^0000FFThief AGI+3^000000"; set .@menu$, .@menu$ + ":^0000FFThief LUK+1^000000"; set .@menu$, .@menu$ + ":^0000FFThief LUK+2^000000"; set .@menu$, .@menu$ + ":^0000FFThief AGI+1/LUK+1^000000"; set .@menu$, .@menu$ + ":^0000FFThief AGI+1/LUK+2^000000"; set .@menu$, .@menu$ + ":^0000FFThief AGI+2/LUK+1^000000"; set .@menu$, .@menu$ + ":^0000FFThief CRIT+2^000000"; set .@menu$, .@menu$ + ":^0000FFThief CRIT+4^000000"; set .@menu$, .@menu$ + ":^0000FFThief CRIT+6^000000"; set .@menu$, .@menu$ + ":^0000FFThief FLEE+3^000000"; set .@menu$, .@menu$ + ":^0000FFThief FLEE+6^000000"; set .@menu$, .@menu$ + ":^0000FFThief FLEE+9^000000"; set .@menu$, .@menu$ + ":^0000FFThief Damage+2%/MHp-1%^000000"; set .@menu$, .@menu$ + ":^0000FFThief Damage+4%/MHp-2%^000000"; set .@menu$, .@menu$ + ":^0000FFThief P.Dodge+1^000000"; set .@menu$, .@menu$ + ":^0000FFThief P.Dodge+2^000000"; set .@menu$, .@menu$ + ":^0000FFThief ASPD+1%^000000"; set .@menu$, .@menu$ + ":^0000FFThief ASPD+2%^000000"; set .@menu$, .@menu$ + ":^0000FFThief ASPD+3%^000000"; set .@selected_bonus, select(.@menu$) + 45037; next; } else if (.@menu2 == 4) { set .@menu$, "^0000FFArcher DEX+1^000000"; set .@menu$, .@menu$ + ":^0000FFArcher DEX+2^000000"; set .@menu$, .@menu$ + ":^0000FFArcher DEX+3^000000"; set .@menu$, .@menu$ + ":^0000FFArcher AGI+1^000000"; set .@menu$, .@menu$ + ":^0000FFArcher AGI+2^000000"; set .@menu$, .@menu$ + ":^0000FFArcher AGI+3^000000"; set .@menu$, .@menu$ + ":^0000FFArcher AGI+1/DEX+1^000000"; set .@menu$, .@menu$ + ":^0000FFArcher AGI+1/DEX+2^000000"; set .@menu$, .@menu$ + ":^0000FFArcher AGI+2/DEX+1^000000"; set .@menu$, .@menu$ + ":^0000FFArcher CRIT+1^000000"; set .@menu$, .@menu$ + ":^0000FFArcher CRIT+2^000000"; set .@menu$, .@menu$ + ":^0000FFArcher CRIT+3^000000"; set .@menu$, .@menu$ + ":^0000FFArcher FLEE+3^000000"; set .@menu$, .@menu$ + ":^0000FFArcher FLEE+6^000000"; set .@menu$, .@menu$ + ":^0000FFArcher FLEE+9^000000"; set .@menu$, .@menu$ + ":^0000FFArcher BowDamage+2%^000000"; set .@menu$, .@menu$ + ":^0000FFArcher BowDamage+3%^000000"; set .@menu$, .@menu$ + ":^0000FFArcher Hit+2^000000"; set .@menu$, .@menu$ + ":^0000FFArcher Hit+4^000000"; set .@menu$, .@menu$ + ":^0000FFArcher Hit+6^000000"; set .@menu$, .@menu$ + ":^0000FFArcher ASPD+1%^000000"; set .@menu$, .@menu$ + ":^0000FFArcher ASPD+2%^000000"; set .@selected_bonus, select(.@menu$) + 45058; next; } else if (.@menu2 == 5) { set .@menu$, "^0000FFMerchant STR+1^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant STR+2^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant STR+3^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant VIT+1^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant AGI+1^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant AGI+2^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant STR+1/AGI+1/VIT+1^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant STR+2/AGI+1/VIT+1^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant STR+1/AGI+2/VIT+1^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant MHp+1%^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant ATK+3/STR+1^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant ATK+6/STR+1^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant ATK+9/STR+2^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant Greed1^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant Greed2^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant Greed3^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant FireResist+3%^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant FireResist+6%^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant EarthResist+2%^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant EarthResist+4%^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant ASPD+1%^000000"; set .@menu$, .@menu$ + ":^0000FFMerchant ASPD+2%^000000"; set .@selected_bonus, select(.@menu$) + 45080; next; } else if (.@menu2 == 6) { set .@menu$, "^0000FFAcolyte INT+1^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte INT+2^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte VIT+1^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte VIT+2^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte DEX+1^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte INT+1/DEX+1/VIT+1^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte INT+1/DEX+1/VIT+2^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte INT+2/DEX+1/VIT+1^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte MHp+1%^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte MSp+1%^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte MSp+2%^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte Matk+1%^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte Heal+2%^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte Heal+3%^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte Heal+4%^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte DEF+1/MDEF+1^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte DEF+1/MDEF+2^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte DEF+1/MDEF+3^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte SPRegen1/INT+1^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte SPRegen2/INT+1^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte SPRegen3/INT+1^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte PhysicalReduction+1%^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte RangedReduction+1%^000000"; set .@menu$, .@menu$ + ":^0000FFAcolyte RangedReduction+2%^000000"; set .@selected_bonus, select(.@menu$) + 45102; next; } set .@selected_enchant, .@menu; set .@menu, 0; } // Giving Zeny Cost, and Chance set .@equip_cardid, getequipcardid(.@part,(4 - .@slot_num)); set .@itemid, getequipid(.@part); if (countitem(.@itemid) > 1) { mes "["+strnpcinfo(1)+"]"; mes "Ah, looks like you have more than one of the same item in your inventory, I'm sorry but you must store them first before proceeding."; close; } mes "["+strnpcinfo(1)+"]"; if (.@equip_cardid <= 0) mes "So far so good, please confirm your enchantment."; else mes "Please confirm your enchantment. ^FF0000Overplaced old effects will be lost^000000"; // First Enchantment Type ------------------------------------------------------------------------------------------------ if (.@enchant_type == 0) { // Confirmation // The random bonus is given before the actual success... But it's hidden, obviously. if (.@class_type == 1) { set .@class_type$, "Swordman"; set .@rand_bonus, rand(45000,45017); } else if (.@class_type == 2) { set .@class_type$, "Mage"; set .@rand_bonus, rand(45018,45037); } else if (.@class_type == 3) { set .@class_type$, "Thief"; set .@rand_bonus, rand(45038,45058); } else if (.@class_type == 4) { set .@class_type$, "Archer"; set .@rand_bonus, rand(45059,45080); } else if (.@class_type == 5) { set .@class_type$, "Merchant"; set .@rand_bonus, rand(45081,45102); } else if (.@class_type == 6) { set .@class_type$, "Acolyte"; set .@rand_bonus, rand(45103,45126); } if (.@slot_num == 1) { set .@zeny_cost, 500000; set .@item_cost, 1; } else if (.@slot_num == 2) { set .@zeny_cost, 1000000; set .@item_cost, 2; } else if (.@slot_num == 3) { set .@zeny_cost, 2000000; set .@item_cost, 3; } set .@item_id, 45149; mes "^0000FFEquip^000000 = "+getitemname(.@itemid); mes "^0000FFChance^000000 = "+(90 - (10*.@slot_num))+"%"; mes "^0000FFSlot Number^000000 = "+( (.@slot_num == 1) ? "1st Slot" : (.@slotnum == 2 ? "2nd Slot" : "3rd Slot") ); mes "^0000FFZeny Cost^000000 = "+.@zeny_cost+"z"; mes "^0000FFSpecial Enchant Coupon^000000 = "+.@item_cost+"x"; mes "^0000FFClass Type^000000 = "+.@class_type$; if (.@equip_cardid > 0) mes "^FF0000Overplace^000000 = "+getitemname(.@equip_cardid); next; if (Select("Confirm:Cancel") == 2) close; // Check Zeny //if (Zeny < .@zeny_cost) { if(countitem(.@item_id) < .@item_cost) { mes "["+strnpcinfo(1)+"]"; mes "Sorry, but you are broke."; close; } // Refine Attempt progressbar "ffff00",3; // Double Check after progress bar if(countitem(.@item_id) < .@item_cost || Zeny < .@zeny_cost) { mes "["+strnpcinfo(1)+"]"; mes "Are you trying to fool me?! You don't have zeny and item anymore!"; close; } if (getequipid(.@part) != .@itemid) { mes "["+strnpcinfo(1)+"]"; mes "What do you think you are doing, your punk?! You switched your equipment! Get lost before I sue you."; close; } // Fail if (rand(0,100) > (90 - (10*.@slot_num))) { specialeffect2 306; mes "["+strnpcinfo(1)+"]"; mes "Wooops! I'm sorry, but it broke. There's nothing I can do about it anymore."; set Zeny, Zeny - .@zeny_cost; delitem .@item_id,.@item_cost; delitem .@itemid,1; close; } else { // Success mes "["+strnpcinfo(1)+"]"; mes "Ha! There you go, your brand new enchanted equipment!"; set .@refine, getequiprefinerycnt(.@part); for (set .@i, 0; .@i < 4; set .@i, .@i + 1) set .@cardid[.@i], getequipcardid(.@part,.@i); delitem .@itemid,1; set Zeny, Zeny - .@zeny_cost; delitem .@item_id,.@item_cost; specialeffect2 305; if (.@slot_num == 1) getitem2 .@itemid, 1, 1, .@refine, 0, .@cardid[0], .@cardid[1], .@cardid[2], .@rand_bonus; else if (.@slot_num == 2) getitem2 .@itemid, 1, 1, .@refine, 0, .@cardid[0], .@cardid[1], .@rand_bonus, .@cardid[3]; else if (.@slot_num == 3) getitem2 .@itemid, 1, 1, .@refine, 0, .@cardid[0], .@rand_bonus, .@cardid[2], .@cardid[3]; equip(.@itemid); close; } } // Second Enchantment Type ------------------------------------------------------------------------------------------------ if (.@enchant_type == 1) { // Confirmation set .@item_id, 45149; set .@item_cost, 1; if (.@gmlevel) set .@zeny_cost, 1; else set .@zeny_cost, 5000000; if (.@gmlevel) set .@chance, 100; else set .@chance, (80 - (10*.@slot_num)); mes "^0000FFEquip^000000 = "+getitemname(.@itemid); mes "^0000FFChance^000000 = "+.@chance+"%"; mes "^0000FFSlot Number^000000 = "+( (.@slot_num == 1) ? "1st Slot" : (.@slotnum == 2 ? "2nd Slot" : "3rd Slot") ); mes "^0000FFZeny Cost^000000 = "+.@zeny_cost+"z"; mes "^0000FFSpecial Enchant Coupon^000000 = "+.@item_cost+"x"; if (!.@gmlevel) mes "^0000FFUnique Power Stones^000000 = 1 Consumed"; mes "^0000FFSelected Enchantment^000000 = "+getitemname(.@selected_bonus); if (.@equip_cardid > 0) mes "^FF0000Overplace^000000 = "+getitemname(.@equip_cardid); next; if (Select("Confirm:Cancel") == 2) close; // Check Zeny if(countitem(.@item_id) < .@item_cost || Zeny < .@zeny_cost) { mes "["+strnpcinfo(1)+"]"; mes "Sorry, but you are broke."; close; } if ((countitem(45148) < 1) && (!.@gmlevel)) { mes "["+strnpcinfo(1)+"]"; mes "Hey! You can't Power Refine without Power Stones!"; close; } // Refine Attempt progressbar "ffff00",3; // Double Check after progress bar if(countitem(.@item_id) < .@item_cost || Zeny < .@zeny_cost) { mes "["+strnpcinfo(1)+"]"; mes "Are you trying to fool me?! You don't have zeny and item anymore!"; close; } if ( (countitem(45148) < 1) && (!.@gmlevel) ) { mes "["+strnpcinfo(1)+"]"; mes "Hey! You can't Power Refine without Power Stones!"; close; } if (getequipid(.@part) != .@itemid) { mes "["+strnpcinfo(1)+"]"; mes "What do you think you are doing, your punk?! You switched your equipment! Get lost before I sue you."; close; } // Fail if (rand(0,100) > .@chance) { specialeffect2 306; mes "["+strnpcinfo(1)+"]"; mes "Wooops! I'm sorry, but it broke. There's nothing I can do about it anymore."; set Zeny, Zeny - .@zeny_cost; delitem .@item_id,.@item_cost; if (!.@gmlevel) delitem 45148,1; delitem .@itemid,1; close; } else { // Success set .@rand_bonus, .@selected_bonus; mes "["+strnpcinfo(1)+"]"; mes "Ha! There you go, your brand new enchanted equipment!"; set .@refine, getequiprefinerycnt(.@part); for (set .@i, 0; .@i < 4; set .@i, .@i + 1) set .@cardid[.@i], getequipcardid(.@part,.@i); delitem .@itemid,1; if (!.@gmlevel) delitem 45148,1; set Zeny, Zeny - .@zeny_cost; delitem .@item_id,.@item_cost; specialeffect2 305; if (.@slot_num == 1) getitem2 .@itemid, 1, 1, .@refine, 0, .@cardid[0], .@cardid[1], .@cardid[2], .@rand_bonus; else if (.@slot_num == 2) getitem2 .@itemid, 1, 1, .@refine, 0, .@cardid[0], .@cardid[1], .@rand_bonus, .@cardid[3]; else if (.@slot_num == 3) getitem2 .@itemid, 1, 1, .@refine, 0, .@cardid[0], .@rand_bonus, .@cardid[2], .@cardid[3]; equip(.@itemid); close; } } // Third Enchantment Type ------------------------------------------------------------------------------------------------ if (.@enchant_type == 2) { // Confirmation set .@zeny_cost, 50000000; set .@item_id, 45149; set .@item_cost, 5; set .@chance, (60 - (10*.@slot_num)); mes "^0000FFEquip^000000 = "+getitemname(.@itemid); mes "^0000FFChance^000000 = "+.@chance+"%"; mes "^0000FFSlot Number^000000 = "+( (.@slot_num == 1) ? "1st Slot" : (.@slotnum == 2 ? "2nd Slot" : "3rd Slot") ); mes "^0000FFZeny Cost^000000 = "+.@zeny_cost+"z"; mes "^0000FFSpecial Enchant Coupon^000000 = "+.@item_cost+"x"; mes "^0000FFUnique Power Stones^000000 = 3 Consumed"; mes "^009900Unique MvP Random Enchantment^000000"; if (.@equip_cardid > 0) mes "^FF0000Overplace^000000 = "+getitemname(.@equip_cardid); next; if (Select("Confirm:Cancel") == 2) close; // Check Zeny if(countitem(.@item_id) < .@item_cost || Zeny < .@zeny_cost) { mes "["+strnpcinfo(1)+"]"; mes "Sorry, but you are broke."; close; } if (countitem(45148) < 3) { mes "["+strnpcinfo(1)+"]"; mes "Hey! You can't Power Refine without Power Stones!"; close; } // Refine Attempt progressbar "ffff00",8; // Double Check after progress bar if(countitem(.@item_id) < .@item_cost || Zeny < .@zeny_cost) { mes "["+strnpcinfo(1)+"]"; mes "Are you trying to fool me?! You don't have zenyand item anymore!"; close; } if (countitem(45148) < 3) { mes "["+strnpcinfo(1)+"]"; mes "Hey! You can't Power Refine without Power Stones!"; close; } if (getequipid(.@part) != .@itemid) { mes "["+strnpcinfo(1)+"]"; mes "What do you think you are doing, your punk?! You switched your equipment! Get lost before I sue you."; close; } // Fail if (rand(0,100) > .@chance) { specialeffect2 306; specialeffect2 183; mes "["+strnpcinfo(1)+"]"; mes "Oh my god! The power was so intense the equipment broke into pieces! I'm sorry, but there's nothing I can do."; set Zeny, Zeny - .@zeny_cost; delitem .@item_id,.@item_cost; delitem 45148,3; delitem .@itemid,1; close; } else { // Success mes "["+strnpcinfo(1)+"]"; mes "Wow! I can't even believe I did this myself, haha! I must be better than I thought. Oh- Yeah sorry, here's your equipment."; set .@refine, getequiprefinerycnt(.@part); for (set .@i, 0; .@i < 4; set .@i, .@i + 1) set .@cardid[.@i], getequipcardid(.@part,.@i); set .@rand_bonus, rand(45127,45147); delitem .@itemid,1; delitem 45148,3; set Zeny, Zeny - .@zeny_cost; delitem .@item_id,.@item_cost; specialeffect2 305; specialeffect2 113; if (.@slot_num == 1) getitem2 .@itemid, 1, 1, .@refine, 0, .@cardid[0], .@cardid[1], .@cardid[2], .@rand_bonus; else if (.@slot_num == 2) getitem2 .@itemid, 1, 1, .@refine, 0, .@cardid[0], .@cardid[1], .@rand_bonus, .@cardid[3]; else if (.@slot_num == 3) getitem2 .@itemid, 1, 1, .@refine, 0, .@cardid[0], .@rand_bonus, .@cardid[2], .@cardid[3]; equip(.@itemid); close; } } } } function script c_enchant_mvplist { // Table Parameters : // mvp_itemid : ID of the Misc Item // mvp_itemcount : Number of these Items required // to exchange for only one power stone. // = MvP Power Stone Conversion Table ===================================================================================================================================================================================================== // , Baphomet, Amon Ra, Beelzebub, Detale, Eddga, ESL, Garm, Gloom, Scaraba Q, Kiel, Ktullanux, LoD, Maya, Mistress, Nidhoggr, Orc Hero/Orc Lord, Osiris, Pharaoh, Tao Gunka, Thanatos, Valk, Tendrillion, Hardrock //setarray .@mvp_itemid[0] , 750 , 7211 ,7754 ,7451 ,1029 ,7169,7036 ,7566 ,6326 ,7513 ,7562 ,7108,7020 ,7018 ,6091 ,968 ,751 ,7114 ,7300 ,7450 ,7024 ,6033 ,6022 ; //setarray .@mvp_itemcount[0], 5 , 5 , 2 ,3 , 7 , 6, 7 , 3 , 4 , 4 , 3 , 4 , 2 ,2 ,2 ,7 ,7 ,7 ,7 ,3 ,2 ,6 ,4; setarray .@mvp_itemid[0] , 45150; setarray .@mvp_itemcount[0], 5; // ======================================================================================================================================================================================================================================== if (getarg(0) == 1) for (set .@i, 0; .@i < getarraysize(.@mvp_itemid); set .@i, .@i + 1) mes .@mvp_itemcount[.@i]+" ^0000FF"+getitemname(.@mvp_itemid[.@i])+"^000000 = 1 ^009900U.P.S^000000"; else if (getarg(0) == 0) { for (set .@i, 0; .@i < getarraysize(.@mvp_itemid); set .@i, .@i + 1) { set .@j, 0; if (countitem(.@mvp_itemid[.@i]) >= .@mvp_itemcount[.@i]) { getitem 45148,1; delitem .@mvp_itemid[.@i], .@mvp_itemcount[.@i]; set .@i, .@i - 1; set .@j, .@j + 1; if (.@j % 15) sleep2 300; // Infinity loop prevention } } } return; } morocc_in,69,31,5 duplicate(Special Enchanter#r1) Special Enchanter#r2 64 payon,148,169,5 duplicate(Special Enchanter#r1) Special Enchanter#r3 64 alberta_in,16,63,5 duplicate(Special Enchanter#r1) Special Enchanter#r4 64 yuno_in01,168,29,5 duplicate(Special Enchanter#r1) Special Enchanter#r5 64 ein_in01,19,86,5 duplicate(Special Enchanter#r1) Special Enchanter#r6 64 lhz_in02,280,16,5 duplicate(Special Enchanter#r1) Special Enchanter#r7 64
  12. May Digest 2016 The following digest covers the month of May, 2016. Staff Changes @Secrets is now a Script DB/DeveloperDevelopment Highlights CORE:Fixed a cashshop crash after reloaditemdb (2170cfc) Map Server and Path searching optimization (99cb385, 1967fab, f7bc696, b414fae, 6104db8, d2ded88, a98d6b1, 332f66d, b7643e3, a89e97e, 961399f, 790bc58) Added missing Summoner constants (d83559c) Fixed a map crash from the mob mode update (55165ac) Fixed readparam behaviour for variables (2b61f45) Fixed the Monster Transform status icon (0c09928) Increased MAX_RACE2_MOBS for future use (c6ba347) Corrected some packet structure issues (440c6ef) Refactored part of guild emblem validation (cdb626c) Implemented new item bonuses: bWeaponAtkRate and bWeaponMatkRate (952b072) Expanded the instance system to support new modes: No player attached, single player, and guild (c97be60, 8f7d220, cb703c5, 2cfb844, c591586, 6babca3, 1408eef, 161a4c0, f91bf02) Fixed random disconnection issue on client 2015+ (0a79b4b) Add support for unsetting bit flag in item_noequip (5287f82) Fixed atcommand skilltree (0889367) Added missing jobs to atcommand accinfo (93aa624) DATABASE:Skill Update: Tension Relax, Tiger Cannon, Lunatic Carrot Beat, Catnip Meteor, Grand Cross, Marionette Control, Mechanic Back/Front Slide, Izayoi, Grafitti, Exceed Break, Spell Fist, Giant Growth, Defending Aura, Neutral Barrier, Dispell, Clearance, Banishing Buster, Aqua Benedicta, Water Ball, NPC Earthquake, Shadow Leap, Bio Explosion, Suicide Bombing, Summon Legion, Swirling Petal, Enchant Blade (abaed18, cb52138, 89f86b2, 8a37f1b, 9cd7e59, 4c617bc, 717eb22, b3c1866, 24ef79b, db0f231, 4a671ea, 19f2bc5, 4f34689, cc30d9d, 9b4c7dd, 6f0ed15, 1640b40, b4fe1fe) Updated Item DB (c6187fa, b14b3e2, 6a43804, 62d9a9b, b76dea7, 3132b60, 9c994e0, b8b2593, c4ded91, 1e584cb, 8e0dff7, 1672e0f, ed8c967, d1819e7, 37b3644, 6e9c67c, aec8b51, 5ac2292) Fixed a bug with Champion Monster modes (79ba46c) Implemented new kRO cards (bcdf196, 440a265) Adds var 'killedrid' to script monster OnKillEvents (5b35e1a) Fixed a bug with item bonus bAddEff that can affect the user when hit by own skill (935235c) SCRIPT:Fixed a bug in Assassin Job Quest (33184fe, 631187b, 97426ec, 3261532) Updated /npc/custom/resetnpc.txt (6541972) Updated quest_db.txt for Wolfchev Laboratory (6485dba) Updated the second entrance to Biolabs (88635c0) OTHERS:Fixed compilation with visual studio (c4390e5) Resolved a compile error for CentOS (ca049a6, 1cd648b, 28ad9ac) Added the new import templates (208407c) Statistics 13 authors have pushed 104 commits during this period. On master, 76 files have changed. There have been 2,141 additions and 1,311 deletions. There are 20 merged Pull Requests and 4 Proposed Pull Requests. There are 24 new Issues and 84 Closed Issues. List of Contributors @aleos89, @anacondaqq, @Asheraf, @Atemo, @Badarosk0, @breaker7, @CairoLee, @cydh, @Daegaladh, @Darkelfen, @darknessfmy, @Everade, @hazimjauhari90, @iubantot, @jeybla, @jezznar, @jgfeliz, @joelolopez, @julia40124009, @keitenai, @Lemongrass3110, @majimboo, @MishimaHaruna, @MrAntares, @nanakiwurtz, @nehpetskie, @Paoly28, @Playtester, @RadianFord, @RagnarokNova, @reunite-ro, @secretdataz, @spinzaku, @stealth62, @Stolao, @theoriginalspre, @Tokeiburu, @Vomaito, @whupdo, @wilkemeyer, @X-eno, @Yuchinin, @zackdreaver Show your support to rAthena by submitting your Issue or Pull Requests! By providing enough useful info (Git Hash, Client Date, RE/Pre-RE, crashdump, how to reproduce, etc) you will help us to solve the issues faster
  13. April Digest 2016 The following digest covers the month of April, 2016. Staff ChangesNoneDevelopment Highlights CORE:Added support for arrays to atcommand set (b53e00b) Fixed unwanted auto attacks (c14758f) Fixed monster unlocking target during cast (fea9067) Fixed character deletion for 2015-10-01 onwards (7a0b628) Fixed an issue with mob randomwalk (397728c) Resolved a flag overlap for status_change_clear_buffs (2305a66) Corrected the return value for script command query_sql (5766fc6) Added support for 2015-11-04aRagEXE (5e58149) Fixed autospell error log (8747104) Fixed a possible item ID overflow for script command makeitem (ee3cf98) Added return values for unit script commands (4f16d82) Refactored the EQI constants (2bf64c9) Added a new script command unitexists (67e26c8) Updated Body Style command (bd3952c) Fixed character deletion on 2015-11-04 and higher (a41ba12) Fixed the unknown packets on clients from october 2015 onwards (f0aa0e5) Overhaul of the mob mode system (55e4df1) Added DIR_* to script constants (10bac96) Map Server clean up, removed skilldb_id2idx (2a60f56) Removed a redundant death check in recallall (0a92487) Small refactor of pc_setpos (6ab9fd0) Updated the logic in atcommand item2 (16f2d54) Fixed NPC_SUMMONMONSTER switching monster mode to the slave mode (703b1ec) DATABASE:Skill Update: Offertorium, Sura Combos, Tumbling, Arrullo, Deep Sleep Lullaby, Plagiarism, Reproduce, Provoke, King's Grace, Makibishi, Eska, Catnip Meteor, Power of Life, Heaven Drive, Gentle Touch - Cure, Tunna Belly, Power of Sea, Tiger Cannon, Sky Net Blow, Chorus, Enchant Blade (c75ffa1, 3cad4cd, 19e4f59, 35bcde6, 75fce5d, 1ee4f44, 29f6618, 2369f39, 98dc060, e350009, c38bc88, 17685a3, 63e7729, 5d446e5, e30df46, ba1c45c, 44cf0d0) Updated Item DB (d53a294, cee4081, 3ba54ff, a85a907, 5731eca, c796a77, b02115e) Summoner skill status changes (7e97b0d) Summoner, Novice and Level 151+ HP/SP Table updated (33efbd0) SCRIPT:Fixed two npcs which used hardcoded EQI_ values (7046cf8, 803a139, 05a1b61) Added new Global Function: F_getpositionname (7d6be7e) OTHERS:Added some active contributors to the author list (cb87186) Standardized access to mode fields (b6abe3f) Fixed some compiler error and warning (e0edc99, 8d43623, 7264099, a177740, ef77994, 94840b1, d36610d) Updated ZLIB to v1.2.8 (9efd319) Updated .gitignore for Visual Studio 2015 (459d308) Statistics 10 authors have pushed 93 commits during this period. On master, 88 files have changed. There have been 4,988 additions and 4,624 deletions. There are 14 merged Pull Requests and 7 Proposed Pull Requests. There are 37 new Issues and 61 Closed Issues. List of Contributors@admkakaroto, @aleos89, @anacondaqq, @Atemo, @Badarosk0, @cydh, @Darkelfen, @Daniel4rt, @Everade, @exneval, @hendra814, @icxbb-xx, @jeybla, @jezznar, @joelolopez, @julia40124009, @Lemongrass3110, @MysticFurur0RE, @nanakiwurtz, @Paoly28, @Playtester, @RagnarokNova, @reigneil, @renniw, @reunite-ro, @secretdataz, @spinzaku, @stealth62, @wilkemeyer, @Yuchinin, @zackdreaver Show your support to rAthena by submitting your Issue or Pull Requests!
  14. March Digest 2016 The following digest covers the month of March, 2016. Staff Changes NoneDevelopment Highlights CORE:Release of Doram race! (daa9e01) Fixed a bug in HP recovery when using Berserk, MERC_HPUP or MERC_SPUP (1bf8537) Fixed a bug in Cashshop, Itemshop and PointShop (2fd0517, a16fb7c, 3a5f3a3, 4eb3a9e) Fixed a party chat bug on client 2015-10 and newer (98fedbd) Fixed a bug where experience might go above the defined max level and multi level up exploit and overflow (b1b3aae, ae8ba78, 551bf2e, b70b259) Fixed a bug in monster angry mode and provoke status (ecb01c4) Updated the Line of Sight system (7906f0a) Implemented serverside Navigation System and a new script command "navigateto" (4f13007, 179f734) Fixed a potential crash with script command "setunitdata" (0d5e491) Fixed official exp giving script (9ebf59c) Expanded script command "addrid" (b98ba7a) Refactored Party Booking defines (ed7157c) Implemented new adoption methods, via atcommand and script command (0f5b6db) Fixed Rental Item removal on expire (074bdde) Fixed MVP Exp message issue on client 2013-12-23c and newer (85749e8) Fixed critical Duel exploit (c6ed8a4) Fixed an error popup at char selection screen on client 2015-10-01 and newer (aea025e, 33f397c) Implemented the Trap Invisibility setting (f31475d) Fixed monster random walk (718e478) Implemented official Long Range Critical bonus (9e82454) Fixed defense overflow exploit (590f42c) Fixed a parsing issue with #command (31ef12b) Implemented new script command: 'min' + 'max' (cdd3fdf) DATABASE:Skill Update: Chain Lightning, Jack Frost, Status Traps, Stone Fling, Leap, Cannon Spear, Madogear, Demon of the Sun Moon and Stars, Ground Drift, Excruciating Palm, Shield Press, Earth Shaker, Sightless Mind, Tiger Cannon, Snap, Ganbantein, Gravitational Field, Flying Kick, Arrow Shower, Arms Cannon, Epiclesis, Decrease Agi, Adoramus, Icewall, Talkie Box, Feint Bomb, Fire Expansion, Knuckle Arrow, Madogear Repair, FAW Removal, Volcanic Ash, Tarot Card, Gospel, Checmical Protection, Meteor Storm, Catnip Meteor, Banding, Warmer (1616e06, 61a48b9, 0677347, fef0d3d, e7150ee, 80e0264, 0fb78d4, b5de854, aa6a111, a021829, 1ca9fb5, 989a252, 7f7af2e, 0bd337d, 242b3c1, 960007a, 88d2dde, 894d6f2, 1365d94, ba640cf, fe97051, 1812fdd) Added missing mapflag (033cdba) Added missing mob placeholders (543d2c3, 081b03c) Updated item db and combo script (96bf081, 59c92b7, 9ebf59c, 0ea8c90, ad49794, 107a724, 0f41f98) Fixed Status changes that can cause damage (a6f73a6) Fixed Fear status effect (fbb8edb) Implemented official Exp for Summoner (787f41c, 1c055f9) Implemented official effect of Vellum Vanish (6dc437f, e071256) Added placeholders for Summoner class in Pre-RE database (c6720b2) Fixed skill combo activation and targeting (7ccca9d) SCRIPT:Fixed missing color marker, strnpcinfo and some bug fix in some scripts (7e66be5, 614a010, f1c9089, 6f34c14, c5cd672, 4b3d8dd, 3cd6774, 438e33a, 9c99c5c, f3fa99f, 15d27a4, a2941b7) OTHERS:Fixed some compile error and warnings (709424a, 084fbc8)Statistics 11 authors have pushed 107 commits during this period. On master, 135 files have changed. There have been 3,832 additions and 1,946 deletions. There are 13 merged Pull Requests and 6 Proposed Pull Requests. There are 30 new Issues and 85 Closed Issues. List of Contributors @admkakaroto, @aleos89, @anacondaqq, @Artuvazro, @Atemo, @AtlantisRO, @cydh, @Darkelfen, @Everade, @firecroll, @icxbb-xx, @jezznar, @joelolopez, @julia40124009, @Lemongrass3110, @mgksrt8, @nanakiwurtz, @panko11, @Paoly28, @Playtester, @playpsro, @Racaae, @RadianFord, @RagnarokNova, @Ragno1, @raynra, @reunite-ro, @secretdataz, @Sweet520, @stealth62, @Tearbytes, @vakhet, @Vomaito Show your support to rAthena by submitting your Issue or Pull Requests!
  15. February Digest 2016 The following digest covers the month of February, 2016. Staff ChangesNoneDevelopment Highlights CORE:Implemented SC Blocking database (d457d2f) Official line of damage path algorithm (6ad062f) Unit Controller updates (0a77835) Fixed NPC files not being loaded if the one before failed to load on Windows OS (a6811c7) Use sv_readdb to read CashShop database (c1014ea) Fixed status effect behavior: Freeze, Stun, Sleep, Stone, Blind, Silence (744aed5, ec59446, b3b3e9c) Fixed boss monster skills being completely random (e3667f4) Implemented Official EXP on Max Level (70a67d6) aMotion delay is now set at cast begin (a63b031) Refactored Monster Mode (d512f15) Updated wall checks for some 3rd class skills (03fab34) Updated Body Style commands (11699df) Fixed skill range exploit (6f74f67) Fixed random Start Point issues (811723f) DATABASE:Pre-renewal monster database fixes (0311832) Skill Update: Stasis, Scream, Frost Joke, Hammer Fall, Lex Divina, Canto Candidus, Dispell, Falcon Assault, Land Mine, Mercenary skills, Cart Cannon, Wedding skills, Illusion Death, Weaponry Research, Flash Combo, Marsh of Abyss, Striking, Prestige, Blaze Shield, Sanctuary, Cluster Bomb, Ice Bound Trap, Firing Trap, Exploding Dragon, Lightning Jolt, Snowflake Draft, Wind Blade, Watery Evasion, Moon Slasher, Cursed Circle, Redemptio, Inspiration, Impressive Riff, Kyomu, Magic Reflection (31c5914, f5ea1dc, 744aed5, bddb3fb, 8677277, 30141bd, a7de6f8, c9fde76, 719c43f, 7c5bda2, cff0c35, 9f0ae12, d53ed80, 2c3cb60, 10b5756, 8d20393, 2ad4972, 5c3d4e3, 9944c1d, 7cfdd9d, 1b9a0b5) Fixed resistance cards reducing the damage to 0 (2b05c3c) Updated Item Delay database (620e953) Updated monster skills at level 10 (7a62ab4, bd5911a, cac5b3c) Updated Elemental Resist Potion effect (c144feb) Fixed Taekwon Ranker HP/SP Bonus(7273b4d) Corrected Temporal_INT_Boots and Temporal_INT_Boots_ item script (59994e9) Added NPC IDs 10175-10203 (fa561fb) SCRIPT:Fixed some bug in npc/cities folder and corrected syntax (befc612) Fixed Eclage quest (cc645c7) Fixed NPC dialogs (a27a545) OTHERS:Fixed some compile warnings (1df18a4, 473e7f8)Statistics 11 authors have pushed 124 commits during this period. On master, 106 files have changed. There have been 3,857 additions and 3,605 deletions. There are 4 merged Pull Requests and 3 Proposed Pull Requests. There are 16 new Issues and 47 Closed Issues. List of Contributors@aleos89, @Atemo, @Barigas, @CairoLee, @cydh, @Jedzkie, @julia40124009, @Lemongrass3110, @LiamKarlMitchell, @Playtester, @RagnarokNova, @renniw, @secretdataz, @TokeiBuru Show your support to rAthena by submitting your Issue or Pull Requests!
  16. nanakiwurtz

    GRF Editor

    Happy birthday Tokei! \o/
  17. January Digest 2016 The following digest covers the month of January, 2016. Staff Changes @Stolao is now a Script/DB Developer Development Highlights CORE: Constants migration to source exports: Status Icon, Element, Race, Class, Size, BF, ATF, Emoticon, Send target, Mercenary guild, Item type, Add skill type, Bonus script flag, Binding, Quest check and Parameter, Weapon and Ammunition type, Getpetinfo, Getmonsterinfo, Font Weight, Look, Boolean (2b00879, 7565dcc, f558f85, 2eb8b93, 43d9445, 3929f7a, 00057d7, 5b78941, a2a13ee, b1e97ce, d37e895, 087a0f4, 6532f74, d30b250, 90dcd84, a68ab0c, 28e3371, 958b6cd, 33729eb, 6534704) Fixed source file novice_skill not found (80f5d1b) Fixed compilation error and warnings (8d152e9, d909601, 9643230, 0d0c144, 5c30116, 79d6eb2) Fixed Map server crash (f2bad5e, ec14901) Constant removed: Job_Alchem and Job_Baby_Alchem (5ea3f30) Constant replaced: EQI_COSTUME_TOP/MID/LOW into EQI_COSTUME_HEAD_TOP/MID/LOW (d32c857) Randomized Start Point implemented (a54bb65) Updated packet size for newer clients (a636732) Added support for Body style for newer clients (d70b173) Fixed Callshop bug and Buying (01ba54c) Added support for Mechanic Outfit (8413ae9) Fixed monster/MVP target selection (4fdcb2e) Addes support for client 2015-10-01 / 2015-10-29 (e3c274a) Monster random walk code optimized (78419ba) DATABASE: Item DB update (a3877ab, 1abb02c, 7757882, 8655913, 3f26c3d, 1d2dc2a) Fixed error in /db/pre-re/skill_require_db.txt (7cfd0df) Updated skills: Throw Kunai, Spread Shot, Ground Drift, Soul Exhale, Chain Lightning animation, Comet, Adoramus, Hover, Water Screen, Makibishi, Soul Destroyer, Water Ball, Jupitel Thunder, Mystical Amplification, Benedictio, Volcanic Ash, Vulture's Eye, Snake's Eye, Tarot Card, Warg skills, Blacksmith skills, NPC_EVILLAND, Sanctuary, Pneuma, Arrow Shower, Charge Attack, Waterball, Sightblaster, Land Mine, Blast Mine, Claymore Mine, Knuckle Arrow, Spear Stab, Illusion Bewitch, Chorus skills, Flash Combo, Kaahi, Miracle (8ab031f, c699304, 9b48263, 45aab55, 9db667c, e4a3811, b85885c, 88d2cd7, bbe9601, 6ebcb67, 5d7d994, 4c2d515, 20e4029, cccd149, 4068266, 8e6a65f, e12fb64, 9721dc9, 4fd4c1d, 41e6b4a, 5971745, 45936c7, d170b55, 5afc620, 497cca1, fc68007, 92bf61c, 78e8147) Mob DB update (f987f1b, 3011639, 3f78f16) SCRIPT: Fixed issue with Driller NPC item check (9046e7e) Fixed Eden Quest (6a62aab) OTHERS: Updated .gitignore, /tools/convert_sql.pl, install.sh and uninstall.sh (dbf2916, e368b5f, 1352b46) Added a unique index for aegis name to the item tables (09a8730) Updated mob mode in documentation (dfb5665) Updated Renewal map cache (918ef96) Statistics 11 authors have pushed 124 commits during this period. On master, 92 files have changed. There have been 7,001 additions and 4,377 deletions. There are 9 merged Pull Requests and 0 Proposed Pull Requests. There are 19 new Issues and 81 Closed Issues. List of Contributors @admkakaroto, @aleos89, @anacondaqq, @Atemo, @Badarosk0, @CairoLee, @csnv, @cydh, @Dark8008, @ernestfegarido, @exneval, @icxbb-xx, @julia40124009, @ksallberg, @lelouch22, @Lemongrass3110, @lighta, @mrdiablo, @mrjnumber1, @nanakiwurtz, @panko11, @Paoly28, @Playtester, @RagnarokNova, @reunite-ro, @Rytech, @secretdataz, @stmarier, @Sweet520, @zackdreaver Show your support to rAthena by submitting your Issue or Pull Requests! [spoiler=You can help us too! (Yes, YOU! )]Currently rAthena uses GitHub Issues to handle bugs, server crash, pull requests, etc.. Most of the reports are fine, but some posts on our GitHub Issues are lacking of information needed to identify the possible cause, therefore it will make the dev to ask the same questions over and over again. So, I'm here to show you a small tutorial on how to improve rAthena's GitHub Issues ^^ First of all, it will helps the devs a lot if the issue reporter put decent information on the top of the report. You can copy paste the text below, and put it on top of your report: [spoiler=GitHub Header Format] Git Hash/Date: Client Date: Server Mode: Pre-RE/Renewal Source/Script Mods: Descriptions: How To Replicate: Now I will explain what does the above lines means. - Git Hash/Date = It means the referrence for each commits in GitHub, it can be used to identify which code has been changed/added. If you can't provide the Git Hash, at least you can use the date where you pulled/clone the repository. If you are still using SVN (which is not recommended anymore), you can provide the Revision Number instead. [spoiler=Here I will show you how to get your current Git Hash] 1. Open up your Command Line Prompt' if you are on Windows, or 'Terminal' if you are on Linux. Navigate to your repository folder. For example if your rAthena folder is on F:\Folder\rAthena and currently you are on C:\, then you can type F:(enter)cd folder\rathena(enter). If your folder name contains space, enclose your folder name inside the "". After you navigate to your repository folder, type: git show (Actually you can use another commands like: git rev-parse HEAD or git rev-parse --short HEAD) 2. You will see your current Git Hash number which can be pasted using the short version (only it's first 7 characters). For example: 5a0f8dc12ae1d0b2c3bf0a9fecc085719a28622b can be safely written as 5a0f8dc. 3. On the screenshot, I used a Git application (SmartGit), and it shows the same Git Hash number like the one on Command Line Prompt. There are lots of Git applications available, you can use whichever you want. 4. "master <3 origin" here is not "master loves origin" D: It means that currently my local repo is '3 commits behind' from the master repo. In other words, someone has pushed some new commits (in this case, 3 commits) and I haven't pulled/fetch them. If I made some modification on my local repo but haven't pushed my commit to the master repo, it means that my local repo is 'ahead' of master repo. 5. Those dots are the commits details which is already pushed to the master repo. 6. HEAD means our 'current local repo'. After reading the above explanations, I hope that no one will use the word 'latest git/hash/version/revision' anymore, because it's incorrect and confusing - Client Date = Put with the client date you are using. - Server Mode: Pre-RE/Renewal = Choose one, by deleting the unneeded one. - Source/Script Mods = If you ever edited or applied some diffs from other sources, or you have edited the corresponding script, please describe it here. Because sometimes the report is invalid because of this reason. - Descriptions = Describe your report here, if it's a server crash or compilation warning (or the others), please include the screenshot or the debug data too. - How To Replicate = If you can, please describe on how to replicate the bugs you found, so it can be identified easier. We are thankful if all issue reporters could follow the above format.
  18. So do you want to use the packet obfuscation or not? If you don't want to use it, disable src side then don't forget to recompile
  19. Hmm... Looks good but I can't give any feedback because I don't use pre-re and I use 2013 client on test environment
  20. You are lucky, @NeoMind is looking into this topic right now
  21. I guess you're using rAmod
  22. December Digest 2015 The following digest covers the month of December, 2015. Staff ChangesNone Development Highlights CORE: Added big HP bar support for Boss and Mini-Boss (1f11603), (468bd6) Added missing packets version check (92d617b) Fixed the close button not displaying after canceling a shop transaction (42b7ba9) Fixed Buy and Sell from NPC Shop, Callshop and npcshopattach (0212d44), (8b3b32e), (0c9bd30) Fixed quest objectives being shown by client incorrectly on monster kill (5fc3cbf) Updated the maximum size for packets (f4b42b2), (ba184ab) Removed maximum packet size from configuration (c28c9f6) Increased HP/SP skill requirement variable up to uint32 (bdff641), (2f8699b) Fixed required equipment check needing all equipment given to be equipped rather than just one (27e90f8) Implemented the one-click item identify packet (5fe8145) Fixed Auction system (c75cc2a) Fixed issues Character Deletion Time for the client 2014 or newer (0042fe5), (118fa28) Implemented Vending and Buying Store report packet (01adc9c) Added new Pushcart Decoration packet (71c6896) Implemented the new Feeding Log feature (879ddcc) Fixed a bug with @disguise and @hide command (2f471a1) Fixed memory corrupt issue (4871dab) Added warning when a script is not exist (98c30e6) DATABASE: Item Package update (9dafcee) Removed Renewal items from Pre-RE skill requirements for 3rd classes (523cb14) Elemental Control will no longer be removed on map change/Teleport (feb885c) Spore Explosion will now properly give damage to targets (8f4660b) Updated various detection skills pulling out hidden targets (c7ede8d) Adjusted the check for hidden targets for Earth Shaker (4b7301a) Fixed Tiger Cannon not reducing HP when max HP is out of variable bounds (f7f1ec0) Fixed Hesperus Lit and Ray of Genesis Banding check (2e2e1ab) Earth Strain no longer strips enemies that don't receive damage (be3d5fe) Updated Genetic Sling Item effects (89a33a7) Fixed bugs in skill Shadow Form and Body Paint (29306b1) Updated effects for skill Emergency Escape, Chaos, Panic, Cart Cannon, Dragon Breath, Death Bound, Blood Sucker, Magnetic Field, Fire Pillar, Volcanic Ash, Flying Side Kick, Howling of Mandragora, Drum of Battlefield, Hell's Plant (4358504), (66298f3), (aec1b11), (174244b), (3f8b381), (c17b275), (3f8055d), (c0e6fae), (71ffda3), (49f1c43), (9632d2a), (dccf7a3), (f47d4dc) Updated Item DB scripts and locations (b2b37fc), (ee0d256) ,(b53eacd), (d14f75e), (2807be3), (22a9a74) Updated Cash Item DB from idRO (70eb71d) Fixed Item Delay database (9aa8325), (d8830d2) Added WOE:TE items into item_trade.txt (0506fc9) Added missing items into item_buyingstore.txt (19ceb84) SCRIPT: Merged Criatura Novice Academy into Master repo (2b5332a) Cleanup redundant usage of `getarg()` in enchan_mal.txt (36d8527), (f5beee17) Fixed a bug in Sapha's Visit quest (d6343fb) Fixed bugs in Sealed Shrine instance (eec8836) OTHERS: Stat Reporter is now disabled by default (0ffeec0) Updated script_commands.txt, const.txt and item_bonus.txt (1f47604), (241e10b), (b0e289f), (649acd8) Statistics 9 authors have pushed 84 commits during this period. On master, 129 files have changed. There have been 17,489 additions and 1,757 deletions. There are 6 merged Pull Requests and 2 Proposed Pull Requests. There are 24 new Issues and 51 Closed Issues. List of Contributors@admkakaroto, @Akkarinage, @aleos89, @Atemo, @anacondaqq, @Baalberith6, @Badarosk0, @CairoLee, @cold-hr, @cydh, @Dark8008, @dastgir, @DeveloperNube, @ernestfegarido, @Everade, @exneval, @hnomkeng, @Historica, @icxbb-xx, @joelolopez, @julia40124009, @lelouch22, @Lemongrass3110, @lighta, @lordganja, @MrAntares, @nanakiwurtz, @Paoly28, @RagnarokNova, @renniw, @RomeroMalaquias, @Rytech2, @secretdataz, @theultramage, @tmav94, @zackdreaver Show your support to rAthena by submitting your Issue or Pull Requests! [spoiler=You can help us too! (Yes, YOU! )]Currently rAthena uses GitHub Issues to handle bugs, server crash, pull requests, etc.. Most of the reports are fine, but some posts on our GitHub Issues are lacking of information needed to identify the possible cause, therefore it will make the dev to ask the same questions over and over again. So, I'm here to show you a small tutorial on how to improve rAthena's GitHub Issues ^^ First of all, it will helps the devs a lot if the issue reporter put decent information on the top of the report. You can copy paste the text below, and put it on top of your report: [spoiler=GitHub Header Format] Git Hash/Date: Client Date: Server Mode: Pre-RE/Renewal Source/Script Mods: Descriptions: How To Replicate:Now I will explain what does the above lines means. - Git Hash/Date = It means the referrence for each commits in GitHub, it can be used to identify which code has been changed/added. If you can't provide the Git Hash, at least you can use the date where you pulled/clone the repository. If you are still using SVN (which is not recommended anymore), you can provide the Revision Number instead. [spoiler=Here I will show you how to get your current Git Hash] 1. Open up your Command Line Prompt' if you are on Windows, or 'Terminal' if you are on Linux. Navigate to your repository folder. For example if your rAthena folder is on F:\Folder\rAthena and currently you are on C:\, then you can type F:(enter)cd folder\rathena(enter). If your folder name contains space, enclose your folder name inside the "". After you navigate to your repository folder, type: git show (Actually you can use another commands like: git rev-parse HEAD or git rev-parse --short HEAD) 2. You will see your current Git Hash number which can be pasted using the short version (only it's first 7 characters). For example: 5a0f8dc12ae1d0b2c3bf0a9fecc085719a28622b can be safely written as 5a0f8dc. 3. On the screenshot, I used a Git application (SmartGit), and it shows the same Git Hash number like the one on Command Line Prompt. There are lots of Git applications available, you can use whichever you want. 4. "master <3 origin" here is not "master loves origin" D: It means that currently my local repo is '3 commits behind' from the master repo. In other words, someone has pushed some new commits (in this case, 3 commits) and I haven't pulled/fetch them. If I made some modification on my local repo but haven't pushed my commit to the master repo, it means that my local repo is 'ahead' of master repo. 5. Those dots are the commits details which is already pushed to the master repo. 6. HEAD means our 'current local repo'. After reading the above explanations, I hope that no one will use the word 'latest git/hash/version/revision' anymore, because it's incorrect and confusing - Client Date = Put with the client date you are using. - Server Mode: Pre-RE/Renewal = Choose one, by deleting the unneeded one. - Source/Script Mods = If you ever edited or applied some diffs from other sources, or you have edited the corresponding script, please describe it here. Because sometimes the report is invalid because of this reason. - Descriptions = Describe your report here, if it's a server crash or compilation warning (or the others), please include the screenshot or the debug data too. - How To Replicate = If you can, please describe on how to replicate the bugs you found, so it can be identified easier. We are thankful if all issue reporters could follow the above format. The rAthena community would like to say "Happy New Year 2016!!"
  23. What about the host, have you tried to allow all ip/host using * for now? And have you flushed privileges?
  24. Currently stopped, main dev is very busy in real life
×
×
  • Create New...