summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-09-25Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind60-1552/+1551
Conflicts: src/map/chrif.c src/map/clif.c src/map/homunculus.c src/map/pet.c src/map/script.c src/map/skill.c src/map/status.c All clear.
2013-09-25Renamed iTimer interface to timer.shennetsind37-594/+596
Also removed duplicate mentions of timer within calls to shorten.
2013-09-25Renamed local variables that would conflict with a rename of iTimer to timerHaru8-49/+43
Signed-off-by: Haru <haru@dotalux.com>
2013-09-25Renamed iDuel interface to duelHaru6-90/+77
- Note to plugin developers: change your GET_SYMBOL("iDuel") to GET_SYMBOL("duel"). Signed-off-by: Haru <haru@dotalux.com>
2013-09-25Renamed more forgotten variables during interface conversionsHaru32-823/+754
(related: b9c8f57) Most renames are trivial (just to avoid shadowing global variables, even if they currently did no harm), but there were some cases of partly renamed variables that caused some NULL checks to always pass and who knows what could have been happened when they were too subtle to make the application crash. Also corrected some potentially unsafe macro definitions Signed-off-by: Haru <haru@dotalux.com>
2013-09-24Renamed some variables forgotten when adding the battleground interfaceHaru2-49/+44
- Follow-up to 35c131c - Fixes bugreport:7721, thanks to purityz, Dastgir Pojee http://hercules.ws/board/tracker/issue-7721-lastest-update-make-map-crashing-on-battleground/ Signed-off-by: Haru <haru@dotalux.com>
2013-09-22Changed Makefiles to avoid rebuilding targets if nothing was modifiedHaru4-8/+16
To force a rebuild, it's still possible to use the -B flag of make, or just run make clean beforehand. Signed-off-by: Haru <haru@dotalux.com>
2013-09-22Corrected various hardcoded database table namesHaru6-16/+25
- Added an elemental_db setting to inter-server.conf (elemental table) - Switched an instance of hardcoded `ipbanlist` to use the ipban_table setting; thanks to Takkun, related to issue #135 - Switched two instances of hardcoded `char` to use the char_db setting - Added a TODO notice about the usage of the login table (on a side note, hardcoded) from the login server (related to issue #142) Signed-off-by: Haru <haru@dotalux.com>
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>