Permalink
1 comment
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ae89b3aThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey @Lemongrass3110 thanks for the patch
i'm still getting a crash after this fix, but i'm not sure if it is related.
using hash
c5ceda0but i patch manuallyis this related?
thanks in advance!
Program received signal SIGSEGV, Segmentation fault.0x0000555555626b80 in mail_setitem (sd=sd@entry=0x55555b9ef0f0, idx=1,idx@entry=3, amount=amount@entry=1) at mail.cpp:197197 total += amount * sd->inventory_data[idx]->weight / 10;(gdb) bt full#0 0x0000555555626b80 in mail_setitem (sd=sd@entry=0x55555b9ef0f0, idx=1,idx@entry=3, amount=amount@entry=1) at mail.cpp:197i = 0j = <optimized out>total = <optimized out>#1 0x00005555555ed1ce in clif_parse_Mail_setattach (fd=<optimized out>,sd=0x55555b9ef0f0) at clif.cpp:15902info = <optimized out>idx = 3amount = 1flag = <optimized out>#2 0x00005555555d5f04 in clif_parse (fd=<optimized out>) at clif.cpp:20765cmd = <optimized out>packet_len = 6sd = <optimized out>pnum = 0#3 0x00005555555746e5 in main ()No symbol table info available.