summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2013-08-08HPM Updateshennetsind21-64/+639
- Custom Packet Support - Custom Data Struct Support (currently append-able to map_session_data and socket_data) - Char Server Support - Login Server Support http://hercules.ws/board/topic/1934-hercules-plugin-manager-update/ Documentation will soon be updated in http://hercules.ws/wiki/HPM Signed-off-by: shennetsind <ind@henn.et>
2013-08-08Enabled Pre-Renewal builds in the CI buildbotHaru1-0/+4
Both Renewal and Pre-Renewal branches will now be built and tested. Signed-off-by: Haru <haru@dotalux.com>
2013-08-07Fixed Bug #7633shennetsind1-2/+20
unitskillusepos/unitskilluseid script commands werent functioning because the npc's status weren't properly measured. Special Thanks to purityz http://hercules.ws/board/tracker/issue-7633-unitskillusepos-unitskilluseid/ Signed-off-by: shennetsind <ind@henn.et>
2013-08-07For Report #7333shennetsind2-0/+2
Added official 'this item cannot be used within this area' response http://hercules.ws/board/tracker/issue-7333-map-zone-db/ Special Thanks to kyeme Signed-off-by: shennetsind <ind@henn.et>
2013-08-07Fixed skill flagging (mostly related to SKILL_FLAG_REPLACED_LV_0 )shennetsind2-12/+16
Adjusted value as to not conflict with the perm_granted flag Special Thanks to Wildcard, malufett. Also made pc_skillup rely on the change_level_2nd/3rd vars instead of hardcoded values, and added a pc_gainexp packetver check that'd otherwise cause map server warnings when within the range. Signed-off-by: shennetsind <ind@henn.et>
2013-08-05Improved reliability of the packet obfuscation key update functionHaru1-1/+1
Follow-up to 38b8bf0 Solves some edge cases where, depending on key and packet combination, the key may not be correctly updated and leads to a forced disconnection. Signed-off-by: Haru <haru@dotalux.com>
2013-08-04Fixed Bug #7605shennetsind3-8/+98
http://hercules.ws/board/tracker/issue-7605-problem-with-old-client-versions/ Signed-off-by: shennetsind <ind@henn.et>
2013-08-03Corrected character position de-synchronization when disguisedshennetsind1-2/+2
- Fixes bugreport:7502 http://hercules.ws/board/tracker/issue-7502-disguise-bug/ Special thanks to bgamez23 for the report Signed-off-by: shennetsind <ind@henn.et>
2013-08-02Fixed @reloadatcommand breaking all @-commandsHaru1-9/+12
- Follow-up to e7750ec - Fixes bugreport:7618 http://hercules.ws/board/tracker/issue-7618-reloadatcommand/ Thanks to kyeme, Via for the report. Signed-off-by: Haru <haru@dotalux.com>
2013-08-02Fixed MSVC build, follow-up to 38b8bf0Haru1-1/+1
Thanks to Takkun for pointing it out. Signed-off-by: Haru <haru@dotalux.com>
2013-08-02Corrected alignment of the Hercules console logoHaru1-11/+11
- This fixes a display issue in terminal emulators that ignore the Esc[K ANSI sequence (i.e. GNU screen or tmux, with TERM=screen or TERM=screen-256color.) - In those terminal emulators, the logo background has now a fixed width of 72 characters. Signed-off-by: Haru <haru@dotalux.com>
2013-08-01Improved packet obfuscation reliabilityHaru3-23/+41
- Fixes bugreport:7607 http://hercules.ws/board/tracker/issue-7607-changing-emblem-with-packet-obfuscation-2-unknown-packet/ - Resolved unintended disconnections caused by invalid packets when obfuscation is enabled and a fragmented packet is received. - Improved packet parsing reliability when packet obfuscation is set to optional. Special thanks to serverkid for reporting the issue and Ind for figuring out the cause and suggesting a solution. Signed-off-by: Haru <haru@dotalux.com>
2013-07-31Fixed Bug #7080shennetsind2-71/+88
(LG) Overbrand no longer capable of hitting targets with hide (can do so with others e.g. cloak), and it displays a miss when failing to do instead of no feedback (thanks to kisuka for this part). Special Thanks to gunzlinger, kisuka. http://hercules.ws/board/tracker/issue-7080-overbrand/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-31Fixed Bug #7453shennetsind5-22/+51
Added the missing support for conf/battle/gm.conf::atcommand_mobinfo_type on @mobinfo (partially from rathena) Modified @ii to stop always displaying 'monsters dont drop this item' while the configuration is on. Special Thanks to Napster. http://hercules.ws/board/tracker/issue-7453-mobinfo-iteminfo-not-showing-the-correct-information-depending-the-level/ Follow up 2fbec282b9b3eb84f710d5537f70e6bc221187b3 Missing messages.conf entry Signed-off-by: shennetsind <ind@henn.et>
2013-07-31Fixed Bug #7602shennetsind1-6/+34
@homlvup/@homlevel now functions for homun-s http://hercules.ws/board/tracker/issue-7602-homlevel-homlvup/ Also adjusted @makehomun so that it resurrects the homun when call isn't possible (for when used with -1), prior to this it'd do nothing when homun was dead and not vaporised. Signed-off-by: shennetsind <ind@henn.et>
2013-07-31New 'close2' warningshennetsind1-1/+7
When attempting to use this command without a prior dialog window it now will throw a warning and skip halting the script. Special Thanks to j-tkay, Gepard. Signed-off-by: shennetsind <ind@henn.et>
2013-07-31Fixed Bug #7605shennetsind3-164/+79
For packetver 2009 and below. http://hercules.ws/board/tracker/issue-7605-problem-with-old-client-versions/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-31Merge pull request #71 from HerculesWS/permission-cache-fixPiotr Hałaczkiewicz20-350/+426
Permission cache overhaul * Reworked group permission caching in session data (follow-up to cd45c30ab2dcc44bfbfac283d15bb09b3d4644bc) * Removed duplicated information from session data in favor of direct pointer to group settings. * Added getters for all group data required to process permissions and related stuff. * Added new functions to PC interface and updated calls everywhere. * Extracted function to set new group for a player (used at login, group config reload, manual adjustment of group). * Moved command permission config parsing to atcommand module. * Improved dummy map session handling. * Since it's required for all map sessions to have a valid group, dummy sessions are now created by a designated function. * Updated related code that uses dummy sessions (console `gm use` and script `atcommand`, `useatcmd`). * Various minor improvements and cleanups. * Eliminated some global variables related to loading atcommand permissions for group by passing them directly to function. * Moved definition of global array holding PC permission names from header file to source file. * Streamlined destuction of atcommands database to use DBApply helper function instead of DBIterator. * Replaced hardcoded position of console dummy session with defines from mapindex.h (thx Haruna for pointing it out). * Removed fixed length restriction on group names.
2013-07-31Fixed Bug#7601malufett2-7/+13
-Disabled reflect damage cap in pre-re. Fixed Bug#7606 -Where GC_CREATENEWPOISON is not working properly. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-07-30Fixed mapserver crash (bugreport:7599)Haru1-0/+2
http://hercules.ws/board/tracker/issue-7599-map-crash-july-29-latest/ Follow-up to 853489b intif->create_pet was defined but never initialized, causing a mapserver crash (segmentation fault) whenever a pet was created. Thanks to jTynne for reporting it. Signed-off-by: Haru <haru@dotalux.com>
2013-07-29BG Queue Fixesshennetsind7-88/+122
Cleared 3 out of 5, #69 Support for the cancel button, for pre-game position to return afterwards and fix to the queue position problem after first game. Signed-off-by: shennetsind <ind@henn.et>
2013-07-29Permission cache overhaulPiotr Hałaczkiewicz20-350/+426
* Reworked group permission caching in session data (follow-up to cd45c30ab2dcc44bfbfac283d15bb09b3d4644bc) * Removed duplicated information from session data in favor of direct pointer to group settings. * Added getters for all group data required to process permissions and related stuff. * Added new functions to PC interface and updated calls everywhere. * Extracted function to set new group for a player (used at login, group config reload, manual adjustment of group). * Moved command permission config parsing to atcommand module. * Improved dummy map session handling. * Since it's required for all map sessions to have a valid group, dummy sessions are now created by a designated function. * Updated related code that uses dummy sessions (console `gm use` and script `atcommand`, `useatcmd`). * Various minor improvements and cleanups. * Eliminated some global variables related to loading atcommand permissions for group by passing them directly to function. * Moved definition of global array holding PC permission names from header file to source file. * Streamlined destuction of atcommands database to use DBApply helper function instead of DBIterator. * Replaced hardcoded position of console dummy session with defines from mapindex.h (thx Haruna for pointing it out). * Removed fixed length restriction on group names.
2013-07-29Fixed Bug #7597 / Follow up b7171479a47490ff80bf04849f763158d6d96facshennetsind10-660/+655
http://hercules.ws/board/tracker/issue-7597-server-crash/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-29Merge branch 'master' of https://github.com/HerculesWS/HerculesSusu4-10/+30
2013-07-29Added mercenary interfaceSusu12-2977/+3034
2013-07-29Added intif interfaceSusu20-2503/+2612
2013-07-29Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind2-9/+14
2013-07-29Ultimate Item DB Updateshennetsind4-10/+30
http://hercules.ws/board/topic/1778-ultimate-item-db-update/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-29Added elemental interfaceSusu12-1069/+1129
2013-07-29Added iDuel interface (duel.c)Susu6-219/+255
2013-07-29Added chat interfaceSusu6-481/+517
2013-07-28Fixed Bug#7576malufett2-9/+14
-Where AB_CANTO is not working properly with MADO equip target. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-07-26Follow up 144a9d0843dfe47e0b58c8857762f58ae70543c8shennetsind4-13/+24
It will no longer block the equipping of items, instead it will delay (if applicable) the item's effect until it is no longer capable of affecting the skills under the timer. Special Thanks to kyeme for the information. Signed-off-by: shennetsind <ind@henn.et>
2013-07-26Fixed Bug #7564 Part 2shennetsind1-4/+4
Fixed mapid check doing upper instead of base in several locations. Special Thanks to bgamez23 http://hercules.ws/board/tracker/issue-7564-platinum-skill-is-not-remove-right-after-i-change-job/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-26Fixed Bug #7588shennetsind1-1/+1
param mismatching compiler warning http://hercules.ws/board/tracker/issue-7588-srcmapscript/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-26Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind13-884/+797
2013-07-25Fixed typo in `SC__STRIPACCESSARY`.Piotr Hałaczkiewicz1-2/+2
Fixed `SC__STRIPACCESSARY` checking for equip index instead of equip position. Fixes #72
2013-07-25Expanding script.c interfaceshennetsind15-527/+551
Hercules Renewal Phase One. Signed-off-by: shennetsind <ind@henn.et>
2013-07-24Fixed SA_DISPELL failing outside PvP against partyHaru1-1/+3
- Follow-up to a4802eae - Fixes bugreport #7572 http://hercules.ws/board/tracker/issue-7572-dispell-2 - SA_DISPELL would fail outside PvP if caster and target are in the same party AND in the same guild at the same time. - Special thanks for kyeme (bugreport), Xgear (review.) Signed-off-by: Haru <haru@dotalux.com>
2013-07-23Merge pull request #65 from piotrhalaczkiewicz/pathfindingHaruna5-251/+254
Pathfinding code cleanup.
2013-07-23Pathfinding code cleanup.Piotr Hałaczkiewicz5-251/+254
Now uses binary heap defined in `db.h`. Walk requests now use A* (hard) pathfinding only to match game client behavior. Added defines for movement cost. Added some documentation & comments.
2013-07-23Refactored map_foreach* functions.Piotr Hałaczkiewicz3-619/+520
Removed a lot of duplicated code. Added some documentation & comments.
2013-07-22Merge pull request #64 from piotrhalaczkiewicz/masterFlipp3-11/+18
Binary heap fix & improvement.
2013-07-22Binary heap fix & improvement.Piotr Hałaczkiewicz3-11/+18
Fixed a bug when removing last element of binary heap (its parent would be removed instead if it had the same value). Binary heap now allows custom swapper function/macro. Added `swap_ptr` macro to swap two pointers in place (`swap` is not suitable for pointers). This allows to store pointers in binary heap.
2013-07-22Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-2/+2
2013-07-22Fixed Bug #7564shennetsind1-1/+1
Trickdead will now go away upon job changing to a non-novice class, pre-existing non-novice characters with the trickdead skill granted will automatically be fixed on login (unless the skill was granted via flag 3) Special Thanks to bgamez23 http://hercules.ws/board/tracker/issue-7564-platinum-skill-is-not-remove-right-after-i-change-job/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-22Fixed the homun_skill_tree parser.Haru1-2/+2
- Follow-up to efbd5d0 (related: issue #4337) - Now all the fields are read as intended. Signed-off-by: Haru <haru@dotalux.com>
2013-07-21Fixed Bug #7526shennetsind2-1/+2
Skill from items with instantaneous casting are no longer affected by magic power http://hercules.ws/board/tracker/issue-7526-item-skill-error/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-21Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind7-14/+35
2013-07-21For Bug #7542shennetsind1-0/+5
Attempting to open boxes or packages while 90% overweight will fail and result in a error message. http://hercules.ws/board/tracker/issue-7542-bug-when-weight-90/ Signed-off-by: shennetsind <ind@henn.et>