summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2014-06-17Fixed issue where a crash would occur in mobs with MD_RANDOMTARGET, issue: ↵panikon1-2/+5
8231 http://hercules.ws/board/tracker/issue-8231-server-received-crash-signal/
2014-06-17Removed ZENY_HACKER according to issue 295 (github)panikon1-9/+9
Documented impossible_trade_check
2014-06-06HPM Hooks UpdateHercules.ws2-54/+54
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-06-06Fix bug 8225Michieru3-29/+57
http://hercules.ws/board/tracker/issue-8225-gentle-touch-revitalize/ Complete Sorcerer Elemental Skills.
2014-05-31Corrected GM level override checks for Nouse and TradeHaru1-2/+2
- Values are now clamped to the [0,100] range. Removed useless positivity check for item_usage.override (fixes a compiler warning). - Special thanks to KeiKun, ossi0110. Signed-off-by: Haru <haru@dotalux.com>
2014-05-31Extended ItemDB to support several other formats (part 2)Dastgir Pojee2-222/+220
- Actual source edits Signed-off-by: Haru <haru@dotalux.com>
2014-05-31 Added ItemNouseRestriction enumHaru2-8/+14
- To be used in a follow-up item_db.conf edit. Signed-off-by: Haru <haru@dotalux.com>
2014-05-31 Added ItemTradeRestriction enumHaru3-12/+30
- To be used in a follow-up item_db.conf edit. Signed-off-by: Haru <haru@dotalux.com>
2014-05-30Merge pull request #282 from MrKeiKun/fix_typoHaruna29-323/+325
Fixed some typo
2014-05-30Fixed typos inside src/Shido29-323/+325
2014-05-30Removed CMakeLists.txt (Thanks to Haruna)Shido2-130/+0
2014-05-29Added April 2014 Client Packet Datathemon1-2/+78
2014-05-29Implemented MD_RANDOMTARGET, see doc/mob_db_mode_list.txt for more informationpanikon2-7/+20
2014-05-29Fixed a bug causing players to see unrelated guilds' #ally channelsHaru1-14/+20
- The issue would only happen if the #ally channel is on auto-join, when a guild is first loaded. - Follow-up to cd2f5e4a687b2abbdb9d795e5c91b874aa0d2546 - Special thanks to Ind. Signed-off-by: Haru <haru@dotalux.com>
2014-05-29Added guild_castle_invite and guild_castle_expulsion to guild.conf, they ↵panikon3-11/+23
determine how invite/expel work inside castles during WoE/GvG See: http://hercules.ws/board/topic/1623-additional-settings-in-guildconf/
2014-05-25Improved CFLAGS/CPPFLAGS handlingHaru1-1/+3
- Language extensions, such as _GNU_SOURCE are now enabled through CPPFLAGS by the configure script, rather than within the source code. - Moved some configure-time CFLAGS to CPPFLAGS, where appropriate. - Fixes bugreport:8211, thanks to Neoth http://hercules.ws/board/tracker/issue-8211-compiling-warning-in-linux Signed-off-by: Haru <haru@dotalux.com>
2014-05-24Fixed issue in [AT](un)jail when jailing players in sec_pri (issue: 8206) ↵panikon1-2/+12
http://hercules.ws/board/tracker/issue-8206-jail-bug/
2014-05-24Fixed issue in *guildskill, lvl could be set to negative values. (issue: ↵panikon1-1/+1
8214) http://hercules.ws/board/tracker/issue-8214-guildskill-lead-to-negative-guild-skill-level/
2014-05-23Merge branch 'master' of https://github.com/HerculesWS/Herculesmalufett4-143/+127
2014-05-23Fixed Bug#8215malufett1-1/+1
-http://hercules.ws/board/tracker/issue-8215-raido-rune-crushing-strike/?gopid=22895#entry22895 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-05-21Corrected a nullpo report in 4c8d773d72ae134f7cc4d43861104ecd9f4ae134Haru3-11/+7
Special thanks to ossi0110 Signed-off-by: Haru <haru@dotalux.com>
2014-05-20Improved @go commandHaru1-137/+84
- Corrected checks to correctly display the help message when an invalid map name is requested (rather than warping to Prontera) - Removed huge list of hardcoded town names (special thanks to KeiKun). Signed-off-by: Haru <haru@dotalux.com>
2014-05-19Fixed issue 8182panikon3-5/+46
http://hercules.ws/board/tracker/issue-8182-cloaking-on-ice-wall/ Fixed minor typo on script_commands
2014-05-19Fixed issue 8201panikon1-1/+1
http://hercules.ws/board/tracker/issue-8201-map-server-crash/
2014-05-17Renamed incuvate of Pet System.Shido3-10/+10
2014-05-16Follow-up to b6b3f58795288701d0e162d43fa6f0a47af913b3Haru5-6/+6
- Includes in some files weren't sorted alphabetically. Special thanks to KeiKun. Signed-off-by: Haru <haru@dotalux.com>
2014-05-16Changed battle_config definition to extern to avoid mistakes in pluginsHaru3-12/+14
- This avoids plugins incorrectly using battle_config (with unreliable results) instead of using the proper interface, battle->bc. - Edited various #defines to use battle->bc instead of battle_config so that they can work perperly in plugins as well. Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Removed trailing whitespace (sources)Haru39-933/+953
Signed-off-by: Haru <haru@dotalux.com>
2014-05-10Changed set_reg behavior on pc_setparam failure, now it won't simply END the ↵panikon1-1/+5
script, if a dialog window is open it'll also CLOSE it. Corrected Zeny formula in THQS
2014-05-10Follow-up to 5f1529083ad1f35a3ac66cc041ee74d6db2f3552Haru1-1/+5
- Now the map-server returns nonzero even on nomral runs (or --run-once) if any script failed loading. Signed-off-by: Haru <haru@dotalux.com>
2014-05-10Moved MAX_CARTS and NEW_CARTS defines into common/mmo.hHaru6-10/+12
- Fixes bugreport:8184, allowing re-commit of 94657284973f4037596bae468ebfbee5c217e02b Signed-off-by: Haru <haru@dotalux.com>
2014-05-10Re-commit of "Fixed order of includes in all source files"Haru74-845/+996
This reverts commit 94657284973f4037596bae468ebfbee5c217e02b.
2014-05-10Revert "Fixed order of includes in all source files"panikon74-996/+845
This reverts commit b6b3f58795288701d0e162d43fa6f0a47af913b3. Fixes issue 8184 http://hercules.ws/board/tracker/issue-8184-cart-related/
2014-05-10Optimized THQS_TTShop.txt and corrected a minor mistakepanikon6-12/+16
Added npc_market_data_db to inter-server.conf Added shop message to messages.conf Fixed small typo in clif_GM_kickack
2014-05-10Small changes in npc loading/reloadingpanikon3-54/+55
Compartmentalized npc file processing Corrected event initalisation order in npc_reload Changed loading order, now item db constants are loaded before npc processing in order to avoid labels overwriting constants values, like Aegis Names Added information regarding reloading scripts in /doc/script_commands.txt
2014-05-09Added documentation regarding trader objects in script_commands.txtpanikon3-41/+47
Added enumered returns to npc_cashshop_buy and to npc_cashshop_buylist
2014-05-09Fixed order of includes in all source filesHaru74-845/+996
- Changed order according to the (upcoming) code style guidelines. - Fixes several issues caused by missing headers when their include order is changed or in plugins. Signed-off-by: Haru <haru@dotalux.com>
2014-05-09Return EXIT_FAILURE if a script parse error occurred.Haru7-126/+178
- This affects normal execution as well as ./script-checker runs. Signed-off-by: Haru <haru@dotalux.com>
2014-05-09Added support to return a different exit status to the OS.Haru2-2/+4
- This can be easily used by plugins. - See an example at http://github.com/HerculesWS/StaffPlugins/Haru/script_mapquit Signed-off-by: Haru <haru@dotalux.com>
2014-05-09Removed extra 'Map cache is corrupted' messageHaru1-1/+0
- The message was unconditionally displaying, regardless of errors. Signed-off-by: Haru <haru@dotalux.com>
2014-05-08Changed warning labels for itemdb_read_cached_packages, they were stating ↵panikon1-3/+3
other function which could be misleading when debugging without a debugger.
2014-05-08Homonculus S Updatemalufett7-119/+143
-Updated and fixed Eira skills to official behavior. Fixed Bug#8168 -http://hercules.ws/board/tracker/issue-8168-crush-strike/?gopid=22703#entry22703 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-05-07#Fixed issue 8175panikon1-0/+3
*http://hercules.ws/board/tracker/issue-8175-missing-delequip/ *Documentation wrote by @emistry #Added return values for *delequip
2014-05-07Follow up to 9a425c1panikon2-0/+5
Special thanks to @MishimaHaruna
2014-05-07Fixed Bug 8122Michieru1-1/+1
http://hercules.ws/board/tracker/issue-8122-sc-groomy-sc-weakness-and-sc-ignorance/ Fix success chance formula of SC_ENERVATION, SC_GROOMY, SC_IGNORANCE, SC_LAZINESS, SC_UNLUCKY and SC_WEAKNESS
2014-05-06Bug fixes and other changespanikon6-11/+87
#Fixed issue where a corrupted map cache would lead to a crash *Moved Big-endian compatibility functions to common/utils.h #Fixed issue 8162 *http://hercules.ws/board/tracker/issue-8162-loadnpc-doesnt-trigger-oninit-of-duplicate-npcs/ *Added options to npc_parse_duplicate #Fixed issue 8169 *http://hercules.ws/board/tracker/issue-8169-script-command-guildskill-skill-idlevel-not-working-as-intended/ *Changed *guildskill behavior, now it behaves exactly as depicted in the documentation *Updated *guildskill documentation #Added missing GBI types to mapif_parse_GuildBasicInfoChange now it's possible to change guild exp, lv, skill point and skill information #GeoIP revamp *GeoIP module was partially rewritten *Added several data checks to prevent corruption and crashes *Updated GeoIP database *See https://github.com/maxmind/geoip-api-c/blob/master/libGeoIP/GeoIP.c for more information #Added packetver checks regarding NST_MARKET *Now *tradertype warns if user is trying to use this feature with older clients
2014-04-28Follow-up to 6af9ad3Haru1-1/+1
- Fixes bugreport:8167, thanks to Frost http://hercules.ws/board/tracker/issue-8167-packetver-re-small-issue/ Signed-off-by: Haru <haru@dotalux.com>
2014-04-27Added 2014 Ragexe Client Packet Datathemon1-0/+158
https://github.com/ThemonChan/2014-Ragexe-Client
2014-04-19Fixed issue: 8146panikon2-2/+6
* http://hercules.ws/board/tracker/issue-8146-reloaditemdb-item-combo-db-crash/
2014-04-19Follow up to 6f6a6b3panikon6-33/+49
* Added new method to handle refreshing the storage window when it was closed automatically by the client * http://hercules.ws/board/tracker/issue-8027-when-the-storage-is-open-you-can-use-self-skills * http://hercules.ws/board/tracker/issue-7694-guild-notice Follow up to d57781c * Fixed minor typo as pointed by @MishimaHaruna