
Where is `maxPacketSize()` and `maxPacketParts()`
asvdvl opened this issue ยท 7 comments
OC 1.7.5.192, minecraft 1.12.2.
I am trying to execute maxPacketSize()
with a modem and I am getting an error. If I try to look at all the functions of the modem, then I cannot find this function, but the tunnel has it.
Also, trying to find a similar issues, I found this, and I see that this functionality has been added to the mod. However, I don't see this function either.
All that data is part of the Device Info now. Use computer.getDeviceInfo
to get a table of various bits of information.
These functions were removed, as Brisingr noted, in favor of computer.getDeviceInfo
. I believe it says on the wiki that they were removed.
It's not a bug but a regression. 2 methods disappeared from the modem component.
well, I probably have to use a binary search algorithm to get these values
Or catch error and parse it
what is the error your getting? sorry for being a bit late, thinking of taking this mod up and plan on starting by fixing bugs
what is the error your getting? sorry for being a bit late, thinking of taking this mod up and plan on starting by fixing bugs
It's not a bug but a regression. 2 methods disappeared from the modem component.
I remember having made a program with them and having it crash after a mod update.