summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-11-12Add type constants for the getiteminfo()/setiteminfo() buildinsHaru17-157/+216
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>
2017-11-12Merge pull request #1836 from Emistry/script_F_GetArmorTypeHaru1-3/+16
Update F_GetArmorType()
2017-11-05Merge pull request #1873 from AtlantisRO/Standardization-SealedShrine.txtAsheraf1-948/+931
Applied standardization to SealedShrine script
2017-11-05Merge pull request #1872 from AtlantisRO/Standardization-OrcsMemory.txtAsheraf1-377/+349
Applied standardization to OrcsMemory script
2017-11-05Constants Documentation SyncHercules.ws1-0/+2
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-11-05HPM Hooks UpdateHercules.ws4-0/+33
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-11-05Merge pull request #1893 from 4144/npc_viewdataHaru7-16/+97
Allow set equipment and other styles to npcs, use player sprites for npcs.
2017-11-04Refresh npc after changing fields in setunitdata.Andrei Karas4-11/+31
2017-11-04Add into setunitdata/getunitdata new options UDT_ROBE and UDT_BODY2.Andrei Karas3-0/+14
2017-11-04Add view_data related fields to npc into setunitdata/getunitdata.Andrei Karas1-0/+37
2017-11-04Allow each npc use own view_data structure.Andrei Karas4-6/+16
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.
2017-11-04Merge pull request #1889 from 4144/fixpacketsHaru9-17/+122
Fix boss flag and add 2017-10-25 client packets
2017-11-04Constants Documentation SyncHercules.ws1-0/+5
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-11-04Merge pull request #1894 from Asheraf/qtypeHaru3-29/+54
update qtype constants to support new 2017 client icons.
2017-11-04Merge pull request #1865 from dastgir/2017-1_equipoption_modHaru2-15/+21
setequipoption Modification
2017-11-02update qtype constants to support new 2017 client icons.Asheraf3-29/+54
2017-11-01Add support for 2017-10-25 - 2017-11-01 clients.Andrei Karas2-2/+86
2017-10-30Add monster spawn boss flag for miniboss: miniboss_monsterAndrei Karas7-15/+36
also fix boss_monster flag for works as mvp and not like mini boss. unhide boss flag if hp bar disabled.
2017-10-30HPM Hooks UpdateHercules.ws4-0/+438
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-10-30Merge pull request #1891 from 4144/listcolorHaru4-17/+125
Add ability to show char servers list with colors based on players count.
2017-10-29Merge pull request #1884 from AtlantisRO/Standardization-saras_memory.txtAsheraf1-515/+514
Applied standardization to saras_memory script
2017-10-29Merge pull request #1879 from AtlantisRO/Standardization-ghost_palace.txtAsheraf1-194/+213
Applied standardization to ghost_palace script
2017-10-29Merge pull request #1882 from AtlantisRO/Standardization-octopus_cave.txtAsheraf1-142/+148
Applied standardization to octopus_cave script
2017-10-29Add configurable way to show char servers with color in list in client.Andrei Karas4-1/+84
Options configurable in login-server.conf in users_count section.
2017-10-27Add missing interface members in login.c.Andrei Karas2-16/+41
2017-10-27Merge pull request #1887 from 4144/fixwarningsAndrei Karas1-1/+1
Fix warning with gcc-7.
2017-10-26Changes to npc\instances\re\saras_memory.txt script to fit Hercules' Standards.AtlantisRO1-515/+514
- 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>
2017-10-23Fix warning with gcc-7.Andrei Karas1-1/+1
2017-10-22release v2017.10.22-1gumi1-0/+5
2017-10-22Merge pull request #1886 from MishimaHaruna/fix-logmesmekolat1-2/+3
Fix an incorrect null check in BUILDIN(logmes)
2017-10-22Fix an incorrect null check in BUILDIN(logmes)Haru1-2/+3
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>
2017-10-22Changes to npc\instances\re\octopus_cave.txt script to fit Hercules' Standards.AtlantisRO1-142/+148
- 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>
2017-10-22Changes to npc\instances\re\ghost_palace.txt script to fit Hercules' Standards.AtlantisRO1-194/+213
- 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>
2017-10-22Changes to npc\instances\SealedShrine.txt script to fit Hercules' Standards.AtlantisRO1-948/+931
- 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>
2017-10-22Changes to npc\instances\OrcsMemory.txt script to fit Hercules' Standards.AtlantisRO1-377/+349
- 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>
2017-10-21release v2017.10.22gumi1-0/+35
2017-10-21Merge pull request #1870 from MishimaHaruna/msvc15mekolat2-19/+17
Fix various warnings on Visual Studio 2017
2017-10-21Fix various warnings on Visual Studio 2017Haru2-19/+17
Fixes #1867 Signed-off-by: Haru <haru@dotalux.com>
2017-10-21Constants Documentation SyncHercules.ws1-1/+2
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-10-21Merge pull request #1833 from Emistry/mapflag_noautolootHaru8-3/+17
Add NoAutoloot mapflag
2017-10-21Merge pull request #1825 from HerculesWS/cardfixHaru1-32/+3
Remove separate cardfix definition for pre-re/re
2017-10-22Add NoAutoloot mapflagEmistry Haoyan8-3/+17
- Enable server to disable autoloot settings for certain maps.
2017-10-21Merge pull request #1854 from Asheraf/skillHaru1-1/+2
Change skill_init_unit_layout to report skill id instead of index
2017-10-21HPM Hooks UpdateHercules.ws4-0/+33
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-10-21Merge pull request #1859 from 4144/newpacketsHaru18-126/+508
Add shuffle packets for latest clients, fix rodex in 2017 clients, fix exp packets.
2017-10-21Add names for some unnamed enums.Andrei Karas2-5/+5
Need for packet parser.
2017-10-21Add rodex 2017 packets.Andrei Karas11-64/+213
2017-10-21Add packets for 64 bit exp.Andrei Karas7-57/+127
Also update some functions for support 64 bit exp calculation.
2017-10-21Add packets and keys for new clients.Andrei Karas2-0/+163
2017-10-21Change skill_init_unit_layout to report skill id instead of indexAsheraf1-1/+2