summaryrefslogtreecommitdiff
path: root/src/map/map.h
AgeCommit message (Collapse)AuthorFilesLines
2020-05-27Merge pull request #2142 from Helianthella/export2Haru1-0/+8
allow local NPC functions to be public or private
2020-05-03allow local NPC functions to be public or privategumi1-0/+8
2020-05-03Merge branch 'master' into cell_noskillKenpachi2k131-122/+12
2020-04-05Fix quest info copying npc_data instead of storing it pointer, resulting in ↵Ibrahim Zidan1-1/+1
always false comparison and even possible memory violation access Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2020-03-08Change src parameter to be const in map_calc_dirskyleo1-1/+1
2020-03-08Add enum unit_dir and make direction functions use itskyleo1-2/+3
Without a doubt the readability of code will be increased by this greatly
2020-02-09Add npc functions for expanded barter shopsAndrei Karas1-0/+1
2020-01-13Update copyright headers for year 2020Haru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2019-09-22Fix several issues caused by the nick partial match feature, when enabled.Haru1-1/+1
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-06-02Merge pull request #2221 from carloshenrq/nostorageHaru1-0/+2
Mapflag nostorage and nogstorage
2019-05-06Move questinfo data from map to npc_dataAsheraf1-38/+3
this will fix the issue where having multiple `questinfo()` blocks wont work properly
2019-03-11Move local variables in atcommand.c into interfaceAndrei Karas1-79/+0
Also move defines from map.h inot mapdefines.h for fix cycle include issue.
2019-02-28Adds 'cell_noskill' which blocks skill usage.EyesOfAHawk1-1/+4
2019-02-11Change job field in struct questinfo from int to jobAndrei Karas1-1/+1
2019-02-11Change type for class variables from short to intAndrei Karas1-1/+1
2019-01-14Add support for saving/loading barter shops from sql table.Andrei Karas1-0/+1
Also allow add duplicated item id to barter shops if price is different.
2018-12-04Added mapflags 'nostorage' and 'nogstorage'Carlos Henrique1-0/+2
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-13use a dedicated zone remove function when reloading zonesgumi1-0/+1
2018-11-13Merge pull request #2105 from Helianthella/getunits3Haru1-0/+1
break the loop in buildin_getunits when the max is reached
2018-11-07break the loop in buildin_getunits when the max is reachedgumi1-0/+1
2018-10-03Add new type for mercenary class to setquestinfo()Asheraf1-0/+1
2018-09-23Add support for item amount range in setquestinfoAsheraf1-1/+7
2018-08-01reload the zone db on npc reloadgumi1-0/+1
2018-07-24Implementation of the official Achievement System.smokexyz1-0/+11
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-24Questinfo System overhaulAsheraf1-1/+18
2018-07-24Convert questinfo data into a vectorAsheraf1-2/+1
2018-07-24Merge pull request #2088 from guilherme-gm/fix-ghostmonstersHaru1-0/+1
Fixed monsters not disappearing from some clients upon death
2018-07-19Replace item id shorts to int in map server.Andrei Karas1-3/+3
2018-07-12Fixed clearunit packet not being sent to clients going out of the view range ↵Guilherme G. Menaldo1-0/+1
when monster dies
2018-06-02Implementation of stylist uiAsheraf1-0/+4
2018-05-312012-2018 !Maytichai Saowa1-1/+1
2018-05-07Merge pull request #1998 from Asheraf/private_airshipHaru1-0/+2
Implementation of Private AirShip
2018-05-04Implementation of Private AirShipAsheraf1-0/+2
2018-05-03Fix overflow in map zones.Andrei Karas1-1/+1
2018-04-11*delwall now give a friendly warning to remind non-existent wallAnnieRuru1-1/+1
2018-02-17New mapcache systemhemagx1-15/+17
* Now each map is in separated file so now it will be easier to know which map got updated or delete on updates * Now there's md5 checksum check for each map * Now the map cache is platform safe, the old format was not packed which may result in undefined behavior * The map cache tool got converted into hercules plugin Signed-off-by: hemagx <ibrahem.h.basyone@gmail.com>
2018-01-25Implementation of Official Clan SystemMurilo Pereti Tavares1-0/+3
All official features work including the autokick for inactive members And the system is completely customizable.
2017-12-23Add support for new drop packet 0xadd for zero clientsAsheraf1-1/+2
2017-10-30Add monster spawn boss flag for miniboss: miniboss_monsterAndrei Karas1-1/+1
also fix boss_monster flag for works as mvp and not like mini boss. unhide boss flag if hp bar disabled.
2017-10-22Add NoAutoloot mapflagEmistry Haoyan1-0/+1
- Enable server to disable autoloot settings for certain maps.
2017-04-25expose bank vault to the script enginegumi1-0/+1
2017-01-27remove hardcoded chat area size from clif.c, add chat_area_size to battleconfgumi1-0/+1
2016-12-03Clarify the meaning of the MAPID_* constantsHaru1-97/+228
The enum values are now written in a more explicit way, showing how they're composed (upper mask + base job). A future-proof static assertion is added, to make sure the base jobs won't overlap the upper masks. Signed-off-by: Haru <haru@dotalux.com>
2016-10-22Added Summoner Class.Dastgir Pojee1-0/+1
(Only Placeholder, other things related to summoner will follow-up soon) Added SQL-Upgrade: Added `class` column in charlog
2016-08-19Ported npc config to libconfigHaru1-1/+1
Ported to modern Hercules and cleaned up from Panikon's commits: ca009582cb22340951aa3e86c044ec1dca05df36, 6d6adf9bab2ba6f4274395018b8def566b880197 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Improved map list loadingHaru1-2/+1
There's no need to parse the map list twice anymore Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Ported map-server.conf to libconfigHaru1-4/+3
Ported to modern Hercules and cleaned up from Panikon's commits: ee48838b12d15902fc14738cfa46d58b39080d11, 55498ebb7ac5d28444d0b01506c88ef6874f6055, 6d1f8f50b0e7349bdab2c53bb172d0b036e47c04, 25dde7e46524ace330b83cb4bf0255cc4d796792 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Ported inter-server.conf to libconfigHaru1-2/+5
Ported to modern Hercules and cleaned up from Panikon's commits: 40f9ec33868e2240cab013308897898ed252b3e0, a9d646da19e25ab6fcf44dbd1ae7d90c30f6686c, 1aa8581a0aecbfd53e877686c399ffb731dcd75e, 72c645b015ae6130ca7d4309d0fb1413340e7f23, f8c906a0496b9acdae1d8244b1544fa03592061e, 51d88a58983c9552dfd1a0f059e5a031742aed61, 443684b3c77f4c32fe7877a7f8d62debf73b1e93, cf93eafef1f322cd1583226272b7d4008f562da4 Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Dropped typedef from DBMapHaru1-10/+10
Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Dropped typedefs from union DBKey and struct DBDataHaru1-6/+6
Signed-off-by: Haru <haru@dotalux.com>