summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-08-17Remove separate cardfix definition for pre-re/reHaru1-32/+3
Cardfix is now always calculated in thousandths (it previously was in hundredths in renewal mode only). The variable size is increased to int (from short), to ensure that no overflows occur in case of large multipliers. This doesn't change the game mechanics (barring some minor truncation issues that would previously occur due to the lack of precision in renewal) Signed-off-by: Haru <haru@dotalux.com>
2017-08-16Update travis for ubuntu trustygumi2-13/+39
2017-08-15Merge pull request #1817 from 4144/reducememoryusageHaru1-1/+1
Save near 200 places in arrays with size SC_MAX.
2017-08-13Save near 200 places in arrays with size SC_MAX.Andrei Karas1-1/+1
SC_X conatants can be with any numbers.
2017-08-13Merge pull request #1819 from 4144/rodexfixesHaru1-5/+6
Fix some wrong packet versions in rodex code.
2017-08-13Reported rodex bug fixes.Andrei Karas1-1/+2
2017-08-11Fix some wrong packet versions in rodex code.Andrei Karas1-4/+4
Also replace some numbers to constants.
2017-08-11Whitespace fixesHaru3-9/+9
Signed-off-by: Haru <haru@dotalux.com>
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.