Fallen-Breath / PCRC

PyCraft based Replay Client
Apache License 2.0
140 stars 17 forks source link

Unknown reason always disconnect randomly #26

Open Rene8028 opened 2 years ago

Rene8028 commented 2 years ago

I met unknown reason that PCRCbot always disconnect randomly I think this may be because worldeater has too many blocks updates , so PCRC run out of it's memory? Here is PCRC's log at that time : https://pastebin.com/yh0yVQrZ I found this in the log Exception in network thread: <class 'builtin_function_or_method'> Unexpected end of message.

Fallen-Breath commented 2 years ago

That's not how running out of memory behave. Is there any way to stably reproduce this issue? Or it's very hard for me to help with these kind of random issues

wendavid552 commented 1 year ago

Perhaps relate to https://github.com/Fallen-Breath/PCRC/blob/bc46d3af3830e09c61cc9acbbea8255424722824/pcrc/pcrc_client.py#L177 which relates to this issue from pyCraft #113. The exception message "Unexpected end of message" could be found in https://github.com/ammaraskar/pyCraft/blob/2813d02ae7fb8182c3e5227a73de2240b09878d9/minecraft/networking/types/basic.py#L156