summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-11-25Cleaned up Zeny manipulation in scripts.Taylor Locke193-572/+572
2013-11-21Added constant values for 'true' and 'false' for use in scripts and functions.Mumbles1-0/+3
2013-11-20Added support for 'make plugin.pluginname' to compile only 'pluginname'Haru9-131/+167
- Various Makefile optimizations Signed-off-by: Haru <haru@dotalux.com>
2013-11-19Fixed Bug 7840shennetsind1-1/+1
Special Thanks to kyeme for all the debug information and help! http://hercules.ws/board/tracker/issue-7840-char-server-crash/ Signed-off-by: shennetsind <ind@henn.et>
2013-11-19Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind59-800/+1035
2013-11-19Fixed Bug 7799 - SC_MOONSTAR neverendingshennetsind2-3/+11
Follows up 665f1306a130d4b8c359972bf4e58ef9d3bd9cd8 http://hercules.ws/board/tracker/issue-7799-sc-moonstar/ Signed-off-by: shennetsind <ind@henn.et>
2013-11-19Fixed wrong parentheses in a condition in status_calc_regen_rateHaru1-27/+20
- eAthena:15257 - Teh wrong parentheses cause the condition to be always false, which in turn causes SP regen to continue while under SC_EXTREMITYFIST/SC_EXPLOSIONSPIRITS statuses. Signed-off-by: Haru <haru@dotalux.com>
2013-11-19Added support for Max EquipLv in Pre-RenewalHaru1-7/+1
- Follow-up to ed72a947a6c97804c1eef5b80bfa49d99f7d7586 - Max EquipLv is now observed, rather than ignored, in pre-renewal mode. Signed-off-by: Haru <haru@dotalux.com>
2013-11-19Replaced hardcoded Item IDs with constantsHaru6-217/+448
- This makes it harder to get the item IDs wrong in the code. - Fixes item 'Slot_Coupon' being incorrectly considered a Spell Book due to an oversight (wrong item nameid) when the check was introduced. Signed-off-by: Haru <haru@dotalux.com>
2013-11-19Sanitized and improved several macros through the codeHaru54-508/+495
- Sanitized all potentially unsafe macros (related eA:15259) - Improved some function-like macros to evaluate their argument only once and keep it in a temporary variable. This improves performance in the damage calculation related code. Signed-off-by: Haru <haru@dotalux.com>
2013-11-18Merge pull request #224 from datmumbles/size_changesshennetsind8-46/+46
Corrected size-related constant names (closes #222).
2013-11-19HPM Hooks UpdateHercules.ws3-0/+30
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-18Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind3-13/+13
2013-11-18Fixed Bug 7819 - Renewal Elemental Damageshennetsind1-5/+1
Special Thanks to Michieru for gathering official server data and testing. http://hercules.ws/board/tracker/issue-7819-element-tables/ Signed-off-by: shennetsind <ind@henn.et>
2013-11-18Fixed the erroneously redirected GM Full Strip Packetshennetsind3-1/+19
Implemented in 2009-10-27, the packet was being redirected to a account name req packet, while it was a entirely different feature. this fixes the (GM-Suit) 'right click' option 'remove all equipment'. Special Thanks to Yommy. Signed-off-by: shennetsind <ind@henn.et>
2013-11-19HPM Hooks UpdateHercules.ws3-13/+13
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-18Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-11/+11
2013-11-18Follow up aee2f6317e1c927847993801b5973d7e2e27a418shennetsind2-10/+20
Fixed glitch that'd occur in clients with login screen where even after logging out the client would still remember previously sent banned timestamps, keeping the char banned until client was reopened. Also dropped a error message map server would show up when banning offline characters. Special Thanks to Mvmbles for pointing it out, Haruna for testing and helping fix it. Signed-off-by: shennetsind <ind@henn.et>
2013-11-18Modified charban char server responding actionshennetsind2-11/+11
so that the char id is used instead of account id, thus not disconnecting the account id from map server unless the char id being banned is online, special thanks to haruna. Signed-off-by: shennetsind <ind@henn.et>
2013-11-18ItemDB SQL SyncHercules.ws1-11/+11
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-18Fixed itemdb elvmax issue caused by inheritshennetsind1-1/+1
Special Thanks to Yommy, Haruna. Signed-off-by: shennetsind <ind@henn.et>
2013-11-18Corrected size-related constant names and cleaned up comments (closes #222).Mumbles8-46/+46
2013-11-18Follow-up to 1f5161a2bd3c7934373146d8cac3c131536758baHaru3-2/+74
- Added explicit column names in the item_db query, to ensure it will throw a SQL error in case some are missing, rahter than silently failing and returning incorrect data. - Added sql upgrade file to add the bindonequip column to the item_db2 table for those who have it. - As with all the item_db2 upgrade scripts, you need at least MySQL 5.0 in order to run it. If your version is not compatible, or if the script fails for any reason, manual upgrade instructions are provided within the script. - Special thanks to Mumbles. Signed-off-by: Haru <haru@dotalux.com>
2013-11-18HPM Hooks UpdateHercules.ws3-30/+30
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-18Follow-up to d9a89c56ea63e369999ca13f1584eef9e511490fHaru1-3/+3
- Updated db2sql plugin to reflect the latest changes. - Fixes bugreport:7835, special thanks to ossi0110 http://hercules.ws/board/tracker/issue-7835-db2sql-plugin-error/ Signed-off-by: Haru <haru@dotalux.com>
2013-11-18Fixed an issue with item_db2 entries that specify Inherit, and no ScriptHaru2-55/+102
- Added missing source documentation for the itemdb overhaul related functions. - Slighty refactored the readdb sql function. - Special thanks to sevenzz23 for reporting the crash issue (topic:3029) http://hercules.ws/board/topic/3029-ritem-data-structure-overhaul-error-msg/ and to Ind for testing. Signed-off-by: Haru <haru@dotalux.com>
2013-11-18ItemDB SQL SyncHercules.ws2-2/+2
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-18Corrected a small error in the Elemental_Sword scriptHaru2-4/+4
- bAutoSpellOnSkill rate for the item was incorrectly set to 10000 (=1000%), while the actual maximum value should be 1000 (=100%). - Special thanks to kyeme. Signed-off-by: Haru <haru@dotalux.com>
2013-11-17Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind5-11/+124
2013-11-17Fixed Bug 7832shennetsind1-0/+3
http://hercules.ws/board/tracker/issue-7832-compile-issue/ Signed-off-by: shennetsind <ind@henn.et>
2013-11-17Added emblem blank pixels checkHaru4-10/+122
- Made possible thanks to (and using base code by) Ai4rei - eAthena r15263 and add-on patch http://hercules.ws/board/topic/2974-add-on-patch-for-ea-r15263-commit/ - Modified to allow checking for a percentage of transparent pixels rather than full image transparency. - Tweaked to accept some other bmp formats that are currently allowed by the client. - The performance hit from enabling this check is negligible (benchmarks show that scanning an emblem requires about half the time required to decompress it after it's received), but it does exist, as noted in the configuration file. - Special thanks to Ind. Signed-off-by: Haru <haru@dotalux.com>
2013-11-16Update rAthena-main-upgrade.sqljaBote1-1/+2
Follow-up aee2f6317e1c927847993801b5973d7e2e27a418
2013-11-16Renewal elemental attr fixshennetsind2-2/+7
I'm committing on malufett's behalf. Signed-off-by: shennetsind <ind@henn.et>
2013-11-16Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind5-21/+113
2013-11-16Introducing Character Ban Support.shennetsind14-79/+241
@charban/@charunban, can temporarily block any accounts as opposed to the usual account-wide block. Special Thanks to Haruna, Yommy! Signed-off-by: shennetsind <ind@henn.et>
2013-11-16Fixed a mapserver crash when using SQL item DB and an item's script is NULLHaru1-3/+3
- Special thanks to Mumbles. Signed-off-by: Haru <haru@dotalux.com>
2013-11-16Minor char server char list fixesshennetsind1-9/+5
the array was being erroneously modified in old client packets. Signed-off-by: shennetsind <ind@henn.et>
2013-11-16Fixed atcommand alias bug on selected commandsshennetsind1-23/+23
Modified the issues in question to check against the source command name, ensuring that the conditions work even when an alias is used. Also replaced sensitive conditions with insensitive ones, Special Thanks to Haruna. Signed-off-by: shennetsind <ind@henn.et>
2013-11-16Updated char server's response to offline map servershennetsind1-4/+16
Previously attempting to log in while map server was unavailable or not yet ready would close the client, now the char select window shows up and attempting to select a character while the map server is unavailable will display a pop up "the map is not available", client will remain in char select window and won't close anymore. Special Thanks to Haruna. Signed-off-by: shennetsind <ind@henn.et>
2013-11-16Fixed char server's maintenance modeshennetsind4-22/+56
Enabling the maintenance mode will now restrict login based on group id (previously maintenance mode was merely cosmetic and would allow all accounts to access). Renamed char-server.conf setting char_maintenance to char_server_type, added char_maintenance_min_group_id to be used in conjunction with char_server_type:1 Signed-off-by: shennetsind <ind@henn.et>
2013-11-16Improved itemdb converter robustness in case of extra spacesHaru1-18/+18
- Thanks to GM.PiXeL for reporting the issue. Signed-off-by: Haru <haru@dotalux.com>
2013-11-16HPM Hooks UpdateHercules.ws3-0/+92
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-15Official expiration timer supportshennetsind4-6/+85
As brought up in http://hercules.ws/board/topic/2225-paid-server/ Special Thanks to Haruna for all the help! Thanks to Beret, Ai4rei for information Signed-off-by: shennetsind <ind@henn.et>
2013-11-15Update rAthena-main-upgrade.sql. Follow-up ↵jaBote1-0/+1
40262e063a7d503104667a4135c564d996bc49c6 Just added the new SQL update on the converter =)
2013-11-15Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-10/+10
2013-11-15Updated `account_data` upgrade filesshennetsind4-3/+10
to avoid issues as demonstrated by report 7824 http://hercules.ws/board/tracker/issue-7824-exp-and-drop-rates-in-lat/ Special Thanks to Yommy! Signed-off-by: shennetsind <ind@henn.et>
2013-11-15Update rAthena-main-upgrade.sqljaBote1-10/+10
Made the converter keep some more data (rAthena's `moves` column is equivalent to our `slotchange` in the `login` table) and made it a tidbit more efficient since with their last updates their DB is now more similar to ours :D
2013-11-15Added support for case-insensitive jobmasks to the itemdb converterHaru1-1/+1
- Fixes parsing failures due to lower- (or mixed-) case job masks. - Special thanks to ossi0110 for the report. Signed-off-by: Haru <haru@dotalux.com>
2013-11-15Added BindOnEquip to the item_db documentation and templatesHaru5-0/+10
- Special thanks to ossi0110, kyeme - Fixes bugreport:7821 http://hercules.ws/board/tracker/issue-7821-missing-item-dbconf-columne/ Signed-off-by: Haru <haru@dotalux.com>
2013-11-15HPM Hooks UpdateHercules.ws3-0/+30
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>