summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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 Cash Items Upper valuesshennetsind2-2406/+2406
Issue existed in renewal mode only; Special Thanks to Jezu for bringing it up. Signed-off-by: shennetsind <ind@henn.et>
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-31Travis Modification | Follow up e14ab5561a53bc17c9186a22ecd07060772e6dc6shennetsind1-6/+0
Disabled the irc channel notifications; it was mostly spamming with duplicate information from the other bot. Signed-off-by: shennetsind <ind@henn.et>
2013-07-31Fixed Bug #7453shennetsind6-22/+54
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-31Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind2-24/+24
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-31Fixed Bug #7586Mysteries2-24/+24
Added bonuses for items: - 2917 - 2918 - 2919 - 2920 - 2921 - 2922 - 2923 - 2924 - 2925 - 2926 - 2927 - 2928
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-31Follow up e14ab5561a53bc17c9186a22ecd07060772e6dc6shennetsind1-5/+5
Fixed Travis, special thanks to Gepard 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-31Fixed Bug #7486j-tkay1-8/+20
- Fixed 'close' issues that causes players to stuck. Signed-off-by: j-tkay <joseph.tk.ea@gmail.com>
2013-07-29* Added project 'plugin-sample' for Visual Studio 2012;Matheus Macabu4-2/+144
* Few changes to travis build-slave. Signed-off-by: Matheus Macabu <mkbu95@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 Fixesshennetsind9-93/+126
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-29Follow up 1caae981b4f000b67bdd0b118fb76797c2bfa06cshennetsind2-5502/+5520
Applying the missed 'upper' flag updates. http://hercules.ws/board/topic/1778-ultimate-item-db-update/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-29Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind28-2698/+2996
2013-07-29Follow up 1caae981b4f000b67bdd0b118fb76797c2bfa06cshennetsind4-1194/+1220
Prioritising kRO-item-data above others whenever possible, Special Thanks to Yommy for the data and Haru for help on validating the output. http://hercules.ws/board/topic/1778-ultimate-item-db-update/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-29Merge pull request #77 from Earisu/masterEarisu28-2698/+2996
Added new HPM interface
2013-07-29Merge branch 'master' of https://github.com/HerculesWS/HerculesSusu9-10002/+10121
2013-07-29Added mercenary interfaceSusu12-2977/+3034
2013-07-29Added intif interfaceSusu20-2503/+2612
2013-07-29Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind3-11/+16
2013-07-29Ultimate Item DB Updateshennetsind9-10002/+10121
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-28Fixed bug #7510j-tkay1-2/+2
- Enabled Dewata warps. http://hercules.ws/board/tracker/issue-7510-dewata-legend-quest-incomplete/ Signed-off-by: j-tkay <joseph.tk.ea@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-23Merge pull request #66 from piotrhalaczkiewicz/blocklistHaruna3-619/+520
Refactored map_foreach* functions.
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>