Steps to reproduce.
add the same weapon over and over again. Like a 100 MGs then change them to a different name each and finally play WZ and you can reproduce this issue.
Code: Select all
"MG1Mk1": {
"buildPoints": 50,
"buildPower": 10,
"damage": 10,
"designable": 1,
"effectSize": 100,
"facePlayer": 1,
"firePause": 5,
"flags": "ShootAir",
"flightGfx": "FXTracer.PIE",
"flightSpeed": 1500,
"hitGfx": "FXMETHIT.PIE",
"hitpoints": 75,
"id": "MG1Mk1",
"longRange": 768,
"longHit": 50,
"maxElevation": 90,
"minElevation": -60,
"minimumDamage": 33,
"missGfx": "FXDIRTsp.PIE",
"model": "GNLMG1.PIE",
"mountModel": "TRLMG1.PIE",
"movement": "DIRECT",
"muzzleGfx": "FXLMgun.PIE",
"name": "Machinegun",
"numExplosions": 1,
"recoilValue": 20,
"rotate": 180,
"shortHit": 75,
"shortRange": 512,
"waterGfx": "FXSSplsh.PIE",
"weaponClass": "KINETIC",
"weaponEffect": "ANTI PERSONNEL",
"weaponSubClass": "MACHINE GUN",
"weaponWav": "mgbar2.ogg",
"weight": 200
},
You can test the MGstats file below to see the memory crash on windows.
This adds 200 Machine gun copies.
Shift + Backspace
Enter "give all" Enter
Then scroll through all the machine guns.
This is just a test not a mod.
I tested this on 10 players with T3.
After i scrolled through all of them when i quit the game it crashes.
No error message it just closes.
GPLv2 licensed Just in case.
It uses regular WZ as base from MP in 3.3.0