summaryrefslogtreecommitdiff
path: root/src/map/script.c
AgeCommit message (Collapse)AuthorFilesLines
2019-10-18Merge pull request #2492 from dastgirp/huld/splitHaru1-40/+83
Split HULD translations to per NPC file instead of one large file
2019-10-18Merge pull request #2540 from dastgirp/fix/buffer-overflow-npcshopdelHaru1-3/+5
Fixed heap-buffer-overflow on npcshopdelitem
2019-10-02Fixed MultiLine support for translationsDastgir1-16/+25
2019-10-02Load translations from a directory rather than a fileHaru1-24/+58
2019-10-02Fixed heap-buffer-overflow on npcshopdelitemDastgir1-3/+5
npcshopdelitem now moves data within structure size.
2019-09-23Merge pull request #2336 from Asheraf/lapineddukddakHaru1-0/+37
Implementation of LapineDdukDdak System
2019-09-23Merge pull request #2536 from MishimaHaruna/compile-fixesHaru1-1/+1
Compile fixes
2019-09-23Merge pull request #2535 from HerculesWS/itemdb_violationHaru1-1/+1
Fixed several issues in itemdb_search_name function
2019-09-23Implementation of LapineDdukDdak SystemAsheraf1-0/+37
2019-09-23Merge pull request #2523 from MishimaHaruna/name-partial-matchHaru1-8/+8
Name partial match
2019-09-22Implement getfont script command which returns player's current chat fontIbrahim Zidan1-0/+14
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-09-22Implement new script fields for items triggered on rentral status changesIbrahim Zidan1-0/+32
- OnRentalStartScript triggered when a rental item is added to inventory - OnRentalEndScript triggered when a rental period end/expire of the item Related #140 Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-09-22Fix several issues caused by the nick partial match feature, when enabled.Haru1-8/+8
Partial match is now disabled in all the internal (source) and script lookups, while it's enabled for the lookups requested by atcommands and client. Signed-off-by: Haru <haru@dotalux.com>
2019-09-22Merge pull request #2519 from Asheraf/guildcastlesupdateHaru1-0/+5
Implementation of new guild ui client features
2019-09-22Mark some forgotten symbols as staticHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2019-09-22Merge pull request #2524 from MishimaHaruna/homunculus-fixesHaru1-1/+1
Homunculus related fixes
2019-09-22Implementation of new guild ui client featuresAsheraf1-0/+5
2019-09-19Rewrite of itemdb_searchname_array and itemdb_searchname_array_subIbrahim Zidan1-1/+1
Rewrote item name checks in both functions to be more readable Changed flag to be enum item_name_search_flag and made itemdb_searchname_array_sub respect flag given to parent function Corrected item count returned by parent function when dbmap search is performed Fixed a memory violation caused by the old code when dbmap search is performed Fixed dbmap searching having static array size which did not adhire to the size passed to the function Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-08-26Merge pull request #2522 from MishimaHaruna/remove-inter-roundtripsHaru1-12/+8
Remove some round-trips to the inter-server
2019-08-26Fix an issue that prevents homunculus auto-vaporize on death or skill resetHaru1-1/+1
The >80% HP condition is now ignored in the cases the vaporization is forced by the server Signed-off-by: Haru <haru@dotalux.com>
2019-08-26Merge pull request #2518 from Emistry/scriptcommand_setgetiteminfoHaru1-0/+171
Extend *set/getiteminfo script commands
2019-08-26Remove round-trip to the inter-server for the broadcast messagesHaru1-12/+8
Signed-off-by: Haru <haru@dotalux.com>
2019-08-05Extend *set/getiteminfo script commandsEmistry Haoyan1-0/+171
- additional options.
2019-07-29Update *getequiprefinerycnt script commandEmistry Haoyan1-17/+19
- allow to specify more than one equipment slots. - return the total of refine of specified equipment slots.
2019-07-28Merge pull request #2510 from Emistry/mobdb_dmg_taken_rateHaru1-0/+9
Update mob_db - DamageTakenRate field
2019-07-24Update mob_db - DamageTakenRate fieldEmistry Haoyan1-0/+9
- adjust the damage taken by monster. (default = `100 = 1x`) - ref: https://github.com/idathena/trunk/commit/e267d2e2dada6196b479a6f2f35e9d25291ef22b
2019-07-21Update script command isequippedEmistry Haoyan1-0/+4
- added missing costume equipment validation
2019-07-01Add identify script commandGuilherme Menaldo1-0/+37
Signed-off-by: Haru <haru@dotalux.com>
2019-07-01Add identifyidx script commandGuilherme Menaldo1-0/+35
Signed-off-by: Haru <haru@dotalux.com>
2019-06-30Merge pull request #2427 from Emistry/scriptcommand_setfavoriteitemHaru1-0/+45
Add *setfavoriteitemidx & *autofavoriteitem script commands - alter item favorite state
2019-06-02Merge pull request #2221 from carloshenrq/nostorageHaru1-0/+19
Mapflag nostorage and nogstorage
2019-06-02Adds buildin_getguildonline.EyesOfAHawk1-0/+63
Signed-off-by: Haru <haru@dotalux.com>
2019-06-02standardize script commands to small lettersAnnieRuru1-8/+8
Signed-off-by: Haru <haru@dotalux.com>
2019-06-03Add *setfavoriteitemidx & *autofavoriteitem script command.Emistry Haoyan1-0/+45
- set an item as favorite item or not based inventory index. - if an item is set to favorite item, it will be moved into favorite tab, else move out from favorite tab. - only non-equipped item can adjust the favorite item state.
2019-06-02Merge pull request #2394 from bWolfie/buildin_delitemidxHaru1-0/+43
Adds BUILDIN(delitemidx), which deletes an item at the given index.
2019-06-02Adds BUILDIN(delitemidx), which deletes an item at the given index.EyesOfAHawk1-0/+43
Signed-off-by: Haru <haru@dotalux.com>
2019-06-01Merge pull request #2380 from AnnieRuru/59-all_AllHaru1-2/+8
Standardize to "all" in script commands
2019-06-01Merge pull request #2430 from Emistry/scriptcommand_npcspeedHaru1-46/+62
Fix map-crash when floating npc use *npcspeed script command
2019-06-01Merge pull request #2471 from Emistry/scriptcommand_mesclearHaru1-0/+14
Add *mesclear script command.
2019-06-01Merge pull request #2472 from Emistry/scriptcommand_cap_valueHaru1-0/+12
Add *cap_value script command
2019-06-01Merge pull request #2474 from Emistry/scriptcommand_getmapinfoHaru1-3/+9
Update *getmapinfo script command.
2019-06-01Merge pull request #2477 from Emistry/issue_2469Haru1-1/+2
Fix *failedremovecards script command.
2019-06-01Merge pull request #2375 from AnnieRuru/58-negative_inputHaru1-25/+26
Allow *input script command to support negative input
2019-05-18Fix *failedremovecards script command.Emistry Haoyan1-1/+2
- only `type == 1` will remove the card. - fixes #2469
2019-05-15Update *getmapinfo script command.Emistry Haoyan1-3/+9
- Added parameter `MAPINFO_NPC_COUNT` to return the total number of NPC exists in the map. - Added new server define `MAX_NPC_PER_MAP`
2019-05-14Add *cap_value script commandEmistry Haoyan1-0/+12
- add `cap_value(value, min, max)` script command. - avoid the ugly nested `min()` and `max()` combo if needed.
2019-05-14Added *mesclear script command.Emistry Haoyan1-0/+14
- `*mesclear()` script command will clear the NPC dialog text and continue the script without player interaction. example: `next();`.
2019-05-06Move questinfo data from map to npc_dataAsheraf1-7/+5
this will fix the issue where having multiple `questinfo()` blocks wont work properly
2019-05-05Implement Refinery UIIbrahim Zidan1-0/+20
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Removal of refine database code from status.c and moving it respectfully to ↵Ibrahim Zidan1-1/+2
its own files Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>