Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Dummy weapon holders, and weapon holders don't seem to be getting garbage cleaned. #3265

Open
killerswin2 opened this issue May 28, 2024 · 1 comment
Assignees

Comments

@killerswin2
Copy link

killerswin2 commented May 28, 2024

Describe the bug

There might be a bug, where allmissionobjs is not getting weapon holders. Verify if this the case. May god have mercy.

How to reproduce

`diag_log "BEGINNING VEHICLE DEBUG DUMP";
diag_log "Damage value: SCALAR, 0 is brand new, 1 is completely destroyed.";
private _startTime = systemtime;
{
private _vehicle = _x;
private _type = typeOf _x;
private _name = getText(configfile >> "CfgVehicles" >> _type >> "displayName");
private _getPosASL = getPosASL _vehicle;
private _crew = crew _vehicle;
private _alive = alive _vehicle;
private _canMove = canMove _vehicle;
private _damage = damage _vehicle;
private _fuel = fuel _vehicle;
private _isDamageAllowed = isDamageAllowed _vehicle;
private _speed = speed _vehicle;
diag_log format ["Name: %1, Vehicle: %2, Classname: %3, Position: %4, Crew: %5, Alive: %6, canMove: %7, damage: %8, fuel percentage: %9, damageAllowed: %10, current speed: %11"
,_name
,_vehicle
,_type
,_getPosASL
,_crew
,_alive
,_canMove
,_damage
,_fuel
,_isDamageAllowed
,_speed
];

} forEach vehicles;
private _endTime = systemtime;
private _timeDifference = _endTime - _startTime;
diag_log format ["Time taken for this script: %1", _timeDifference];
diag_log "END VEHICLE DEBUG DUMP";`

Version

3.x.x

Have you altered the code?

No

What i have changed

No response

Map

Sahari

What server?

Community Server 1

Time bug occured (Server time/UTC)

No response

Mods

No response

Additional context

@jaj22

@killerswin2
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants