KillahPotatoes / KP-Liberation

The work on GreuhZbugs Liberation Mission for Arma 3 continues...
MIT License
268 stars 303 forks source link

0.96.7 Arsenal initialization optimized #746

Closed Wyqer closed 4 years ago

Wyqer commented 4 years ago
Q A
Bug fix? no
New feature? no
Needs wipe? no

Description:

Started with investigating the Bad conversion: bool message for clients on mission start. Turns out it was caused by the old getVirtualCargo function. Rewritten the crawling of valid arsenal items. Due to this the message is gone and the already time consuming crawling was improved from taking 395ms down to "just" taking 260ms. The old function also added "combined weapon classnames" like "arifle_Katiba_ARCO_pointer_snds_F" to the items array, which shouldn't have happened.

Content:

Successfully tested on: