summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-04-05Add new field Intimacy.StarvingDelay to pet DBKenpachi Developer2-4/+12
2020-04-05Add new field HungerDecrement to pet DBKenpachi Developer2-1/+8
2020-04-05Add default values and limits to pet DB fieldsKenpachi Developer1-21/+31
2020-04-05Change EggItem field in pet DB to be mandatoryKenpachi Developer1-8/+12
2020-04-05Remove SpriteName field from pet DBKenpachi Developer1-6/+1
Since it was never used for anything, the SpriteName field is removed from the pet DB. Internally it's kept and set to the sprite name corresponding to the defined monster ID, to not break plug-ins which may use it.
2020-04-05Add ID validation to pet_read_db_sub() functionKenpachi Developer1-0/+6
2020-04-05Add a base rate validation to pet_target_check() functionKenpachi Developer1-0/+3
2020-04-05Add a HungerDelay validation to pet_hungry() functionKenpachi Developer1-0/+11
2020-04-05Add pet_hungry_timer only if a pet's HungerDelay is greater than 0Kenpachi Developer1-8/+5
2020-04-05Adjust pet intimacy calculation when feedingKenpachi Developer1-15/+18
Adjusted the hunger level depending intimacy calculation when feeding the pet, to be closer to offical behaviour. (Thanks to @hemagx again.)
2020-04-05Adjust pet catch rate calculationKenpachi Developer1-1/+1
Thanks to @hemagx.
2020-04-05Add value capping to pet_set_intimate() functionKenpachi Developer2-12/+4
2020-04-05Add enum for pet intimacy levels and use its constantsKenpachi Developer9-31/+46
2020-04-05Add enum for pet hunger levels and use its constantsKenpachi Developer6-25/+39
2020-04-05HPM Hooks UpdateHercules.ws5-0/+34
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2020-04-05Merge pull request #2657 from Kenpachi2k13/autocast_clean_upHaru14-226/+221
Clean up auto-cast related code
2020-04-05Merge pull request #2660 from Kenpachi2k13/skill_check_ammo_typeHaru1-4/+2
Make skills check if equipped ammunition type is appropriate for equipped weapon
2020-04-05Merge pull request #2658 from Kenpachi2k13/new_status_changesHaru4-0/+56
Add new status changes and update related items
2020-04-05Merge pull request #2663 from 4144/updatepacketsHaru10-16/+42
Update packets up to 2020-04-01
2020-04-05Merge pull request #2656 from Kenpachi2k13/getiteminfo_fixHaru1-2/+2
Fix overflowing pointer in getiteminfo() script command
2020-04-05Fixed a memory violation in quest info caused by accessing -1 index when ↵Ibrahim Zidan2-3/+8
qi_list vector length is 0 Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2020-04-05Fix quest info copying npc_data instead of storing it pointer, resulting in ↵Ibrahim Zidan3-5/+5
always false comparison and even possible memory violation access Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2020-04-05Merge pull request #2655 from Kenpachi2k13/mem_leak_fixHaru1-0/+1
Fix memory leak in npc_expanded_barter_fromsql() function
2020-04-05HPM Hooks UpdateHercules.ws10-0/+190
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2020-04-05Merge pull request #2581 from 4144/backtraceHaru8-34/+235
Add proper backtrace logging even if functions is hidden.
2020-04-02Add missing libraries into plugins make fileAndrei Karas1-1/+1
2020-04-02Add always triggered assert in clif_unknownname_ackAndrei Karas1-0/+1
2020-04-02Fix typo in packet PACKET_ZC_SE_CASHSHOP_OPEN (Fixes #2669)Andrei Karas3-3/+2
2020-04-02Update packets keys and shuffle packetsAndrei Karas4-8/+16
2020-04-02Update packets tableAndrei Karas2-4/+22
2020-04-01Add case for BL_SKILL to unit_cbl2ud() to not trigger assert-returningKenpachi Developer1-0/+2
2020-04-01Add case for BL_SKILL to unit_bl2ud() to not trigger assert-returningKenpachi Developer1-0/+2
2020-03-31Fix misplaced return conditionKenpachi Developer1-1/+5
2020-03-30Disable libbacktrace by defaultHaru5-30/+60
It's currently only tested on linux, and doesn't work yet on macOS (tested on 10.15). Further work is necessary Signed-off-by: Haru <haru@dotalux.com>
2020-03-30Add helpers to find the correct executable path for libbacktraceHaru1-2/+65
Signed-off-by: Haru <haru@dotalux.com>
2020-03-30Fix Makefile-based compilation on platforms that use libbacktrace with a ↵Haru5-5/+5
different executable format than elf
2020-03-30Fix a memory leak caused by repeatedly allocating the libbacktrace state at ↵Haru3-11/+32
every printed backtrace Signed-off-by: Haru <haru@dotalux.com>
2020-03-30Add libbacktraceAndrei Karas6-27/+114
2020-03-28Add optional paramter <account id> to checkpcblock() script commandKenpachi Developer1-2/+2
2020-03-28Add return values to setpcblock() script commandKenpachi Developer1-1/+4
2020-03-28Add optional paramter <account id> to setpcblock() script commandKenpachi Developer1-2/+2
2020-03-21Move misplaced condition in unit_walktobl() functionKenpachi Developer1-2/+5
2020-03-15Make skills check if equipped ammunition type is appropriate for equipped weaponKenpachi Developer1-4/+2
2020-03-14Make skills cast by Improvised Song ignore all requirementsKenpachi Developer1-5/+7
2020-03-14Remove IT_DELAYCONSUME related auto-cast codeKenpachi Developer2-24/+0
First of all: In official servers, skill casting item are consumed immediately and thus IT_DELAYCONSUME should not be used for those items And additionally these code blocks are obsolete, because of the way how skill casting items work. * If the item won't check the skill's requirements, the code block to delete the item of type IT_DELAYCONSUME isn't even executed. * If the item does check the skill's requirements, the check is done prior to the skill casting which would be the same as using IT_USABLE.
2020-03-14Remove skillitem and skillitemlv variables and use ↵Kenpachi Developer4-22/+15
map_session_data->autocast.skill_id/_lv instead
2020-03-14Remove obsolete auto-cast type validation from ↵Kenpachi Developer1-18/+14
skill_check_condition_castbegin() function
2020-03-14Use map_session_data->autocast.type instead of skillitem variable to check ↵Kenpachi Developer4-22/+22
for auto-cast skills
2020-03-14Remove map_session_data->state.itemskill_* and use ↵Kenpachi Developer6-20/+7
map_session_data->autocast.itemskill_* instead
2020-03-14Remove itemskill_id and itemskill_lv helper variables, since they are not ↵Kenpachi Developer3-15/+0
used anymore