summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-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/Herculesshennetsind11-16/+49
2013-07-21For Bug #7542shennetsind2-0/+8
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 variableHaru11-16/+49
- 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 changeshennetsind2-2/+2
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/Herculesshennetsind8-6/+27
2013-07-21Fixed Bug #7547shennetsind2-4/+5
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/Herculesmalufett53-846/+1196
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-20Fixed Bug #7550Mysteries2-2/+2
http://hercules.ws/board/tracker/issue-7550-baby-mage-inheriting-priest- class-skills-re-mode-pre-re/ - My other commit isn't read to release yet, so I rather just push this through now. Thanks jTynne!
2013-07-19Update script_commands.txtjaBote1-0/+13
Added some neat info Yommy gave us :D
2013-07-18Merge pull request #60 from kisuka/mastershennetsind1-1/+1
Changed npcdb_checkid to use MAX_NPC_CLASS2_START and MAX_NPC_CLASS2_END.
2013-07-18Changed npcdb_checkid to use MAX_NPC_CLASS2_START and END.Kisuka1-1/+1
2013-07-19Added support for apostrophes (') in libconfig's setting namesHaru2-2/+2
Special thanks to Ind for pointing me in the right direction and testing the patch. Signed-off-by: Haru <haru@dotalux.com>
2013-07-18Fixed Bug #7525shennetsind6-6/+51
Item name constants conflicting with script var names will now result in a map server warning/notice and in the background map server will prioritise the script variable over the item name constant. http://hercules.ws/board/tracker/issue-7525-set-variable-is-not-recognized-causing-freezing/ --- Also followup 586c0f7983f81e97ca70c57712e25d4d51453d6b sc_config.txt update Signed-off-by: shennetsind <ind@henn.et>
2013-07-18Fixed guild aura not going away on guild-break/expellshennetsind6-40/+52
Also modified sd->state.gmaster_flag from struct to a 'unsigned int : 1;' flag as sd->guild already stores the pointer and was thus a duplicate. Special Thanks to Haru, Xgear Signed-off-by: shennetsind <ind@henn.et>
2013-07-17Added missing initialization of some functions in the homunculus interfaceHaru14-65/+67
- Fixes issue #7536 (thanks to jTynne for the report) http://hercules.ws/board/tracker/issue-7536-map-crash-july-15th/ - Minor corrections to the other interfaces as well (reordered initialization to follow the definitions, removed duplicate entry in the skill interface initialization, commented out some unused entries) Signed-off-by: Haru <haru@dotalux.com>
2013-07-16Packets and packet keys update with the info provided by ShaktoHaru1-0/+104
- Added packets for 2013-06-12Ragexe, 2013-06-18Ragexe, 2013-06-26Ragexe, 2013-07-03Ragexe - Added packetKeys for 2013-06-26Ragexe, 2013-07-03Ragexe - Thanks to Shakto for always providing us with the data, OnNplay for the the update reminder. Signed-off-by: Haru <haru@dotalux.com>
2013-07-15Allow higher level GMs to bypass a player's /exall when whisperingHaru1-2/+2
- Follow-up to 3d0fba0 - Fixes the remaining part of bug #7463: http://hercules.ws/board/tracker/issue-7463-gm-cant-whsiper-wheb-player-do-exall Signed-off-by: Haru <haru@dotalux.com>
2013-07-14Removed the now unused optional 3rd parameter from removemapflagHaru2-9/+3
- The parameter was only used in combination with MF_RESTRICTED, now superseded by MF_ZONE - Follow-up b08910e8, 90f117f6 Signed-off-by: Haru <haru@dotalux.com>
2013-07-14Makefile error corrections and minor tweaksHaru7-18/+18
- Fixed some variable names incorrectly entered as literals in target names - This fixes a build failure when trying to build any specific sub-project directly from src/*/ - Removed an old svn-related command from the 'import' recipe - This fixes the build failures when trying to run 'make tools' right after 'make clean' - Removed duplicate entries in the 'clean' recipe for map and login servers Signed-off-by: Haru <haru@dotalux.com>
2013-07-14Updated package name to Hercules in the autoconf scriptHaru2-388/+318
- Replaced old SVN version string with a git-compatible one - Fixed configure.in warnings on autoconf 2.68 or newer (wrapped code snippets in AC_LANG_SOURCE calls, as recommended by autoconf) - Re-generated configure script with autoconf 2.69 Signed-off-by: Haru <haru@dotalux.com>
2013-07-14Added autom4te.cache (autoconf) folder to .gitignoreHaru1-0/+1
Signed-off-by: Haru <haru@dotalux.com>
2013-07-14Merge pull request #59 from MrPostman/masterStreusel1-1/+1
Fixed missing table
2013-07-14Fixed missing tableMr.Postman1-1/+1
2013-07-13Merge pull request #58 from piotrhalaczkiewicz/masterHaruna1-14/+25
Fixed crash when unloading NPC (bug #7517)
2013-07-13Fixed crash when unloading NPC (bug #7517)Piotr Hałaczkiewicz1-14/+25
Follow-up to 6e0da189207134c8d57ecca48f397bc592dcc1ad Bug report: http://hercules.ws/board/tracker/issue-7517-yet-another-map-server-cr/ Duplicate events are now skipped instead of overwriting existing ones.
2013-07-12Merge pull request #57 from piotrhalaczkiewicz/masterMatheus Macabu1-0/+3
Added cache folder to .gitignore.
2013-07-12Added cache folder to .gitignore.Piotr Hałaczkiewicz1-0/+3
Follow-up to 0118a097c9626b3f8342dd29897392f3da4c1187
2013-07-11Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-6/+3
2013-07-11Fix for Bug #7507shennetsind2-94/+214
Merged from rAthena, there is no commit to refer to as I've obtained the missing entries from their latest file. Special Thanks to jTynne http://hercules.ws/board/tracker/issue-7507-items-missing-from-item-d/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-11Fixed an issue with long hostnames/nicknames in the IRC BridgeHaru1-6/+3
This prevents nickname truncation and other possibly ill side-effects in case the source string for a message is in the form: aNickname!~ident@an.irc.user.with.a.very.long.hostname_________ Signed-off-by: Haru <haru@dotalux.com>
2013-07-11Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind21-214/+312
2013-07-11Fix to Bug #7434shennetsind5-14/+42
Fixing a ancient bug where placing a item from inventory to cart when cart is full would render such item un-clickable, same for when doing so from storage to cart. Special Thanks to Yommy for all the data, jTynne for bringing this up. http://hercules.ws/board/tracker/issue-7434-weightinability-to-click-item-issue/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-11Some fixes regarding Sentences, and AlignmentMysteries10-123/+202
Also, Fixed Bug#7504 - http://hercules.ws/board/tracker/issue-7504-missing-monsters/?gopid=1929 1#entry19291 ~Merged from rAthena
2013-07-11Merge pull request #56 from piotrhalaczkiewicz/mastershennetsind1-70/+81
Improved NPC event processing.
2013-07-11Fixed a little type (follow up to 94d75f8), also defaulted to 0 mute system.Matheus Macabu3-3/+3
2013-07-11Updated some aegis(item, monster, resetstate & resetskill) command to work ↵malufett1-11/+13
properly in Hercules.
2013-07-11Improved NPC event processing.Piotr Hałaczkiewicz1-70/+81
Executing unique events (NPC::Label) no longer loops through all events. Executing global event labels (::Label) also no longer loops through all events. Global event labels are now mapped to list of only relevant NPC events. Cleaned up code related to clearing npc path db.
2013-07-11Partial Fixed Bug#7462malufett2-2/+3
-Burning(Eff_Burning) is now supported with 'bonus2 bAddEff' script command.
2013-07-11Fixed Bug#7498malufett5-6/+11
-Where RE equip atk doesn't properly update status window and negative equip atk should now affect atk. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>