summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-07-11HPM Hooks UpdateHercules.ws1-6/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-07-11Explicitly specify 'void' when a function expects no argumentsHaru6-18/+18
- See CERT DCL20-C. Signed-off-by: Haru <haru@dotalux.com>
2014-07-11Removed some c++ compatibility definitionsHaru2-39/+3
- Neither our code nor 3rdparty code is, (or will compile as) C++, regardless of those checks. - Special thanks to panikon. Signed-off-by: Haru <haru@dotalux.com>
2014-07-11Fixed reserved __identifier violationsHaru107-446/+441
- Complies with CERT DCL37-C - Fixes issue #293 (special thanks to elfring) Signed-off-by: Haru <haru@dotalux.com>
2014-07-11Removed unsafe pointer typedefsHaru10-116/+116
- If a variable doesn't look like a pointer... Maybe it might be a pointer after all. Please, give me back my '*' sign. - See CERT DCL05-C. Signed-off-by: Haru <haru@dotalux.com>
2014-07-11Merge pull request #286 from MrKeiKun/fix/organize_sql_filesHaruna36-1310/+1356
Fix/organize sql files
2014-07-11Updated warg skill check, special thanks to Rytechpanikon1-2/+10
2014-07-10Updated sql-upgrade files.Shido25-225/+242
2014-07-10Organized sql-tools.Shido3-34/+34
2014-07-10SQL Re-Organization.Shido8-1051/+1080
Signed-off-by: KeiKun <the.keikun@gmail.com>
2014-07-10Follow up to 3c24fb656f3b3370b7152d6f1d2cc9dbc6fbae5dpanikon1-3/+2
Moved 'count' declaration in order to fit MSVC c89-c99 standard
2014-07-10Re-added revision info to the memory leak logHaru2-7/+9
- Information was missing because sysinfo->final() was freeing the data before iMalloc->final() could log it. Signed-off-by: Haru <haru@dotalux.com>
2014-07-10HPM Hooks UpdateHercules.ws3-0/+64
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-07-10Corrected some SC behaviour, special thanks to Rytechpanikon5-15/+67
- Extracted some methods to check SC blocks - Fixed issue that when players couldn't attack they couldn't talk to NPCs with mob view id either Follow up to ec51176326c6028630835538db67826281d34ffe, fixed minor typo
2014-07-09Corrected compile errors in case DB_ENABLE_STATS is definedHaru1-4/+4
Signed-off-by: Haru <haru@dotalux.com>
2014-07-09Fixed an issue in the 'Invalid client hash' console messageHaru1-1/+2
- MD5 value was incorrectly printed as int (displaying a meaningless number) while it's in fact a string. Signed-off-by: Haru <haru@dotalux.com>
2014-07-09Fixed issue with frenzy, the regen buff wasn't being removed when the player ↵panikon1-0/+1
died/relogged, issue: 8251 http://hercules.ws/board/tracker/issue-8251-berserk-bug-sp-regenetati/
2014-07-09Fixed issue with [AT]mount, it wasn't displaying the expected messages, all ↵panikon2-17/+30
errors would simply display "You can not mount a Peco Peco with your current job.", now it's displaying a different message for each possible error
2014-07-09HPM Hooks UpdateHercules.ws3-27/+26
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-07-09Fixed issue with mounts and jobchange, ranger and mechanic mounts weren't ↵panikon6-120/+86
being checked and properly removed in pc_setoption Abstracted running functions into two other methods (unit_run and unit_wugdash) Added checks in skill_dance_switch so it'd be safe to call it whenever it's needed Documented unit_run, unit_run_hit, skill_dance_switch and sc_conf_type
2014-07-09Corrected issue with bce716fa908584f435dcf97904fb37ada6dd90b7 forgot to ↵panikon2-3/+3
removed a couple of parenthesis, sorry guys
2014-07-08reversed portion of 7cd967f812ab741c41c416fb9f7c2a921c36e947 that would ↵Streusel1-2/+2
point to nothing.
2014-07-09Fixed possible crash in clif_getareachar_skillunit, related to issue 6561 ↵panikon2-0/+3
(http://hercules.ws/board/tracker/issue-6561-unknown-map-server-crash/) Follow up to 29de937a2d8b485498fa9ce573efebfb64e8d669
2014-07-09Fixed status_calc_regen crash ↵panikon3-0/+8
issue:http://hercules.ws/board/tracker/issue-1298-mapserver-crashed-item-check/ Follow up to 7cd967f812ab741c41c416fb9f7c2a921c36e947
2014-07-08Extracted method to obtain SYSTEM_INFO from functions in sysinfo.cpanikon3-18/+41
Added proper method to obtain page size in windows
2014-07-08Added documentation regarding hard coded constants.panikon1-17/+36
Updated *strcharinfo documentation in order to follow 1a477c4a628decb330b8083bbd4625ffae26c709
2014-07-08Minor script core fixespanikon1-100/+131
Removed useless calls in script.c Removed nullpo calls in script.c, scripts shouldn't crash the server Added checks in several functions in order to prevent possible crashes *resetstatus, *resetskill, *skillpointcount, *changesex, *successremovecards, *failedremovecards, *getequipcardid, *skilleffect, *atcommand, *cardscnt, *equip, *useatcmd Corrected *specialeffect2 behaviour, when no player was attached and another player name was supplied it would stop script execution instead of displaying the effect
2014-07-08HPM Hooks UpdateHercules.ws1-0/+1
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-07-08Removed redundant data from guardian_data, saving up to 40 bytes per ↵panikon6-76/+72
guardian (10240 bytes total)
2014-07-07Follow up to 2e6016fdastgir1-2/+2
Increased MAX_SKILL_TREE to comply with WE_CALLPARENT and WE_BABY in Extended Super Novice. issue: 8250 http://hercules.ws/board/tracker/issue-8250-latest-rev-warning/
2014-07-06Fixed issue with getlookpanikon2-3/+4
Follow up to 2e6016f, increased MAX_SKILL_TREE in order to fit WE_BABY in Expanded Super Novice
2014-07-06Follow up to 2e6016f6d7ec3493888513239f518c7cfc06d3b8 forgot to add pre-re fixpanikon1-0/+2
2014-07-06Fixed issue in adoption system, babies would lost their skills (WE_BABY and ↵panikon1-0/+2
WE_CALLPARENT) after logout, issue: 8061 http://hercules.ws/board/tracker/issue-8061-baby-skills-dissapear-after-mapchange-or-relog/
2014-07-05Corrected HT_POWER behaviour, combo and type of skill, and fixed TK-combos ↵panikon4-17/+32
walking delay (issue: 8241 http://hercules.ws/board/tracker/issue-8241-cant-move-during-certain-combos/)
2014-07-05Fixed issue with mistress card and WL_COMET/AB_ADORAMUS (issue: 7935 ↵panikon1-1/+4
http://hercules.ws/board/tracker/issue-7935-nogemstone/ )
2014-07-05Follow up to 9173fa50ef2887b28603f223a102448a2c69a234panikon1-5/+6
2014-07-05Fixed issue in LG_SHIELDSPELL, the skill was working in lv 2 and 3 when it ↵panikon1-6/+11
shouldn't be, some small refactoring as well. Small refactoring in SR_ASSIMILATEPOWER
2014-07-04Added support to show children of struct/union in Debug Help plugin, this ↵panikon1-37/+54
feature is disabled by default Added small checks in order to increase efficiency, to avoid unnecessary crashes and to free memory in Debug Help plugin Added some missing error checks in Debug Help plugin
2014-07-04Added sysinfo support to Debug Help pluginpanikon1-13/+10
2014-07-04Ported dbghelp to HPMpanikon1-43/+26
2014-07-02Refactoring in AB_PRAEFATIO in order to prevent crashes and to clean code.panikon1-10/+7
Removed some redundant checks in WM_LULLABY_DEEPSLEEP and in WM_VOICEOFSIREN
2014-07-02Fixed issue of crash when using LG_SHIELDSPELL, issue: 8172 ↵panikon1-1/+3
http://hercules.ws/board/tracker/issue-8172-mapserver-crash-skill-lg-shieldspell/
2014-07-02Fixed issue where 'reflect' skills would bypass disable_pvm and disable_pvp, ↵panikon1-0/+8
issue: 8203 http://hercules.ws/board/tracker/issue-8203-disable-pvm-true/
2014-07-02Fixed issue that when players used [at]fakename when disguised their names ↵panikon1-0/+4
wouldn't be updated for them
2014-06-28Changes in npc_parse_shop in order to fit documentation standard, now an ↵panikon1-7/+29
unlimited item amount is supported in SHOP/CASHSHOP NPC objects and when value is a negative value other than -1 a warning is shown
2014-06-28Minor follow up to b73a578panikon1-1/+1
2014-06-28Changes in npc_parsefile in order to decrease the number of unecessary calls ↵panikon1-11/+16
to strcmp Fixed issue that different header syntax would lead to a deprecation warning instead of the proper error
2014-06-27Merge pull request #301 from MrKeiKun/fix/remove_unused_includeFlipp1-1/+0
Removed Unused Include.
2014-06-27Removed Unused Include.Potte1-1/+0
Signed-off-by: Shido <the.keikun@gmail.com>
2014-06-26ItemDB SQL SyncHercules.ws1-2/+2
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>