Age | Commit message (Collapse) | Author | Files | Lines |
|
Binary heap fix & improvement.
|
|
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.
|
|
|
|
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>
|
|
- Follow-up to efbd5d0 (related: issue #4337)
- Now all the fields are read as intended.
Signed-off-by: Haru <haru@dotalux.com>
|
|
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>
|
|
|
|
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>
|
|
- 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>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
|
|
-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>
|
|
|
|
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>
|
|
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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
Fixed crash when unloading NPC (bug #7517)
|
|
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.
|
|
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>
|
|
|
|
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>
|
|
Improved NPC event processing.
|
|
|
|
properly in Hercules.
|
|
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.
|
|
-Burning(Eff_Burning) is now supported with 'bonus2 bAddEff' script command.
|
|
-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>
|
|
|
|
Duplicate indexes would not be cleared, causing array to gradually increase in size.
Thanks to ToiletMaster for providing extra information.
Signed-off-by: shennetsind <ind@henn.et>
|
|
- Added dbghelpplug.c souce code made HPM compatible.
Signed-off-by: Xgear <matiassw@gmail.com>
|
|
Special Thanks to shenhuyong, kyeme.
http://hercules.ws/board/tracker/issue-7497-iditem-idq/
Signed-off-by: shennetsind <ind@henn.et>
|
|
warn_unused_result shielding, dropped unused variables and fixed battle_calc_return_damage delay behavior (pointer was unchaged; resulting in the var afterwards always as 0)
Special Thanks to Xgear.
Signed-off-by: shennetsind <ind@henn.et>
|
|
Special Thanks to Masao for bringing this to us.
mob parser will now throw out warnings when a field in the mob db has a value higher than the field supported (e.g. if you get a monster with 70k hp it will tell you its higher and cap it to the maximum supported, which is 65k), this failsafe also works for def/mdef, str/agi/vit/int_/dex/luk.
Modified the formula that measures skill field data for skill levels higher than the maximum (e.g. mistress' high-level jupitel thunder), to match the previous version, also fixed a issue where depending on the level the blewcount could get higher than the systems' hardcoded 25-cell maximum.
Signed-off-by: shennetsind <ind@henn.et>
|
|
fixed counter going off if target died while timer was running.
Signed-off-by: shennetsind <ind@henn.et>
|
|
Signed-off-by: shennetsind <ind@henn.et>
|
|
Skill cooldown indexing fixed
Signed-off-by: shennetsind <ind@henn.et>
|
|
Modified skill cool down storage (also interfaced the remaining 2 static ers)
http://hercules.ws/board/tracker/issue-7494-crash-crash-crash/
Signed-off-by: shennetsind <ind@henn.et>
|
|
Special Thanks to Igniz
http://hercules.ws/board/tracker/issue-7485-crash-on-reloadscript/
Signed-off-by: shennetsind <ind@henn.et>
|
|
Signed-off-by: shennetsind <ind@henn.et>
|
|
Not only does it fix the itemdb2 name override problem, its also more efficient :P
Special Thanks to kyeme for bringing this issue to our attention
Signed-off-by: shennetsind <ind@henn.et>
|
|
Special Thanks to Judas
Signed-off-by: shennetsind <ind@henn.et>
|