Commit Graph

363 Commits

Author SHA1 Message Date
icomrade
c039644745 Undefined Var 2016-02-17 15:14:41 -05:00
icomrade
c3ed4e49e1 Replace sleep with uiSleep
see the below links for more info. uiSleep is based off of a more
accurate method of tracking time, whereas sleep can fluctuate depending
on application performance since it is based on framerate.
https://community.bistudio.com/wiki/uiSleep
https://community.bistudio.com/wiki/sleep_vs_uiSleep
https://community.bistudio.com/wiki/sleep
2016-02-17 13:03:17 -05:00
ebaydayz
441e9fb231 Update keyboard eventhandler and add rules.sqf
See: https://github.com/EpochModTeam/DayZ-Epoch/pull/1673
2016-02-16 21:59:29 -05:00
ebaydayz
1ade44eb35 Fix for crafting multiple SledgeHammers
Revision of https://github.com/EpochModTeam/DayZ-Epoch/pull/1567

Thanks @Namindu
2016-02-16 17:23:57 -05:00
ebaydayz
7151f6859f Fix trader menu expected array error
TraderItemList and TraderCatList should be initialized as arrays, not numbers. Fixes this error:
```
Error in expression < 0;
if (_index < 0) exitWith {};
while {count TraderItemList < 1} do { sleep 1; >
  Error position: <count TraderItemList < 1} do { sleep 1; >
  Error count: Type Number, expected Array,Config entry
File z\addons\dayz_code\compile\player_traderMenuHive.sqf, line 174
```
See: https://github.com/vbawol/DayZ-Epoch/issues/1616

Tested buying and selling to all the stary and base traders as well as the boat dealer with these changes. No more error or problems.
2015-02-04 14:13:08 -05:00
vbawol
211a74a645 Merge pull request #1540 from deadeye2/patch-2
Update player_drink.sqf
2015-01-18 00:32:38 -06:00
vbawol
a5e8aae13b Merge pull request #1539 from deadeye2/patch-1
undefined variable _itemtodrop     fixes #1535
2015-01-18 00:31:54 -06:00
raymix
d59c5b8278 rare bug 2014-08-30 12:55:58 +01:00
raymix
efca644b46 fix for db ATL limitation 2014-08-23 19:02:49 +01:00
raymix
903f5d8572 code optimization, bugs, improvements 2014-08-21 06:23:42 +01:00
deadeye2
5b4d53d3b9 Update player_drink.sqf
eliminate redundant declaring of _itemtodrop and change to match player_eat.sqf
2014-08-20 19:58:43 -04:00
deadeye2
e4982dc313 fixes #1535
After eating in a vehicle that should drop an empty can, client RPT would show:

Error Undefined variable in expression: _itemtodrop
2014-08-20 19:41:06 -04:00
raymix
1c4be9a043 Merge remote-tracking branch 'upstream/master' 2014-08-18 04:08:14 +01:00
raymix
34a2d03163 compatibility for issue 1526 45m plotpole 2014-08-18 04:03:11 +01:00
vbawol
fe5af9425a Merge pull request #1526 from Mikeeeyy/patch-4
Update cannot build plot pole within 45m.
2014-08-17 14:02:09 -05:00
raymix
c66b229a96 modular build code optimization + some extras 2014-08-15 05:40:26 +01:00
Mikeeeyy
49fe5f4846 Update cannot build plot pole within 45m.
Updates the cannot build plot pole within 45m message to use the DZE_PlotPole variable.
2014-08-15 00:10:24 +01:00
Marko
64d9be9169 Update player_goFishing.sqf
Added better message when trying to fish while in combat, to avoid confusion.
2014-08-09 11:41:43 +02:00
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
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
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
c479fe45f3 Merge pull request #1452 from Markokil321/patch-2
Update player_build.sqf
2014-07-25 16:02:32 -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
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
vbawol
6e1be89442 Merge pull request #1431 from raymix/master
snap building plotpole / infinite drag fix
2014-07-18 13:40:15 -05: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
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
raymix
2355d6b18e snap code optimization, vault points added 2014-07-12 20:23:42 +01:00
raymix
5c8da27d4d optional snap building added 2014-07-10 20:13:30 +01:00
icomrade
8af00ef284 Fix #1351 2014-06-30 18:54:12 -04:00
icomrade
3491e4462d Add variable 2014-06-30 12:46:06 -04:00
icomrade
6f8efd8428 Legacy UID 2014-06-30 11:53:14 -04:00
Skaronator.com
d9f492cdca Update player_tagFriendly.sqf 2014-06-18 20:57:12 +02:00
Namindu
9b4d2651e2 "(_callerID != 0)" was listed twice, in "If"
Their were two "(_callerID != 0)" so i change the second one to "(_targetID != 0)". Hopefully that should fix it.
2014-06-18 10:18:13 -07:00
Skaronator.com
919e65d19e Cleanup code #1320 2014-06-18 14:27:54 +02:00
icomrade
0176e5efbb fix #1318
Issue caused by f0e7622856
2014-06-13 16:50:39 -04:00
[VB]AWOL
234b97f4b2 revert counts here should fix #1318
This likely was causing issues with crafting also and (performance gain
is unknown)
2014-06-11 16:49:24 -05:00
icomrade
ad6530c579 Little thing 2014-06-10 13:03:43 -04:00
Namindu
98b00ed2cd I forgot a ";" 2014-06-08 21:39:31 -07:00
Namindu
87a914ca9e apply "false" to the variable "_abort" 2014-06-08 13:39:41 -07:00
[VB]AWOL
c9c6f0309a fixed #1311 2014-06-07 18:05:19 -05:00
[VB]AWOL
e7571b072d commented out more diag_logs 2014-06-02 13:40:26 -05:00
icomrade
6b9b176736 More #1288 2014-06-01 03:29:44 -04:00