Hey I know this code, its from Fuse O mat Tool!
Well your injecting packet function looks weird.
The count system it is correct, after every fuse it should get S > C string with result that looks something like this:
[S -> C][3040]
0F
08
1C 00
your string "0203030D0E0F1011" is not correct, because its injecting only packet with elixirs and lucky powders, you cannot inject all stones at the same time. So you should leave it as it is "0203030D0E0F" - 0E means use elixirs from second slot and, 0F use lucky powders from 3rd slot. To use stones, you have to add extra function before you do fuse injection. For example: You set tool to fuse steady stone, when lucky stone and when do "0203030D0E0F" injection! My question, how did you manage to work that tool with original code? I never manage to make it work with that injection code, I had to make my own way to inject packets...
EDIT: never mind, I found out what was wrong, just wrong old code logic's, works now with original injecting function!