fix(rodex): sent mail loses the last character of title and body
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
The send path is in src/Network/Send/kRO/RagexeRE_2016_07_06c.pm, where rodex_send_mail builds the packet without the terminating NUL, and the generic version is in src/Network/Send.pm. Compare the length fields in both with the rAthena clif.cpp reference from the issue, then check the RODEX packet tests if any exist. Done when the title and body arrive intact, confirmed by sending LabTitle/LabBody and reading back the mail table.
Written by the indexing model from the issue text.
Description
Openkore version git
OpenKore master fb31a9cb7
XKore Mode
XKore 0
RO Server Name
Local rAthena, using the kRO_RagexeRE_2021_11_03 server type
Link to RO server
rAthena, running locally
Result
Every RODEX mail sent by OpenKore loses the last character of its title and body. The rodex_send_mail of RagexeRE_2016_07_06c, used by kRO RagexeRE 2016-07-06c and later and by laRO, sends them without the terminating NUL (RagexeRE_2016_07_06c.pm). rAthena copies title_len - 1 characters (clif.cpp). The client counts the NUL in both lengths (RODecomp), and so does the generic Network::Send::rodex_send_mail (Send.pm).
Relevant Log Output
Sent with rodex settitle / rodex setbody, stored in the mail table:
title 'LabTitle' body 'LabBody' -> 'LabTitl' 'LabBod'
title 'Abcd' body 'x' -> 'Abc' ''
title 'ABCDEFGHIJKLMNOPQRSTUVWX' -> 'ABCDEFGHIJKLMNOPQRSTUVW'
Expected Result
The title and body as written.
How to Reproduce
rodex open, thenrodex write <name>.rodex settitle LabTitle,rodex setbody LabBody,rodex send.- The receiver gets
LabTitl/LabBod.
- Dominant language
- Perl
- Stars
- 1.5k
- Forks
- 1.2k
- Avg merge
- 12h 24m
- Merged PRs (30d)
- 144
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenKore/openkore
-
fix(rodex): every login reports unread mailPossibly taken @baphomello claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
fix(cashshop): cash point shops use 2-byte item IDs on kRO 2020+Possibly taken @baphomello claimed this today. Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
-
Will WX's interface get a dark mode?Possibly taken @baphomello claimed this 11 days ago. Openfeature request
Difficulty 5/5 Over a week Newbie friendliness 15/100
OpenKore/openkore#4316 · 4 comments ·
Maintainers usually reply within 1 day
-
Missing portalsOpenfeature request
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
feature request
Difficulty 5/5 Over a week Newbie friendliness 20/100
Maintainers usually reply within 1 day
All issues in OpenKore/openkore
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
owasp-modsecurity/ModSecurity-nginx#418 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
inverse-inc/packetfence#9768 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Package Update Update Bot
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
priv-kweihmann/meta-sca#13307 ·