Commit Graph
19 Commits
Author SHA1 Message Date
ebaydayz 12400b1a2b Update CHANGE LOG 1.0.5.2.txt 2014-08-01 14:58:20 -04:00
ebaydayz e52790d8fb Update CHANGE LOG 1.0.5.2.txt 2014-08-01 14:56:41 -04:00
ebaydayz a5e0f665e9 Update CHANGE LOG 1.0.5.2.txt 2014-08-01 13:56:49 -04:00
ebaydayz 6d1d4c998a Change count back to forEach
Can not nest count loops inside other count loops:
https://community.bistudio.com/wiki/Code_Optimisation#forEach_vs_count
2014-07-31 14:00:50 -04:00
ebaydayz d19001d87b Change count back to forEach
Can not nest count loops inside other count loops:
https://community.bistudio.com/wiki/Code_Optimisation#forEach_vs_count
2014-07-31 13:45:26 -04:00
ebaydayz 445556ff12 Change count back to forEach
Can not nest count loops inside other count loops:
https://community.bistudio.com/wiki/Code_Optimisation#forEach_vs_count
2014-07-31 13:41:02 -04:00
ebaydayz 81729c26f4 Change count back to forEach
Can not nest count loops inside other count loops:
https://community.bistudio.com/wiki/Code_Optimisation#forEach_vs_count
2014-07-31 13:33:51 -04:00
ebaydayz 0111a8f580 Change count back to forEach
You can not nest count loops inside other count loops:
https://community.bistudio.com/wiki/Code_Optimisation#forEach_vs_count
2014-07-31 13:14:10 -04:00
ebaydayz 94aaf929f2 Update CHANGE LOG 1.0.5.2.txt 2014-07-29 15:58:38 -04:00
ebaydayz 0d5d0b9b8e Change count back to forEach - fix empty safes
See Kronzky's note:
https://community.bistudio.com/wiki/count

You can only use count to iterate through an array if all elements in the array are of the same data type. In this case you have an array with strings (type), arrays (worldspace, inventory, hitpoints) and numbers (fuel, ownerID). You need to use forEach instead. 

This error explains the problem people were having with safe inventories being empty when they open them after a restart:
http://epochmod.com/forum/index.php?/topic/13423-safe-is-empty-after-restart-if-you-open-it/
https://github.com/vbawol/DayZ-Epoch/issues/1368
https://github.com/vbawol/DayZ-Epoch/issues/1422
2014-07-29 15:50:53 -04:00
ebaydayz a8389ba2bc Fix typo _intentory > _inventory
_intentory should be _inventory
2014-07-29 14:26:48 -04:00
ebaydayz 2c1d0825d1 Add CH53_DZE 2014-07-19 16:59:59 -04:00
ebaydayz ed879fbef5 Update BanditHelicopterArmed.hpp
Add CH53_DZE
2014-07-19 16:56:14 -04:00
ebaydayz bf86886835 Use set instead of binary addition
We should use set here like 1.8.1 does. It is 2x faster than binary addition:
https://community.bistudio.com/wiki/Code_Optimisation#Adding_elements_to_an_array
2014-07-19 16:45:44 -04:00
ebaydayz 37e83700a5 Update CHANGE LOG 1.0.5.2.txt 2014-07-19 16:09:01 -04:00
ebaydayz cd3bc37202 Update CHANGE LOG 1.0.5.2.txt
Updated with all my changes as requested
2014-07-16 01:11:09 -04:00
ebaydayz 87ee176d7d Fix nearestObjects position error
_pos should be _charPos. Currently it causes this error in server RPT on 1.63.112555+ because it references the player object, not the player object's position:

 6:36:48 Error in expression <ear"] call server_updateObject;
} count nearestObjects [_pos, dayz_updateObjects>
 6:36:48   Error position: <nearestObjects [_pos, dayz_updateObjects>
 6:36:48   Error 0 elements provided, 3 expected
 6:36:48 File z\addons\dayz_server\compile\server_playerSync.sqf, line 209
2014-07-15 23:54:26 -04:00
ebaydayz da15f60224 Fix fire cleanup diag_log error
Looks like someone left an undefined variable in here by accident. _delQtyNull should be _delQtyFP
2014-07-13 13:34:47 -04:00
ebaydayz 0eb5f76c64 Update fnc_plyrHit.sqf
Fixed undefined variable "_weapon" error on 1.63.112555+
2014-07-13 12:18:38 -04:00