Queue To Front


ALT+Q to toggle the queuing mode between back queueing(default) and front queueing

Utilities
4 years ago
0.16 - 0.17
64

b You know this was coming (index overflow)

4 years ago

https://gyazo.com/2479dc1bebfec12a5fea4886aed5a9d6
my crafting queue was actually pretty simple, just a single item, just a lot of it tho
https://gyazo.com/0cb130f5ec421c10204659710512457b
specifically tried crafting to front something else

4 years ago

Yes I was afraid of this. Did this come up as an actual situation or were you just trying to break it? I appreciate the bug report either way, just curious haha

4 years ago

Unfortunately the API has limitations. You're not really supposed to change the functionality of the hand crafting queue in the way that I did so I use a crude work-around that unfortunately is subject to the limitations of the data types given. I may be able to fix this specific problem but at some point there is a limit on the size of the queue that you can use front queueing on. If I were a proper programmer I would output an error instead of letting it crash (and I could probably push the limit up really high by messing with stack sizes) but alas, I am lazy.

4 years ago

It was actual gameplay, kinda,
In seablock you can craft cellulose fiber for free,
If you shift click craft a free craft like that it does only 2k, I planned on leaving it overnight so I used a macro to mass shift click it, hence 167k queue. Wanted to craft something else before I left for the night and thus that error.

Im not hoping for a wonder solution, A simple catch to prevent the error, and a msg informing the play that it can’t be done or just telling the player to cancel some crafting.

4 years ago

done

New response