summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-11-15Add validation for WFIFOHEAD buffer allocations.Andrei Karas2-8/+23
2018-11-15Add packet versions for all server types into socket_datasync.Andrei Karas1-0/+5
2018-11-15Add packets from plugins into packets len table.Andrei Karas1-0/+5
2018-11-15Remove packet len field from packet macro and packet functions.Andrei Karas1-8/+6
2018-11-15Remove packet len fields from packets.hAndrei Karas4-18680/+18715
2018-11-14Merge pull request #1233 from dastgirp/r5-defenseHaru2-31/+36
Fixed defense overflow exploit
2018-11-14Clarify the code around the def/flee reduction for multiple attackersHaru1-31/+35
This is just a clarification/sanitization, no functional changes intended. Signed-off-by: Haru <haru@dotalux.com>
2018-11-14Merge pull request #1215 from HerculesWS/HP_DisplayHaru13-159/+301
Fixes #889 & #840
2018-11-14Merge pull request #2255 from Emistry/doc_mob_modeHaru1-1/+1
Update Monster Modes Documentation
2018-11-14Extend status->heal() with a flag to allow reviving a dead characterHaru3-3/+5
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-14HPM Hooks UpdateHaru4-15/+83
Signed-off-by: Haru <haru@dotalux.com>
2018-11-14Use an enum as flag for status->heal() and related functionsHaru7-127/+154
This introduces the `enum status_heal_flag`. No functional changes are made. Signed-off-by: Haru <haru@dotalux.com>
2018-11-14Fixes #889 & #840Jedzkie5-15/+60
- Novice classes will never go below 50% hp when died. - Other classes will show 1 HP rather than 0 when died. - Added battle configuration. Signed-off-by: Haru <haru@dotalux.com>
2018-11-14Merge pull request #2320 from MishimaHaruna/improve-charlogHaru1-5/+27
Add relevant data to the charlog
2018-11-14Remove len field from shuffle packets.Andrei Karas3-17526/+17527
2018-11-14Remove empty #if blocks from packets.hAndrei Karas1-1138/+2
2018-11-14Remove useless packets lines from packets.hAndrei Karas1-1393/+3
2018-11-14Update HPM hooks.Andrei Karas11-21/+115
2018-11-14Add send packet validation for connections between server and clients.Andrei Karas7-16/+71
2018-11-14Add compile time validation for packet ZC_ITEM_PREVIEW.Andrei Karas4-18/+63
2018-11-14Use new packet tables for packets len.Andrei Karas3-12/+14
2018-11-14Update HPM hooks.Andrei Karas15-0/+406
2018-11-14Add interface for packets in common.Andrei Karas14-22/+142
For now supported only packet length fields.
2018-11-14Add packet len table headers.Andrei Karas48-3/+269972
2018-11-13update HPM hooks, for map_zone_remove_allgumi4-0/+33
2018-11-13use a dedicated zone remove function when reloading zonesgumi3-2/+25
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-13Remove a duplicate output line from the help message for the channel atcommandHaru1-3/+1
Signed-off-by: Haru <haru@dotalux.com>
2018-11-13Fixed character not joining its guild chat when joining a new guild.Mathy1-0/+5
2018-11-13Fix an issue that caused some guild channels not to be left when leaving ↵Haru2-8/+7
allychat - The issue was caused by an array compaction while iterating through the array members. - A visible effect was that under certain conditions (depending on the alliance size), a character that left a guild could still see allychat messages from some of the allied guilds. Signed-off-by: Haru <haru@dotalux.com>
2018-11-13Replace sd->channels with a VECTORHaru6-65/+36
This removes some shady array compaction code and prepares the ground for some further fixes. Signed-off-by: Haru <haru@dotalux.com>
2018-11-13Merge pull request #2289 from EyesOfAHawk/buildin_getnpcidHaru1-21/+12
Remove type argument from buildin_getnpcid.
2018-11-13Remove type argument from buildin_getnpcid.EyesOfAHawk1-21/+12
2018-11-13Merge pull request #2287 from EyesOfAHawk/hcs_opt_msg_delayHaru3-3/+15
Add config for '@channel setopt MessageDelay <delay>'
2018-11-13Merge pull request #2286 from EyesOfAHawk/channel_delay_msgHaru1-1/+3
Change channel delay message to time left instead of generic message.
2018-11-13Add the available information to the charlog when selecting a characterHaru1-2/+13
All the necessary information was already available (the full character data is loaded by `char_parse_char_select()`), but it wasn't used by the charlog insert query. Signed-off-by: Haru <haru@dotalux.com>
2018-11-13Add the available information to the charlog when renaming a characterHaru1-3/+14
All the necessary information was already available (charlog fields are part of the shortdata, which is already loaded by `char_rename_char_sql()`), but it wasn't used by the charlog insert query. Signed-off-by: Haru <haru@dotalux.com>
2018-11-13Merge pull request #2319 from MishimaHaruna/remove-minicoreHaru7-182/+22
Remove minicore
2018-11-13HPM Hooks UpdateHercules.ws1-0/+2
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-11-13Merge pull request #2265 from dastgirp/coverity/fix1Haru1-23/+0
Fixed Logically Dead Code in status.c
2018-11-13Merge pull request #2310 from 4144/updatepacketsHaru12-471/+799
Update packets and messages up to 2018-11-07
2018-11-13Merge pull request #2304 from Helianthella/data-to-stringHaru1-0/+59
add data_to_string()
2018-11-13Merge pull request #1866 from Helianthella/rename2Haru1-0/+10
patch for #1805 (char rename)
2018-11-13Merge pull request #2105 from Helianthella/getunits3Haru3-11/+17
break the loop in buildin_getunits when the max is reached
2018-11-13Remove the unused minicore libraries and ifdefsHaru6-94/+22
Minicore was previously used by the tools in the src/tool directory, and is currently unused. Signed-off-by: Haru <haru@dotalux.com>
2018-11-13Fix report about unhandled packets.Andrei Karas1-2/+2
2018-11-11Remove the unused src/tool directoryHaru1-88/+0
The directory has been unused since the mapcache generator was converted to a plugin. Signed-off-by: Haru <haru@dotalux.com>
2018-11-07break the loop in buildin_getunits when the max is reachedgumi3-11/+17
2018-11-07Improve packet version check for packet 0x82d.Andrei Karas1-14/+13
2018-11-07Update packet ZC_AUTOSPELLLIST.Andrei Karas2-34/+54