summaryrefslogtreecommitdiff
path: root/src/map/pc.c
AgeCommit message (Collapse)AuthorFilesLines
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
2018-06-29Fix packet 836 (search in stores).Andrei Karas1-1/+1
Added item options fields into this packet. Updated other things for support for report item options in vending. Buying store not supported for now.
2018-06-18Merge pull request #2064 from 4144/updatepacketsHaru1-5/+7
update packets and message table for clients 20180530 to 20180612
2018-06-14Fix compilation for packet version smaller than 20090805.Andrei Karas1-5/+7
2018-06-06Fix typo on pc.c documentationMark Hester1-1/+1
2018-06-03Conversion of exp.txt to libconfigSmokexyz1-176/+207
2018-06-02Merge pull request #842 from AnnieRuru/request_6Haru1-2/+7
Add new *pcblock script command
2018-06-02Merge pull request #2038 from 4144/msiHaru1-16/+39
Improve msgstring table usage
2018-05-312012-2018 !Maytichai Saowa1-1/+1
2018-05-29Add autogenerated messages list headers with original strings and translation.Andrei Karas1-1/+24
Also add packet version checks for used messages.
2018-05-29Fix wrong values in clif_messages enum.Andrei Karas1-15/+15
Also use official constant names with custom prefix in clif_messages enum.
2018-05-04Add setpcblock & checkpcblock script commandsAnnieRuru1-2/+7
thanks to @MishimaHaruna for the updated syntax
2018-04-23Move job related checks from pc_read_skill_tree into separate function.Andrei Karas1-2/+8
2018-04-23Move death penalty job check from pc_dead into separate function.Andrei Karas1-2/+9
2018-04-23Move job related code from pc_resetskill into separate function.Andrei Karas1-14/+26
2018-04-23Move from pc_checkbaselevelup sc start related code into separate function.Andrei Karas1-12/+20
2018-04-23Split pc_calc_skilltree into 3 functions.Andrei Karas1-18/+40
2018-04-23Split pc_delspiritball into two functions.Andrei Karas1-5/+14
Move job mask related code into pc_delspiritball_sub.
2018-04-23Split pc_addspiritball into two functions.Andrei Karas1-1/+9
Move job mask related code into pc_addspiritball_sub.
2018-04-08Merge pull request #2006 from Jedzkie/MessageFixesHaru1-5/+40
Message Fixes
2018-04-08Added new items for item checksJedzkie1-0/+3
2018-04-08Update Skill/Item messagesJedzkie1-5/+37
2018-04-07Add an option to prevent item usage when storage is openJedzkie1-5/+5
In official servers, you can't open boxes and use usable/consumables items when the storage is open. Fixes #1806
2018-04-03Merge pull request #1965 from dastgir/2018/3-hateffectHaru1-0/+1
Implemented HatEffect
2018-02-19Changed Kafrapoints calculation.Normynator1-19/+27
Kafrapoints should now be used correctly. Issue #1540 Changed opening braces according to coding styl. Changed some lines according to coding styl. new-line-before-return ? more styling code changes changes in coding style coding style changes Fixed message output on acted cash. Removed unsupported and not needed var ret. Update pc.c Update atcommand.c Coding style added function description added return validation used wrong method in validation Fixed typo in clif.c Moved temp var to block start
2018-02-10Clean up trailing whitespace and non-indent tabsHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2018-02-09Implemented hatEffect.Dastgir1-0/+1
Allows the player to have hatEffect specialeffects. Base taken from rAthena
2018-01-25Implementation of Official Clan SystemMurilo Pereti Tavares1-0/+7
All official features work including the autokick for inactive members And the system is completely customizable.
2017-12-23Add support for new drop packet 0xadd for zero clientsAsheraf1-2/+2
2017-11-05Reduce confusion between skill IDs and skill DB indexes (part 2)Haru1-12/+11
Remove MAX_SKILL in favor of MAX_SKILL_DB, when referring to the maximum skill DB index. This is opposed to MAX_SKILL_ID, the maximum skill ID. Signed-off-by: Haru <haru@dotalux.com>
2017-11-05Use the skill DB accessors where possible/appropriateHaru1-10/+17
This includes some renamed local variables, in order to minimize the cases of unsafe variable reuse. Signed-off-by: Haru <haru@dotalux.com>
2017-10-21Fix various warnings on Visual Studio 2017Haru1-9/+9
Fixes #1867 Signed-off-by: Haru <haru@dotalux.com>
2017-10-21Add packets for 64 bit exp.Andrei Karas1-27/+59
Also update some functions for support 64 bit exp calculation.
2017-09-21Convert some functions from int32 types to int64.Andrei Karas1-27/+27
This mainly need for base and job exp, because now they using int64 type.
2017-09-17Fix a typo in the constant ITEMUPPER_THIRDUPPERHaru1-1/+1
Was: ITEMUPPER_THURDUPPER Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Move other view-related variables to `sd->status.look`Haru1-45/+45
The following variables are now moved to `sd->status.look` (from `sd->status`): `head_top`, `head_mid`, `head_bottom`, `robe` Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Differentiate variables that hold a ViewSprite and a Subtype (part 2)Haru1-11/+24
`sd->status.shield` is renamed to `sd->status.look.shield` and only holds ViewSprite IDs. Its previous other meaning is now transferred to `sd->has_shield`, of boolean type (to detect the presence of a shield) Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Differentiate variables that hold a ViewSprite and a weapon SubtypeHaru1-26/+32
`sd->status.weapon` is renamed to `sd->status.look.weapon` and only holds ViewSprite IDs. Its previous other meaning is now transferred to `sd->weapontype` (holding the currently equipped weapon type, considering both hands at once) Signed-off-by: Haru <haru@dotalux.com>