Age | Commit message (Collapse) | Author | Files | Lines |
|
Adds the ability to query an item's view sprite, lost with #1828
Fixes #1895
Signed-off-by: Haru <haru@dotalux.com>
|
|
This item info type was documented in commit
315d632e69c60d2996872c9330164133101befdf, but never implemented.
Signed-off-by: Haru <haru@dotalux.com>
|
|
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>
|
|
Update F_GetArmorType()
|
|
Applied standardization to SealedShrine script
|
|
Applied standardization to OrcsMemory script
|
|
Signed-off-by: HerculesWSAPI <dev@herc.ws>
|
|
Signed-off-by: HerculesWSAPI <dev@herc.ws>
|
|
Allow set equipment and other styles to npcs, use player sprites for npcs.
|
|
|
|
|
|
|
|
Allow npc to use player classes (for older than 20170726 npc visible as players).
View_data structure can be copied from predefined view_data lists created new if npc using player type.
|
|
Fix boss flag and add 2017-10-25 client packets
|
|
Signed-off-by: HerculesWSAPI <dev@herc.ws>
|
|
update qtype constants to support new 2017 client icons.
|
|
setequipoption Modification
|
|
|
|
|
|
also fix boss_monster flag for works as mvp and not like mini boss.
unhide boss flag if hp bar disabled.
|
|
Signed-off-by: HerculesWSAPI <dev@herc.ws>
|
|
Add ability to show char servers list with colors based on players count.
|
|
Applied standardization to saras_memory script
|
|
Applied standardization to ghost_palace script
|
|
Applied standardization to octopus_cave script
|
|
Options configurable in login-server.conf in users_count section.
|
|
|
|
Fix warning with gcc-7.
|
|
- 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>
|
|
|
|
|
|
Fix an incorrect null check in BUILDIN(logmes)
|
|
The incorrect check would cause the `logmes()` script command to never
log to database (but rather output a backtrace to the console)
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>
|
|
- 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>
|
|
|
|
Fix various warnings on Visual Studio 2017
|
|
Fixes #1867
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: HerculesWSAPI <dev@herc.ws>
|
|
Add NoAutoloot mapflag
|
|
Remove separate cardfix definition for pre-re/re
|
|
- Enable server to disable autoloot settings for certain maps.
|
|
Change skill_init_unit_layout to report skill id instead of index
|
|
Signed-off-by: HerculesWSAPI <dev@herc.ws>
|
|
Add shuffle packets for latest clients, fix rodex in 2017 clients, fix exp packets.
|
|
Need for packet parser.
|
|
|
|
Also update some functions for support 64 bit exp calculation.
|