summaryrefslogtreecommitdiff
path: root/src/map/script.c
AgeCommit message (Collapse)AuthorFilesLines
2017-11-04Refresh npc after changing fields in setunitdata.Andrei Karas1-1/+2
2017-11-04Add into setunitdata/getunitdata new options UDT_ROBE and UDT_BODY2.Andrei Karas1-0/+10
2017-11-04Add view_data related fields to npc into setunitdata/getunitdata.Andrei Karas1-0/+37
2017-11-04Merge pull request #1894 from Asheraf/qtypeHaru1-18/+24
update qtype constants to support new 2017 client icons.
2017-11-04Merge pull request #1865 from dastgir/2017-1_equipoption_modHaru1-15/+20
setequipoption Modification
2017-11-02update qtype constants to support new 2017 client icons.Asheraf1-18/+24
2017-10-23Fix warning with gcc-7.Andrei Karas1-1/+1
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-21Merge pull request #1833 from Emistry/mapflag_noautolootHaru1-0/+3
Add NoAutoloot mapflag
2017-10-22Add NoAutoloot mapflagEmistry Haoyan1-0/+3
- Enable server to disable autoloot settings for certain maps.
2017-10-20Merge pull request #1852 from mekolat/getmapinfo2mekolat1-0/+78
2017-10-20Merge pull request #1843 from mekolat/logmes2mekolat1-9/+31
2017-10-20Modified setequipoption to allow removal of equip options.Dastgir1-15/+20
2017-10-05add buildin_getmapinfogumi1-0/+78
2017-10-04add buildin_dressroomEdwin1-0/+49
2017-09-21allow buildin_logmes to log to the atcommand tablegumi1-9/+31
2017-09-19allow buildin_getgroupid to take a GIDMurilo_Bio1-7/+15
2017-09-18fix rogue whitespaces in rodex buildinsgumi1-3/+3
2017-09-18deprecate buildin_useatcmdgumi1-1/+1
2017-09-17Add support for bitmask arrays in the item_db Loc fieldHaru1-0/+9
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Add support for bitmask arrays in the item_db Upper fieldHaru1-0/+10
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Move other view-related variables to `sd->status.look`Haru1-4/+4
The following variables are now moved to `sd->status.look` (from `sd->status`): `head_top`, `head_mid`, `head_bottom`, `robe` Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Differentiate variables that hold a ViewSprite and a Subtype (part 2)Haru1-1/+1
`sd->status.shield` is renamed to `sd->status.look.shield` and only holds ViewSprite IDs. Its previous other meaning is now transferred to `sd->has_shield`, of boolean type (to detect the presence of a shield) Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Differentiate variables that hold a ViewSprite and a weapon SubtypeHaru1-1/+1
`sd->status.weapon` is renamed to `sd->status.look.weapon` and only holds ViewSprite IDs. Its previous other meaning is now transferred to `sd->weapontype` (holding the currently equipped weapon type, considering both hands at once) Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Split 'View' in two different fields in the item databaseHaru1-2/+2
- The field was used both for sprite view IDs and for weapon or ammunition subtypes. Now the fields 'ViewSprite' and 'Subtype' are used respectively. Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Reimplement getiteminfo/setiteminfo in a safer and more maintainable wayHaru1-58/+113
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Add item subtype (weapon/ammunition type) constantsHaru1-0/+37
Signed-off-by: Haru <haru@dotalux.com>
2017-07-30Implementation of RoDEXKirieZ1-0/+181
2017-07-27Fix possible buffer overflows with snprintf.Andrei Karas1-1/+1
2017-07-12Merge pull request #1790 from mekolat/channel2Haru1-3/+5
Allow to use channelmes without attached player
2017-07-11merge meko/set-sd2gumi1-4/+5
2017-07-11Added getcalendartime script commandKirieZ1-0/+96
Signed-off-by: Haru <haru@dotalux.com>
2017-07-11Added time limit parameter to setquestKirieZ1-4/+6
Signed-off-by: Haru <haru@dotalux.com>
2017-07-11Merge pull request #1788 from mekolat/type2Haru1-0/+64
new buildin: getdatatype()
2017-07-10fix setting pc var on another pcgumi1-4/+5
2017-07-04Merge pull request #1773 from dastgir/bug/item-optionssmokexyz1-6/+6
Item option fixes
2017-06-28Fix a compile error on ARM (Raspberry Pi 3)Haru1-8/+17
According to the C specifications, va_list isn't necessarily a pointer (it can be an array of pointers, or just about anything). As such, we can't cast NULL to va_list. Fixes #1793 Related to 5fd40de233d3a897284f771338cbf8e657182261 Signed-off-by: Haru <haru@dotalux.com>
2017-06-25fix guild leader change in 2017 clients. Based on rathena commit:Andrei Karas1-1/+1
commit b51617cb730cdc6d91bc03df16c887a060323f3a Author: Lemongrass3110 <lemongrass@kstp.at> Date: Sat Jun 3 17:03:56 2017 +0200 Added support for 2017's guild leader change
2017-06-24make buildin_recovery more versatilegumi1-14/+48
2017-06-24Merge pull request #1765 from mekolat/swap2Haru1-4/+7
fix for #1761
2017-06-24Merge pull request #1775 from dastgir/bug/card_removeHaru1-77/+43
Fixes remove card bug
2017-06-24allow removechannelhandler to be called with attached ridgumi1-1/+2
2017-06-24allow addchannelhandler to be called with attached ridgumi1-1/+2
2017-06-24allow channelmes to be called without attached ridgumi1-1/+1
2017-06-21add getdatatype() buildingumi1-0/+64
2017-06-09fix another memory leak introduced by 5ceccb7gumi1-0/+2
2017-06-09WhitespaceDastgir1-35/+33
2017-06-09Fixed a bug where removing a card from successremovecards andDastgir1-44/+12
failedremovecards were also removing item options.
2017-06-08Corrected Documentation of getequipoption.Dastgir1-6/+6
2017-06-05fix loss of reference in buildin_swapgumi1-4/+7