Commit Graph

1967 Commits

Author SHA1 Message Date
raymix
176c0372b4 bug fix & adjustable snap range 2014-08-08 13:30:25 +01:00
raymix
361ab3a3e5 function based player_build 2014-08-07 13:03:14 +01:00
infiSTAR.de
d4f978e461 delete promptRName.sqf
Delete promptRName.sqf - only used for hacks and not the mod anymore
2014-08-05 19:42:40 +02:00
Skaronator.com
b8e07f3cc2 Merge pull request #1495 from ebaydayz/patch-5
Change count back to forEach
2014-07-31 22:34:16 +02:00
Skaronator.com
29c2b09175 Merge pull request #1494 from ebaydayz/patch-4
Change count back to forEach
2014-07-31 22:34:13 +02:00
Skaronator.com
923b2833c9 Merge pull request #1493 from ebaydayz/patch-3
Change count back to forEach
2014-07-31 22:34:09 +02: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
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
vbawol
ec1308afd6 Merge pull request #1466 from ebaydayz/patch-1
Fix typo _intentory > _inventory
2014-07-29 13:33:10 -05:00
ebaydayz
a8389ba2bc Fix typo _intentory > _inventory
_intentory should be _inventory
2014-07-29 14:26:48 -04:00
Mikeeeyy
a4ade23086 Update dayz_spaceInterrupt.sqf
Changed starts at line 87 and end at line 93.
Fix for glitching through doors.
2014-07-29 17:47:29 +01:00
vbawol
fc1ce8421e Merge pull request #1459 from raymix/master
some missing defines
2014-07-26 15:29:25 -05:00
icomrade
f284fc1b92 Don't play anim for unconscious if in vehicle 2014-07-26 14:15:38 -04:00
raymix
411055260f some missing defines 2014-07-26 03:36:26 +01:00
vbawol
c479fe45f3 Merge pull request #1452 from Markokil321/patch-2
Update player_build.sqf
2014-07-25 16:02:32 -05:00
vbawol
b26aa51e32 Merge pull request #1434 from arma2WillRobinson/master
roughly added RedRyder BB Gun
2014-07-25 12:05:47 -05:00
vbawol
e6e5da011e Merge pull request #1453 from Markokil321/patch-4
Update player_build2.sqf
2014-07-25 12:04:30 -05:00
vbawol
f1aa986a08 Merge pull request #1451 from RimBlock/master
Config files - Added fuel capacity variable.  DB Backup improved script.
2014-07-25 12:00:52 -05:00
Marko
f1b3104e1e Update player_build2.sqf
Would this work for adding built item code into systemchat? This way people can PageUp to view it, even after its gone from the screen.
2014-07-25 00:37:12 +02:00
Marko
e330fe17aa Update player_build.sqf
Would this work for adding built item code into systemchat? This way people can PageUp to view it, even after its gone from the screen.
2014-07-25 00:34:19 +02:00
RimBlock
613a08c770 no message 2014-07-24 21:00:41 +08:00
RimBlock
dd968044d3 Merge branch 'RC1-1.0.5.2' of https://github.com/vbawol/DayZ-Epoch into DB_backup_script
Conflicts:
	SQF/dayz_code/Configs/CfgVehicles/AIR/CH53.hpp
2014-07-24 20:30:25 +08:00
raymix
bca5acf2e6 needs a better fix 2014-07-23 11:52:23 +01:00
vbawol
5193787b5f Merge pull request #1445 from Markokil321/patch-2
Update player_build.sqf
2014-07-21 13:09:44 -05:00
Marko
273c8b8954 Update trade_weapons.sqf
Revert || back to or for text messages
2014-07-21 19:20:47 +02:00
Marko
0529324a4b Update player_build.sqf
Changed || back to or. (for messages)
2014-07-21 19:07:54 +02:00
Steven
1ef1277254 Update compiles.sqf
typo in player_removeNet array
2014-07-20 11:40:02 +08:00
vbawol
4099115959 Merge pull request #1439 from ebaydayz/patch-2
Add CH53_DZE to config based traders
2014-07-19 16:56:03 -05: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
vbawol
6e1be89442 Merge pull request #1431 from raymix/master
snap building plotpole / infinite drag fix
2014-07-18 13:40:15 -05:00
armaWillRobinson
38bb95f12f redryder add 2014-07-17 13:49:57 -07:00
raymix
95077f35f8 snap optimization for large bases 2014-07-17 20:00:26 +01:00
icomrade
33e9c7669b GetPlayerUID compile, update skin change 2014-07-17 14:29:17 -04:00
icomrade
f288fcf35a Disable user input until display is closed #1432 2014-07-16 18:51:41 -04:00
raymix
077da12271 plotpole fix for new update 2014-07-16 07:32:13 +01:00
raymix
a297cfea63 snap building plotpole / infinite drag fix 2014-07-16 06:38:27 +01: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
vbawol
652160a080 Merge pull request #1421 from ebaydayz/patch-2
Fix fire cleanup diag_log error
2014-07-15 21:39:34 -05: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
raymix
2355d6b18e snap code optimization, vault points added 2014-07-12 20:23:42 +01:00
vbawol
07b3f14c1b Merge pull request #1411 from hogscraper/test_branch
Additional update to UI
2014-07-11 14:28:14 -05:00
vbawol
83ec44e402 Merge pull request #1410 from raymix/master
optional snap building added
2014-07-11 14:27:40 -05:00
hogscraper
572b646107 Additional update to UI
Changed routines so that all icons flash at the same time. Instead of
making several individual calls to player_guiControlFlash any icon that
needs to have flashing turned on is added to an array and then, as long
as that array is not empty,  it is passed to the function. The function
was changed to deal with an array and whichever item is array select 0
has its show state determine what all the others should be. If its on,
then all other in array are turned off with it.
Also, added a fix for _bloodVal. With current red/green icon set, if the
player has less than 3000 blood the value rounds down to 1 so that
status_blood_inside_1_ca.paa is used, (which is no picture at all). This
means the old line
if (_bloodVal < 0.2) then {
passes along an empty picture to flash. I changed this value to .4 so
that between 3000 and 5000 blood, it still uses that last sliver picture
but that one now flashes to alert player to lower blood levels.
2014-07-10 16:44:58 -04:00