summaryrefslogtreecommitdiff
path: root/src/map/script.c
AgeCommit message (Collapse)AuthorFilesLines
2019-03-20Fix UDT_LEVEL when show_mob_info level display is onAnnieRuru1-0/+2
2019-03-12Add constants to *getpetinfo, and add some new fieldsAnnieRuru1-21/+74
2019-03-11Deprecate *petstat script commandAnnieRuru1-1/+1
2019-03-11Merge pull request #2399 from AnnieRuru/70-needed_status_pointHaru1-2/+2
Fix *needed_status_point not support <char_id>
2019-03-11Merge pull request #2391 from AnnieRuru/64-setunitdata_phase_1Haru1-2/+10
setunitdata/getunitdata clean up. Phase 1
2019-03-11Merge pull request #2396 from AnnieRuru/67-mobattachedHaru1-0/+29
* Add *mobattached and *killmonstergid script command
2019-03-11Merge pull request #2397 from AnnieRuru/68-getmercinfoHaru1-32/+59
Add constants and MERCINFO_GID to *getmercinfo script command
2019-03-11Merge pull request #2381 from AnnieRuru/60-bg_norespawnHaru1-1/+1
Add missing documentation for disable battleground respawn
2019-03-11Add constants and MERCINFO_GID to *getmercinfo script commandAnnieRuru1-32/+59
2019-03-09Expanded getinventorylist:Dastgir1-0/+1
* getinventorylist now creates extra variable named @inventorylist_idx, which returns items corresponding inventory index.
2019-03-03Fix *needed_status_point not support <char_id>AnnieRuru1-2/+2
2019-03-02Merge pull request #2390 from AnnieRuru/63-MOB_CLONE_STARTAsheraf1-0/+2
Add MOB_CLONE_START & MOB_CLONE_END to server defined constants
2019-03-02* Add *mobattached and *killmonstergid script commandAnnieRuru1-0/+29
also fix quests_rachel, now support with *unitemote
2019-02-28* Remove all the (int) in the documentationAnnieRuru1-2/+10
- once all the strings culprit are out, now only left with int to deal with. - Please make this script command only dealing with ONE INTEGER value
2019-02-27Change return value from 0 into -1 when *getunitdata return errorAnnieRuru1-11/+11
2019-02-26Add MOB_CLONE_START & MOB_CLONE_END to server defined constantsAnnieRuru1-0/+2
2019-02-26Add missing documentation for disable battleground respawnAnnieRuru1-1/+1
- fix a minor bug that bg_create_team should return -1, as mentioned in doc/script_commands.txt
2019-02-11Change type for class variables from short to intAndrei Karas1-1/+1
2019-02-06Add new server define constant MAX_ITEM_IDAnnieRuru1-0/+1
2019-02-05Add support for barter shops for main and re clients with version 20190116Andrei Karas1-2/+2
2019-02-04Add missing check in run_script_mainAndrei Karas1-0/+3
2019-02-01Merge pull request #2307 from kisuka/checknameditemHaru1-0/+60
Added countnameditem script command.
2019-02-01Added countnameditem script command.kisuka1-0/+60
Signed-off-by: Haru <haru@dotalux.com>
2019-01-14Add support for saving/loading barter shops from sql table.Andrei Karas1-32/+70
Also allow add duplicated item id to barter shops if price is different.
2019-01-14Add barter type shop and add packet ZC_NPC_BARTER_OPENAndrei Karas1-10/+44
2018-12-16Merge pull request #2246 from Emistry/scriptcommand_pcneedstatuspointHaru1-0/+20
Implement status reduction script command.
2018-12-14Add script command getInventorySize.Andrei Karas1-0/+11
This command allow read current max inventory size.
2018-12-14Add script command expandInventoryAndrei Karas1-0/+11
This command allow adjust inventory size to positive or negative value.
2018-12-14Add script command expandInventoryResult.Andrei Karas1-0/+18
This function send to client final expand status.
2018-12-14Add script command expandInventoryAckAndrei Karas1-0/+21
It send initial response for inventory expanding request.
2018-12-14Add inventory size field into db and using it in server.Andrei Karas1-37/+35
2018-12-12Add script command servicemessage.Andrei Karas1-0/+24
This command will show colored message in chat. This message will be not logged to file and will be not visible over head.
2018-12-12Add script command for insert cards into equipped items.Andrei Karas1-0/+51
enchantitem(<equip_pos>, <card_slot>, <card_id>)
2018-12-04Added mapflags 'nostorage' and 'nogstorage'Carlos Henrique1-0/+19
nostorage 1 -- blocks only @storage nostorage 2 -- blocks only openstorage(); nostorage 3 -- blocks @storage and openstorage() nogstorage 1 -- blocks only @gstorage nogstorage 2 -- blocks only guildopenstorage(); nogstorage 3 -- blocks @gstorage and guildopenstorage()
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