CODE IS A FUCKING MESS BUT I DID IT. I FOUND THE BUG PREVENTING ME FROM READING THE STORED PACKETS. ITS 5AM BUT I FOUND IT.