summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-06-01add documentation for getarrayindex()gumi1-0/+11
2017-06-01add buildin getarrayindex()gumi1-0/+17
2017-06-01add documentation for isstr()gumi1-0/+12
2017-06-01add buildin isstr()Andrei Karas1-0/+21
2017-05-31HPM Hooks UpdateHercules.ws4-121/+8
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-05-31Merge pull request #1757 from HerculesWS/storagefixsmokexyz3-82/+18
Fix a race condition when saving the storage on logout
2017-05-31Fix a race condition when saving the storage on logoutHaru3-82/+18
The storage data is no longer cached in the char server. This removal doesn't cause any performance loss, since the cached data was refreshed (loaded from the database) after every save operation. This commit moves the load at the beginning of the save rather than at the end, and discars the cached copy after the save is completed. Related to #1754 Signed-off-by: Haru <haru@dotalux.com>
2017-05-30Fix saving of storage for non-stackable items.smokexyz1-0/+2
Thanks to @MishimaHaruna for the fix.
2017-05-30Merge pull request #1756 from Smokexyz/mmo_charstatus-fixsmokexyz2-7/+8
Fix storage saving checks and amount update.
2017-05-30Fix storage saving checks and amount update.smokexyz2-7/+8
Special thanks to @MishimaHaruna for the fix.
2017-05-30HPM Hooks UpdateHercules.ws4-0/+33
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-05-30Merge pull request #1752 from 4144/fix1751Haru3-1/+16
Fix memory leak in storage item vector (Fixes #1751)
2017-05-29Fix memory leak in storage item vector (Fixes #1751)Andrei Karas3-1/+16
2017-05-27Merge pull request #1722 from Smokexyz/mmo_charstatus-fixHaru27-218/+1127
Dismemberment of `storage_data` from `mmo_charstatus`.
2017-05-22HPM Hook Update follow-up e8affc41f106503b530abaa7faa20d6e63b727b8smokexyz7-8/+355
2017-05-22Add storage_data reception, parsing and sending to/from the map-server.Smokexyz20-210/+772
Remove loading and saving of storage_data through char.c Re-declaration of structure storage_data as a vector. Re-code of portions in the map-server using storage_data. A new approach is taken by saving the loaded storage data from sql into memory for the duration of the session, thereby removing the need of querying the database to re-load all items everytime a storage save routine is issued from the map-server. Saving of storage items is done through a new function that significantly reduces the number of queries compared to char_memitemdata_tosql(), and therefore run-time speed. This method potentially reduces the number of update and delete queries from MAX_STORAGE (which could be >= 600) times to literally 1. Storage items are stored in a dynamically allocated array and handled accordingly. struct mmo_charstatus size reduces by 34,800 bytes. Update pc_checkitem() with masks for item checks. `sd->state.itemcheck` has been changed to `sd->itemcheck` of type `enum pc_checkitem_types` `battle/items.conf` has been updated to reflect configuration changes. Further updates to assert a successful reception of storage data in related functions.
2017-05-15Merge pull request #1719 from mekolat/channel2Haru4-0/+85
add channel handler events
2017-05-15Merge pull request #1723 from Ridley8819/expHaru1-2/+2
Update Exp Table
2017-05-12add channel handler eventsgumi4-0/+85
2017-05-12Merge pull request #1729 from HerculesWS/uwe_kleine_questskyleo1-2102/+618
Optimize Uwe Kleine NPC, fix typos and an unintended fallthrough in quests_ein Uwe Kleine NPC had a lot of repetition, solved by using functions. There was a case where you'd select the option "About Cooking" which only displays text when ein_cook % 2 == 1 and ein_cook < 10, for any other case it would fallthrough to the next option. Wrong grammar and typos have been corrected as well, some of them outside of the Uwe Kleine NPC.
2017-05-12Optimize Uwe Kleine NPC, fix typos and an unintended fallthrough in quests_einskyleo1-2102/+618
Uwe Kleine NPC had a lot of repetition, solved by using functions. There was a case where you'd select the option "About Cooking" which only displays text when ein_cook % 2 == 1 and ein_cook < 10, for any other case it would fallthrough to the next option. Wrong grammar and typos have been corrected as well, some of them outside of the Uwe Kleine NPC.
2017-05-11Update Exp TableRidley1-2/+2
Values updated according to: http://ro.gnjoy.com/news/update/View.asp?seq=162&curpage=1
2017-05-09Merge pull request #1730 from marky291/patch-1smokexyz1-2/+3
Updated *showscript documentation description.
2017-05-09Constants Documentation SyncHercules.ws1-1/+3
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-05-09Merge pull request #1699 from Jedzkie/11-SummerCostumeHaru10-64/+111
Implemented Official Summer 2 Costume
2017-05-08Updated *showscript documentation description.marky2911-2/+3
2017-05-07Spacing correction. (#1728)marky2911-0/+1
2017-05-04ItemDB SQL SyncHercules.ws2-12/+12
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-05-04Merge pull request #1695 from Jedzkie/7-CashFoodFixHaru8-98/+39
Cash Foods Update
2017-05-04Constants Documentation SyncHercules.ws1-0/+2
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-05-04Merge pull request #1717 from mekolat/vault2Haru4-2/+22
expose the bank vault to the script engine
2017-05-01Normal Stat food can't override the effect of Cash Stat food.Jedzkie1-30/+12
2017-05-01Merge pull request #1716 from 4144/packetsupdateHaru1-0/+1324
Add packets for most RagexeRE 2016 clients
2017-05-01Merge pull request #1698 from Jedzkie/10-BodyStyleHaru2-4/+18
Added job checks for @bodystyle command
2017-05-01Added job checks for @bodystyle commandJedzkie2-4/+18
Signed-off-by: Haru <haru@dotalux.com>
2017-04-29Fixes #1721Jedzkie1-1/+1
Signed-off-by: Jedzkie <jedzkie13@rocketmail.com>
2017-04-29Merge pull request #1713 from Jedzkie/17-DropAnnounceHaru12-52/+22
Fixes #994
2017-04-29Removal of rare_drop_announce config.Jedzkie7-41/+1
2017-04-29Fixes #994Jedzkie6-12/+22
2017-04-29Constants Documentation SyncHercules.ws1-0/+29
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-04-29Merge pull request #1712 from mekolat/canuse2Haru2-0/+153
add permission checking buildins, expose PC permission constants
2017-04-27Merge pull request #1711 from mekolat/checkoption2Haru2-13/+38
allow checkoption et al to check another player
2017-04-26Add encryption packets for 2016 RE clients.Andrei Karas1-0/+101
2017-04-26Merge pull request #1673 from Smokexyz/IROHaru2-59/+69
Fixes an issue where the unequipped items with options do not re-calculate status.
2017-04-25expose bank vault to the script enginegumi4-2/+22
2017-04-26HPM Hooks UpdateHercules.ws7-20694/+20775
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-04-26Improve the code style of the generated HPMHooking dataHaru1-11/+12
Signed-off-by: Haru <haru@dotalux.com>
2017-04-25Add some missing entries to sql/upgrades/index.txtHaru1-0/+5
This adds some entries from recent and old updates that were missed when adding the corresponding migrations. Signed-off-by: Haru <haru@dotalux.com>
2017-04-25Status effects from Cash Food items cannot be removed by death.Jedzkie2-24/+24
2017-04-25Removal of cashfood_use_interval setting.Jedzkie5-44/+3