summaryrefslogtreecommitdiff
path: root/src/net/eathena/skillrecv.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-08-28Further improve skill error handling and messages.Fedja Beader1-57/+41
Squashed with: * Appease linters + more reformat * Further improve skill error handling and messages. 24751878 "Improve skill error messages." added trailing dots only on the second branch. This adds missing dots on the first one as well as compacts the logic. **** mana/plus!93
2024-08-28Remove silly msg.read* duplicationFedja Beader1-0/+1
& shaves ~5KB from debug binary. previd=""; while read -r line; do if [[ $line =~ .*"msg.read"[^\"]*"\""([^\"]*).* ]]; then id="${BASH_REMATCH[1]}"; if [[ "$id" == "$previd" ]]; then printf "%s\n" "$line"; fi; previd="$id"; fi; done < <(grep -r 'msg.read.*' src/net/) **** mana/plus!91
2024-08-21Fix skill fail packet handling causing nullptr crash when switching charactersFedja Beader1-2/+6
How to reproduce: spam emote then quickly switch char Thread 1 "manaplus" received signal SIGSEGV, Segmentation fault. SkillDialog::getSkill (this=0x0, id=id@entry=1) at gui/windows/skilldialog.cpp:805 0 SkillDialog::getSkill (this=0x0, id=id@entry=1) at gui/windows/skilldialog.cpp:805 1 EAthena::SkillRecv::processSkillFailed (msg=...) at net/eathena/skillrecv.cpp:302 ... **** mana/plus!92
2024-02-09Update copyright headers up to 2023Jesusalva Jesusalva1-1/+2
2021-04-13moved all skillbased errors to debugChatTabjak11-2/+8
2019-01-01Update copyright year.Andrei Karas1-1/+1
2018-12-06Add packet SMSG_PLAYER_SKILL_AUTO_SPELLS 0x0afb.Andrei Karas1-1/+12
2018-09-25Add packet SMSG_SKILL_WARP_POINT 0x0abe.Andrei Karas1-0/+18
2018-09-06Drop support for plugin version 14.Andrei Karas1-2/+2
2018-07-26Add support for changed item id size in packets.Andrei Karas1-11/+11
From some packet version hercules support item id fields as int32.
2018-05-03Fix hiding deleted skills from skill info list without delete packet.s20180503Andrei Karas1-0/+1
This can happend with temporary skills.
2018-01-04Update copyrights year.Andrei Karas1-1/+1
2017-11-29Add packeet SMSG_SKILL_SCALE 0x0a41.Andrei Karas1-0/+10
2017-06-07Fix clang-tidy check readability-implicit-bool-cast.Andrei Karas1-25/+25
2017-01-03Update copyright year.Andrei Karas1-1/+1
2016-11-11Fix typo implimented -> implemented.Andrei Karas1-9/+9
2016-07-19Add packet SMSG_PLAYER_UPDATE_SKILL2 0x0b20.Andrei Karas1-0/+29
2016-07-19Add packet SMSG_PLAYER_ADD_SKILL2 0x0b1f.Andrei Karas1-0/+30
2016-07-19Read inf2 field in packet SMSG_PLAYER_SKILLS.Andrei Karas1-1/+6
2016-07-18Move skillinfo into resources/skill directory.Andrei Karas1-1/+2
2016-04-02Sort more packets. Add version checks inside packets.Andrei Karas1-2/+8
2016-03-20Not allow close warp dialog until select warp target.Andrei Karas1-1/+2
2016-03-20Impliment packet SMSG_SKILL_MEMO_MESSAGE.Andrei Karas1-2/+16
2016-03-15Add support for unknown skill error (hercules).release2016-03-15Andrei Karas1-0/+7
2016-03-10For unknown packet field values show packet id and field value.Andrei Karas1-1/+1
2016-02-21Change some int constants to unsigned.Andrei Karas1-2/+2
2016-02-20Add missing const in net directory.Andrei Karas1-2/+2
2016-02-08Stop cast animation also if got skill error message.Andrei Karas1-0/+2
But this is not all cases. For always correct stop cast animation, need use animation command "jump" to stand animation.
2016-02-07Replace most static_cast<Type> to shorter versions from defines.Andrei Karas1-5/+5
2016-01-04Add missing TRANSLATORS comments to translation strings.Andrei Karas1-0/+14
2016-01-02Update copyrights year.Andrei Karas1-1/+1
2015-12-18Fix code style.Andrei Karas1-2/+0
2015-12-14Move skill error defines into separate file.Andrei Karas1-0/+7
2015-11-23Impliment packet SMSG_SKILL_SNAP (hercules).Andrei Karas1-8/+0
2015-11-23Add skill error about missing spirits.Andrei Karas1-0/+4
2015-11-23Impliment packet SMSG_SKILL_WARP_POINT (hercules)Andrei Karas1-6/+16
2015-11-10Add fail summon skill error handling.Andrei Karas1-1/+5
2015-11-10Decode some more skill errors.Andrei Karas1-0/+41
2015-09-04Remove some useless includes.Andrei Karas1-3/+0
2015-09-02Remove MessageHandler classAndrei Karas1-0/+2
2015-08-30Move receive code from skillhandler into separate file.Andrei Karas1-0/+365