summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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!
2017-06-25Add packet 0xa44 for party info. Based on rathena commit:Andrei Karas1-9/+31
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!
2017-06-25Fix style in clif_party_info.Andrei Karas1-15/+16
2017-06-25Add packet 0x0a43 for party member info. Based on rathena commit:Andrei Karas1-11/+25
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!
2017-06-25Fix style in clif_party_member_info.Andrei Karas1-13/+14
2017-06-25Add packet 0x0aa5 for 2016 clients for guild members list. Based on rathena ↵Andrei Karas1-15/+27
commit: commit 9412ebb9f7b009e3ae3b69e5eb1ae8a3d341a5f2 Author: Lemongrass3110 <lemongrass@kstp.at> Date: Sat Jun 3 14:08:06 2017 +0200 Added support for 2016's guild packets Thanks to @mrdiablo for his help.
2017-06-25Fix style in function clif_guild_memberlist.Andrei Karas1-20/+20
2017-06-25Add packet 0x0a84 for guild basic info. Based on rathena commit:Andrei Karas1-4/+15
commit 9412ebb9f7b009e3ae3b69e5eb1ae8a3d341a5f2 Author: Lemongrass3110 <lemongrass@kstp.at> Date: Sat Jun 3 14:08:06 2017 +0200 Added support for 2016's guild packets Thanks to @mrdiablo for his help.
2017-06-25Fix style in function clif_guild_basicinfo.Andrei Karas1-24/+25
2017-06-25Fix vending list packet for 2016 clients. Based on rathena commit:Andrei Karas3-2/+40
commit 9716233c842f731df3fed5281370e324b5f5f024 Author: Lemongrass3110 <lemongrass@kstp.at> Date: Mon May 8 23:40:05 2017 +0200 Introducing the equip preview window Fixes some bugs for 2016-09-21 onward, where you can preview how a item would like if you put it on. This works on other people's vending and on your own inventory. Thanks to @Rytech2 and @hazimjauhari90
2017-06-25Add packet 0x0a37 ZC_ITEM_PICKUP_ACK_V7 based on rathena commit:Andrei Karas2-2/+14
commit 9716233c842f731df3fed5281370e324b5f5f024 Author: Lemongrass3110 <lemongrass@kstp.at> Date: Mon May 8 23:40:05 2017 +0200 Introducing the equip preview window Fixes some bugs for 2016-09-21 onward, where you can preview how a item would like if you put it on. This works on other people's vending and on your own inventory. Thanks to @Rytech2 and @hazimjauhari90
2017-06-25HPM Hooks UpdateHercules.ws4-0/+80
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-06-25Merge pull request #1786 from mekolat/alive2Haru3-16/+55
Make the recovery() command more versatile
2017-06-24update documentation for recovery()gumi1-2/+5
2017-06-24make buildin_recovery more versatilegumi2-14/+50
2017-06-24Merge pull request #1765 from mekolat/swap2Haru1-4/+7
fix for #1761