summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-08-20Re-added HPM support for configuration settingsHaru8-11/+73
Plugin settings should be relative to the the libconfig file root. For example, a configuration setting of type HPCT_CHAR will be relative to the root of conf/char/char-server.conf. In order to add a configuration entry inside the char_configuration block, the full configuration path (slash-delimited) should be passed to addCharConf(), as in the following example: `addCharConf("char_configuration/my_setting", my_parser_function);` Signed-off-by: Haru <haru@dotalux.com>
2016-08-20Added a better error message when a libconfig file is not foundHaru1-0/+5
Previously, it'd say "[Error] (null):0 - file I/O error" Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Added option to make plugin-defined battle config entries optionalHaru4-12/+15
When a setting optional, no warning is issued on the console when said setting is not found in the config Signed-off-by: Haru <haru@dotalux.com>
2016-08-19HPM Hooks UpdateHaru4-18/+52
Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Ported battle.conf to libconfigHaru6-68/+160
Ported to modern Hercules and cleaned up from Panikon's commits: 44fea0b3cdba6901599265220228ba4359b1f96d, 9cba05bc0811e638bbaaa6cff887d0b2c9872560 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Ported socket.conf (was packet.conf) to libconfigHaru4-67/+199
Ported to modern Hercules and cleaned up from Panikon's commits: b10f2a88073882bea812c6278fdec7848102ab87, bc5007299a92898ea4630f2a977d9a1b42b6c145 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Changed access_allow and access_deny to VECTORsHaru1-24/+29
Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Removed unnecessary typedefs in socket.cHaru1-13/+13
Signed-off-by: Haru <haru@dotalux.com>
2016-08-19HPM Hooks UpdateHaru2-9/+9
2016-08-19Ported script.conf to libconfigHaru3-48/+52
Ported to modern Hercules and cleaned up from Panikon's commits: a0e4da63ef3afcd896603398e2468876681ac54a, b5f487c2676833492a6d4044b5d1f1bb1e552b04 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19HPM Hooks UpdateHaru2-9/+9
2016-08-19Ported logs.conf to libconfigHaru3-100/+237
Ported to modern Hercules and cleaned up from Panikon's commits: 2a7c931b9b4e0f9c6e7766cb25701514230ec7e3, f5b1ee3df777ba7e69f1f99abaf0d00b987fc0e3, 6d1f8f50b0e7349bdab2c53bb172d0b036e47c04 Signed-off-by: Haru <haru@dotalux.com>