summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-08-13Added atcommand configEmistry3-2/+11
Based on @Lemongrass3110's commit https://github.com/rathena/rathena/commit/9157318ee9939728b8d332a5668c13d4ad0a6f8b: Added a configuration to enable the atcommands baselevel and joblevel to trigger their respective npc events. This will help you guys with testing your custom scripts that are listening to OnPCBaseLvUpEvent or OnPCJobLvUpEvent. For safety reasons we only trigger the events on level increase.
2016-08-10Enable @b/joblvl trigger OnPCLvUpEventEmistry1-0/+3
- OnPCBaseLvUpEvent - OnPCJobLvUpEvent
2016-07-31Clean up hercules.ws leftovershemagx1-1/+1
Closes #1379
2016-07-25Added a missing entry into messages.conf and added some comments where ↵epuncker10-68/+58
missing, ref #1282
2016-07-19Add skill atributes for allow moving while casting skill.Andrei Karas5-32/+58
New SkillInfo attributes: FreeCastReduced - allow move while casting with slowdown FreeCastNormal - allow move while casting with normal speed
2016-07-17If build bot enabled, show error message in ShowConfigWarning.Andrei Karas1-0/+4
2016-07-17Improve a bit performance in bl_getall_area.Andrei Karas1-27/+73
2016-07-17Removed Leftover of skill_db.txtDastgir1-7/+0
2016-07-14HPM Hooks UpdateHercules.ws2-53/+53
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-14Merge pull request #1361 from HerculesWS/coverity-fixesAndrei Karas14-166/+138
Fixed various issues reported by coverity
2016-07-14Fixes warp facing direction.KirieZ4-1/+11
Fixes #1240 Closes #1353 as merged
2016-07-14Changed mmo_charstatus::status_point and mmo_charstatus::skill_point to intHaru4-48/+25
Fixes several -Wsign-compare issues Signed-off-by: Haru <haru@dotalux.com>
2016-07-14Changed chat_data::minLvl and chat_data::maxLvl to int and renamed to ↵Haru3-14/+14
min_level and max_level Fixes several -Wsign-compare issues Signed-off-by: Haru <haru@dotalux.com>
2016-07-14Changed map_session_data::change_level_2nd and ↵Haru3-27/+25
map_session_data::change_level_3rd to int Fixes several -Wsign-compare issues Signed-off-by: Haru <haru@dotalux.com>
2016-07-14Changed mmo_charstatus::base_level and mmo_charstatus::job_level to intHaru10-59/+57
Fixes several -Wsign-compare issues Signed-off-by: Haru <haru@dotalux.com>
2016-07-14Changed various functions to take a const sdHaru2-11/+11
- Affected functions: pc->nextbaseex(), pc->nextjobexp(), pc->thisbaseexp(), pc->thisjobexp(), pc->readparam() - Fixes an accidental '+=' in pc->readparam() due to copy-paste failure, detected thanks to the const enforcement (luckily it had no current ill effects, since the value was 0) Signed-off-by: Haru <haru@dotalux.com>
2016-07-14Changed pc->maxbaselv() and pc->maxjoblv() to return signed int and take ↵Haru3-18/+19
const sd Removes some FIXME (and continues a chain reaction) Fixes some of the many -Wsign-compare warnings Signed-off-by: Haru <haru@dotalux.com>
2016-07-14Fixed Coverity CID 150315: Integer overflowed argumentHaru2-14/+14
Fixes a possible unsigned underflow (and changes the type of some unnecessarily unsigned variables to signed, such as pc->max_level[][]) Signed-off-by: Haru <haru@dotalux.com>
2016-07-14Fixed Coverity CID 150316: Copy into fixed size bufferHaru1-7/+5
Fixes a buffer overflow Signed-off-by: Haru <haru@dotalux.com>
2016-07-13HPM Hooks UpdateHercules.ws4-19/+19
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-14Simplify clif_skillcasting and rename to clif_useskill.Andrei Karas3-5/+6
2016-07-13Add missing includes into HPM.Andrei Karas3-0/+10
2016-07-12HPM Hooks UpdateHercules.ws4-0/+201
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-12Extract some code from battle_calc_damage into battle_calc_pc_damage.Andrei Karas2-24/+36
2016-07-12Add into skill.c some handling for unknown skills/skill units.Andrei Karas4-76/+66
Also improve a bit cast end functions call.
2016-07-12HPM Hooks UpdateHaru7-0/+253
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the grfio interfaceHaru3-189/+332
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Dropped unnecessary typedefs from grfioHaru1-24/+26
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Interface grfio.chemagx7-30/+57
2016-07-12HPM Hooks UpdateHaru15-1/+1089
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the thread interfaceHaru3-117/+136
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Removed unnecessary typedefs from thread and spinlockHaru6-78/+91
- SPIN_LOCK -> struct spin_lock - rAthread -> struct thread_handle - rAthreadProc -> threadFunc - RATHREAD_PRIO -> enum thread_priority - RAT_PRIO_LOW -> THREADPRIO_LOW - RAT_PRIO_NORMAL -> THREADPRIO_NORMAL - RAT_PRIO_HIGH -> THREADPRIO_HIGH - RA_THREADS_MAX -> THREADS_MAX Signed-off-by: Haru <haru@dotalux.com> fixupthread
2016-07-12Corrected some compiler warnings in test_spinlockHaru1-1/+1
2016-07-12Interface thread.chemagx7-141/+176
2016-07-12HPM Hooks UpdateHaru15-0/+800
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the random interfaceHaru2-26/+76
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Interface random.chemagx7-48/+82
2016-07-12HPM Hooks UpdateHaru15-0/+984
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the mutex interfaceHaru2-51/+70
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Removed unnecessary typedefs from mutex.hHaru3-57/+56
- ramutex -> struct mutex_data - racond -> struct cond_data Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Interface mutex.chemagx5-85/+115
2016-07-12HPM Hooks UpdateHaru15-0/+310
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the md5 interfaceHaru2-69/+104
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Interface md5calc.chemagx7-26/+42
2016-07-12HPM Hooks UpdateHaru15-1/+212
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the des interfaceHaru3-82/+108
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Removed unnecessary typedefs from des.hHaru3-25/+31
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Interface des.chemagx5-11/+30
2016-07-11Merge pull request #1352 from 4144/skilldbfixHaru2-27/+35
Some skilldb fixed after conversion
2016-07-12Fix reading skill_db.confAndrei Karas2-27/+35