summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-10-05CRI should only be calculated if flag have SCB_CRI.Dastgir Pojee1-4/+6
Fixes #1442
2016-09-30Add different fixes for gcc 7 warnings.Andrei Karas16-20/+128
Some possible buffer overflows. Add attribute for mark fallthrough cases. Skipped libconfig warnings.
2016-09-27Save also quest time while updating quest in db.Andrei Karas1-1/+1
2016-09-27In clif_devotion dont read skill range if player not have this skill.Andrei Karas1-2/+12
2016-09-22Fixed a compile error when SEND_SHORTLIST is disabledHaru1-5/+4
- Since f8edb93a (likely caused by a find and replace macro gone horribly wrong) Signed-off-by: Haru <haru@dotalux.com>
2016-09-21Fixed a wrong check in the SA_FREECAST handling codeHaru1-2/+2
- Don't skip the check for Free Cast's absence unless the cast skill's INF2_FREE_CAST_* flags aren't unset. - Follow-up to 19a06cae9a03ae7c390db18ca95b74bd6033dc4e - Fixes #1439 Signed-off-by: Haru <haru@dotalux.com>
2016-09-19Add missing checks into vending.cAndrei Karas1-10/+25
2016-09-19Add missing checks into unit.cAndrei Karas1-31/+69
2016-09-19Add missing checks into trade.cAndrei Karas1-5/+19
2016-09-19Add missing checks into storage.cAndrei Karas1-14/+39
2016-09-19Add missing checks into status.cAndrei Karas1-90/+239
2016-09-19Add missing checks into skill.cAndrei Karas1-114/+341
2016-09-18Removed special handling of "clear" in npc->addsrcfile()Haru2-11/+9
- Use npc->clearsrcfile() instead. Signed-off-by: Haru <haru@dotalux.com>
2016-09-18Removed special handling of "all" by npc->delsrcfile()Haru1-12/+9
- Use npc->clearsrcfile() instead. Signed-off-by: Haru <haru@dotalux.com>
2016-09-18Restored handling of "all" in npc_removed_listHaru1-4/+8
- The feature was missing/incomplete since the conversion to libconfig - Fixes #1425 Signed-off-by: Haru <haru@dotalux.com>
2016-09-18Corrected some issues in the npc_removed_list and map_removed processingHaru1-4/+4
- Removed the unnecessary DB_OPT_RELEASE_KEY flag (we don't want to release the original key, but only the duplicate one, which is already managed by DB_OPT_DUP_KEY) - Added DB_OPT_NULL_DATA to the npc_removed_list DBMap (follow-up to 4aa5286, related #1430) Signed-off-by: Haru <haru@dotalux.com>
2016-09-14Merge pull request #1429 from 4144/packetsfixHaru1-2/+37
Dont send packets with size 0
2016-09-13Corrected a wrong check that allowed walking while casting guild skillsHaru1-3/+11
- The check was originally meant to have guild skills ignore SA_FREECAST (and always block movements) - Since 8953417 - Fixes #1428 Signed-off-by: Haru <haru@dotalux.com>
2016-09-13Fixed an error in the scripts_removed.conf processingHaru1-1/+1
- Fixes #1425, fixes #1430 Signed-off-by: Haru <haru@dotalux.com>
2016-09-13Fixed a possile buffer overrun when MAX_SKILL_LEVEL is changedHaru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-09-12Use fixed size for packet 0x25d, because it used size from other packet.Andrei Karas1-2/+2
2016-09-12Add missing packet version checks in clif.cAndrei Karas1-0/+35
Because packet sizes defined not for all packets, usage packets with size zero is mistake.
2016-09-12Send correct homunculus rename flag to client. (Fixes #1424)Andrei Karas1-1/+1
2016-09-12Update HPM hooks.Andrei Karas4-16/+49
2016-09-12Add packet id clif_bg_hp (0xa0e)Andrei Karas2-10/+32
Based on rAthena commit: commit ba184ab9a2a932b6ce2eba279fdc379b50b430a5 Author: Napster <arokaice@live.com> Date: Fri Dec 18 23:00:53 2015 +0700
2016-09-12Add script command navigateto. Add packet for this command.Andrei Karas4-0/+109
Based on rAthena commits: commit 4f13007fec7f08c265620a71c3bc4806d186c0f1 Author: Lemongrass3110 <lemongrass@kstp.at> Date: Sun Mar 6 21:48:47 2016 +0100 commit 809f220b9f5ef70ee062ee56ae6e8d5f56cb5d32 Author: aleos89 <aleos89@users.noreply.github.com> Date: Sun Mar 6 16:15:54 2016 -0500 commit 179f73424934d528ebe494dfb66503c182eacb09 Author: aleos89 <aleos89@users.noreply.github.com> Date: Sun Mar 6 16:10:15 2016 -0500
2016-09-12Add packet id clif_buyingstore_update_item (0x9e6 / ↵Andrei Karas4-9/+23
ZC_UPDATE_ITEM_FROM_BUYING_STORE2) Based on rAthena commit: commit 01adc9c3ff3c1c6f0f69f6f9f2db77eba20071d4 Author: Napster <arokaice@live.com> Date: Mon Dec 21 20:05:29 2015 +0700
2016-09-12Add packet id clif_vendingreport (0x9e5 / ZC_DELETEITEM_FROM_MCSTORE2)Andrei Karas4-10/+23
Based on rAthena commit: commit 01adc9c3ff3c1c6f0f69f6f9f2db77eba20071d4 Author: Napster <arokaice@live.com> Date: Mon Dec 21 20:05:29 2015 +0700
2016-09-12Add packet id clif_hominfo (0x9f7 / ZC_PROPERTY_HOMUN_2)Andrei Karas2-34/+54
Based on 3CeaM commit: commit 296480b6b4687c8f0faf698eae38f0e775bf5f6e Author: Rytech16 <Rytech16@cad27aaa-dce3-4a30-a00a-e4fd67c11881> Date: Sun Apr 19 03:24:41 2015 +0000 git-svn-id: svn://svn.code.sf.net/p/v1-3ceam/code/trunk@757 cad27aaa-dce3-4a30-a00a-e4fd67c11881 Note: selected very new packet version for this id, because other servers have inconsistent data.
2016-09-12Add packet id clif_heal for 20150513 (0x0a27 / ZC_RECOVERY2)Andrei Karas2-6/+18
Based on 3CeaM commit: commit f89805da42c792aa9bf4274eb5a30756c06fece7 Author: rytech16 <rytech16@cad27aaa-dce3-4a30-a00a-e4fd67c11881> Date: Sat Apr 23 13:16:49 2016 +0000 git-svn-id: svn://svn.code.sf.net/p/v1-3ceam/code/trunk@805 cad27aaa-dce3-4a30-a00a-e4fd67c11881
2016-09-12Add packet id clif_skill_nodamage for 20131223 (0x9c7 / ZC_USE_SKILL2)Andrei Karas2-16/+30
Based on 3CeaM commit: commit f89805da42c792aa9bf4274eb5a30756c06fece7 Author: rytech16 <rytech16@cad27aaa-dce3-4a30-a00a-e4fd67c11881> Date: Sat Apr 23 13:16:49 2016 +0000 git-svn-id: svn://svn.code.sf.net/p/v1-3ceam/code/trunk@805 cad27aaa-dce3-4a30-a00a-e4fd67c11881
2016-09-11Allow sell items to market shop.Andrei Karas1-1/+1
2016-09-11Fixes skills targeting characters under camouflage statuscsnv1-1/+1
Fixes #571
2016-09-11Clarified/rewritten part of script_array_ensure_zero()Haru1-9/+12
- There exists a case where st is NULL, such as when called by script->cleararray_pc(). This documents such possibility. - Fixes Coverity CID 152760 - Follow-up to 0f803e7 Signed-off-by: Haru <haru@dotalux.com>
2016-09-11Changed GD_MAX check to be non-inclusiveHaru1-1/+1
- GD_MAX is not a valid guild skill ID - Fixes Coverity CID 152761 - Follow-up to 0f803e7 Signed-off-by: Haru <haru@dotalux.com>
2016-09-10Adds official behavior when selling to NPCs. Fixes issue #1214KirieZ1-1/+7
2016-09-10Add missing checks into searchstore.cAndrei Karas1-25/+42
2016-09-10Add missing checks into script.cAndrei Karas1-60/+208
2016-09-10Add missing checks into quest.cAndrei Karas1-0/+9
2016-09-10Add missing checks into pet.cAndrei Karas1-3/+23
2016-09-10Add missing checks into pc_groups.cAndrei Karas1-0/+7
2016-09-09Update HPM hooks.Andrei Karas4-0/+102
2016-09-03Add some missing functions in skill.c into interface.Andrei Karas2-6/+12
2016-08-25Swap calls to send info about solt item to seller and actual item deletion ↵Andrei Karas1-1/+1
from cart.
2016-08-22HPM Hooks UpdateHercules.ws4-0/+34
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-08-22Corrected an issue that prevented the map server's database port from being ↵Haru1-1/+1
changed Signed-off-by: Haru <haru@dotalux.com>
2016-08-22Corrected an issue that caused the setting inter_configuration/log/log_inter ↵Haru2-1/+33
to be ignored Signed-off-by: Haru <haru@dotalux.com>
2016-08-22Corrected an issue that caused the setting ↵Haru1-1/+6
char_configuration/permission/display_new to be ignored Fixes #1407 Signed-off-by: Haru <haru@dotalux.com>
2016-08-22Temporary quick-fix for a warning in the linux buildsHaru1-1/+1
- libconfig uses 'long long' for its 64 bit lookup/set/get functions, rather than a well-defined size integer (such as int64_t). GCC doesn't like the use of an int64_t* where a long long* is required, especially on linux x86_64, where int64_t is typedeffed as long int - In future, the function signature will be changed, so we can use int64 normally. Signed-off-by: Haru <haru@dotalux.com>
2016-08-21Corrected some issues reported by coverityHaru1-4/+7
- Incorrect sizeof expression in char_config_set_ip() - Invalid comparison (when MAX_ZENY == MAX_INT) in char_config_read_player_new() Signed-off-by: Haru <haru@dotalux.com>