summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-09-21Added Makefile.in change detection (and auto-rebuild) capabilitiesHaru10-32/+78
- If a Makefile.in is changed, ./config.status (or ./configure in case it's not available) will be automatically run to update the Makefiles. - Special thanks to Yommy for the idea. Signed-off-by: Haru <haru@dotalux.com>
2013-09-21Corrected invalid values assigned to enum homun_type variablesHaru4-25/+25
- Fixes a warning in clang-5.0.0 (and a potentially incorrect/undefined behavior of the related code) Signed-off-by: Haru <haru@dotalux.com>
2013-09-21Fixed a potentially negative array subscript causing a mapserver crashHaru8-129/+95
- Fixes bugreport:7717, special thanks to quesoph http://hercules.ws/board/tracker/issue-7717-map-crash-when-warping-on-a-floating-npc/ - Also changed various map[foo].index to the map_id2index(foo) macro. Signed-off-by: Haru <haru@dotalux.com>
2013-09-19Cleaned up and de-duplicated ranklist-related codeHaru6-178/+96
Follow-up to 6cf032d. Special thanks to Ind. Signed-off-by: Haru <haru@dotalux.com>
2013-09-19Fixed a startup crash due to minicore/regular core mismatchesHaru1-7/+15
- Follow-up to / discovered in babdf60 Signed-off-by: Haru <haru@dotalux.com>
2013-09-18Merge pull request #137 from Schwierig/RankingListFixHaruna4-9/+117
Ranking list fix
2013-09-18Fixed Ranking Lists for 2013 clientsAmir El Sayed4-9/+117
2013-09-18Fixed a race condition leading to a crash on server shutdown on linuxHaru1-9/+5
Fixes bugreport:7699, thanks to bgamez23 (bugreport), Ind (testing, brainstorming) http://hercules.ws/board/tracker/issue-7699-map-crashed-on-the-latest-version/ Signed-off-by: Haru <haru@dotalux.com>
2013-09-18Makefiles improvements and cleanupHaru10-222/+256
This should resolve #138 (please reopen or comment on it if it's not the case). Special thanks to Takkun for helping to reproduce the issue. Signed-off-by: Haru <haru@dotalux.com>
2013-09-17HPM: npc_chat.c Interfacedshennetsind5-80/+108
Fully Integrated, closes #117 Also updated buildin_ functions to match latest script.c/.h macros. Signed-off-by: shennetsind <ind@henn.et>
2013-09-17Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind22-284/+10093
2013-09-17HPM: Battleground.c Interfaceshennetsind10-108/+127
Fully Integrated. Closes #97 Signed-off-by: shennetsind <ind@henn.et>
2013-09-17HPM: Itemdb.c Interfaceshennetsind12-171/+233
Fully Integrated. Closes #110 Signed-off-by: shennetsind <ind@henn.et>
2013-09-17Fixed Tiger Cannon Damageshennetsind1-1/+1
Issue identified and solved by Michieru, Thanks! Signed-off-by: shennetsind <ind@henn.et>
2013-09-17Re-generated libconfig parser and scannerHaru16-230/+9391
This overrides previous manual edits to the machine-generated files, and is supposed to make it much easier to maintain in future. There should be no functional changes at all, but if there's any issue, please let me know. Signed-off-by: Haru <haru@dotalux.com>
2013-09-17Updated libconfig to version 1.4.9Haru6-66/+714
Previous edits to the library have been preserved with this update. No functional changes, other than some edge-case fixes (see libconfig changelog). In case of issues, please let me know / file a bugreport. Signed-off-by: Haru <haru@dotalux.com>
2013-09-17Fixed bugreport:7710Haru1-4/+4
Follow-up to eb10f35. Thanks to bgamez23 http://hercules.ws/board/tracker/issue-7710-bc-blue-announce-bug/ Signed-off-by: Haru <haru@dotalux.com>
2013-09-16HPM: Quest.c Interfaceshennetsind8-71/+100
Fully Integrated Signed-off-by: shennetsind <ind@henn.et>
2013-09-16HPM: Path.c Interfaceshennetsind7-51/+68
Fully Integrated Signed-off-by: shennetsind <ind@henn.et>
2013-09-16HPM: Pet.c Interfaceshennetsind13-257/+320
Fully Integrated. Signed-off-by: shennetsind <ind@henn.et>
2013-09-16HPM: Mapreg_sql.c Interfaceshennetsind6-103/+145
Fully Integrated Signed-off-by: shennetsind <ind@henn.et>
2013-09-16HPM: Npc.c Interfaceshennetsind20-534/+650
Fully Interfaced. Special Thanks to Haruna Signed-off-by: shennetsind <ind@henn.et>
2013-09-16Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind184-1016/+1016
Solved minor conflicts that were caused by the unit interface Signed-off-by: shennetsind <ind@henn.et>
2013-09-16HPM: Unit.c Interfaceshennetsind22-1609/+1638
Fully Interfaced Signed-off-by: shennetsind <ind@henn.et>
2013-09-16Corrected line endings and BOM issues with several filesHaru186-2106/+2106
- Ensured final end-of-line character in every file. - Corrected cases of mixed line endings (mostly CR and CRLF within the same file.) - Removed extra BOM from some scripts, since it causes a parsing error. Signed-off-by: Haru <haru@dotalux.com>
2013-09-16HPM: Mob.c Interfaceshennetsind15-690/+837
Fully Interfaced Signed-off-by: shennetsind <ind@henn.et>
2013-09-14Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind8-45/+63
2013-09-14Hello World.shennetsind1-0/+1
nevermind, testing something. Signed-off-by: shennetsind <ind@henn.et>
2013-09-11Fixed announce script command support for bc_blue and bc_woeHaru8-45/+63
- Fixes an issue where it wasn't possible to use bc_blue or bc_woe at the same time as bc_map, bc_area or bc_self. (this partly works around bugreport:7693 - http://hercules.ws/board/tracker/issue-7693-character-with-name ) - Replaced bc_* related values from various places through the sources with constants. Signed-off-by: Haru <haru@dotalux.com>
2013-09-09Fixed Bug #7335shennetsind4-39/+35
Modified several gvg checks to include checking whether it is a guild castle ( map_flag_gvg2 does so and no it doesn't mean woe:se ) Special Thanks to kyeme. http://hercules.ws/board/tracker/issue-7335-woe-castle-behavior/ Also follow up 24ced6fcef1a95a2abd0c60b4fe90cbbc3aea268 changed 512 with its constant, special thanks to EPuncker. Signed-off-by: shennetsind <ind@henn.et>
2013-09-09Fixed Bug #7637shennetsind1-1/+16
Fixed visual effects stacking which'd make them remain visible even after they were gone. Special Thanks to Michieru, mleo1 http://hercules.ws/board/tracker/issue-7637-camouflage-never-ending/ Signed-off-by: shennetsind <ind@henn.et>
2013-09-09Fixed Bug #6735shennetsind1-2/+2
Fixed a skill unit bug that'd run it on nearby targets disregarding friend-or-foe data. Special Thanks to Haruna for reproducing and providing all the information. http://hercules.ws/board/tracker/issue-6735-dancer-please-dont-forget-me/ Signed-off-by: shennetsind <ind@henn.et>
2013-09-09Fixed Bug #7540shennetsind2-1/+5
Fixed searchstores crashing when trying to query data of offline vendings (vending db wasn't removing entries upon logout), also changed vending->db index to char id instead of vender id. Special Thanks to hemagx, jTynne. http://hercules.ws/board/tracker/issue-7540-new-map-crash/ Signed-off-by: shennetsind <ind@henn.et>
2013-09-09Fixed Bug #7694shennetsind4-2/+12
Implemented official guild notice behavior of re-displaying upon teleport, added conf/battle/guild.conf setting to modify this. Special Thanks to kyeme, Frost. http://hercules.ws/board/tracker/issue-7694-guild-notice/ Signed-off-by: shennetsind <ind@henn.et>
2013-09-09Fixed Bug #7631shennetsind1-25/+34
having an empty category in the cash shop would lead to the item list duplicating itself on every map change (client fault), added a warning when parsing the file with a empty category, and the creation of a dummy apple to that category (priced at 999). Special Thanks to Tepoo for all the information. http://hercules.ws/board/tracker/issue-7631-cashshop-itemslist-increases-by-every-warpmapchange/ Signed-off-by: shennetsind <ind@henn.et>
2013-09-09Fixed Bug #6626shennetsind6-2/+52
Game client is currently broken on this feature, sending the request when the criteria doesn't match and not doing anything when it matches, I've restored the previous method to make the feature work once again, the message is configurable by conf/messages.conf and whether maxed characters can use it now a setting in conf/battle/player.conf http://hercules.ws/board/tracker/issue-6626-cant-prayer-guardian-angel-super-novice/ Signed-off-by: shennetsind <ind@henn.et>
2013-09-09Fixed Bug #7343shennetsind1-2/+2
Fixed GvG/PvP warp-on-death thing to not have a 1-second delay and be instantaneous, and not display the respawn window whenever applicable. Special Thanks to kyeme. http://hercules.ws/board/tracker/issue-7343-gvg-warp-back-delay-when-died/ Signed-off-by: shennetsind <ind@henn.et>
2013-09-09Fixed Bug #7613shennetsind1-0/+2
Fixed issue with wedding status type moving speed being delayed to be applied/removed. Special Thanks to bgamez23 http://hercules.ws/board/tracker/issue-7613-walking-speed-bug/ Signed-off-by: shennetsind <ind@henn.et>
2013-09-07Fixed Bug #7689shennetsind1-1/+1
Guild Aura affecting units when unit moves, thanks to purityz, kyeme for ability to reproduce. Solution found by Haruna (Thanks!) http://hercules.ws/board/tracker/issue-7689-guild-aura-bug/ Signed-off-by: shennetsind <ind@henn.et>
2013-09-06Added HCache key #defineshennetsind2-2/+6
As Proposed by Gepard Closes #63 Signed-off-by: shennetsind <ind@henn.et>
2013-09-06Fixed @reloadpcdb to refresh online player datashennetsind1-4/+9
Special Thanks to hemagx, closes #92 Signed-off-by: shennetsind <ind@henn.et>
2013-09-06Follow up b4cf8f280cc5cdd027685fb6dd2a2c5692e12115shennetsind1-0/+5
Missing IOT_ constants that should've been included in that commit. Signed-off-by: shennetsind <ind@henn.et>
2013-09-06Fixing script constants with 'shennetsind1-1/+1
made possible thanks to Haruna Signed-off-by: shennetsind <ind@henn.et>
2013-09-06Fixed a mapserver crash due to uninitialized iterface functionsHaru1-1/+1
Caused by iStatus->get_total_m?def in pre-renewal. Follow-up to cccc5bc9. Signed-off-by: Haru <haru@dotalux.com>
2013-09-04Fixed more packet issues with 2006-2008 clientsHaru2-3/+1
- Fixes bugreport:2007 comment 5 http://hercules.ws/board/tracker/issue-7653-not-compatible-with-hexed-2007/?gopid=20302#entry20302 - Follow-up to df0a324 Signed-off-by: Haru <haru@dotalux.com>
2013-09-03Corrected some MSVC warnings with old (<2009) packetversHaru1-4/+8
Follow-up to df0a324, thanks to Beret Signed-off-by: Haru <haru@dotalux.com>
2013-09-03Fixed several packet errors with pre-renewal clients from 2006-2008Haru4-6/+22
Thanks to Beret for reporting the issues, Ind for his great help with research, suggestions and the necessary tools to fix this. Signed-off-by: Haru <haru@dotalux.com>
2013-08-30Changed dlopen to use RTLD_DEEPBIND where availableHaru1-3/+7
- Fixes bugreport:7680 http://hercules.ws/board/tracker/issue-7680-hpm-is-broken/ Signed-off-by: Haru <haru@dotalux.com>
2013-08-29Follow up@c11390cbffc983b01ac9ee4af3b16ccb533dd94cmalufett1-2/+2
-Fixed bug#7681 -sorry guys got crossed eyed in diffing..XD
2013-08-29Merge pull request #91 from victorwlf/masterWolf2-0/+44
Quest's added.