14791 Commits

Author SHA1 Message Date
Daegaladh
60d59124a3 Migrated script.c to C++ (#2404)
* Thanks to @Daegaladh!
* Originial pull request: #2395
2017-09-07 04:13:42 +02:00
Jittapan Pluemsumran
0379774cd2 Revert "Migrated script.c to C++ (#2395)" (#2403)
This reverts commit 965edbf47d5044e29c011c621f5129008c85b7aa.
2017-09-05 22:40:24 +07:00
Daegaladh
965edbf47d Migrated script.c to C++ (#2395)
* Migrated script.c to C++
2017-09-05 19:51:04 +07:00
rAthenaAPI
d770de8015 SQL synchronization 2017-09-02 16:49:26 +02:00
Aleos
6ef8a97cf0 Updated Guillotine Poison item behavior (#2396)
* Fixes #1044.
* Poisons are now consumable by all classes.
* Using the item directly gives no benefit.
* Adjusted the item type to 2 (usable) from 0 (healing).
* A Dagger or Katar weapon is required to use Poisoning Weapon.
* Casting Poisoning Weapon again will cancel the previous bonus.
Thanks to @cydh and @Playtester!
2017-09-02 10:49:18 -04:00
aleos
470364cbe1 Corrected a second changequest attempt
* Related to #2070.
Thanks to @LiamKarlMitchell!
2017-08-31 20:24:04 -04:00
Aleos
e92fc9672f Resolved bonus WeaponMATKRate (#2383)
* Fixes #2275.
* Moved the bonus check after equipment is parsed.
Thanks to @Felleonel!
2017-08-31 14:26:17 -04:00
rAthenaAPI
a0da1ffb75 SQL synchronization 2017-08-31 20:05:13 +02:00
Aleos
d353b6682b Updated Rune Stone item behavior (#2384)
* Fixes #1045.
* Rune Stones are now consumable by all classes.
* Adjusted the item type to 2 (usable item) from 11 (delayed item).
* Removed the IG_RUNE item group.
Thanks to @cydh and @Paoly28!
2017-08-31 14:05:06 -04:00
Aleos
dfe714e9a1 Corrected broadcast item flag with autoloot (#2392)
* Fixes #1796.
* Moved the broadcast flag check before party share loot check.
Thanks to @whupdo!
2017-08-31 13:51:07 -04:00
Jeybla
f197f82f1f Removed reset of monster drops on mobdb reload. (#2394)
Does not clear item_drop_ers on mobdbreload anymore.
- Fixes #2355
- Thanks to @Zellukas.
2017-08-31 19:02:22 +02:00
Aleos
fc115b85a1 Adjusted HP, Max HP, SP, and Max SP SQL defines (#2389)
* Fixes #2387.
* Adjusted column define from mediumint to unsigned int.
* Synchronized default values to 0.
* Adjusted the parser format specifier
* Adjusted the specifiers to support unsigned.
Thanks to @M45T3Ryu and @Lemongrass3110!
2017-08-31 10:49:48 -04:00
Aleos
b19325b842 Corrected mob chat display checks (#2390)
* Fixes #2388.
* Added a validation check when monsters try to talk and attempt to lookup and invalid chat message on skill usage.
* Clones of players will now have no mob chat ID associated to their skills.
Thanks to @M4karov!
2017-08-31 10:15:00 -04:00
aleos
3e51f68570 Adjusted the Achievement Chat Counter
* Fixes #2334.
* Moved the achievement objective update function before the NPC waiting room event trigger.
Thanks to @ClayJensen and @Atemo!
2017-08-29 19:09:41 -04:00
Aleos
e4072e1361 Updated Silvervine Root Twist behavior (#2377)
* Fixes #1139.
* Should be removable by Earth Shaker.
* Removed maxcount limit as it's not a ground skill anymore.
2017-08-29 09:39:52 -04:00
Aleos
515fa6a163 Corrected the Chorus skills damage bonus (#2379)
* Added the missing range value when searching the map.
* Resolves an incorrect calculation in the bonus when less than 8 of the members are a Minstrel or Wanderer.
* Moved the Chorus check to the respective skills to avoid unnecessary calls to the function.
* Added documentation.
* Removed redundancy.
Thanks to @Tokeiburu and @Lemongrass3110!
2017-08-28 19:43:57 -04:00
Aleos
7a1b2e0f0a Cleaned up Item Shop checks (#2373)
* Fixes #2352.
* Removed an extra bound check when selling items.
* Added a check to return failure when unable to delete an item.
* Added checks when counting sellable items in an Item Shop.
- Items that can't be sold, favorite items, rental items, and bound items will now be ignored unless the GM has required permissions.
Thanks to @chadn4u, @Jeybla, @Lemongrass3110!
2017-08-28 10:08:29 -04:00
Aleos
39a5d38b9d Corrected Fatal Menace behavior (#2371)
* Resolves an issue with targets in the Fatal Menace area not getting teleported with the player.
Thanks to @Tokeiburu!
2017-08-28 09:40:23 -04:00
Stolao
9db3c386ea Fix bAddEffOnSkill (#2370)
* Fixes #2357.
* Fixed a copy paste error.
2017-08-25 14:41:15 -04:00
Aleos
4539d557e2 Added script command sc_end_class (#2368)
* Added a new script command sc_end_class to remove status changes from any learned skills.
* Adjusted the custom Reset NPC to make use of this behavior.
Thanks to @sader1992!

* Follow up to f93680b
* Adjusted documentation.

* Follow up to f93680b
* Removed the check from script command resetskill.
* Added a new script command sc_end_class.

* Fixed a compile error
* Corrected the define of the script command.
* Adjusted some documentation.
* Reverted some formatting from the original commit.
Thanks to @sader1992 and @Lemongrass3110!
2017-08-25 13:26:22 -04:00
Moch. Luthfi Rahmadi
c9ce29c00e Update Readme.md (#2337)
* Added Centos 64bit build option with MariaDB.
Thanks to @mazvi!
2017-08-23 10:21:06 -04:00
Lemongrass3110
1fc0ed600f Added support for the all 2017-06 clients 2017-08-21 00:10:06 +02:00
Lemongrass3110
3183c39cfe Fixed 2 compiler warnings
Fixes #2346

Thanks to @hurtsky
2017-08-20 15:01:05 +02:00
Lemongrass3110
6f985080a8 Follow up to 5fdebec
Fixed a typo
2017-08-18 11:49:20 +02:00
Lemongrass3110
5fdebec3af Fixed rebinding of mob view data for killed mobs
Fixes #2351

Thanks to @TesLA-Git
2017-08-18 11:47:40 +02:00
rAthenaAPI
2d31bc3c43 SQL synchronization 2017-08-16 19:52:33 +02:00
aleos89
b9627dd879 Resolved non-weapon items having a weapon level
* Fixes #2343.
* Removed all weapon level values from non-weapons in the renewal item database.
Thanks to @admkakaroto!
2017-08-16 13:52:10 -04:00
Lemongrass3110
d319ff7ca5 Fixed character creation for expired VIP accounts
Fixes #2333

Thanks to @Everade
2017-08-16 13:50:13 +02:00
Lemongrass3110
4cb4d60fee Fixed return value of unitattack for players
Fixes #2345

Thanks to @anacondaqq
2017-08-16 11:33:35 +02:00
Lemongrass3110
165197d26f Fixed cast time for the npcskill script command
Fixes #2342

Thanks to @Atemo
2017-08-16 09:40:38 +02:00
rAthenaAPI
374ecd0c99 SQL synchronization 2017-08-15 20:13:25 +02:00
Atemo
11d33007d9 Initial release of Ghost Palace Memorial (#2331)
* Initial release of Ghost Palace Memorial (Walkthrough conversion)

Thanks @Lemongrass3110, @aleos89 and @Jeybla for their help!
Thanks to Divine Pride for the monsters datas !
2017-08-15 20:11:50 +02:00
Jittapan Pluemsumran
eac3365282 Merge pull request #2340 from rathena/hotfix/issue2339
Fixed std::string reference being an incomplete type in inter.h
2017-08-15 16:26:07 +07:00
Jittapan Pluemsumran
bfb92940d5 Fixed std::string reference being an incomplete type in inter.h
Fixes #2339
2017-08-15 11:17:16 +07:00
rAthenaAPI
b04f79ed86 SQL synchronization 2017-08-14 19:57:44 +02:00
Atemo
641a1f1e88 Updated item_db.txt (16.1 episode) 2017-08-14 19:57:24 +02:00
Aleos
7554b53d68 Adjusted script command gettimestr (#2329)
* Fixes #2328.
* Added an optional parameter to pass in a Unix tick value to convert to a readable format.
Thanks to @hendra814 and @Lemongrass3110!
2017-08-14 13:51:18 -04:00
Jittapan Pluemsumran
74d809d139 Merge pull request #2338 from keitenai/patch-3
Fixed incorrect use of 'close' command
2017-08-14 22:59:15 +07:00
keitenai
f4de91b407 Fixed incorrect use of 'close' command 2017-08-14 23:25:29 +08:00
Lemongrass3110
d673d25978 Fixed another error from mobdb reloading
Thanks to @Everade
2017-08-14 04:22:55 +02:00
Lemongrass3110
693e958525 Fixed wrong crimson staff being dropped
Thanks to @Everade
2017-08-14 03:06:58 +02:00
Jittapan Pluemsumran
cc1d26fe74 Inter server C++ conversion (#2322)
* Renamed inter.c to inter.cpp and refactored it

* Converted inter_server.conf to inter_server.yml

* Updated the makefiles

* Refactored inter-server storage handling logic

* Fixed a bug with wrong maximum being displayed
When you took out an item of the storage it would always display the maximum amount of the normal storage.

* Fixed a bug with storages that are over maximum

Thanks to @Akkarinage, @Lemongrass3110 and @Jeybla
2017-08-14 01:27:58 +02:00
Vincent Stumpf
f9c6b92a63 Fixes memory leak in char-server (#2335)
Fixes #2330

Allocated memory in various StringBuf instances was being cleared instead of freeing it completely.
2017-08-13 23:44:18 +02:00
keitenai
fcc4936b23 Fixed script dialogue's NPC name to its proper order. (#2320)
Fixed script dialogue's NPC name to its proper order.

Credit @keitenai
2017-08-13 14:35:51 +02:00
Lemongrass3110
a2fc7d51b3 Fixed a PACKETVER mismatch for the random options
Fixes #2332

Thanks to @Milchdealer
2017-08-13 00:30:54 +02:00
Lemongrass3110
37f7fc5708 Fixed memory manager still using SVN revision 2017-08-12 16:50:00 +02:00
Atemo
087a72731d Fixed storage condition in lasagna town
From cb580e1f0d
Credits @exneval
2017-08-12 14:13:51 +02:00
Lemongrass3110
dce6ff1bea Fixed a memory leak in the script engine
Returning NPC variables in a user defined script function inside the same NPC does not require to allocate any additional stack.

Fixes #1205

Thanks to @Jeybla
2017-08-11 22:52:51 +02:00
Lemongrass3110
6b18ea56a0 Fixed x64 release mode not building all servers 2017-08-11 21:21:09 +02:00
Lemongrass3110
abfd1980de Made view_data for mob unit changes persistent (#2316)
Made view_data for mobs changes persistent

Fixes #2269

Thanks to @Yuchinin
---
Fixed reloadmobdb breaking the view ids

Fixes #2326

Thanks to @karlseven
---
Allowed updating mob's class to a pc class
Fixed sex change so that the client is automatically refreshed
Respawn the monster on clientside if the class is changed

Thanks to @Jeybla and @aleos89 for helping!
2017-08-11 19:27:33 +02:00