Autocrafting exploit/bug
DBotThePony opened this issue ยท 2 comments
This issue can ONLY be reproduced with items which have /metadata higher than 16. The best way to reproduce this - install Thermal Expansion and Thermal Foundation
At some point, when a player request autocraft of item which have missing items in his network will produce infinite autocrafting preview loop, therefore causing server to choke:
To reproduce:
- Setup an autocrafting system
- Put Signalum update kit pattern onto crafter, add all needed items for at least for one upgrade kit
- Request 128< kits
- watch the server (client if singleplayer) choke in memory usage while waiting for crafting request preview
Snapshot (nps) file -
rsbug.zip
if you did something wrong on reproduction - your RS preview thread will just crash with java.lang.NullPointerException, and server/client will not choke on, but crafting preview will still fail.
With /metadata >16 RS is NEVER able to pre-calculate missing items, and preview thread will just crash
RS Version - 1.5.31
Forge build - 2611