Commit Graph

324 Commits

Author SHA1 Message Date
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
icomrade
e54b9983dd Replace forEach with Count
Use count where you do not need _forEachIndex variable, it's quicker
than forEach.
2014-05-27 15:37:57 -04:00
icomrade
774441ef45 Deprecated/Slow Commands
Stop using them!
2014-05-27 15:03:53 -04:00
vbawol
8340113203 Merge pull request #1266 from Cornyfisch/master
Check trade requirements before animation
2014-05-19 00:32:32 -05:00
icomrade
ad369f18ff ??? 2014-05-17 11:19:09 -04:00
Cornyfisch
881362d237 Moved gear logic 2014-05-13 00:49:02 +02:00
Cornyfisch
4d6055af8b Check trade requirements before animation 2014-05-12 19:09:14 +02:00
Sandbird
f636754aea Update trade_any_vehicle.sqf
Otherwise you get 
Error position: <== _objectCharacterId) then {
Error Generic error in expression

I am surprised no one complained that the key is not getting removed from the inventory...
2014-05-03 21:50:08 +03:00
Sandbird
be18f51f8a Update trade_any_vehicle.sqf
Wrong value..probably a copy/paste from another file.
2014-04-29 20:45:56 +03:00
icomrade
935ed7931d fix for name function error (untested)
17:00:15 WARNING: Function 'name' - PLAYER is dead
2014-03-25 22:01:07 -04:00
Skaronator
6b0ebbf99d Disable ESC after death 2014-03-22 02:37:15 +01:00
icomrade
22bfba6573 Add optional self transfuse
Right click on blood bag, if enable it will show the self transfuse
button.
Currently replenishes all blood.
May be used once every 5 minutes.
2014-03-19 18:03:11 -04:00
icomrade
ad2642a5f9 Fix ammo refill when switching skins and ...
- allow player to switch with backpack on.
- player_countmagazines now returns backpack magazines with ammo count.
Do with this as you like.
- Make sure dead players do not have to wait the abort (after the 5
seconds).
- Update changelog
2014-03-18 15:48:45 -04:00
icomrade
3c28809247 Add switch seats + fix 0 divisor
Also fix CFG error
2014-03-16 16:32:30 -04:00
[VB]AWOL
bf3154dd2b added missing ) 2014-03-12 10:42:13 -05:00
[VB]AWOL
217636511a fix #1128 should work but needs tested. 2014-03-06 16:16:08 -06:00
deadeye2
be3cc5e5a5 Account for different _needNear distances
checks for fueltank within 30m and other objects within 3m
fixes #1123
2014-03-01 23:14:44 -05:00
[VB]AWOL
c0a9f28c07 comment out more debug 2014-02-27 09:34:57 -06:00
Skaronator
945ad16332 Cleanup Files 2014-02-23 18:19:31 +01:00
[VB]AWOL
1c19e85bd7 removed unused file 2014-02-23 09:47:32 -06:00
Skaronator
c9181047ab Super Cleanup 2014-02-21 19:32:25 +01:00
Skaronator
9ebd85956c Fix Logic Typo 2014-02-18 13:10:02 +01:00
Florian Kinder
86ce8f6879 Replaced obsolete variable 2014-02-17 01:32:45 +01:00
Florian Kinder
fb902eb819 Fixed drink/eat
refs #1132
2014-02-17 01:15:13 +01:00
Florian Kinder
72dee3c644 Fixed #1132 mistake
Thanks Skaronator
2014-02-17 00:15:14 +01:00
SilvDev
5d55a4eade Update player_eat.sqf
Add empty food/drink cans into vehicle inventory. Falls out if theres no inventory space.
2014-02-16 20:21:05 +00:00
SilvDev
86b1f294aa Update player_drink.sqf
Add empty food/drink cans into vehicle inventory. Falls out if theres no inventory space.
2014-02-16 20:21:03 +00:00
SilvDev
f05adb95da Update cargocheck.sqf
Proposal to change TitleText to the more commonly used cutText to prevent text overlapping.
2014-02-16 20:14:44 +00:00
Florian Kinder
d48f11bb9f Merge pull request #1125 from vbawol/Feature/0
Updated Craftitem & split config
2014-02-15 02:08:39 +01:00
Florian Kinder
f0e7622856 Fixed Error in expression
Error in expression <_ret = _this select _ret;
};
_ret
>
Error position: <_ret
>
Error Undefined variable in expression: _ret
File z\addons\dayz_code\compile\BIS_fnc\fn_selectRandom.sqf, line 23
Error in expression <BIS_fnc_selectRandom;
_outputWeapons =
[_selectedWeapon];
_selectedMag = _select>
Error position: <_selectedWeapon];
_selectedMag = _select>
Error Undefined variable in expression: _selectedweapon
File z\addons\dayz_code\actions\player_craftItem.sqf, line 193
Error in expression <t_doLoop = false;
};
{
player addWeapon _x;
}
forEach _outputWeapons;
{

_itemOu>
Error position: <_x;
} forEach _outputWeapons;
{

_itemOu>
Error Undefined variable in expression: _x
File z\addons\dayz_code\actions\player_craftItem.sqf, line 200
2014-02-14 00:31:50 +01:00
Florian Kinder
8e99b7a75b Fixed Error in expression
"DEBUG WEAPONS: [0,B 1-1-H:1
(Fank),"",["ItemGoldBar","ItemGPS",1,1,"sell","GPS","Gold",6701]]"
Error in expression <(_configName in (weapons player)));

if(_isToolBelt
or _isBinocs) then {
_msg = >
Error position: <_isToolBelt or _isBinocs) then {
_msg = >
Error Undefined variable in expression: _istoolbelt
File z\addons\dayz_code\actions\trade_weapons.sqf, line 32
2014-02-13 22:58:18 +01:00
Florian Kinder
1c2e81b9dd Fixed typo
Error in expression < (_classname in DZE_DoorsLocked) then {
_object
setVariable ["CharacterID",dayz_>
Error position: <_object setVariable ["CharacterID",dayz_>
Error Undefined variable in expression: _object
File z\addons\dayz_code\actions\player_buildingDowngrade.sqf, line 126
2014-02-13 22:30:11 +01:00
Florian Kinder
cf8dd1180e Updated CraftItem
Always the first/full waterbottle will be taken by melting ores to bars.
To prevent this the bottle with the lowest waterlevel will be taken
2014-02-12 22:30:37 +01:00
Florian Kinder
6d89460dcc Wrong here
Error in expression <LAIN DOWN"];
};

} else {
deleteVehicle
_tmpbuilt;
cutText [format[(localize "st>
Error position: <_tmpbuilt;
cutText [format[(localize "st>
Error Undefined variable in expression: _tmpbuilt
File z\addons\dayz_code\actions\player_build.sqf, line 556
2014-02-11 22:00:20 +01:00
Florian Kinder
387075f6ae Removed obsolete code 2014-02-11 21:56:25 +01:00
Florian Kinder
fc1829800c Fixed typo 2014-02-10 22:45:41 +01:00
[VB]AWOL
46812d8ded Trade counter was incorrectly returning number of output items 2014-02-10 11:09:51 -06:00
vbawol
30960d1325 Merge pull request #1098 from Fank/patch-6
Added Config Crafting inputstrict
2014-02-09 08:38:08 -06:00
Florian Kinder
e870ea6ab8 Fixed CraftItem 2014-02-09 15:27:21 +01:00
Florian Kinder
d4416e8849 Fixed Error in expression remove buildings
Error in expression <= getNumber(configFile >> "_objType" >> _classname
>> "constructioncount");
diag>
Error position: <_classname >> "constructioncount");
diag>
Error Undefined variable in expression: _classname
File z\addons\dayz_code\actions\remove.sqf, line 50
2014-02-09 15:06:38 +01:00