summaryrefslogtreecommitdiff
path: root/src/map/clif.c
AgeCommit message (Collapse)AuthorFilesLines
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>
2014-01-15Fixed Bug 7952shennetsind1-2/+0
Game client is sending it twice, causing authfail to trigger it. I'm dropping the disconnect, given 1) its pretty hard scenario to be faked thanks to the wpe-free update and 2) its such a silly action (hatching an egg) and a countermeasure is already present. http://hercules.ws/board/tracker/issue-7952-pet-hatch-error-2013-12-23-ragexe/ Thanks to ossi0110, Tepoo, themon. Signed-off-by: shennetsind <ind@henn.et>
2014-01-12Changed some void* to the correct data types where applicableHaru1-9/+9
Signed-off-by: Haru <haru@dotalux.com>
2014-01-11Hercules 1st 2014 MegaPatchshennetsind1-1/+1
http://hercules.ws/board/topic/3886-hercules-1st-2014-megapatch/ Signed-off-by: shennetsind <ind@henn.et>
2014-01-09Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-1/+7
2014-01-09Fixed Bug#7826malufett1-0/+6
-http://hercules.ws/board/tracker/issue-7826-card-compound/?gopid=21081#entry21081 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-01-08Fixed Bug#7944malufett1-1/+1
-http://hercules.ws/board/tracker/issue-7944-all-hidecloaking-skills-in-pvpduelwoe/?gopid=21579#entry21579 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-01-08Introducing Hercules Autotrade Persistencyshennetsind1-1/+1
Aka autotrading merchants survive server restarts. Originally sekai's (aka me). Special Thanks to Haruna, Michieru. Signed-off-by: shennetsind <ind@henn.et>
2013-12-24Christmas Patch - 2013-12-23 Supportshennetsind1-47/+177
Info: http://hercules.ws/board/topic/3614-christmas-patch-gifto/ Signed-off-by: shennetsind <ind@henn.et>
2013-12-15Replaced pc->pc_has_permission/can_give_items/can_give_bound_items with ↵shennetsind1-12/+12
equivalent macros Because 2/3 jumps to perform such a operation is just awful Signed-off-by: shennetsind <ind@henn.et>
2013-12-14Replaced pc->get_group_level with a macro (pc_get_group_level)shennetsind1-11/+11
Because 2 jumps to get a single value is just awful. Signed-off-by: shennetsind <ind@henn.et>
2013-12-17Fixed several compiler warningsHaru1-42/+53
- Warnings detected thanks to Xcode's compiler settings (more strict by default) and clang, warnings mostly but not only related to data sizes on 64 bit systems, that were silenced until now by very lax compiler settings. - This also decreases by a great deal the amount of warnings produced by MSVC in x64 mode (for the adventurous ones who tried that) - Also fixed (or silenced in case of false positives) the potential issues pointed out by the (awesome) clang static analyzer. - Patch co-produced with Ind, I'm merging and committing in his place! Signed-off-by: Haru <haru@dotalux.com>
2013-12-10Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-0/+1