summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2015-05-11Merge pull request #508 from 4144/sanityHaruna2-26/+26
Extend sanity check configure flag with all sanity checks.
2015-05-11Fixed SC_BERSERK not starting SC_ENDUREHaru1-1/+1
- Issue present since cf56f7c9 (seemingly unintended edit of a condition in status_change_start). - Special thanks to MordekaiserGod. Signed-off-by: Haru <haru@dotalux.com>
2015-05-08Deprecated command checkre().Haru1-1/+1
- The command is deprecated and it will be removed in about a month. Please use the constants RENEWAL, RENEWAL_CAST, RENEWAL_DROP, RENEWAL_EXP, RENEWAL_LVDMG, RENEWAL_EDP, RENEWAL_ASPD instead. Signed-off-by: Haru <haru@dotalux.com>
2015-05-08Removed deprecated command isdayHaru1-6/+0
- Follow-up to b1b1b1aa8edc866a83029081e93d3e7d0f138189 Signed-off-by: Haru <haru@dotalux.com>
2015-05-08Added support for RENEWAL constants in scriptsHaru1-0/+37
Supported constants: - RENEWAL (globally enabled renewal mode) - RENEWAL_CAST (renewal cast time) - RENEWAL_DROP (renewal drop rate algorithms) - RENEWAL_EXP (renewal exp rate algorithms) - RENEWAL_LVDMG (renewal level modifier on damage) - RENEWAL_EDP (renewal enchant deadly poison algorithm) - RENEWAL_ASPD (renewal ASPD) Signed-off-by: Haru <haru@dotalux.com>
2015-05-05Typo when setting JoinAnnounce for channelsNihadm891-1/+1
The comment is right, but the wrong message number is there
2015-05-03Fixed Bug#8650malufett5-10/+22
-http://hercules.ws/board/tracker/issue-8650-minstrel-poem-of-netherworld-or-despair-song-skillleffect/?gopid=25083#entry25083 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-05-03Fixed Bug#8652malufett1-0/+1
-http://hercules.ws/board/tracker/issue-8652-sp-again/?gopid=25092#entry25092 -Added missing weight factor of Minstrel/Wanderer. Thanks Michi Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-05-02Fix out of bound access if skill level is 0.Andrei Karas1-25/+25
2015-05-01Fix memory allocation error in atcommand.cAndrei Karas1-1/+1
2015-04-25Merge pull request #502 from k-py/bugfix-return-getvariableofnpcHaruna1-11/+21
Fix script function return always removing references from NPC variables.
2015-04-25HPM Hooks UpdateHercules.ws4-6/+70
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-04-25Fixed @changesex issues on PACKETVERs that don't support per-character sex.Haru6-142/+225
- Fixes bugreport:8504 http://hercules.ws/board/tracker/issue-8504-changesex/ - Existing database entries with an incorrect per-character sex will be fixed automatically when the character logs in to match the account's sex, if the PACKETVER doesn't support per-character sex. Signed-off-by: Haru <haru@dotalux.com>
2015-04-23Fixed Bug#8644malufett1-0/+1
-http://hercules.ws/board/tracker/issue-8644-cr-fullprotection/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-04-23Fixed Bug#8474malufett1-5/+12
-http://hercules.ws/board/tracker/issue-8474-elemental-damage-amplifier-doesnt-apply-to-cart-cannon/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-04-22Minor refactoring of script function return.Kpy!1-10/+13
2015-04-22Fix a crash condition when incorrectly using return outside the scope of a ↵Kpy!1-1/+8
function or subroutine.
2015-04-21Fix script function return always removing references from NPC variables.Kpy!1-1/+1
Bugreport:8642 http://hercules.ws/board/tracker/issue-8642-script-engine-issue-quo/
2015-04-20Fixed Bug#8638malufett1-4/+5
-http://hercules.ws/board/tracker/issue-8638-sp/?gopid=25021#entry25021 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-04-19Fixed wrong job_db.conf path from 0f2b317372c2d1c95d4f09c94d054958418a39b4.Taylor Locke1-1/+1
2015-04-19Fixed Bug#8636malufett1-1/+6
-http://hercules.ws/board/tracker/issue-8636-unknown-weapon-type/?gopid=25011#entry25011 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-04-16Update HPM hooks.Andrei Karas3-0/+31
2015-04-15In comment change job_db1.txt to job_db.confAndrei Karas1-1/+1
2015-04-15Allow for plugins read custom fields from jobdb1.Andrei Karas2-130/+140
2015-04-14Merge pull request #496 from 4144/fix8620malufett1-2/+3
Fix issue http://hercules.ws/board/tracker/issue-8620-error-in-quest/
2015-04-14Fixed Bug#8621malufett1-1/+1
-http://hercules.ws/board/tracker/issue-8621-angra-manyu-with-aspd-low/?gopid=24959#entry24959 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-04-13Fixed Bug#8624malufett1-1/+6
-http://hercules.ws/board/tracker/issue-8624-damage-of-mvp/?gopid=24966#entry24966 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-04-12Fix issue http://hercules.ws/board/tracker/issue-8620-error-in-quest/Andrei Karas1-2/+3
2015-04-10Fixed some compiling errors under MSVCcsnv2-2/+6
Introduced on: dab1fba3a88b9c5e86a778a29bd4d565fc937155
2015-04-10Merge pull request #482 from 4144/checksmalufett14-37/+237
Add missing checks to char server
2015-04-10Merge pull request #489 from 4144/loginchecksmalufett4-18/+83
Add missing checks to login server
2015-04-10Fixed Bug#8615malufett1-1/+1
-http://hercules.ws/board/tracker/issue-8615-warning-after-compiling/?gopid=24928#entry24928
2015-04-10Merge branch 'master' of https://github.com/HerculesWS/Hercules into ↵malufett2-9/+16
JobDBRedesign
2015-04-09Add checks to loginlog_sql.cAndrei Karas1-0/+5