Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
-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>
|
|
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>
|
|
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>
|
|
* 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.
|
|
http://hercules.ws/board/tracker/issue-7597-server-crash/
Signed-off-by: shennetsind <ind@henn.et>
|
|
|
|
|
|
|
|
|
|
http://hercules.ws/board/topic/1778-ultimate-item-db-update/
Signed-off-by: shennetsind <ind@henn.et>
|
|
|
|
|
|
|
|
-Where AB_CANTO is not working properly with MADO equip target.
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
|
|
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>
|
|
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>
|
|
param mismatching compiler warning
http://hercules.ws/board/tracker/issue-7588-srcmapscript/
Signed-off-by: shennetsind <ind@henn.et>
|
|
|
|
Fixed `SC__STRIPACCESSARY` checking for equip index instead of equip
position. Fixes #72
|
|
Hercules Renewal Phase One.
Signed-off-by: shennetsind <ind@henn.et>
|
|
- 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>
|
|
Pathfinding code cleanup.
|
|
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.
|
|
Removed a lot of duplicated code.
Added some documentation & comments.
|
|
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>
|