Commit Graph

489 Commits

Author SHA1 Message Date
ebaydayz
fd78f27250 Fix copy key failing when player has no backpack
Related to #1567, so I made this a function so it can be reused. People
should call this whenever they are adding a toolbelt item which the
player may already have. It has localized strings and handles spawning
the weapon holder on water, land and rooftop.

Tested both the sledgehammer and key copying. Confirmed all three
conditions are working.
2016-02-18 22:12:13 -05:00
icomrade
277d87fa3b Some more position fixes 2016-02-18 09:16:20 -05:00
icomrade
6ec324cf10 should fix #1564 2016-02-18 08:25:22 -05:00
icomrade
0e0fa0925a Should Fix #1622 2016-02-17 16:49:02 -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
8421ad0394 Reveal new vehicle class after upgrade
Fixes not being able to access the vehicle immediately after upgrading.
2016-02-16 14:00:07 -05:00
Mikeeeyy
3c474e0ba2 Fix for fix bypass
Players can get around this by getting another player to lock the vehicle as they're getting out. The action command only works if the vehicle is unlocked, using the moveInX commands it moves them instantly back in with no animation (better imo) and works if the vehicle is locked.
2015-09-03 17:38:11 +01:00
Zupa
4ca26e09bd Merge pull request #1625 from Mikeeeyy/patch-11
Persistent Name Tag Setting when changing skins.
2015-07-01 23:53:57 +02:00
SplenectomY
700ab86781 Update object_speak.sqf 2015-02-09 13:56:33 -05:00
SplenectomY
4c4b7133be Update object_speak.sqf 2015-02-09 11:21:08 -05:00
Mikeeeyy
9623809d5b Update player_gearSync.sqf 2015-02-08 05:46:42 +00:00
Mikeeeyy
acaaa29f39 Persistent Name Tag Setting
When changing skins you'd have to select whether or not you want to display your name again, this fixed that. Unless it was intentional ofc.
2015-02-08 00:38:06 +00:00
vbawol
0efa8ea37b Merge pull request #1619 from ebaydayz/patch-5
Fix trader menu expected array error
2015-02-05 10:14:48 -06:00
ebaydayz
3623b68112 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:11:47 -05:00
ebaydayz
de4f50dad0 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 Stary and Bash traders as well as the boat dealer with these changes. No more error or problems.
2015-02-04 14:09:16 -05:00
vbawol
196a8b2e94 Merge pull request #1600 from BangL/master
custom CfgVehicles? i dont think so
2015-01-18 00:37:17 -06:00
vbawol
665de9d917 Merge pull request #1580 from deadeye2/patch-3
DZE_MissionLootTable fix
2015-01-18 00:35:02 -06:00
vbawol
54f4cc5024 Merge pull request #1561 from ebaydayz/patch-1
Delete old group after changing clothes
2015-01-18 00:33:57 -06:00
vbawol
21098f9b73 Merge pull request #1556 from raginruffalo/patch-3
Should fix #1555
2015-01-18 00:33:10 -06:00
BangL
d0a1463425 custom CfgVehicles? i dont think so 2014-12-12 13:19:37 +01:00
deadeye2
7345f46fed DZE_MissionLootTable fix
Fixes a zombie loot error when using loot tables in mission file.
2014-10-22 10:20:42 -04:00
vbawol
b0ae579875 Update spawn_loot_small.sqf 2014-09-22 13:23:56 -05:00
ebaydayz
77d9951f23 Delete old group after changing clothes
The deleteGroup command requires the group to be local to the machine executing it:
https://community.bistudio.com/wiki/deleteGroup

When a player changes clothes a new group is created. The player is switched into a new unit in the new group, and then his old group is left empty. Because the old group is local to the player, it will not be deleted by server_cleanupGroups until he disconnects and it is transferred to the server. 

We should delete the old group immediately rather than wait for the player to disconnect. This will prevent the excessive accumulation of empty groups when players change clothes a lot. It will help with the seagull spawn issue which happens when there are more than 144 groups on side WEST:
https://community.bistudio.com/wiki/createGroup
2014-09-05 14:12:04 -04:00
Wargog
0c3173826e Done, pull please. 2014-09-03 09:40:36 -04:00
Wargog
1c2511bc55 Maybe? 2014-08-30 12:24:02 -04:00
Wargog
5a54f26c4d I didn't do that 2014-08-30 12:20:54 -04:00
Wargog
6bddf7513e Fixed AWOL's pointer 2014-08-28 14:17:43 -04:00
Wargog
064d50778a Should fix #1555 2014-08-28 13:59:22 -04:00
vbawol
9762dad8ee Merge pull request #1543 from Beefheart/master
Update player_onPause.sqf
2014-08-28 00:28:09 -05:00
Beefheart
f3c0b582b4 Update player_onPause.sqf 2014-08-26 10:22:47 +02:00
Beefheart
9cdae44069 Update player_onPause.sqf
fixes players logging out in selfmade no-building-zones
2014-08-22 08:31:33 +02:00
vbawol
c7b400f36a Merge pull request #1524 from Mikeeeyy/patch-2
Fix Maintain Area/Preview not disappearing
2014-08-14 12:06:31 -05:00
Mikeeeyy
3e42af0bb4 Fix Maintain Area/Preview not disappearing
When players would look at a plot pole, they would get the maintain/preview option and if they looked away they would still have it.
2014-08-13 14:10:43 +01:00
Steven
04ee8578ff Update fn_damageActions.sqf
Bikes can currently be unlimited siphon sources
2014-08-11 12:09:15 +08: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
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
icomrade
f284fc1b92 Don't play anim for unconscious if in vehicle 2014-07-26 14:15:38 -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
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
vbawol
07b3f14c1b Merge pull request #1411 from hogscraper/test_branch
Additional update to UI
2014-07-11 14:28:14 -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
icomrade
5b61ce34b7 Useless network traffic 2014-07-09 17:45:59 -04:00
icomrade
151a6b7478 Hopfully improve on issue in #1403
Should run a little quicker, added some ().
2014-07-09 17:36:17 -04:00
justchil
a6bcaad182 Update zombie_generate.sqf
Fixes problem with zeds not spawning loot (or EXTREMELY rare).  I believe this is not returning bool which is why count isn't working.
2014-07-05 11:17:48 -04:00
vbawol
3036b31bbb Merge pull request #1384 from hogscraper/test_branch
UI Update - Graphical and code changes
2014-07-02 21:33:21 -05:00