summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-03-16Increase Character Slots from 9 to 12Jedzkie1-1/+9
- kRO Mains recently increased their character slots from 11 to 12.
2017-03-12Merge pull request #1610 from mekolat/timer2Haru1-17/+37
allow the PC timer buildins to run on another player
2017-03-12Minor optimizations for the warpguild implementationHaru1-12/+13
Follow-up to ebb77e29f343531b508f8c37b32826afbb5f240d Signed-off-by: Haru <haru@dotalux.com>
2017-03-12Merge pull request #1496 from Emistry/scriptcommand_warpguildHaru1-28/+33
Updated *warpguild() script command.
2017-03-11Remove a duplicate comment lineHaru1-1/+0
- follow-up to 0f5fdca8945ec3afd5ba2e67a9d414f1ef5565c3 Signed-off-by: Haru <haru@dotalux.com>
2017-03-10Merge pull request #1509 from 4144/fixwarnsmokexyz1-4/+5
Fix assert in unit_resume_running.
2017-03-05allow to use addtimercount on another playergumi1-2/+6
2017-03-05fix code style in buildin_addtimercountgumi1-4/+5
2017-03-05allow to use deltimer on another playergumi1-2/+6
2017-03-05fix code style in buildin_deltimergumi1-2/+3
2017-03-05allow to use addtimer on another playergumi1-2/+6
2017-03-05make addtimer return success or failuregumi1-2/+6
2017-03-05fix code style in buildin_addtimergumi1-4/+6
2017-03-05Merge pull request #1589 from mekolat/strinfo2Haru1-58/+77
allow strcharinfo() and strnpcinfo() to take a GID
2017-03-05Update *warpguild() script command.Emistry Haoyan1-28/+33
- Added optional parameter to warp member from target map. - Update to loop guild member using `g->member[]` data.
2017-03-04Merge pull request #1530 from guilherme-gm/party-leader-leaveHaru2-23/+53
Changed behavior when party leader leaves
2017-02-26add getvariableofpc() buildingumi1-2/+51
2017-02-26allow character and account variables to reference another registrygumi1-15/+59
2017-02-26fix code style in set_reggumi1-19/+32
2017-02-26fix indentation in set_reggumi1-44/+44
2017-02-26fix code style in script_array_srcgumi1-5/+6
2017-02-26fix indentation in script_array_srcgumi1-22/+22
2017-02-26fix code style in get_valgumi1-17/+22
2017-02-26fix indentation in get_valgumi1-52/+52
2017-02-26Revert "allow to get vars of other players with getd"gumi1-210/+96
This reverts commit eb5fc0076764d2f604e6a484fe144988f6e9da9b.
2017-02-26Merge pull request #1586 from mekolat/getd2Ridley1-96/+210
Allow getd to get vars if other players
2017-02-26Added option to show classchange only to one player (#1587)Guilherme G. M6-20/+35
* Added option to show classchange only to one player
2017-02-25allow strcharinfo() and strnpcinfo() to take a GIDgumi1-58/+77
2017-02-25allow to get vars of other players with getdgumi1-96/+210
2017-02-25add chr() and ord() buildinsgumi1-1/+26
2017-02-24Merge pull request #1585 from guilherme-gm/disguise-fixRidley1-0/+12
Fixes disguise position de-synchronization
2017-02-24Merge pull request #1567 from guilherme-gm/fix-nameditemRidley2-2/+19
Fixes named items having their names changed when near other players
2017-02-21Fixes disguise position de-synchronization (Fixes #1078)KirieZ1-0/+12
Thanks @Lemongrass3110
2017-02-19Merge pull request #1457 from Ridley8819/unitIbrahem Hossam1-1/+1
Fixes Range Exploit
2017-02-12Follow-up 946b7f8490e952fbd90c6760f256ddfdd1e98137KirieZ2-29/+44
2017-02-06Fixes named items having their names changed when near other players/name's ↵KirieZ2-2/+19
owner. Fixes #1206
2017-01-27remove hardcoded chat area size from clif.c, add chat_area_size to battleconfgumi4-2/+5
2017-01-22Fix CMDLINE_OPT_PARAM arguments in plugins failing to loadHaru1-0/+2
When the server is called with a plugin-defined argument expecting additional values, in the form '--foo bar', the parser is unable to skip the additional value until the plugin is fully loaded. The issue was caused by the first scans of the argument list to find CMDLINE_OPT_PREINIT or CMDLINE_OPT_SILENT arguments, which happen before plugins are loaded, and would cause the parser to choke on the additional values, interpreting them as separate arguments. This is related to PR #1552, where we attempted to use this option for the first time. Signed-off-by: Haru <haru@dotalux.com>
2017-01-14HPM Hooks Updatehemagx4-20/+20
Signed-off-by: hemagx <ibrahem.h.basyone@gmail.com>
2017-01-14Fix assert in unit_resume_running.Andrei Karas1-4/+5
Fix issue from http://herc.ws/board/topic/13719-map-error-need-help-here/
2017-01-10Update md5 calculation to be able to hash a binary buffer instead of only ↵hemagx2-18/+16
strings Signed-off-by: hemagx <ibrahem.h.basyone@gmail.com>
2017-01-02HPM Hooks UpdateHercules.ws15-15/+15
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-12-23Follow-up 19c07f4KirieZ2-4/+4
2016-12-20Follow-up ea449a7, fixed coding-styleKirieZ2-13/+10
2016-12-18Changed behavior when party leader leaves it from party being disbanded to ↵KirieZ2-18/+36
leader being changed to the second user. Closes #1107
2016-12-03HPM Hooks UpdateHaru5-124/+158
Signed-off-by: Haru <haru@dotalux.com>
2016-12-03Remove the platform-dependent variables from struct status_dataHaru11-60/+61
`struct status_data::class_` was platform dependent since c30bb75ec50624429bff7b4106db4be0fda366d6 in order to silence some compile warnings (uint32 on 64 bit builds and uint16 on 32 bit builds). It's now been changed to the correct type, int32, on all platforms. Since the change has potential to silently break third party code, the variable was renamed to `class`. Signed-off-by: Haru <haru@dotalux.com>
2016-12-03Add function to retrieve the appropriate fame list type for a job mapidHaru5-31/+38
This commit adds the function `pc->famelist_type()` to retrieve the appropriate fame list for a given job (common operation). When the given job ID doesn't have an appropriate fame list, the newly introduced value RANKTYPE_UNKNOWN is returned. Signed-off-by: Haru <haru@dotalux.com>
2016-12-03Change the argument to pc->famerank() to a rank type (instead of job mapid)Haru4-22/+42
For consistency with `pc->addfame()`, the argument to pc->famerank() is now an enum fame_list_type. The function was renamed to `pc->fame_rank()` to avoid silently compiling old non-compliant code. Signed-off-by: Haru <haru@dotalux.com>
2016-12-03Ensure that pc->addfame() increments the correct fame pointsHaru5-38/+56
The function now takes the rank type as argument, rather than guessing it from the character's class. If the wrong fame point type for the current character is requested, the request is ignored. This fixes some (unofficial) edge cases where a Taekwon or an Alchemist refined a signed item, they could obtain rank points. Signed-off-by: Haru <haru@dotalux.com>