summaryrefslogtreecommitdiff
path: root/src/map/pc.c
AgeCommit message (Collapse)AuthorFilesLines
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-10-21Merge pull request #2208 from dastgirp/issue/2177Haru1-8/+6
Changes the item price to 1 if it is 0
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
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