Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
|
|
Add F_MesItemInfo function to show item name with description link
|
|
|
|
Fixes #1655 - Fix to Sura Job Change Quest get stuck after first attemp.
|
|
also fix OldGlastHeim ITEMLINK display incorrectly
|
|
|
|
this effect is officialy given thought the achievements system on first login.
|
|
|
|
|
|
|
|
|
|
Implementation of Official Clan System
|
|
Applied standardization to MalangdoCulvert script
|
|
Applied standardization to HazyForest script
|
|
Applied standardization to EclageInterior script
|
|
Applied standardization to BuwayaCave script
|
|
Applied standardization to BakonawaLake script
|
|
All official features work including the autokick for inactive members
And the system is completely customizable.
|
|
Applied standardization to OldGlastHeim script
|
|
Replacements are as follows:
0 => ITEMINFO_BUYPRICE
1 => ITEMINFO_SELLPRICE
2 => ITEMINFO_TYPE
3 => ITEMINFO_MAXCHANCE
4 => ITEMINFO_SEX
5 => ITEMINFO_LOC
6 => ITEMINFO_WEIGHT
7 => ITEMINFO_ATK
8 => ITEMINFO_DEF
9 => ITEMINFO_RANGE
10 => ITEMINFO_SLOTS
11 (Subtype, for weapons and ammunitions) => ITEMINFO_SUBTYPE
11 (ViewSprite, for other item types) => ITEMINFO_VIEWSPRITE (NOT AVAILABLE YET)
12 => ITEMINFO_ELV
13 => ITEMINFO_WLV
14 => ITEMINFO_VIEWID
15 => ITEMINFO_MATK (NOT AVAILABLE YET - this was documented but never implemented)
Calls to getiteminfo() and setiteminfo() have been replaced with the
newly introduced constants. Other constants (such as W_ weapon subtypes)
in related code have been replaced as well, to improve code readability.
This fixes an issue in the Eden Tutorial script "Tutorial Goal", where
ITEMINFO_ATK was accidentally used instead of ITEMINFO_WEIGHT.
Note: calls to getiteminfo or setiteminfo with numeric type arguments in
third party scripts must be replaced with the respective constants. The
use of numeric literals is no longer recommended, and those values may
change in the future without notice. See the getiteminfo documentation
for details.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Added mesf and sprintf commands where needed.
- Added _$() and _() macros where needed.
- Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards.
- Changed numeric arguments for constants.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
Standards.
- Added mesf and sprintf commands where needed.
- Added _$() and _() macros where needed.
- Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards.
- Changed numeric arguments for constants.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
Applied standardization to saras_memory script
|
|
Applied standardization to ghost_palace script
|
|
- Added mesf and sprintf commands where needed.
- Added _$() and _() macros where needed.
- Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards.
- Changed numeric arguments for constants.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
- Added mesf and sprintf commands where needed.
- Added _$() and _() macros where needed.
- Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards.
- Changed numeric arguments for constants.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
- Added mesf and sprintf commands where needed.
- Added _$() and _() macros where needed.
- Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards.
- Changed numeric arguments for constants.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
Standards.
- Added mesf and sprintf commands where needed.
- Added _$() and _() macros where needed.
- Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards.
- Changed numeric arguments for constants.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
- Added mesf and sprintf commands where needed.
- Added _$() and _() macros where needed.
- Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards.
- Changed numeric arguments for constants.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
- Added mesf and sprintf commands where needed.
- Added _$() and _() macros where needed.
- Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards.
- Changed numeric arguments for constants.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
- Added mesf and sprintf commands where needed.
- Added _$() and _() macros where needed.
- Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards.
- Changed numeric arguments for constants.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
|
|
|
|
Removed the usage of deprecated command goto from npc scripts (except custom folder)
|
|
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
Fixes #1625. Fixes checks on Guild Dungeon Investment and separates Guild Dungeon mapflags for pre-renewal and renewal
|
|
Dungeon mapflags for pre-renwal and renewal.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
- Mapflags are moved into map_zone_db, this will make easier and more intuitive in the future to add mapflags to new instances and avoid miss any mapflag.
- Zone mapflags for renewal instances are moved into renewal folder.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
folder).
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
- double chance should only available for Enrich ores.
|
|
Update Eden Quest script
|
|
|
|
This removes the remaining unsupported symbols (despite they being
official names) in AegisNames: The apostrophe (`'`) sign is suppressed.
The full replacement rules (cumulative with the step 1 commit) are thus:
- Any apostrophe is suppressed.
- Any non-`[A-Za-z0-9_]` character is replaced with an underscore (`_`).
- If the replaced symbol is at a word boundary (beginning or end of the
string, or next to another underscore), it is suppressed instead.
- If the replacement causes an AegisName conflict, underscores are
appended appropriately.
Signed-off-by: Haru <haru@dotalux.com>
|
|
This commit just propagates the AegisName changes to the pre-re database
and to the (re) scripts.
Two issues are fixed as a side-effect:
- The ghost_palace script was referring the non-existing constant(s):
Thanatos_Two-Handed_Staff == (Thanatos_Two) - (Handed_Staff) == 0.
Paired with the script engine's inability to differentiate between
constants and player variables, that produced a very subtle issue.
- The item RAG203 is sold by a NPC (Rebellion Weapon Vending). Due to a
pair of swapped AegisName constants (RAG203 and RAG203_), the slotted
version was sold by the NPC instead of hte non-slotted one (the issue
was actually fixed in the previous commit, although the description of
the fix is here - these two commits are only split for legibility
purposes but they're to be considered indivisible).
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Fix classes checking (https://github.com/HerculesWS/Hercules/issues/1173)
- Update and remove redundant script
|
|
Change *getcharid to use constants
|