summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-08-19Ported script.conf to libconfigHaru3-48/+52
Ported to modern Hercules and cleaned up from Panikon's commits: a0e4da63ef3afcd896603398e2468876681ac54a, b5f487c2676833492a6d4044b5d1f1bb1e552b04 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19HPM Hooks UpdateHaru2-9/+9
2016-08-19Ported logs.conf to libconfigHaru3-100/+237
Ported to modern Hercules and cleaned up from Panikon's commits: 2a7c931b9b4e0f9c6e7766cb25701514230ec7e3, f5b1ee3df777ba7e69f1f99abaf0d00b987fc0e3, 6d1f8f50b0e7349bdab2c53bb172d0b036e47c04 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19HPM Hooks UpdateHaru4-21/+22
2016-08-19Ported npc config to libconfigHaru2-36/+83
Ported to modern Hercules and cleaned up from Panikon's commits: ca009582cb22340951aa3e86c044ec1dca05df36, 6d6adf9bab2ba6f4274395018b8def566b880197 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19HPM Hooks UpdateHaru4-39/+5
2016-08-19Improved map list loadingHaru2-64/+46
There's no need to parse the map list twice anymore Signed-off-by: Haru <haru@dotalux.com>
2016-08-19HPM Hooks UpdateHaru2-18/+18
2016-08-19Ported map-server.conf to libconfigHaru2-124/+332
Ported to modern Hercules and cleaned up from Panikon's commits: ee48838b12d15902fc14738cfa46d58b39080d11, 55498ebb7ac5d28444d0b01506c88ef6874f6055, 6d1f8f50b0e7349bdab2c53bb172d0b036e47c04, 25dde7e46524ace330b83cb4bf0255cc4d796792 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19HPM Hooks UpdateHaru2-9/+9
2016-08-19Ported login-server.conf to libconfigHaru8-501/+808
Ported to modern Hercules and cleaned up from Panikon's commits: ceb8a486ac47c2ed9aae4baa1ec39a11f31e9368, c1049123a4ea6ae6f0992ffe766db8aed7435ab5, 6feb097046355610d2288670a569ccc175358580, 9f6e27a96d655f2b4555310786d9d10898754404, 21fa5d24255ba026f96b1dbedf74ac5ef831d3ae, e22a56ad4def8ca22e94d44377a5364b9db1a425, f753a754923140bfec02057c16e6e8429b863d0e, 25dde7e46524ace330b83cb4bf0255cc4d796792 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19HPM Hooks UpdateHaru7-61/+266
2016-08-19Ported inter-server.conf to libconfigHaru10-250/+460
Ported to modern Hercules and cleaned up from Panikon's commits: 40f9ec33868e2240cab013308897898ed252b3e0, a9d646da19e25ab6fcf44dbd1ae7d90c30f6686c, 1aa8581a0aecbfd53e877686c399ffb731dcd75e, 72c645b015ae6130ca7d4309d0fb1413340e7f23, f8c906a0496b9acdae1d8244b1544fa03592061e, 51d88a58983c9552dfd1a0f059e5a031742aed61, 443684b3c77f4c32fe7877a7f8d62debf73b1e93, cf93eafef1f322cd1583226272b7d4008f562da4 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19HPM Hooks UpdateHaru4-42/+416
2016-08-19Ported char-server.conf to libconfigHaru5-238/+609
Fixed issue: 8115, now start items can be equipped as well Ported to modern Hercules and cleaned up from Panikon's commits: c6482e9870645ffe59a6a059b819574d4ac79fd9, 832fb27d4f767e4bc8b68c432d0da00b7cb7a4f9, f81b579899e3a15bd472ca8c6a6e0116c43bec92, e23723725499b617def03d05661eca637edaeabd, 0b783a83d82e588efd760f7f4baec0c8074a6fd1, 1b7de91308a57ea07b158ed95a2515a3c8cc36bd, 677d3430cbda0962b320a60cf499e9dadf637d00 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Renamed some char and inter server variablesHaru10-74/+75
- `int save_log` -> `bool chr->show_save_log` - `bool char_new` -> `bool enable_char_creation` - `int log_char` -> `bool chr->enable_logs` - `int log_inter` -> `bool inter->enable_logs` - `int chr->new_display` -> `int16 chr->new_display` - `int char_aegis_delete` -> `bool char_aegis_delete` Split and improved from Panikon's commit 832fb27d4f767e4bc8b68c432d0da00b7cb7a4f9 Signed-off-by: Haru <haru@dotalux.com>
2016-08-16Corrected the showscript packetEmistry Haoyan1-1/+1
The showscript packet was being sent to all players logged in which can be network intensive. Thanks to @Tokeiburu & aleos89! Based on https://github.com/rathena/rathena/commit/47a69c082a9520f14b19ebfd335c4956d0c5a13b
2016-08-16Add missing quote chars in char.cAndrei Karas1-1/+1
2016-08-16Add missing escaping for saved player strings into db.Andrei Karas1-2/+5
2016-08-14Merge pull request #1396 from Emistry/on_pc_eventHaru3-0/+12
Enable @b/joblvl trigger OnPCLvUpEvent
2016-08-14HPM Hooks UpdateHercules.ws2-8/+8
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-08-14Update pc_steal_coin parameterEmistry3-8/+9
Added skill_lv as parameter to *pc_steal_coin() Closes #1395 as merged Signed-off-by: Haru <haru@dotalux.com>
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-08-10Fix login and char servers null pointer access if packet handler in plugin ↵Andrei Karas2-2/+8
initiate server termination.
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>