summaryrefslogtreecommitdiff
path: root/src/net/eathena
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 Beader6-52/+25
& 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-05-16Refactor loadFromLogFile calls into ChatTab contructorFedja Beader2-4/+0
This has the side effect that now #Debug history is also loaded. **** mana/plus!84
2024-05-09Fix guild lvl-up packet parsing AND change password causing client exit in MLFedja Beader1-3/+1
What happened: 1) herc evol sends 0x100 as packet ID offset 2) 0x100 is added to 0x0062 of SMSG_CHAR_PASSWORD_RESPONSE 3) SMSG_CHAR_PASSWORD_RESPONSE is then inserted into 0x162 slot of packet map, shadowing SMSG_GUILD_SKILL_INFO 4) on guild lvl-up, server sends this in SMSG_GUILD_SKILL_INFO 5) ManaVerse exits in confusion. Note 1: due to popupmenu paste not working in change password dialog, tested password change only with invalid old password, which worked (opened error dialog instead of client exiting). Note 2: Some packet handlers are bound using &Ea::LoginRecv prefix, this one had &LoginRecv and this was kept this way (uses vtable lookup?). ~~TODO: SMSG_CHAR_PASSWORD_RESPONSE seems to be something about password changes, but I could not find this packet either in TMWA or herc. Still, I need to test if these still work on all active servers~~ Tested. Squashed with: * Fix exit on password change, too * Fix guild lvl-up packet parsing causing client exit in ML **** mana/plus!81
2024-04-27Fix "Show items" (equipment display on other players)Fedja Beader1-1/+1
See #73 for discussion Squashed with: * Fix mana pearl showing in arrows slot in Classic * Fix off-by-one. Was causing Old Towel to render in torso slot in ML. **** mana/plus!78
2024-03-25Typofix Guil -> Guild and insert AndFedja Beader3-14/+14
See merge request mana/plus!64
2024-03-11Remove last-login(time) from char select window.Fedja Beader1-1/+3
No server in use still sends that field. **** Approved-by: Jesusalva Jesusalva <jesusalva@themanaworld.org>
2024-03-11TypofixFedja Beader2-2/+2
**** Approved-by: Jesusalva Jesusalva <jesusalva@themanaworld.org> Approved-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
2024-02-16Client rebranding: Partly import changes from !28Jesusalva Jesusalva1-2/+3
Co-Authored-By: jak1 <jak1@themanaworld.org> Co-Authored-By: jesusalva <jesusalva@themanaworld.org> Co-Authored-By: Fedja Beader <fedja@protonmail.ch>
2024-02-09Update copyright headers up to 2023Jesusalva Jesusalva189-189/+378
2023-04-07added missing cstdint includejak11-0/+4
2021-06-06added exitcode 7 to unique sessions (-S)jak11-0/+15
2021-04-13moved all skillbased errors to debugChatTabjak11-2/+8
2019-10-16Fix code style, ignore some warning in clang-tidyAndrei Karas1-1/+1
2019-08-19Add new shuffle packetsAndrei Karas3-0/+1156
2019-08-19Update shortcuts related packets for zeroAndrei Karas3-2/+17
2019-08-19Update packet SMSG_BEING_HAT_EFFECTSAndrei Karas1-4/+11
2019-08-19Update packet SMSG_RANKS_LISTAndrei Karas3-9/+43
2019-08-19Update packet SMSG_HOMUNCULUS_INFOAndrei Karas3-0/+96
2019-06-26Update packet CMSG_SET_SHORTCUTSAndrei Karas3-1/+10
2019-06-26Update packet CMSG_SHORTCUTS_ROW_SHIFTAndrei Karas3-3/+22
2019-06-26Update packet SMSG_PLAYER_SHORTCUTSAndrei Karas3-8/+60
2019-06-24Fix code styleAndrei Karas2-3/+1
2019-05-18Fix code styleAndrei Karas5-11/+12
2019-05-16Remove extra include from generalhandler.cppAndrei Karas1-1/+0
2019-05-15Remove extra unused attribute in gamerecv.cppAndrei Karas1-1/+1
2019-05-15Change protocol version to 26Andrei Karas1-1/+1
2019-05-15Fix different server packets for packet versions where item id size was changedAndrei Karas1-0/+46
2019-05-15Update shuffle packetsAndrei Karas3-0/+340
2019-05-15Add packet SMSG_NAME_RESPONSE_TITLE 0x0adfAndrei Karas3-0/+79
2019-05-15Add packet SMSG_REFINE_ANNOUNCE 0x0adaAndrei Karas3-0/+26
2019-05-15Add packet CMSG_REFINE_CLOSE 0x0aa4Andrei Karas3-0/+11
2019-05-14Add item CMSG_REFINE_ITEM 0x0aa3Andrei Karas3-0/+27
2019-05-14Add packet SMSG_REFINE_ADD_ITEM 0x0aa2Andrei Karas3-0/+29
2019-05-14Add packet CMSG_REFINE_ADD_ITEM 0x0aa1Andrei Karas5-0/+116
2019-05-14Add packet SMSG_REFINE_WINDOW_OPEN 0x0aa0Andrei Karas4-0/+81
2019-05-14Add packet SMSG_MAP_LOAD_CONFIRM 0x0b1bAndrei Karas3-0/+24
2019-05-14Update packets SMSG_ACK_MERGE_ITEMS and SMSG_MERGE_ITEMAndrei Karas1-4/+13
2019-05-14Add packet SMSG_ROULETTE_CLOSE 0x0a1eAndrei Karas3-0/+20
2019-05-14Update packet SMSG_NPC_CASH_BUYAndrei Karas2-3/+14
2019-05-14Update packet SMSG_PLAYER_GUILD_PARTY_INFOAndrei Karas1-6/+3
2019-05-14Add packet SMSG_GUILD_EXPULSION_LIST 0x0a87Andrei Karas3-15/+43
2019-05-14Update packet SMSG_PARTY_INVITATION_STATSAndrei Karas1-1/+2
2019-04-08Update shuffle packetsAndrei Karas3-0/+340
2019-04-08Add packet CMSG_ADMIN_RESET_COOLDOWNS 0x0a88Andrei Karas3-0/+16
2019-04-08Add packet SMSG_MAP_PING2 0x0b1dAndrei Karas3-0/+25
2019-04-08Add packer CMSG_MAP_PING2 0x0b1cAndrei Karas3-0/+35
2019-04-08Add packet CMSG_PLAYER_STYLE_CLOSE 0x0a48Andrei Karas3-0/+11
2019-03-21Remove extra include from generalhandlerAndrei Karas1-1/+0