summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-08-11Fix various issues detected by coverity in rodex-related codeHaru3-7/+7
Follow-up to 544da439e81ff78ec102b754e16b6cc0a28a6d0a Signed-off-by: Haru <haru@dotalux.com>
2017-08-11Merge pull request #1818 from 4144/fixesHaru2-1/+4
fix different issues in libconfig and hercules
2017-08-10Fix possible overflow in npc_parsename.Andrei Karas1-1/+1
2017-08-10Fix implicit-fallthrough warnings in libconfig.cAndrei Karas1-0/+3
2017-08-09Merge pull request #1816 from 4144/travisHaru4-3/+55
Add into travis check for hpm update
2017-08-08Disable warning -Wdiscarded-qualifiers in hpm code for now.Andrei Karas2-0/+13
2017-08-08Check in travis if regenerated hpm code can be compiled.Andrei Karas2-3/+42
Also reduce number of packets to install in travis.
2017-08-08Fix hpm issues after rodex commit.Andrei Karas6-13/+13
2017-08-08HPM Hooks UpdateHercules.ws11-0/+2328
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-08-08Merge pull request #1686 from guilherme-gm/rodex_Haru48-25/+2877
Implementation of RoDEX
2017-08-07Update Airship Quests (#1614)Asheraf1-2480/+2947
* Update airship quest * airship quest coding style fixes
2017-07-30Implementation of RoDEXKirieZ48-25/+2877
2017-07-27HPM Hooks UpdateHercules.ws4-0/+270
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-07-27Merge pull request #1811 from 4144/refactorHaru12-647/+792
Refactor status_change_start and fix some issues in other code
2017-07-27Add configure flag for silent warnings about var tracking errors.Andrei Karas1-0/+2
2017-07-27Fix possible buffer overflows with snprintf.Andrei Karas10-16/+16
2017-07-27Move handling unknown sc code from status_change_start into separate function.Andrei Karas2-3/+14
2017-07-27Move adding icon code from status_change_start into separate function.Andrei Karas2-12/+21
2017-07-27Move getting val_flag based on type from status_change_start into separate ↵Andrei Karas2-128/+143
function.
2017-07-27Move set options from status_change_start into separate function.Andrei Karas2-164/+189
2017-07-27Move code for stop actions into separate function from status_change_start.Andrei Karas2-64/+80
2017-07-27Move from status_change_start code for end previous sc to separate function.Andrei Karas2-255/+285
2017-07-27Move some immune/resists checks from status_change_start into separate ↵Andrei Karas2-120/+157
functions.
2017-07-25Merge pull request #1809 from mekolat/env-bashHaru4-4/+4
use /usr/bin/env bash in tools
2017-07-17use /usr/bin/env bash in toolsThibault Payet4-4/+4
2017-07-17Merge pull request #1760 from Smokexyz/memitemtosql-fixHaru7-233/+285
Optimisation of char_memitemdata_to_sql()
2017-07-12Merge pull request #1790 from mekolat/channel2Haru1-3/+5
Allow to use channelmes without attached player
2017-07-11merge meko/set-sd2gumi1-4/+5
2017-07-11HPM Hooks UpdateHercules.ws2-8/+8
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-07-11Merge pull request #1593 from guilherme-gm/script-setquestHaru6-15/+150
Closes #1593 as merged
2017-07-11Added getcalendartime script commandKirieZ4-0/+128
Signed-off-by: Haru <haru@dotalux.com>
2017-07-11Added time limit parameter to setquestKirieZ4-15/+22
Signed-off-by: Haru <haru@dotalux.com>
2017-07-11Constants Documentation SyncHercules.ws1-0/+10
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-07-11Merge pull request #1788 from mekolat/type2Haru3-2/+109
new buildin: getdatatype()
2017-07-11Add tests for getdatatypeHaru1-2/+21
Signed-off-by: Haru <haru@dotalux.com>
2017-07-11Removed 'NO MSG' message in clients < 20101123. Follow up ↵Jedzkie1-2/+1
https://github.com/HerculesWS/Hercules/commit/60f9a68f90d495323e9e4533c7a1573ca5d86e71
2017-07-10fix setting pc var on another pcgumi1-4/+5
2017-07-05Update HPM Hooking (Follow up 7a2447204644b53e64a730c9c8428cc5b33f5aa2)Smokexyz4-8/+42
2017-07-05Optimisation of char_memitemdata_to_sql()smokexyz3-225/+243
Implements the storage saving algorithm for inventory, cart and guild storage tables. Total queries to a table in any call would be no more than 4 per call, replacing the original algorithm that could make a lot more through single update queries per call. This significantly reduces the run time speed for saving/loading of item data from the game server.
2017-07-04Merge pull request #1773 from dastgir/bug/item-optionssmokexyz3-34/+44
Item option fixes
2017-07-04Merge pull request #1780 from dastgir/bug/battle_configsmokexyz1-3/+1
fixes reading battle.conf multiple times
2017-07-04Merge pull request #1782 from dastgir/bug/sellitemsmokexyz1-0/+11
Fixes crash with sell shop.
2017-06-29Fix compatibility with MariaDB 10.2Haru1-1/+4
This removes a direct access to a member of the `MYSQL` object and replaces it with the proper accessor for forward/backward compatibility. Signed-off-by: Haru <haru@dotalux.com>
2017-06-28HPM Hooks UpdateHercules.ws4-15/+49
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-06-28Fix a compile error on ARM (Raspberry Pi 3)Haru2-9/+19
According to the C specifications, va_list isn't necessarily a pointer (it can be an array of pointers, or just about anything). As such, we can't cast NULL to va_list. Fixes #1793 Related to 5fd40de233d3a897284f771338cbf8e657182261 Signed-off-by: Haru <haru@dotalux.com>
2017-06-25Merge pull request #1785 from 4144/packetsupdateHaru13-105/+384
Add and update some existing packets for 2016-2017 clients
2017-06-25Adjust packet version based on client tests.Andrei Karas1-7/+7
Thanks to Asheraf.
2017-06-25Update HPM hooks.Andrei Karas4-8/+108
2017-06-25fix guild leader change in 2017 clients. Based on rathena commit:Andrei Karas5-14/+31
commit b51617cb730cdc6d91bc03df16c887a060323f3a Author: Lemongrass3110 <lemongrass@kstp.at> Date: Sat Jun 3 17:03:56 2017 +0200 Added support for 2017's guild leader change
2017-06-25Add packet 0xabd for send job and base levels to party members.Andrei Karas4-7/+57
Also improve packets send on base level change. Based on commit from rathena: commit 816d8ab2d0934f823a1d26f7fcac244f8245f14b Author: Lemongrass3110 <lemongrass@kstp.at> Date: Mon Jun 5 23:07:09 2017 +0200 Fixed party window for 2017 clients Thanks to @mrdiablo for his help again!