summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-08-31npctalk support extra npc name parameter.Emistry2-3/+12
The command will display the message on the NPC that name specified in the parameter. Useful in quest script that required a lot of different NPC to talk at the same time. Especially instances script.
2015-08-31Updated doc/script_commands.txtEmistry1-4/+7
isequipped() and isequippedcnt() support not only card id, but also support any item id.
2015-08-30Follow up@2b4b33b06a964e83bf5df9f7f0b795ddf76f9dd0malufett1-0/+1
- missing sql upgrade index. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-08-27HPM Hooks UpdateHercules.ws4-0/+32
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-08-27Merge pull request #674 from HerculesWS/hotkeyDastgir8-20/+50
Hotkey Rotate Packet Implemented
2015-08-27Hotkey Rotate Packet ImplementedDastgir8-20/+50
2015-08-27Fixes Unidentified items bug in client >= 20150226Dastgir2-12/+12
2015-08-27Added an availability check for the -rdynamic linker optionHaru2-5/+61
- Fixes an issue preventing to compile on non-ELF systems (i.e. OS X) using recent gcc versions (such as 5.2) that are unable to filter out this option where it's not needed. - Thanks to Smokexyz for reporting the issue. Signed-off-by: Haru <haru@dotalux.com>
2015-08-26Fixed a faulty usage of sg->unit in land skill codeHaru2-42/+52
- Changed sg->unit and sg->unit_count into an explicit vector struct, to enforce the correct access. - Related: rathena/rathena#583 Signed-off-by: Haru <haru@dotalux.com>
2015-08-26Fix buffer overflow in @set command. Closes #667Andrei Karas1-1/+1
2015-08-26fix travis.sh from previous commit.Andrei Karas1-1/+1
2015-08-26Show errors in travis tests after server crashed or terminated with non zero ↵Andrei Karas1-1/+6
exit code.
2015-08-26FollowUp 509df4d7, fixes a typoDastgir1-1/+1
2015-08-23Merge pull request #658 from 4144/fixcrashHaruna1-0/+1
Fix server crash with some ground skills or traps. Closes #615.
2015-08-23Fix server crash with some ground skills or traps. Closes #615.Andrei Karas1-0/+1
2015-08-19Fixed an issue preventing the VS2015 projects to compile in Release modeHaru4-4/+0
Signed-off-by: Haru <haru@dotalux.com>
2015-08-18Fixed a qiget/qicheck crash in queue iteratorsHaru1-2/+2
- Fixes #652 - Follow-up to 918b1123963ac2f91a4d074b092ceef1db71b4e8 - Thanks to Dastgir, Andrei Karas Signed-off-by: Haru <haru@dotalux.com>
2015-08-18Detect other sanitizer run time errors.Andrei Karas1-1/+9
2015-08-17Added sanitizer (gcc-5) to the travis build scriptHaru1-6/+28
- Made possible thanks to Andrei Karas Signed-off-by: Haru <haru@dotalux.com>
2015-08-17Switched to the new, faster, travis build environmentHaru1-0/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-08-17Merge pull request #654 from 4144/memfixesHaruna3-8/+45
Different memory corruption fixes
2015-08-17Fix wrong index access and probably wrong hp/sp calculation. Closes #653Andrei Karas2-7/+43
2015-08-17Dont call memset with null pointer.Andrei Karas1-1/+2
2015-08-17Fixed a minor issue in the Hercules startup bannerHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-08-17Updated Xcode project to reflect the recent changesHaru1-3/+225
Signed-off-by: Haru <haru@dotalux.com>
2015-08-17Removed some useless variables reported by the Clang static analyzerHaru1-14/+8
Signed-off-by: Haru <haru@dotalux.com>
2015-08-17Corrected a warp destination typo in The Sign questHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-08-17HPM Hooks UpdateHercules.ws4-0/+32
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-08-17Merge pull request #619 from dastgir/2015-3ceamHaruna4-81/+188
New EquipPackets Support
2015-08-16New EquipPackets SupportDastgir4-81/+188
2015-08-15Merge pull request #643 from HerculesWS/hpmfixes_v2Andrei Karas173-1853/+24905
HPM Compatibility Improvements
2015-08-15HPM Hooks UpdateHaru1-2/+5
2015-08-15Automatic HPM symbol sharingHaru10-119/+11
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Removed some unnecessary shared symbols, already present in interfacesHaru4-272/+278
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Moved sql_handle into the HPMi interfaceHaru7-12/+5
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15HPM Hooks UpdateHaru14-0/+112
2015-08-15Added core HPM interfaceHaru15-83/+73
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15HPM Hooks UpdateHaru1-1/+1
2015-08-15Enabled HPMDataCheck for login and char serversHaru4-19/+10
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15HPM Hooks UpdateHaru5-121/+448
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15HPM compatibility improvementsHaru152-469/+573
Improved compatibility, portability and standards conformance. - Since it is not possible to portably and reliably re-use the core's symbols in plugins, symbols are no longer exported unless explicitly required, in the UNIX builds. This mimics the Windows behavior and adds HPM compatibility to OSes such as FreeBSD. Credits to Andrei Karas for making this possible. - For convenience, it is no longer necessary to call GET_SYMBOL, since the plugin will automatically import all the available symbols when it's loaded, depending on the included headers. - Plugins are now supposed to include the "common/hercules.h" header before including anything else. Incluing common/HPMi.h, common/cbasetypes.h or conf/core.h is no longer necessary, as those are guaranteed to be automatically included by hercules.h. - HPM API version bumped to 1.1. Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Moved session array into the socket interfaceHaru12-214/+210
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15HPM Hooks UpdateHaru15-0/+22728
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Added HPMHooking support for common interfacesHaru3-5/+60
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Minor symbols cleanup to avoid conflictsHaru4-45/+45
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Added showmsg HPM interfaceHaru11-121/+173
- The showmsg interface is automatically imported into plugins by the HPM (just like previously, the various Show* functions were). This change requires no actions from plugin developers. - stdout_with_ansisequence is now available through showmsg->stdout_with_ansisequence - msg_silent is now available through showmsg->silent - console_msg_log is now available through showmsg->console_log - timestamp_format is now available through showmsg->timestamp_format - Plugin-safe macros are provided, so that all Show* and Clear* calls will require no changes. - vShowMessage is provided through the public API, as va_list variant of ShowMessage. - vShowMessage_ is no longer part of the public API. If necessary, va_list variants of the other Show* functions will be added at a later time as follow-ups. Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Cleaned up strlib interfaceHaru2-120/+73
- Replaced some macro calls with the proper interface syntax - Removed useless macros and workarounds - Removed no longer needed library function re-definitions API changes summary: - The macros remove_control_chars(), trim(), normalize_name(), stristr(), e_mail_check(), config_switch(), safestrncpy(), safestrnlen(), safesnprintf(), strline(), bin2hex() can now be safely used both inside and outside strlib.c - The macros strnlen() and strtok_r() can now be safely used both inside and outside strlib.c, on the systems where they are necessary. The systems that provide those natively, aren't affected by this change. - jstrescape() is now strlib->jstrescape() - jstrescapecpy() is now strlib->jstrescapecpy() - jmemescapecpy() is now strlib->jmemescapecpy() - a custom strtoull() implementation is no longer provided, since all supported systems and compilers provide a library implementation. Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Cleaned up socket interfaceHaru16-210/+190
- Replaced some macro calls with the proper interface syntax - Removed useless macros and workarounds API changes summary: - WFIFOSET() can now be safely used both inside and outside socket.c - RFIFOSKIP() can now be safely used both inside and outside socket.c - do_close() is now sockt->close() - flush_fifo() is now sockt->flush() - flush_fifos() is now sockt->flush_fifos() - getips() is now sockt->getips() - host2ip() is now sockt->host2ip() - ip2str() is now sockt->ip2str() - ntows() is now sockt->ntows() - make_connection() is now sockt->make_connection() - make_listen_bind() is now sockt->make_listen_bind() - realloc_fifo() is now sockt->realloc_fifo() - realloc_writefifo() is now sockt->realloc_writefifo() - session_isActive() is now sockt->session_is_active() - session_isValid() is now sockt->session_is_valid() - set_defaultparse() is now sockt->set_defaultparse() - set_eof() is now sockt->eof() - set_noblocking() is now sockt->set_noblocking() - str2ip() is now sockt->str2ip() Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Improved plugin compile flag detection by the configuration scriptHaru2-140/+10
- This fixes plugin compilation on FreeBSD and Debian failing due to a missing -fPIC, in combination with some upcoming changes. Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Merge pull request #645 from 4144/ltoHaruna2-4/+4
Disable LTO by default. Because look like support for it broken in gc…