summaryrefslogtreecommitdiff
path: root/src/map/script.c
AgeCommit message (Collapse)AuthorFilesLines
2018-11-14Use an enum as flag for status->heal() and related functionsHaru1-14/+14
This introduces the `enum status_heal_flag`. No functional changes are made. Signed-off-by: Haru <haru@dotalux.com>
2018-11-13Merge pull request #2289 from EyesOfAHawk/buildin_getnpcidHaru1-21/+12
Remove type argument from buildin_getnpcid.
2018-11-13Remove type argument from buildin_getnpcid.EyesOfAHawk1-21/+12
2018-11-13Merge pull request #2304 from Helianthella/data-to-stringHaru1-0/+59
add data_to_string()
2018-11-13Merge pull request #2105 from Helianthella/getunits3Haru1-11/+3
break the loop in buildin_getunits when the max is reached
2018-11-07break the loop in buildin_getunits when the max is reachedgumi1-11/+3
2018-10-22add buildin_data_to_string and buildin_string_to_datagumi1-0/+59
2018-10-22Merge pull request #2279 from Helianthella/promptHaru1-98/+24
deprecate buildin_prompt, bake it into buildin_select
2018-10-22Add script command itempreview for update preview window with given item.Andrei Karas1-0/+12
2018-10-22Merge pull request #2251 from Asheraf/pr3Haru1-0/+12
Add new type for mercenary class to setquestinfo()
2018-10-22Merge pull request #2250 from Asheraf/pr2Haru1-12/+1
change showevent icon validation to use function from questinfo
2018-10-21Merge pull request #2172 from dastgirp/enhance/getiteminfoHaru1-0/+21
Updated getiteminfo and setiteminfo.
2018-10-21Updated getiteminfo and setiteminfo.Dastgir1-0/+21
Added ITR_TRADE (Trade restriction) for both script commands
2018-10-11add constants for max menu length and optionsgumi1-14/+16
2018-10-11bake buildin_prompt into buildin_select and clarify the difference between ↵gumi1-87/+11
the two
2018-10-07Merge pull request #2239 from guilherme-gm/201810-assertion_berserkHaru1-1/+3
Fixes an assertion error when sc_end is called for SC_BERSERK
2018-10-07Merge pull request #2240 from Helianthella/getd-constHaru1-1/+3
allow buildin_getd to work with constants and params
2018-10-07Merge pull request #2238 from Helianthella/varofpcHaru1-80/+13
fix setting char/account variables of another player
2018-10-04Add script commands for show camera info window and change camera parameters.Andrei Karas1-0/+30
New script commands: camerainfo, changecamera
2018-10-03Add new type for mercenary class to setquestinfo()Asheraf1-0/+12
2018-10-03Add script command for remove special effect.Andrei Karas1-0/+45
New script command: removespecialeffect *removespecialeffect(<effect number>{, <send_target>{, <unit id>{, <account id>}}}) *removespecialeffect(<effect number>{, <send_target>{, "<NPC Name>"{, <account id>}}})
2018-10-02change showevent icon validation to use function from questinfoAsheraf1-12/+1
2018-10-01use the regular pc->setregistry to set vars of another chargumi1-103/+12
this will prevent further errors, and will allow setting special variables such as `#CASHPOINTS`
2018-10-01fix setting char/account variables of another playergumi1-2/+26
2018-10-01allow buildin_getd to work with constants and paramsgumi1-1/+3
this is highly discouraged, but it should still work
2018-10-01Fixes an assertion error when sc_end is called for SC_BERSERKGuilherme G. Menaldo1-1/+3
2018-09-24Merge pull request #2193 from Helianthella/mesAsheraf1-3/+7
buildin_mes shorthand
2018-09-23Merge pull request #2218 from Asheraf/questinfo_fixHaru1-5/+14
Fix wrong validation for quests in setquestinfo
2018-09-23Add support for item amount range in setquestinfoAsheraf1-5/+14
2018-09-19Update inventory packet for 2018-09-12 RE.Andrei Karas1-2/+2
2018-08-29fix set_reg no longer being able to handle C_PARAMgumi1-1/+1
closes #2200
2018-08-26make it legal to not pass arguments to buildin_mesgumi1-3/+7
2018-08-26Merge pull request #2164 from mekolat/addvariableHaru1-66/+121
always set the type to C_NAME when adding variables through script->add_str
2018-08-24Merge pull request #2146 from mekolat/debugmesHaru1-4/+13
bake sprintf into debugmes
2018-08-24Merge pull request #2176 from 4144/updatepacketsHaru1-0/+40
Update packets to 2018-08-08
2018-08-24Merge pull request #2154 from mekolat/isfunctionHaru1-6/+46
improve is_function()
2018-08-23Add script command msgtable and msgtable2.Andrei Karas1-0/+40
New script commands: msgtable msgId [, color] msgtable2 msgId, param [, color]
2018-07-30push constants as C_NAME in the script buffergumi1-2/+10
2018-07-30always set the type when doing script->add_strgumi1-64/+111
2018-07-30Revert "temporary fix for getd (#2163)"gumi1-1/+1
This reverts commit 6696ad9eed9b95bf8abe135801d1fad03aeb40e6.
2018-07-30temporary fix for getd (#2163)v2018.07.29+1gumi1-1/+1
this will be reverted in the next release and a proper fix will be added
2018-07-29Merge pull request #2159 from 4144/initblHaru1-0/+7
Set all fields to 0 in fake bl's.
2018-07-29Set all fields to 0 in fake bl's.Andrei Karas1-0/+7
2018-07-28fix getd not setting the type to C_NAME for new variablesgumi1-1/+13
2018-07-28Merge pull request #2067 from dastgirp/1-achievementHaru1-0/+86
Implemented Achievement System and Title System
2018-07-26make is_function work with any command typegumi1-6/+46
2018-07-25bake sprintf into debugmesgumi1-4/+13
2018-07-25Merge pull request #2093 from AnnieRuru/47-MAX_ARRAYSIZEHaru1-2/+2
Fix SCRIPT_MAX_ARRAYSIZE
2018-07-24Implementation of the official Achievement System.smokexyz1-0/+86
Source: http://ro.gnjoy.com/news/update/View.asp?seq=163&curpage=1 Script Commands - ``` achievement_progress(<ach_id>,<obj_idx>,<progress>,<incremental?>{,<char_id>}); ``` Includes an achievement_db.conf generator that reads from the item_db, mob_db (server side) and achievement_list.lub files to determine valid achievement entries based on item/monster availability. Achievements containing unsupported entries are commented out. This feature, although renewal-only in official servers, is capable of being used in pre-renewal mode on Hercules. Does not include the title system yet. A big thanks to - @MishimaHaruna for constantly reviewing. @4144 for all the support. @Asheraf for a lot of official information. Co-authored-by: "Dastgir" <dastgirp@gmail.com>
2018-07-24Correct wrong attribute used for pet evolution egg hidingAsheraf1-0/+8