summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-10-22Implemented SU_BASIC_SKILL Skill of SummonerDastgir Pojee3-7/+24
Added Function for Basic Skills check.
2016-10-22Added Summoner Skills(in DB)Dastgir Pojee2-10/+67
Added Summoner SC ID's in status.h
2016-10-22Added Summoner Class.Dastgir Pojee5-6/+22
(Only Placeholder, other things related to summoner will follow-up soon) Added SQL-Upgrade: Added `class` column in charlog
2016-10-22Added Packets for Several Clients: 2015-10-01, 2015-10-29, 2015-11-04 andDastgir Pojee4-20/+189
2015-12-16 Added New Char Creation Packet(0xa39). Added Placeholder of JOB_SUMMONER
2016-10-16Dont send packets for known unsupported client versions.Andrei Karas2-11/+43
Fixed packets between 20111005 to 20141022. As reference was used client packet logs from https://gitlab.com/4144/servergreps/tree/master/peek_all/packets
2016-10-14HPM Hooks UpdateHaru14-1374/+0
Signed-off-by: Haru <haru@dotalux.com>
2016-10-14Fixed a memory manager crash when a memory leak occurs in a pluginHaru3-2/+6
- Plugins were accidentally using the core's memory manager instead of the HPM-safe wrappers. - As a side-effect of this, plugins shall not be able to hook into the iMalloc interface. - The issue was introduced in e7c2f7d827ad286dc826e483391e64b8ffe2720b Signed-off-by: Haru <haru@dotalux.com>
2016-10-08Fix packet id for clif_heal for packet version >= 20150513.Andrei Karas1-1/+1
2016-10-07Updated VECTOR_INIT() and VECTOR_ENSURE() to be more analyzer- (and ↵Haru1-7/+10
human-reader-) friendly Signed-off-by: Haru <haru@dotalux.com>
2016-10-07Fixed some issues detected by clang's static analyzer (Xcode 8/macOS Sierra)Haru7-21/+4
Signed-off-by: Haru <haru@dotalux.com>
2016-10-05Merge pull request #1459 CRI should only be calculated if flag have SCB_CRIRidley1-4/+6
CRI should only be calculated if flag have SCB_CRI.
2016-10-05CRI should only be calculated if flag have SCB_CRI.Dastgir Pojee1-4/+6
Fixes #1442
2016-10-04Fix warning in strlib.cAndrei Karas1-0/+1
2016-10-04Add missing checks into utils.cAndrei Karas1-6/+23
2016-10-04Add missing checks into sysinfo.cAndrei Karas1-26/+58
2016-10-04Add missing checks into sql.cAndrei Karas1-5/+15
2016-10-04Add missing checks into socket.cAndrei Karas1-9/+22
2016-10-04Add missing checks into mutex.cAndrei Karas1-0/+12
2016-10-04Add missing checks into mapindex.cAndrei Karas1-10/+25
2016-10-04Add missing checks into grfio.cAndrei Karas1-3/+21
2016-10-04Add missing checks into ers.cAndrei Karas1-5/+11
2016-10-04Add missing checks into des.cAndrei Karas1-0/+7
2016-10-04Add missing checks into db.cAndrei Karas1-10/+15
2016-10-04Add missing checks into core.cAndrei Karas1-9/+30
2016-10-04Add missing checks into console.cAndrei Karas1-11/+32
2016-10-04Add missing checks into HPM.cAndrei Karas1-11/+35
2016-10-03Merge pull request #1451 from gdesatrigraha/fix_item_dbDastgir1-1/+1
use mediumint for equip_locations in db2sql
2016-10-03use mediumint for equip_locationsGde Mahardhikha Satrigraha1-1/+1
2016-10-02Changed _Pragma("GCC diagnostic ignored \"-Wcast-qual\"") to target GCC 4.6 ↵Haru2-9/+9
instead of 4.5 - The support on GCC 4.5 is incomplete, and in order to build Hercules, GCC >= 4.6 is recommended Signed-off-by: Haru <haru@dotalux.com>
2016-09-30Add different fixes for gcc 7 warnings.Andrei Karas16-20/+128
Some possible buffer overflows. Add attribute for mark fallthrough cases. Skipped libconfig warnings.
2016-09-27Save also quest time while updating quest in db.Andrei Karas1-1/+1
2016-09-27In clif_devotion dont read skill range if player not have this skill.Andrei Karas1-2/+12
2016-09-22Fixed a compile error when SEND_SHORTLIST is disabledHaru1-5/+4
- Since f8edb93a (likely caused by a find and replace macro gone horribly wrong) Signed-off-by: Haru <haru@dotalux.com>
2016-09-21Fixed a wrong check in the SA_FREECAST handling codeHaru1-2/+2
- Don't skip the check for Free Cast's absence unless the cast skill's INF2_FREE_CAST_* flags aren't unset. - Follow-up to 19a06cae9a03ae7c390db18ca95b74bd6033dc4e - Fixes #1439 Signed-off-by: Haru <haru@dotalux.com>
2016-09-19Add missing checks into vending.cAndrei Karas1-10/+25
2016-09-19Add missing checks into unit.cAndrei Karas1-31/+69
2016-09-19Add missing checks into trade.cAndrei Karas1-5/+19
2016-09-19Add missing checks into storage.cAndrei Karas1-14/+39
2016-09-19Add missing checks into status.cAndrei Karas1-90/+239
2016-09-19Add missing checks into skill.cAndrei Karas1-114/+341
2016-09-18Removed special handling of "clear" in npc->addsrcfile()Haru2-11/+9
- Use npc->clearsrcfile() instead. Signed-off-by: Haru <haru@dotalux.com>
2016-09-18Removed special handling of "all" by npc->delsrcfile()Haru1-12/+9
- Use npc->clearsrcfile() instead. Signed-off-by: Haru <haru@dotalux.com>
2016-09-18Restored handling of "all" in npc_removed_listHaru1-4/+8
- The feature was missing/incomplete since the conversion to libconfig - Fixes #1425 Signed-off-by: Haru <haru@dotalux.com>
2016-09-18Corrected some issues in the npc_removed_list and map_removed processingHaru1-4/+4
- Removed the unnecessary DB_OPT_RELEASE_KEY flag (we don't want to release the original key, but only the duplicate one, which is already managed by DB_OPT_DUP_KEY) - Added DB_OPT_NULL_DATA to the npc_removed_list DBMap (follow-up to 4aa5286, related #1430) Signed-off-by: Haru <haru@dotalux.com>
2016-09-14Merge pull request #1429 from 4144/packetsfixHaru1-2/+37
Dont send packets with size 0
2016-09-13Corrected a wrong check that allowed walking while casting guild skillsHaru1-3/+11
- The check was originally meant to have guild skills ignore SA_FREECAST (and always block movements) - Since 8953417 - Fixes #1428 Signed-off-by: Haru <haru@dotalux.com>
2016-09-13Fixed an error in the scripts_removed.conf processingHaru1-1/+1
- Fixes #1425, fixes #1430 Signed-off-by: Haru <haru@dotalux.com>
2016-09-13Fixed a possile buffer overrun when MAX_SKILL_LEVEL is changedHaru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-09-12Use fixed size for packet 0x25d, because it used size from other packet.Andrei Karas1-2/+2
2016-09-12Add missing packet version checks in clif.cAndrei Karas1-0/+35
Because packet sizes defined not for all packets, usage packets with size zero is mistake.