Commit Graph

471 Commits

Author SHA1 Message Date
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
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
hogscraper
be3e492405 UI Update - Graphical and code changes
Changed player_updateGui.sqf with an update to how the UI elements are
loaded. Changed all status icons to use the full value so no more fading
icons. Also changed the colors from red/green setup to a black and white
setup. All icons start off as black if the value is optimal, (full
blood, full food/drink, temperature, out of combat, seen, heard), then
progress continually towards white as the player loses blood, gets
hungry, etc. This was done to make the differences between full and
empty more drastic as the current method starts off with obvious icons
that slowly fade. If player is color blind, there have been reported
issues of the two colors showing up as similar shades of gray. For those
that are not CB the elements currently become less obvious in the user's
peripheral until they begin flashing. Changes also made to variables.sqf
to add the ability to turn this feature on/off:
Dayz_Dark_UI = true;
Sets UI to new darker theme. Turned off by setting the value to false.
2014-07-02 20:16:25 -04:00
icomrade
6f0470f598 Fix #1364
Holy shit it was accessible from 25 meters!
2014-06-30 17:46:56 -04:00
[VB]AWOL
5a88627d97 should fix #1362 2014-06-30 16:44:46 -05:00
icomrade
6799d90d23 Should fix #1124 2014-06-30 17:01:29 -04:00
icomrade
4a1ac8304a lol... 2014-06-30 16:57:49 -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
icomrade
33aa6632c6 Fix #1361 2014-06-29 13:09:32 -04:00
vbawol
3060b98521 Update fn_damageActions.sqf 2014-06-23 11:37:47 -05:00
[VB]AWOL
98c396dd18 revert this change as it did nothing 2014-06-23 10:08:07 -05:00
[VB]AWOL
b4ed5bc183 change path for death screen 2014-06-22 17:32:26 -05:00
[VB]AWOL
c651816e9f fixed #1343 2014-06-22 17:20:02 -05:00
Skaronator.com
919e65d19e Cleanup code #1320 2014-06-18 14:27:54 +02:00
icomrade
ee3df72d56 Minimum 5 minute knockout if cardiac 2014-06-15 11:55:09 -04:00
icomrade
f6b267e167 fix 1327 2014-06-15 11:52:20 -04:00
icomrade
0176e5efbb fix #1318
Issue caused by f0e7622856
2014-06-13 16:50:39 -04:00
icomrade
a79e86ba33 Hopefully get names 100% of the time now 2014-06-13 14:13:51 -04:00
icomrade
b43a8f8390 Unconscious cleanup 2014-06-13 13:08:09 -04:00