Object not loading as object, loading as <null>

Forgotten

Well-Known Member
I have installed Rmod on my Pwnozor server. I'm fairly sure this has nothing to do with it being a Pwnozor server.

I have been trying to use the SCAR_H_LNG_Sniper and the M40A3 sniper rifles in my chopper crash and general military loot. I run the server with signatures off, so I can edit my config.cpp file.

Here's the issue. Neither rifle is spawning. The M40A3 rifle, I manually unbanned from the dayz_anim file, and the SCAR_H_LNG_Sniper is unbanned through rMod.

To see what the heck was going on, I installed Stapo's heli crash scripts so I could see what was spawning. Here's what I got:

Code:
9:33:01 "LOOTSPAWN: ["M40A3",<null>,[8613.21,10757.3],5] Spawned At A UH-1Y CrashSite"
 
9:33:03 "LOOTSPAWN: ["SCAR_H_LNG_Sniper",<null>,[9641.46,8685.13],5] Spawned At A UH-1Y CrashSite"

Here's an example of what does spawn:

Code:
 9:33:03 "LOOTSPAWN: ["AmmoBoxSmall_556","object",[8613.21,10757.3],5] Spawned At A UH-1Y CrashSite"
9:33:03 "LOOTSPAWN: ["SVD_CAMO","weapon",[8902.75,6430.02],5] Spawned At A UH-1Y CrashSite"

So I can see the defining code isn't being written for both of these weapons. I would assume there was something I missed with the M40A3, but the SCAR_H_LNG_Sniper is supposed to work through rMod.

Both weapons can be spawned in manually.

Looking for how to fix this.
 
Whoops, I made the mistake in the config.cpp.

Looked like:

Code:
{"M40A3"},
{"SCAR_H_LNG_Sniper"}

Should have looked like:

Code:
{"M40A3","weapon"}
{"SCAR_H_LNG_Sniper","weapon"}
 
Back
Top