I'd like to cry a bit over this whole mess we are in. But instead I'll take a look into the script now.
EDIT: Seems that some ammo-types were missing (respectively their .xml-files). The script was looking for the specific multiplayer-ammo that seemed to be cleanly existent before 0.7, but for some reason not all ammo-types have a multiplayer-"pendant" anymore since 0.7. That either means that somebody worked sloppily (and slightly messed up the file structure) or that certain weapons don't use their proper ammunition. Either way, I'll use the non-multiplayer-ammo as a fallback for now (it only concerns two weapons anyway, one of them is the HAG30 I never heard about before
EDIT2: I hijacked the script and created a new thread
, since I like to have control over thread title and first post. If you ever show up again, Hiruma Kai, I'll gladly hand back your work. Thanks for the ~1000 lines of code you provided, I had to add about 5 myself (but I also changed some code aesthetics, sorry