summaryrefslogtreecommitdiff
path: root/src/map/pc.c
AgeCommit message (Collapse)AuthorFilesLines
2021-03-08[TMW2] Hercules Ultimate Storage SystemJesusaves1-13/+21
2021-02-15Add support for auto exp insurance itemsAsheraf1-0/+17
2021-02-15Change execution order in pc_isequip() functionKenpachi Developer1-17/+18
Validating, if the item is disabled by the map's zone, should be done prior to the validation of the character's status changes. If not, equipment, enabled by Super Novice Spirit, is able to bypass the map zone restriction.
2021-02-15Fix an issue regarding using items when the storage is open.Jedzkie1-1/+1
2020-09-12This is Hercules v2019.10.20r12.5_BUGGYJesusaves1-11/+8
2020-09-12This is Hercules v2019.09.22Jesusaves1-83/+53
2020-08-07This is Hercules v2019.08.25r12.4+1Jesusaves1-3/+53
2019-07-28Update Homunculus obtain EXP from masterEmistry Haoyan1-0/+5
- homunculus will obtain a portion or full EXP from master. - fixes #2313
2019-07-24If error happend in pc_statusup then send back to client increase valueAndrei Karas1-12/+11
2019-06-03Add *setfavoriteitemidx & *autofavoriteitem script command.Emistry Haoyan1-0/+7
- set an item as favorite item or not based inventory index. - if an item is set to favorite item, it will be moved into favorite tab, else move out from favorite tab. - only non-equipped item can adjust the favorite item state.
2019-05-05Add missing checks for prevend flagAndrei Karas1-5/+5
2019-04-07Merge pull request #2402 from AnnieRuru/71-bodystyle_crashHaru1-1/+9
Fix @bodystyle crash client
2019-04-07Rename clif_charnameack into clif_blname_ackAndrei Karas1-1/+1
2019-03-11Fix atcommand "@jobchange" when the player changing from 3rd jobAnnieRuru1-0/+7
having alternate body style into non-3rd job, crashing the client
2019-03-11Apply temporary fix so Job_Super_Novice_E no longer crash clientAnnieRuru1-1/+2
2019-02-11Change type for class variables from short to intAndrei Karas1-3/+3
2018-12-16Merge pull request #2298 from guilherme-gm/201810-abracadabraHaru1-0/+4
Fixes delayed-consume items not being consumed after using Abracadabra
2018-12-16Merge pull request #2327 from HerculesWS/change_shortgroup_tobool_in_s_add_dropHaru1-13/+11
Change short group to bool is_group in s_add_drop
2018-12-14Add script command expandInventoryAndrei Karas1-0/+18
This command allow adjust inventory size to positive or negative value.
2018-12-14Add inventory size field into db and using it in server.Andrei Karas1-42/+40
2018-12-14Add packt ZC_INVENTORY_EXPANSION_INFOAndrei Karas1-0/+2
2018-12-12Remove typedef from clr_type.Andrei Karas1-3/+3
2018-12-12Add some missing checks for inventory index variable.Andrei Karas1-0/+1
2018-11-20Change short group to bool is_group in s_add_dropskyleo1-13/+11
current checks for empty entries assumed that if id and group is 0 that it is empty, while in fact ITMCHAIN_ORE has group 0 as value, for easier checks and more aesthetic code short group has been replaced, id's are now always written into short id and bool is_group decides if it's an item or a group.
2018-11-16Merge pull request #2322 from MishimaHaruna/fix-allychat-leaveguildHaru1-2/+6
Fix allychat leaveguild
2018-11-14Extend status->heal() with a flag to allow reviving a dead characterHaru1-2/+1
This adds `STATUS_HEAL_ALLOWREVIVE` to `enum status_heal_flag`. Fixes an issue caused by a hack in the resurrection code, that would make characters respawn with 2 HP instead of 1. Signed-off-by: Haru <haru@dotalux.com>
2018-11-14Use an enum as flag for status->heal() and related functionsHaru1-5/+5
This introduces the `enum status_heal_flag`. No functional changes are made. Signed-off-by: Haru <haru@dotalux.com>
2018-11-13Fixed code that assumed the character to be already on a map, on loginHaru1-2/+5
Signed-off-by: Haru <haru@dotalux.com>
2018-11-13Replace sd->channels with a VECTORHaru1-0/+1
This removes some shady array compaction code and prepares the ground for some further fixes. Signed-off-by: Haru <haru@dotalux.com>
2018-10-21Merge pull request #2208 from dastgirp/issue/2177Haru1-8/+6
Changes the item price to 1 if it is 0
2018-10-20Fixes delayed-consume items not being consumed after using ↵Guilherme G. Menaldo1-0/+4
Abracadabra/Improvised Song
2018-10-13Fixed Issue #2177Dastgir1-8/+6
If Item Price is 0, it is now changed to 1.
2018-10-07Merge pull request #2227 from Helianthella/validatezenyHaru1-14/+16
only update zeny achievements and logs for non-zero transactions
2018-10-02Fix getting achievement reward packets order.Andrei Karas1-1/+1
Also split achievement reward function to parts.
2018-09-28only update zeny achievements and logs for non-zero transactionsgumi1-14/+16
2018-09-19Update cart packet for 2018-09-12 RE.Andrei Karas1-3/+3
2018-07-30always set the type when doing script->add_strgumi1-35/+36
2018-07-28Add packet ZC_GROUP_ISALIVE.Andrei Karas1-1/+9
2018-07-28Add over weight packet.Andrei Karas1-0/+1
Thanks @functor-x
2018-07-28Merge pull request #2147 from MishimaHaruna/fixcooldownHaru1-10/+4
Fix an issue that causes skill cooldowns to get stuck indefinitely
2018-07-28Merge pull request #2067 from dastgirp/1-achievementHaru1-2/+46
Implemented Achievement System and Title System
2018-07-26Fix an issue that causes skill cooldowns to get stuck indefinitelyHaru1-10/+4
A cooldown timer could expire before the associated character's data gets added to the ID/PC DB, causing skill_blockpc_end() to be unable to find and clear the cooldown data. This commit moves the cooldown loading function to a safe place, after the character data is initialized and added to the DB. Fixes #1535 Signed-off-by: Haru <haru@dotalux.com>
2018-07-25Merge pull request #2138 from Asheraf/stylistupdateHaru1-0/+10
Add support for bodystyle in stylist shop ui
2018-07-24Implementation of the official Achievement System.smokexyz1-2/+46
Source: http://ro.gnjoy.com/news/update/View.asp?seq=163&curpage=1 Script Commands - ``` achievement_progress(<ach_id>,<obj_idx>,<progress>,<incremental?>{,<char_id>}); ``` Includes an achievement_db.conf generator that reads from the item_db, mob_db (server side) and achievement_list.lub files to determine valid achievement entries based on item/monster availability. Achievements containing unsupported entries are commented out. This feature, although renewal-only in official servers, is capable of being used in pre-renewal mode on Hercules. Does not include the title system yet. A big thanks to - @MishimaHaruna for constantly reviewing. @4144 for all the support. @Asheraf for a lot of official information. Co-authored-by: "Dastgir" <dastgirp@gmail.com>
2018-07-24Questinfo System overhaulAsheraf1-0/+5
2018-07-19Replace item id shorts to int in map server.Andrei Karas1-3/+3
2018-07-19Add support for bodystyle in stylist shop uiAsheraf1-0/+10
2018-07-01Change functions to static where possible (Part 4 - map)Haru1-264/+346
This fixes issues with plugins defining symbols with the same names Signed-off-by: Haru <haru@dotalux.com>
2018-07-01Merge pull request #2115 from marky291/patch-2Haru1-5/+5
Documentation typos in pc.c
2018-07-01Documentation in pc.cMark Hester1-5/+5