13424 Commits

Author SHA1 Message Date
aleos89
0664fac298 Fixed Garment/Robe disappearing on player movement (fixes #1036)
* Garment/Robe will no longer be removed from display of other players in sight when the wearer player walks.
2016-03-17 09:38:50 -04:00
Cydh Ramdh
f31475d5e3 Merge pull request #986 from rathena/feature/pk_traps_setting
Trap Invisibility, Fixes #892
* Changed `traps_setting` config values.
  * 0 = Always visible (default)
  * 1 = Enable invisibility in versus maps (GVG/PVP/BG)
  * 2 = Enable invisibility in all maps
* Added skill unit flag `UF_HIDDEN_TRAP = 0x20000` for trap invisibility. By default, there are (renewal) Hunter traps with this flag:
  * HT_SKIDTRAP
  * HT_LANDMINE
  * HT_ANKLESNARE
  * HT_SHOCKWAVE
  * HT_SANDMAN
  * HT_FLASHER
  * HT_FREEZINGTRAP
  * HT_TALKIEBOX
* Added some skills and effects that can reveal hidden traps. By default, Detect, Sight, Ruwach, and Improve Concentration can reveal hidden traps.
2016-03-17 05:45:27 +01:00
Atemo
5510dc239e Merge pull request #1059 from rathena/fix_diag
Some diag fix
2016-03-17 03:56:19 +01:00
Atemo
15d27a4ad9 Corrected the announce of the party name when entering MalangdoCulvert instance
Updated dialog to offical for Eden 140
2016-03-17 03:38:14 +01:00
Lemongrass3110
aea025eca2 Fixed an error popup at the char select
for clients from 2015-10-01 and onwards
2016-03-16 23:53:23 +01:00
aleos89
2a4fc75baa Fixed script command unitkill crashing the server (fixes #1027)
* Resolves an issue with Mercenary causing the server to crash when killed through the script command unitkill.
* Blame dd67f9d.
2016-03-16 10:13:03 -04:00
Playtester
c6ed8a4f92 Fixed critical duel exploit (fixes #1055)
* Entering or leaving duel will now remove all the skill units you've placed
* Entering or leaving duel will now behave like warping / moving on a different tile
2016-03-15 21:17:09 +01:00
Napster (icxbb-xx)
ae10da3a61 Follow up 85749e84b9
thank you @cydh
2016-03-15 21:31:29 +07:00
Aleos
d378ef2a0b Merge pull request #1054 from AtlantisRO/master
Fixes to some quests and typo errors
* Corrected miscellaneous Korean to English translations.
* Corrected the position and facing direction of NPC [Promotional Staff#iz] from [Onward to the New World] Quest (pre-renewal).
* Fixed NPC [Iromo's Mother#ep3_2] from [Alberta Boy] Quest where players could have their quest progress reset.
* Fixed NPC [The Blacksmith#rus06] from [Koschei the Immortal] Quest giving Iron_Boots01 instead of Iron_Boots02 to Ninja and Gunslinger classes.
Thanks to @AtlantisRO!
2016-03-15 09:56:16 -04:00
Napster (icxbb-xx)
e155db9272 Merge branch 'master' of https://github.com/rathena/rathena 2016-03-15 09:52:20 +07:00
Napster (icxbb-xx)
85749e84b9 Fixed #850 MVP exp message issue clients 2013-12-23cRagexe and newer.
* gravity remove packet MVP exp message, if you want re-enables the message
  check you battle config mvp_exp_reward_message
2016-03-15 09:51:55 +07:00
AtlantisRO
f3fa99fffd Fixed facing value in [Promotional Staff#iz] from script [npc/pre-re/quests/quests_13_1.txt] 2016-03-14 15:59:53 -07:00
AtlantisRO
9c99c5c87c Fix to NPC [The Blacksmith#rus06] from [Koschei the Immortal] Quest.
The boots Iron_Boots01 is only equipable by Swordsman Class, Archer Class, Merchant Class and Thief Class.
Any other job must receive Iron_Boots02 (included Ninja and Gunslinger).
2016-03-14 16:52:59 -07:00
rAthenaAPI
c895b3603e SQL synchronization
[ci skip]
2016-03-14 23:53:48 +01:00
aleos89
074bdded09 Cleaned up rental item expiration
* Boarding Halter will now properly be removed on expiration when a player is logged out. (fixes #1035)
* Removed hard coded checks for other official rental items.
* Rental items now call the OnUnequip Script of the item which can be used to remove player states.
* Updated various items in the database to match the new format.
2016-03-14 18:50:29 -04:00
AtlantisRO
438e33a8d3 Fix to NPC [Iromo's Mother#ep3_2] from [Alberta Boy] Quest.
When player is in step 9 from Alberta Boy quest (variable "ep13_2_hiki"), this NPC restart the entire quest, because there is no case to prevent variable > 8.
2016-03-14 15:20:50 -07:00
AtlantisRO
3cd6774910 Position of NPC [Promotional Staff#iz] from [Onward to the New World] Quest
In Pre-Renewal the localization of Promotional Staff#iz is izlude,99,136 instead of izlude,101,173.

Reference: http://irowiki.org/classic/Onward_to_the_New_World_Quest
2016-03-14 15:15:12 -07:00
Aleos
dce5907062 Updated atcommand documentation
* Added missing atccommand adopt (from 0f5b6db).
* Added a missing variation for atcommand duel which allows an integer value for duel size.
2016-03-13 16:16:16 -04:00
Playtester
b5de854b90 Snap, Ganbantein, Gravitational Field, Flying Kick (fixes #1052)
* Snap now has a server-sided range of 14
* Snap, Ganbantein and Gravitational Field will no longer cause you to move if you target a cell out of range
* Snap and Flying Kick will now check for obstacles on a linear path rather than on the normal walkpath
* Range specified in skill_db is now equal to the client-sided range
* Some range code cleanup
2016-03-13 16:42:46 +01:00
Playtester
fbb8edba39 Fear status change (#1048)
* Fear now causes the SC_ANKLE status change for 2 seconds rather than having a weird custom implementation
* Fear now removes blind and makes you immune to it
* Fixed SC_ANKLE not properly blocking teleportation
* Some code optimizations
2016-03-12 23:07:13 +01:00
Aleos
4b3d8ddc5c Small typo in Ayothaya Dungeon Quest
* Fixed Shaman displaying the incorrect item requirement from the array.
Thanks to @Jeybla!
2016-03-12 13:07:24 -05:00
AtlantisRO
c5cd672cd8 Fixes to Typo Errors. 2016-03-12 10:41:18 -07:00
Playtester
916e45f0e3 Merge branch 'master' of https://github.com/rathena/rathena 2016-03-12 16:51:45 +01:00
Playtester
a6f73a6227 Status changes that cause damage reworked (fixes #1033, fixes #448)
* Created a better structure for status changes with intervals and integrated the status changes Stone, Poison, Deadly Poison, Bleeding, Magic Mushroom, Burning, Pyrexia, Leech's End and Toxin into the new structure
-- The exact remaining duration of these status changes will now be stored
-- The correct duration is reloaded when logging back in, you can't avoid a single tick be re-logging
-- It will now show the correct duration on the icon of the status change after re-logging, no longer negative values
-- The durations are now accurately transferred when using Deadly Infect
-- These status changes now use unified code, which makes it much easier to integrate more status changes into this structure with low risk of breaking something
* Removed all the status change specific logging of damage and integrated it into the normal logging behavior
-- The following skills deal "No source" damage: Stone, Poison, Deadly Poison, Bleeding, Coma, Magic Mushroom
-- The following skills deal "Self" damage: Burning, Pyrexia, Leech's End, Toxin
-- "No source" will neither be logged nor contribute to the total damage, your exp share doesn't increase from the damage, but it also won't cause the monster to give less EXP, it won't break freeze or similar status changes, it won't make you stand up, it won't make you stop moving, it won't prevent you from logging out
-- "Self" damage will now be logged and contribute to the total damage, it makes monster give the exp tap bonus, but also makes monsters give less exp the more "self damage" they've taken, it will break freeze and similar status changes, it will make you stand up properly now, it will make you flinch and stop moving, it will prevent you from logging out, but angry type monsters will not lose their aggressive bit from it and it will not cause monsters to use their rude-attack skill
-- Monsters will now use their rude-attack skill on the first rude-attack as long as the damage does not come from self
-- When a monster takes damage from a status change, its HP meter will now be updated
* Burning now has an interval of 3s and a minimum duration of 10s
* Pyrexia now causes blind for Pyrexia's duration instead of just 30s
* Ground Drift's poison base duration is now 60s in pre-re (follow-up to e7150ee)
* Fixed a bug where the minimum duration failed to apply when the received duration was below 1ms
* map_foreachindir and map_foreachinshootarea will now properly print their function names in case of an error
* Updated documentation (transferring source ID is no longer required, remaining tick should now always be in val4)

If this breaks anything, please report asap.
2016-03-12 16:50:50 +01:00
Lemongrass3110
081b03c646 Added placeholders for mob db entries from kRO patch 2016-03-09 2016-03-12 16:40:24 +01:00
rAthenaAPI
180dbc88fb SQL synchronization
[ci skip]
2016-03-12 16:34:16 +01:00
Atemo
6f34c14c0e Fix a mistake in npctalk 2016-03-12 16:03:16 +01:00
aleos89
0f5b6db813 Implemented new adoption methods
* Implemented atcommand adopt.
* Implemented script command adopt.
* Circumvents adoption issues with 2013-08+ clients (Related to #768).
* Suggested from https://rathena.org/board/topic/104014-suggestion-add-adopt-or-etc/
2016-03-11 13:45:17 -05:00
Cydh Ramdh
ac1db5de02 Merge pull request #1043 from AtlantisRO/master
Fix to NPC [Larissa#mos_01] in script [npc/quests/quests_moscovia.txt]
2016-03-11 09:35:50 +01:00
TeMPlatonic
f1c90899f0 Fix to NPC [Larissa#mos_01] in script [npc/quests/quests_moscovia.txt] from [Help Mikhail] Quest.
delitem script uses ".@di" array instead of ".@n" array.
2016-03-11 00:04:07 -07:00
aleos89
ed7157c80b Refactored Party Booking defines (fixes #1018)
* Adjusted the name of the defines to better suit their purpose.
Thanks to @Artuvazro!
2016-03-10 13:47:01 -05:00
aleos89
0fb78d45b7 Corrected Tiger Cannon splash damage (fixes #1020)
* The splash damage now factors in resistances from the splash targets.
2016-03-09 13:32:49 -05:00
aleos89
b98ba7a274 Expanded script command addrid
* Added another option to attach players based on a specified map.
* As suggested in https://rathena.org/board/topic/88331-addrid-addition/ and  https://rathena.org/board/topic/103478-addrid-map-support/
2016-03-08 12:43:09 -05:00
Cydh Ramdh
9ebf59c37b * Official EXP-Giving Script
* Fixed #980.
  * Job Quest EXP always be shown in yellow color.
  * Miracle Tonic (12259) and Leap of Fantasy (12261) give fixed EXP through `pc_setparam` that ignore EXP item bonuses and exp rates. Not as Quest EXP from `getexp` script.
  * If given EXP is 0 by `getexp`, it won't be notified in client EXP log.
  * If given EXP for base/job that reach max level, client will be notified as 0 EXP gained.
* Follow up 20588abcd83fab53f9e52deafc08bfcddfe1658a
  * Some clean up on `pc_gainexp`.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-03-08 18:03:59 +07:00
Cydh Ramdh
71cdcb3a0a Follow up b70b25945e697b3b5e6e637ac096430490ee17c5
Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-03-08 17:47:24 +07:00
nanakiwurtz
d4488d6889 Merge pull request #1023 from secretdataz/fix/item_db1
Item database update. Fixes #1012 and fixes #1022
Thanks to @secretdataz
2016-03-08 01:10:05 +07:00
aleos89
709424a75f Resolved a compile error
* Small follow up to 0d5e491.
2016-03-07 10:32:25 -05:00
aleos89
0d5e491b4e Fixed a potential crash with script command setunitdata (fixes #1024)
* Corrected the mercenary client refresh function using monster data rather than mercenary data.
Thanks to @Racaae and @julia40124009!
2016-03-07 09:33:00 -05:00
Jittapan Pluemsumran
59c92b76fb Add job condition for Ozs_New_Wing_Ring (2988) and Bloody_Floral_Decoration_Bracelet (2989). Fixes #1012 2016-03-07 11:49:37 +07:00
Jittapan Pluemsumran
96bf0814a7 Add RWC_Gold_Brooch + RWC_Brooch combo script. Fixes #1022 2016-03-07 11:48:51 +07:00
rAthenaAPI
7235152d7e SQL synchronization
[ci skip]
2016-03-06 23:25:18 +01:00
Lemongrass3110
8636cb2489 Added a sample NPC for the new navigateto script command
Additionally fixed up the documentation some more.
2016-03-06 23:24:33 +01:00
aleos89
809f220b9f Added to script command navigateto documentation
* Small follow up to 179f734.
* Also corrected an invalid constant.
2016-03-06 16:15:54 -05:00
aleos89
179f734249 Added documentation for script command navigateto
* Follow up to 4f13007.
* Corrected a few constants from PLANE -> AIRSHIP.
2016-03-06 16:10:15 -05:00
Lemongrass3110
4f13007fec Implemented serverside navigation system start
This feature was hidden in the client since 2011 and just came to our attention recently.
2016-03-06 21:48:47 +01:00
Playtester
80e026433f Official status change base durations for Stun (fixes #1019)
* NPC_LICK now has a base chance of 20%*level and a base duration of 5s
* Excruciating Palm now has a base duration 5s
* Shield Press now has a base duration of 5s+0.5s*level
* Earth Shaker now has a base duration of 2s (level 2-3) and 3s (level 4-5)
* Blind follow-up: Sightless Mind now has a base duration of 30s in pre-re and 20s in renewal
2016-03-06 19:46:45 +01:00
Lemongrass3110
614a010f59 Fixed two missing color markers
Fixes #1017
2016-03-06 16:08:43 +01:00
Playtester
e7150ee936 Gunslinger Mine / Ground Drift (fixes #998)
* Fixed knock back being 6 tiles instead of 3
* Stun duration is now 5 seconds
* Blind / Silence durations are now 30 seconds (pre-re) or 20 seconds (re)
* The damage is now delayed by aMotion; as the status effect kicks in immediately, damage will break Freeze
* The base chance for a status change is now 50% instead of 5%
* It is now a weapon skill, damage% increase/reductions are now considered, in renewal the skill can completely miss
* Damage in pre-renewal is 100% + fixed damage of 50*level
* Damage in renewal is 200%+20%*level
* Fixed sphere attack not being considered in the damage formula
* The ground effect disappears immediately after activation now
2016-03-06 12:09:46 +01:00
Lemongrass3110
b70b25945e Fixed experience overflow on high rates
Fixes #1014
2016-03-06 05:16:58 +01:00
Lemongrass3110
551bf2ef5d Fixed experience not counting for the next level
This was broken on 20588ab because the function pc_thisbaseexp was misinterpreted.

Now you get the required exp for the level you just mastered -1 again. Fixes #1013

Thanks to @Sweet520 for reporting.
2016-03-06 05:04:36 +01:00