The issue happens at this script line of the module :
Spoiler
surface.DrawImage (FloatToInt ( AllParticles[i].x ), FloatToInt ( AllParticles[i].y ), sprite.Graphic, AllParticles[i].transparency, width, height);
[close]
If you want to avoid the error, then simply make sure that the transparency is never exactly zero.
For example you can add those two lines of script just before the line causing the error :
Spoiler
if (AllParticles[i].transparency ==0)
AllParticles[i].transparency = 1;
surface.DrawImage (FloatToInt ( AllParticles[i].x ), FloatToInt ( AllParticles[i].y ), sprite.Graphic, AllParticles[i].transparency, width, height);
[close]
==========
However the issue mentionned by AGD2 remains : Sprites are drawn as blue cups.
the issue was found, it's not caused by the module.