summaryrefslogtreecommitdiff
path: root/src/map/clif.c
AgeCommit message (Collapse)AuthorFilesLines
2014-05-30Fixed typos inside src/Shido1-48/+48
2014-05-13Removed trailing whitespace (sources)Haru1-16/+16
Signed-off-by: Haru <haru@dotalux.com>
2014-05-10Moved MAX_CARTS and NEW_CARTS defines into common/mmo.hHaru1-1/+2
- 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"Haru1-40/+43
This reverts commit 94657284973f4037596bae468ebfbee5c217e02b.
2014-05-10Revert "Fixed order of includes in all source files"panikon1-43/+40
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 mistakepanikon1-3/+3
Added npc_market_data_db to inter-server.conf Added shop message to messages.conf Fixed small typo in clif_GM_kickack
2014-05-09Added documentation regarding trader objects in script_commands.txtpanikon1-11/+1
Added enumered returns to npc_cashshop_buy and to npc_cashshop_buylist
2014-05-09Fixed order of includes in all source filesHaru1-40/+43
- 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-08Homonculus S Updatemalufett1-5/+14
-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-07Follow up to 9a425c1panikon1-0/+2
Special thanks to @MishimaHaruna
2014-05-06Bug fixes and other changespanikon1-0/+6
#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-19Follow up to 6f6a6b3panikon1-25/+32
* 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
2014-04-18# Several minor changes in atcommandspanikon1-0/+20
1. Reallocated and added checks in @jumpto, @jump, @mapmove in order to increase performance * Checks are now made to avoid unnecessary lookups and unnecessary warps 2. Corrected return failure values of @zeny 3. Added messages to * ATclearcart > Warns that it's not possible to clean a cart while vending * ATshowmobs > Asks user to enter a mob name/id and warns if the mob name is invalid * ATgstorage > Warns when another guild member is using the gstorage # Fixed issue where while using storage/gstorage and then refreshing would close the storage but only for the client, the server wouldn't now and this would cause the guild storage to remain locked and the character without ability to do anything.
2014-04-15Fix - Do not allow players to attack while sittingVincent Thibault1-1/+1
2014-04-12Follow up to 6f6a6b3panikon1-1/+1
Fixing small typo in that commit
2014-04-11Fixed issue: 7694panikon1-8/+15
http://hercules.ws/board/tracker/issue-7694-guild-notice/ Follow up to 7a5f7db Follow up to 4147d9f
2014-04-09Fixed issue: 7725panikon1-2/+17
http://hercules.ws/board/tracker/issue-7725-disguise-hide-skill-bug/ Fixed issue: 8027 http://hercules.ws/board/tracker/issue-8027-when-the-storage-is-open-you-can-use-self-skills/ Fixed issue where @at showed it failed when it succeeded
2014-03-31Updated documentation for pc_statusup2 and pc_statusuppanikon1-1/+9
(fixed issue: 7916 http://hercules.ws/board/tracker/issue-7916-wrong-comment-in-pc-statusup2/) Now pc_statusup2 returns stat increase amount as stated in previous documentation Updated *statusup documentation it was wrong Added last update in upgrade index @console.c/.h Documented partially Now two different parsing categories can have functions with same name e.g. - server exit - sql exit
2014-03-22Fixed Bug 8103shennetsind1-1/+1
Issue with dragon mounted icon not showing up after relog. http://hercules.ws/board/tracker/issue-8103-riding-dragon-mount-icon-missing/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-14Follow up 1007d606645c16d5246761976b7648809edb8b1dshennetsind1-0/+7
A bonus. Fixed unitwalk's non-x/y possibility, NPCs can now be set to chase players around for as long as they keep walking, which opens a number of possibilities e.g. help npc y get thru z. Signed-off-by: shennetsind <ind@henn.et>
2014-03-14Fixed Bug 8083shennetsind1-1/+1
Player-looking NPCs will now display properly, thanks to evilpuncker. http://hercules.ws/board/tracker/issue-8083-mob-avail-npc-sprite/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-12Merge branch 'master' of https://github.com/HerculesWS/Herculesmalufett1-15/+11
2014-03-12Fixed Bug#8073malufett1-7/+7
-http://hercules.ws/board/tracker/issue-8073-removing-magic-gear-and-cart/?gopid=22195#entry22195 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-03-11Fixed Bug 8072shennetsind1-3/+3
Special Thanks to kyeme, Haruna http://hercules.ws/board/tracker/issue-8072-map-crash-autotrade/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-11Fixed some warnings (unused functions) pointed out by clang-5.1.Haru1-12/+8
Signed-off-by: Haru <haru@dotalux.com>
2014-02-27Cleaned up messages.confHaru1-9/+9
- Removed some unused messages. - Re-mapped some duplicate IDs - fixes bugreport:8057, thanks to AnnieRuru http://hercules.ws/board/tracker/issue-8057-jobname-with-invalid-id-return-tomb/ - Fixed some issues with the message range loaded by the char server. - Reworded some messages, fixed typos in others. Note for translation users: some messages have been remapped to new IDs. You'll need to remap them in your custom translations as well. The list of changes is as follows: - Removed messages (you can safely remove them from your translations): 15, 26-27, 35, 48-52, 57-58, 65-69, 82-83, 86-87, 91, 101, 140-142, 164, 189-194, 199-200, 202-203, 209-211, 215-218, 267-268, 275, 289-290, 380-385, 387-388, 401, 497, 499, 535-537, 922, 995, 1063, 1079, 1291-1294 - New messages (you need to add them to your translations): 15 - Moved messages (you need to change their IDs in your translations file): * [Unknown Job] 656 -> 620, * [Job names] 681~693 -> 656~668 * [Tombstone related] 656~661 -> 856~861 * [Etc messages] 662~680 -> 862~880 * [@version] 1436 -> 1294 * [Hercules Chat] 1475 -> 1436 Signed-off-by: Haru <haru@dotalux.com>
2014-02-27Follow-up to 37953d0 (fixes compile error)Haru1-3/+3
- Fixes bugreport:8058, thanks to ossi0110, KeiKun, Beret http://hercules.ws/board/tracker/issue-8058-compiling-error-latest-rev/ Signed-off-by: Haru <haru@dotalux.com>
2014-02-26Whisper fix, and support for 2013-12-18 Ragexe and 2013-12-30 Ragexeshennetsind1-9/+12
From Pull Request 255 (Thanks to Kiu, ossi0110, Yommy) Signed-off-by: shennetsind <ind@henn.et>
2014-02-26Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-1/+1
2014-02-26Removed Option_ constants from const.txt, now input directly from the sourceshennetsind1-5/+5
a benefit, for example, would be that the compounds are always up to date regardless if new members are added, also added a new compound OPTION_COSTUME Special Thanks to Haruna, and AnnieRuru for pointing out constdb's outdatedness. Signed-off-by: shennetsind <ind@henn.et>
2014-02-26Merge pull request #259 from cannelle/mastershennetsind1-1/+1
Animation fixes.
2014-02-24Fixed console parse gm command crash on select commandsshennetsind1-3/+3
Also fixed an issue with socket flushing Signed-off-by: shennetsind <ind@henn.et>
2014-02-22Changed function types related to SG days in date.cpanikon1-520/+500
Changed types in clif.c: bool clif_setip -> map:ip_set, map: char_ip_set changed as well bool clif_setbindip bool clif_send bool clif_spawn void clif_homskillinfoblock bool clif_sub_guild_invite Note that return values of those types have changed, so if any modification uses their return values it should be changed. clif_disp_onlyself replaced as a macro clif_viewequip_fail replaced as a macro Merged clif_skillup and clif_guild_skillup as they were using the same packet Added packet_len() values in clif_updatestatus
2014-02-20Fixed animation for dead players respawning.cannelle1-1/+1
CLR_RESPAWN is actually the logout animation not the respawn animation. CLR_OUTSIGHT is the correct animation for respawning.
2014-02-14sc sourcesshennetsind1-5/+5
Signed-off-by: shennetsind <ind@henn.et>
2014-02-14Renewal mechanics rebalance mega-updateMichieru1-8/+10
- More info on the forums, at http://hercules.ws/board/topic/4428-michierus-renewal-update/ Signed-off-by: Haru <haru@dotalux.com>
2014-02-10Fixed Bug 8017shennetsind1-3/+3
Would happen on 2014-onwards clients due to the placeholder packetver of 20140000 http://hercules.ws/board/tracker/issue-8017-monster-hp-bar-does-not-update/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-11Fixed Bug#7983 (Thanks to Kiu)malufett1-3/+8
-http://hercules.ws/board/tracker/issue-7983-whisper-display Fixed Bug#8012 -http://hercules.ws/board/tracker/issue-8012-bonus-bvariablecastrate-and-bfixedcastrate-not-working-properly/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-02-04Fixed millenium shield crash with clonesshennetsind1-3/+3
Thanks to Michieru Signed-off-by: shennetsind <ind@henn.et>
2014-02-03Added /stat+ commands support for 2013-12+ clientsHaru1-5/+4
- Fixes /str+, /agi+ and the likes, only being able to increase stats by 1 point on 2013-12 and newer clients. - As a bonus, on those clients, processing of the /stat+ commands will be much faster, and the requested points will be added instantly and all at once rather than one at a time like in older clients. Signed-off-by: Haru <haru@dotalux.com>
2014-01-24Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-21/+25
2014-01-24Follow up e587d715cbc3shennetsind1-9/+19
Fixed an issue where character position would not be instantly updated upon using a skill with casttime while in hiding (e.g. cloaking -> soul break), Special Thanks to Michieru! Turned the feature optional, by commenting out ANTI_MAYAP_CHEAT in src/config/secure.h due it not being entirely able to mimic skill casting out of hiding (read the description in secure.h for further details). Also fixed some status.c indentation which, unfortunately, considerably increased this commits size. Signed-off-by: shennetsind <ind@henn.et>
2014-01-23Compatibility fixes for NetBSD and SolarisHaru1-0/+4
- Fixed some warnings in NetBSD (5.x and 6.x) and Solaris (11) Signed-off-by: Haru <haru@dotalux.com>
2014-01-22Renamed atcommand->parse to atcommand->execHaru1-21/+21
- Renamed function to a more appropriate name. - Changed its last argument 'int type' to 'bool player_invoked' to make its purpose more obvious. Signed-off-by: Haru <haru@dotalux.com>
2014-01-18Socket interfacedshennetsind1-16/+16
We designed this one with having as little changes required elsewhere in mind, thus the way most socket-related things are called has not changed. Plugins may now take a greater advantage of the socket features. Signed-off-by: shennetsind <ind@henn.et>
2014-01-18Libconfig Interfacedshennetsind1-36/+37
Ready for plugin use. Thanks to Haruna Signed-off-by: shennetsind <ind@henn.et>
2014-01-16Merge pull request #251 from panikon/masterHaruna1-1/+1
Function types behaviour
2014-01-15Correct minor mistakes as pointed by MishimaHarunapanikon1-1/+1
2014-01-15Fixed mapserver error when display_status_timers is disabledHaru1-2/+2
- Fixes message "status_type2relevant_bl_types: Unsupported type -1" displayed when the display_status_timers battle flag is disabled. - Corrects return value for status_type2relevant_bl_types in case of unsupported type. - Special thanks to Ind Signed-off-by: Haru <haru@dotalux.com>
2014-01-15Standalone (persistent autotraders) merchants no longer autojoin channels.shennetsind1-0/+2
Signed-off-by: shennetsind <ind@henn.et>