summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-06-03Merge pull request #1739 from mekolat/pow2Haru2-1/+8
implementation of the exponentiation operator
2017-06-02Fix replace statement formatting in storage save function.smokexyz1-3/+3
2017-05-31HPM Hooks UpdateHercules.ws4-121/+8
Signed-off-by: HerculesWSAPI <dev@herc.ws>
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-29Fix memory leak in storage item vector (Fixes #1751)Andrei Karas3-1/+16
2017-05-28flag the pow() buildin as deprecatedgumi1-1/+1
2017-05-28add exponentiation operatorgumi2-0/+7
2017-05-27Merge pull request #1722 from Smokexyz/mmo_charstatus-fixHaru26-217/+1126
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.Smokexyz19-209/+771
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-12add channel handler eventsgumi3-0/+64
2017-05-09Merge pull request #1699 from Jedzkie/11-SummerCostumeHaru8-64/+100
Implemented Official Summer 2 Costume
2017-05-04Merge pull request #1695 from Jedzkie/7-CashFoodFixHaru5-71/+15
Cash Foods Update
2017-05-04Merge pull request #1717 from mekolat/vault2Haru3-0/+18
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-BodyStyleHaru1-3/+17
Added job checks for @bodystyle command
2017-05-01Added job checks for @bodystyle commandJedzkie1-3/+17
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-DropAnnounceHaru6-34/+10
Fixes #994
2017-04-29Removal of rare_drop_announce config.Jedzkie4-25/+0
2017-04-29Fixes #994Jedzkie3-10/+11
2017-04-29Merge pull request #1712 from mekolat/canuse2Haru1-0/+91
add permission checking buildins, expose PC permission constants
2017-04-27Merge pull request #1711 from mekolat/checkoption2Haru1-8/+32
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 enginegumi3-0/+18
2017-04-26HPM Hooks UpdateHercules.ws7-20694/+20775
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-04-25Removal of cashfood_use_interval setting.Jedzkie4-41/+3
2017-04-25add permission checking buildinsgumi1-0/+91
add has_permission() add can_use_command() expose PC permission constants
2017-04-25Merge pull request #1689 from Jedzkie/2-GiantFlyWingHaru3-85/+124
Implemented official Giant Fly Wing Effect
2017-04-25Merge pull request #1694 from Jedzkie/6-NPCWorkInProgressFixHaru2-19/+30
Added the correct PACKETVER Date for MSG_NPC_WORK_IN_PROGRESS message.
2017-04-25Add shuffle packets for 2016-12-21aRagexeRE.Andrei Karas1-0/+34
2017-04-25Add shuffle packets for 2016-12-14bRagexeRE.Andrei Karas1-0/+34
2017-04-25Add shuffle packets for 2016-12-07eRagexeRE.Andrei Karas1-0/+34
2017-04-25Add shuffle packets for 2016-11-09bRagexeRE.Andrei Karas1-0/+34
2017-04-25Add shuffle packets for 2016-10-26bRagexeRE.Andrei Karas1-0/+34
2017-04-25Add shuffle packets for 2016-10-12aRagexeRE.Andrei Karas1-0/+34
2017-04-25Add shiffle packets for 2016-09-21bRagexeRE.Andrei Karas1-0/+34
2017-04-25Add shuffle packets for 2016-09-07aRagexeRE.Andrei Karas1-0/+34
2017-04-25Add shuffle packets for 2016-08-31bRagexeRE.Andrei Karas1-0/+34
2017-04-25Add shuffle packets for 2016-07-27bRagexeRE.Andrei Karas1-0/+34
2017-04-25Add shuffle packets for 2016-07-20aRagexeRE.Andrei Karas1-0/+34
2017-04-25Add shuffle packets for 2016-07-13bRagexeRE.Andrei Karas1-0/+34
2017-04-25Add shuffle packets for 2016-07-06cRagexeRE.Andrei Karas1-0/+34
2017-04-25Add shuffle packets for 2016-06-30aRagexeRE.Andrei Karas1-0/+34