summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2015-06-02Fixed a crash when a Wink Charm user logs out during the skill effectHaru1-4/+9
- Fixes bugreport:8714, thanks to HermeMaton http://herc.ws/board/tracker/issue-8714-crash/ Signed-off-by: Haru <haru@dotalux.com>
2015-06-01Plugin load failure now causes Fatal ErrorAncyker1-39/+26
If you set a plugin to load and it fails for some reason, the server will now exit. It will still warn when attempting to load a plugin twice.
2015-06-02HPM Hooks UpdateHercules.ws3-35/+34
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-06-02Follow-up to 42e1df9Haru1-1/+1
Fixed a @charban issue Signed-off-by: Haru <haru@dotalux.com>
2015-06-02Follow-up to 544a75bHaru3-7/+10
Signed-off-by: Haru <haru@dotalux.com>
2015-06-02Merge remote-tracking branch 'upstream/pr/530' into herculesHaru2-25/+10
2015-06-02Re-implemented clif->colormes to accept arbitrary colorsHaru9-105/+81
- Due to the backward-incompatible change, clif->colormes was renamed to clif->messagecolor_self (for similarity with clif->messagecolor). The 'color' argument is now a 0xRRGGBB color rather than a color_table index. - enum clif_colors is no longer needed, but 0xRRGGBB-based constants are now provided to replace the old COLOR_* values. Signed-off-by: Haru <haru@dotalux.com>
2015-06-01Followup in malufett's commit a5a8605Lemongrass31101-1/+5
2015-06-01Follow up to Mishima's cleanup in ad958235cfLemongrass31101-24/+5
2015-06-01Replaced some of the hardcoded values with constants (map)Haru30-560/+635
- Replaced several hardcoded values with the appropriate enums. - Added documentation for some hardcoded values that haven't been replaced by enums (yet) - Minor code legibility improvements. Signed-off-by: Haru <haru@dotalux.com>
2015-06-01Replaced some of the hardcoded values with constants (char)Haru12-184/+202
- Replaced several hardcoded values with the appropriate enums. - Added documentation for some hardcoded values that haven't been replaced by enums (yet) - Minor code legibility improvements. Signed-off-by: Haru <haru@dotalux.com>
2015-06-01Replaced some of the hardcoded values with constants (login)Haru3-26/+31
- Replaced several hardcoded values with the appropriate enums. - Added documentation for some hardcoded values that haven't been replaced by enums (yet) - Minor code legibility improvements. Signed-off-by: Haru <haru@dotalux.com>
2015-06-01Replaced some of the hardcoded values with constants (misc)Haru6-63/+59
- Replaced several hardcoded values with the appropriate enums. - Added documentation for some hardcoded values that haven't been replaced by enums (yet) - Minor code legibility improvements. Signed-off-by: Haru <haru@dotalux.com>
2015-05-31HPM Hooks UpdateHercules.ws3-0/+32
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-05-31Merge branch 'master' of https://github.com/HerculesWS/Herculesmalufett2-12/+42
2015-05-31Fixed Bug#8673malufett5-50/+61
-http://hercules.ws/board/tracker/issue-8673-gt-energy-gain/?gopid=25265#entry25265 -Fixed some skills related to spiritball, should now work like official. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-05-31Fixed some more skill level assertion failuresHaru1-12/+25
Signed-off-by: Haru <haru@dotalux.com>
2015-05-31Follow up@027f124cbb96bb99d00bc31ad51345024edadf66malufett2-4/+6
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-05-30Dump stack in nullpo*/Assert* function.Andrei Karas1-0/+17
Also enable in configure linker flag -rdynamic.
2015-05-28Fixed Bug#8694malufett1-0/+4
-http://hercules.ws/board/tracker/issue-8694-npc-earthquake-wrong-type/?gopid=25380#entry25380 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-05-26Fix Vacuum Extrem resistanceMichieru3-5/+6
In renewal Safetywall Hits Blocked depending also on Skill Level
2015-05-26Another batch of corrected skill level checkmalufett3-15/+29
-Followup@dbaff8bdff2552c94d83e71249ae9e2117f62a72 -Added missing code from previous commit@027f124cbb96bb99d00bc31ad51345024edadf66 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-05-26Fixed Bug#8682malufett1-0/+1
-http://hercules.ws/board/tracker/issue-8682-bakuretsu-kunai/?gopid=25327#entry25327 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-05-26Merge pull request #524 from csnv/fixes2malufett1-3/+10
Fixes ninja skill Final Strike sliding. Bug report 8618 -http://hercules.ws/board/tracker/issue-8618-final-strike/?gopid=24952#entry24952
2015-05-25Corrected homunculus defense growing too much on level upHaru1-2/+3
- Caused by a variable not correctly re-initialized on level up. - Special thanks to Michieru, Malufett. Signed-off-by: Haru <haru@dotalux.com>
2015-05-24Fixes ninja skill Final Strike sliding. Bug report 8618: ↵csnv1-3/+10
http://hercules.ws/board/tracker/issue-8618-final-strike/
2015-05-24Corrected a skill level checkHaru1-2/+5
- Caused by yet another overwritten variable, this time from 61135037. - This fixes some of the failed assertions from bug 8672 http://hercules.ws/board/index.php?app=tracker&showissue=8672 - Special thanks to csnv. Signed-off-by: Haru <haru@dotalux.com>
2015-05-24Corrected distance check on homunculus skillsHaru1-9/+12
- Distance check on offensive skills was being done against the homunculus' master instead of the actual target, because of a variable accidentally overwritten in 8faef4ff. - Please don't reuse variables for unrelated things. You don't have to pay extra if you use one more variable, I promise. - Special thanks to MordekaiserGod. Signed-off-by: Haru <haru@dotalux.com>
2015-05-23Fixed Bug#8672malufett1-9/+11
-http://hercules.ws/board/tracker/issue-8672-map-server-error/
2015-05-21* Follow-up to 5be01dcMichieru1-1/+1
- effect was give at 100% chance - Special thanks to Haru
2015-05-20* Fixed a compile error.Michieru1-1/+1
Thanks to Haru
2015-05-19Fixed some issues reported by coverity scan [3/3]Haru9-135/+44
- Automatically zeroed variables are now zeroed in the correct size, regardless of padding. - Special thanks to Ind. Signed-off-by: Haru <haru@dotalux.com>
2015-05-19Fixed some issues reported by coverity scan [2/3]Haru2-8/+23
- Corrected some NPC ID range checks Signed-off-by: Haru <haru@dotalux.com>
2015-05-19Fixed some issues reported by coverity scan [1/3]Haru4-28/+49
Signed-off-by: Haru <haru@dotalux.com>
2015-05-18HPM Hooks UpdateHercules.ws3-99/+37
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-05-18Removed duplicates of clif->msgtableHaru6-91/+109
- Removed clif->msgtable, and renamed clif->msg to clif->msgtable. - Removed clif->msgtable_num, and renamed clif->msg_value to clif->msgtable_num - Renamed clif->msg_skill to clif->msgtable_skill - Removed clif_viewequip_fail - Replaced hardcoded message IDs with constants (see enum clif_messages) Signed-off-by: Haru <haru@dotalux.com>
2015-05-17Follow-up to 5be01dcHaru1-2/+2
Fixed a swapped-variable typo. Special thanks to Michieru Signed-off-by: Haru <haru@dotalux.com>
2015-05-17HPM Hooks UpdateHercules.ws2-6/+7
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-05-17Fixed some issues detected by coverity scanHaru12-42/+47
Signed-off-by: Haru <haru@dotalux.com>
2015-05-17Added bonus4 variant of bAddEff to specify a durationHaru3-16/+62
- When a duration value is specified, the effect will have a fixed, non-reducible duration, as required by item scripts. - Special thanks to Michieru Signed-off-by: Haru <haru@dotalux.com>
2015-05-16Added charid2rid script commandHaru1-0/+18
- Returns the account ID (RID) for the given character ID. - As per Streusel's request. Signed-off-by: Haru <haru@dotalux.com>
2015-05-16Fix log10() function actually using log10. Used natural log before.Streusel1-1/+1
2015-05-15Renamed log to log10, as it is creating errors with items called Log.Streusel1-21/+2
Removed floor() and ceil() as they don't make sense since everything is int to begin with.
2015-05-15Added floor(), ceil() and log() functions for usage in scripts.Streusel1-10/+40
2015-05-13Fix a typo in packets.hDastgir1-1/+1
2015-05-13Added Packets for 2015-05-13aRagexe, Thanks to YommyDastgir1-13/+55
2015-05-13Follow-up to fb88a56Haru1-44/+47
- Fixes a division by zero while parsing the job_db. - Improves algorithm for guessing HP/SP table values when not enough levels are provided. Signed-off-by: Haru <haru@dotalux.com>
2015-05-12Follow-up to 2b4f2993Haru1-1/+1
Related: fff2194, http://hercules.ws/board/tracker/issue-8672-map-server-error/ Signed-off-by: Haru <haru@dotalux.com>
2015-05-12Follow-up to fff2194Haru1-10/+11
Related: http://hercules.ws/board/tracker/issue-8672-map-server-error/ Signed-off-by: Haru <haru@dotalux.com>
2015-05-12Fix issue http://hercules.ws/board/tracker/issue-8672-map-server-error/Andrei Karas1-5/+13