summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
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-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łaczkiewicz16-346/+422
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łaczkiewicz16-346/+422
* 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/HerculesSusu3-9/+29
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 Updateshennetsind3-9/+29
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/Herculesshennetsind10-873/+779
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 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/Herculesshennetsind1-2/+5
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>
2013-07-21Changed CC to a Makefile variableHaru1-2/+5
- This allows the user to override the compiler at each make invocation (i.e. to run scripts to generate .clang_complete for https://github.com/Rip-Rip/clang_complete ) - Updated .gitignore with a few platform-dependent entries Signed-off-by: Haru <haru@dotalux.com>
2013-07-21Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind3-36/+50
2013-07-21Fixed Bug #7520shennetsind2-17/+71
Added code to ensure 1st/2nd tabs are meeting the conditions; Special Thanks to Haruna, ToiletMaster http://hercules.ws/board/tracker/issue-7520-skill-point-error/ Also - Follow up 9bcb1423969870a6b60819e6f3846fe0235e28a9 extending it to cached item packages. Signed-off-by: shennetsind <ind@henn.et>
2013-07-21Fixed various unit* script commands to work with NPCs (issue #7548)Haru3-36/+50
http://hercules.ws/board/tracker/issue-7548-unitwalk-do-not-work/ Follow-up to 20bdc01. Thanks to Ind for his support and suggestions. Signed-off-by: Haru <haru@dotalux.com>
2013-07-21HCache & SQL Update Checker minor changeshennetsind1-1/+1
Files loaded by HCache now display a green C to distinguish whether it was loaded from cache or not Fixed a typo in the SQL Update Checker. Signed-off-by: shennetsind <ind@henn.et>
2013-07-21Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind3-2/+10
2013-07-21Fixed Bug #7547shennetsind1-0/+1
str_data[].val was uninitialised and thus using garbage memory on compilers that don't automatically initialize http://hercules.ws/board/tracker/issue-7547-notice-conflicting-itemscript-var/ Also updated guild aura sc_config options (special thanks to kyeme!) Signed-off-by: shennetsind <ind@henn.et>
2013-07-21Merge branch 'master' of https://github.com/HerculesWS/Herculesmalufett26-216/+417
2013-07-21Fixed Bug#7558malufett2-1/+9
-Where 'bLongAtkDef' is not working properly with physical attack. Fixed Bug#7530 -Where Masquerades affect boss monsters. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-07-18Changed npcdb_checkid to use MAX_NPC_CLASS2_START and END.Kisuka1-1/+1