14238 Commits

Author SHA1 Message Date
Lemongrass3110
ac2ba09415 Fixed areawarp cell check
The script command areawarp has been checking the wrong target map for ages. It has been checking the mapindex rather than the mapid and therefore returned a wrong result.
2016-12-01 13:06:54 +01:00
Atemo
d7e5f1b5d9 Fix issue #1758
- Players were warped outside the instance
2016-11-30 21:12:41 +01:00
Lemongrass3110
c88ca4432d Definition cleanup
Removed a few ghost definitions
Adjusted some definitions to use the same types

Related to #1738
2016-11-26 20:34:55 +01:00
aleos89
82675d86d0 Resolved the rental timer display (fixes #1745)
* Follow up to 45d9674.
* Fixes the timer message displaying too often.
Thanks to @whupdo!
2016-11-26 14:09:44 -05:00
Lemongrass3110
9aaf18eb33 Fixed some compile warnings
Follow up to 09a0c29
Fixes #1748 - thanks to @srhmike
2016-11-26 17:19:14 +01:00
aleos89
09a0c29a39 Corrected Lux Anima behavior (fixes #1110)
* Only transfers the most recent rune buff to the party.
* The source loses the rune buff that is passed to the party.
* There is a stack limit of 20 Lux Anima Runestones.
-- Stack only applies to renewal as the item isn't implemented in pre-renewal.
2016-11-25 15:42:44 -05:00
aleos89
2c3201116c Split item stack database between renewal and pre-renewal
* Separated the database between the two modes.
2016-11-25 15:31:16 -05:00
aleos89
595d9b743d Fixed a potential map server crash
* Resolves an invalid operator check for pc_check_available_item.
* Added a new flag for pc_delitem to not calculate a player's status when unequipping an item.
Thanks to @cydh!
2016-11-24 23:41:53 -05:00
Atemo
d78da42472 Fixed a potentiel quest warning issue #1737 2016-11-24 19:50:07 +01:00
Lemongrass3110
9040613fa6 Added missing empty newlines to a lot of files 2016-11-23 13:54:45 +01:00
Lemongrass3110
9b1b7b1a2b Replaced hardcoded genders with constants (#1730)
* Replaced hardcoded gender codes in source

Introduced a new constant for the account based gender and replaced all hardcoded gender references to code 99 with it.

* Replaced hardcoded gender codes in npcs

Exported the gender constants into the script engine and replaced all usages with references to the constants instead of expecting a value behind them.

* Corrected a typo

Thanks to Machiezmo from Discord.

* Fixed an inverted gender logic

Thanks to @secretdataz
2016-11-22 21:20:03 +01:00
rAthenaAPI
c7a8909d42 SQL synchronization 2016-11-22 06:39:24 +01:00
zackdreaver
aaca85351d Renewal item_db update (#1723)
* Renewal item_db update:
- Add new costumes
- Fix item script

Signed-off-by: zackdreaver <zackdreaver@gmail.com>
2016-11-22 12:39:19 +07:00
Playtester
ee9a0f988d Renewal Sage ground effect visuals (fixes #1735)
* Fixed Land Protector, Volcano, Deluge and Violent Gale only displaying one cell
* Because 12-4=8 and not 10!
2016-11-21 18:05:47 +01:00
Cydh Ramdh
633a642e5a * Corrected combos of Elemental Clothes (19048)
* Updated Status Change documentation for `SC_SIEGFRIED` and `SC_SCRESIST`
* Fixed `bResEff` cannot be used to increase the rate (for reducing resistance)

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-11-20 11:35:02 +07:00
aleos89
0dd3c74c2e Fixed some arrays not zeroing out on status recalculation (fixes #1722)
* Follow up to 0f1b1af, f296409, and a79d065.
* Fixes several bonuses that are not zeroed out properly since the block order didn't match.
Thanks to @whupdo!
2016-11-19 09:26:33 -05:00
aleos89
ef63cffa30 Small OPTION_INVISIBLE refactor
* Cleaned up the usage of OPTION_INVISIBLE to utilize the macro that was defined for it.
2016-11-18 14:44:49 -05:00
Lemongrass3110
1aa2012cff Fixed a typo in an item group name
Fixes #1726
Thanks to @kukuasir1
2016-11-18 10:23:42 +01:00
Playtester
db3ef52fd2 Frost Nova AoE (fixes #1619)
- Increased Frost Nova AoE from 5x5 to 7x7
- Frost Nova no longer hits enemies that are on the same cell as the caster
2016-11-17 18:25:56 +01:00
Lemongrass3110
0fa8919749 Added sura jobs to the switch 2016-11-17 17:35:35 +07:00
aleos89
9910478ce2 Resolved some compile warnings
* Resolved two unreachable code warnings.
* Resolved two potentially uninitialized local variable warnings.
2016-11-16 13:07:19 -05:00
Lemongrass3110
ecc8cf9f0b Initial release of the clan system
Thanks to @cydh, @RagnarokNova and @aleos89 for their help.
2016-11-16 15:36:08 +01:00
aleos89
dfccb88785 Removed double saving attempts
* Follow up to 3dfdb38.
* Removed an extra save attempt if a player changes jobs and has fame.
2016-11-16 08:50:36 -05:00
aleos89
3dfdb38d32 Fixed atcommand changecharsex sync issue (fixes #1684)
* Resolves the map-server holding a different job value than what the char-server could be holding.
Thanks to @Grantea!
2016-11-16 08:41:16 -05:00
Lemongrass3110
9bf5d4a291 Fixed a shadowed variable
Fixes #1718
2016-11-16 08:18:18 +01:00
aleos89
cb279a7243 Resolved an uninitialized variable (fixes #1717)
* Follow up to ade1b17.
* Corrects the countitem script command having an uninitialized variable warning during compile.
Thanks to @hnomkeng!
2016-11-15 21:54:44 -05:00
aleos89
5332d7f0e7 Resolved a map crash with pet items (fixes #1716)
* Follow up to ade1b17.
* Added a pet data check that was removed.
Thanks to @Keniski!
2016-11-15 21:52:05 -05:00
aleos89
ab7ca67ff4 Corrected Doram item combos (fixes #1711)
* Fixed Charming Grass Necklace combo not working.
Thanks to @Darkelfen!
2016-11-15 20:05:39 -05:00
Lemongrass3110
6c27a13061 Added enc_temp_folder to gitignore list 2016-11-15 23:16:31 +01:00
aleos89
d1cc320769 Corrected Storage dirty flag check
* Follow up to ade1b17.
2016-11-15 16:17:11 -05:00
aleos89
00fd5e7078 Removed rAthena Stat Reporter
* Follow up to 0ffeec0.
* No longer being used so it will now be completely removed.
2016-11-15 10:19:58 -05:00
Lemongrass3110
28cee2caa9 Cleaned storage saving output 2016-11-14 20:05:19 +01:00
Aleos
ade1b171eb Optimized Inventory, Cart Inventory, and Storage usage (#1115)
* These storage types now mimic Guild Storage and can be loaded/saved whenever needed.
* Relieves mmo_charstatus from having to send storage types and lets the char-server handle it.
* All storage types now have an increased max amount.
* Implemented Premium Storage System. Thanks to @cydh!
* Fixes #441 - Players will no longer be required to log out to resync cart item data before opening a Vending Store.
* Refactored player weight and cart weight calculations into their own functions.
* Added script commands openstorage2, guildstoragecountitem[2] and guildstoragedelitem[2].
* Refactored several function return types as well as documentation.
Thanks to @lighta and @cydh for their help with it!
2016-11-14 13:11:43 -05:00
aleos89
8028789dee Removed unused functions
* Removed inter_storage_delete and inter_guild_storage_delete functions as they are not used.
2016-11-14 09:38:59 -05:00
Lemongrass3110
b5de7df013 Implemented correct windows socket cleanup
Resolves HerculesWS/Hercules#1513
Thanks to @mkbu95 for bringing this up
2016-11-14 10:44:43 +01:00
Lemongrass3110
4ed035b036 Cleaned up fame lists (#1660)
Added 0x97e into the packet length table
2016-11-14 09:04:42 +01:00
Atemo
dcc3285a5f WoE TE
- restricted HP/SP Increase potions and Concentrated White Potion Z inside castles (but SC not disabled). Issue #1713

Thanks to @Darkelfen
2016-11-13 23:15:48 +01:00
rAthenaAPI
8617f832a6 SQL synchronization 2016-11-13 21:07:29 +01:00
aleos89
eae1161d53 Corrected Sling Item behavior
* Partial revert of 89a33a7.
* Moved bonuses back to the item_db so items can easily be customized.
* Sling Item is no longer usable on self.
2016-11-13 15:07:14 -05:00
Atemo
afd6f2027d Fixed potential script (*)quest warning 2016-11-13 17:58:20 +01:00
Lemongrass3110
ea085f86f8 Follow up to 61ce61c 2016-11-12 13:47:54 +01:00
Yohanes Edwin
162c5a2c86 Fixed issue #1622: If player and NPC get same number of dice but the total is lower than 8 (#1650)
* Resolves players getting stuck in Airship Dice Quest.
Thanks to @MuzTank!
2016-11-11 16:25:28 -05:00
aleos89
c00c7346d2 Resolved some compile errors
* Follow up to 9c552ca and 5aa53e4.
2016-11-11 15:35:38 -05:00
aleos89
5aa53e4738 Merge branch 'master' into cleanup/storages_optimization 2016-11-11 14:54:43 -05:00
aleos89
56512ce116 Corrected vending order of similar item IDs
* Resolves an issue where if a similar item ID is vended more than once (non-stackable) the order of the vended items becomes incorrect when one is purchased.
Thanks to @Tokeiburu!
2016-11-11 14:26:32 -05:00
rAthenaAPI
4c2adc0d0b SQL synchronization 2016-11-11 05:41:34 +01:00
Cydh Ramdh
c7a9dd8b25 Corrected job for Crimson Weapons, Infinity Weapons, and a Spoon!
Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-11-11 11:40:44 +07:00
Lemongrass3110
61ce61c7a0 Updated wiki references in README 2016-11-10 09:00:00 +01:00
Lemongrass3110
a03105b49d Fixed a potential map-server crash
Fixes #1398
2016-11-10 00:18:16 +01:00
Lemongrass3110
4687247769 Fixed a possible null pointer
Follow up to e93c888
See https://rathena.org/board/topic/108045-map-server-crash-after-using-skill-manhole/
2016-11-10 00:12:26 +01:00