Commit Graph

27 Commits

Author SHA1 Message Date
ebaydayz
c2b16f0828 Consolidate DZE_ActionInProgress and r_action_count to one variable
There is no point in having two variables for the same purpose.

It is also pointless to keep an action count tally like r_action_count
was doing, since it is only ever checked for being 0 or 1. Any count
higher or lower than that is irrelevant.

I will make this change in vanilla too.
2016-08-25 15:38:27 -04:00
ebaydayz
fd2eb14c5e Give inTraderCity a default value
There is no point in setting inTraderCity = "Any"; since you can use the
isInTraderCity variable to check if a player is in any trader city. Also
"Any" will return false for isNil, so the only time "Unknown Trader
City" was being used was when the player had not entered any city yet.
If they left a known trader and went to an unknown one the RPT message
would say "bought x at Any". Now it will correctly say "Unknown Trader"
anytime a purchase is made without inTraderCity being set.
2016-07-29 15:48:51 -04:00
ebaydayz
5157228e67 Update all cutText to dayz_rollingMessages 2016-04-16 15:47:49 -04:00
ebaydayz
4ce54fbb62 Update server_publishObject
The hive call in server_publishObject is the same between vanilla and
Epoch. The only difference is vanilla uses the _inventory area for
owner, lock code, etc. variables where as modular Epoch items just store
an empty array there.

The object classname does not need to be sent in the PV because it can
be obtained on the server.

PVDZE_veh_Publish was not used.
2016-04-02 15:24:20 -04:00
ebaydayz
91f9b3e33b Make UI toggleable between three options
Admin can choose vanilla, classic epoch or classic epoch dark.

dayz_hungerThirst was replaced with dayz_NutritionSystem
2016-03-29 19:54:19 -04:00
ebaydayz
e2e6e79394 Minor formatting cleanup 2016-03-21 17:58:23 -04: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
Marko
273c8b8954 Update trade_weapons.sqf
Revert || back to or for text messages
2014-07-21 19:20:47 +02:00
[VB]AWOL
e7571b072d commented out more diag_logs 2014-06-02 13:40:26 -05: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
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
[VB]AWOL
b4dfed3546 finalized trader changes 2014-01-27 16:47:34 -06:00
ctc.Sebi
a190397618 Update trade_weapons.sqf 2014-01-07 16:35:46 +01:00
Zac Surplice
6a58370670 small change 2013-11-27 15:42:38 +11:00
[VB]AWOL
a46cec0036 fixes to trading 2013-11-26 22:25:53 -06:00
[VB]AWOL
84874daa18 added thirst and hunger loss to all medic animation 2013-11-26 16:08:10 -06:00
[VB]AWOL
e92d212d16 added logging to swap object and changed to getPlayerUID 2013-11-26 14:12:23 -06:00
[VB]AWOL
26f9238cf9 need quotes if using isnil 2013-11-17 00:24:29 -06:00
Skaronator
253d5ccc39 New Logsystem Script Side 2013-11-16 15:42:52 +01:00
Zac Surplice
7b802a38a5 localization fix 2013-11-12 11:53:16 +11:00
Zac Surplice
9a601182bb localization #3 2013-11-07 02:05:05 +11:00
Zac Surplice
cf2cdc037a localization #2 2013-11-06 19:34:53 +11:00
[VB]AWOL
aa14a03c4e added server side logging of purchases of vehicles and removals 2013-10-27 10:22:29 -05:00
[VB]AWOL
af4b876cde private arrays part 1 2013-10-22 09:10:27 -05:00
Zac Surplice
d3f7e67647 player_build.sqf Enhancements and PV renames 2013-10-07 10:56:47 +11:00
vbawol
91b05db8e0 1.0.1.2 Release
+ [CHANGED] commented out many diag_logs
+ [CHANGED] bandit status is now at -5000 instead of -2000
2013-06-26 09:11:30 -05:00
vbawol
483279c126 Organize files a bit and removed non source pbo's 2013-06-24 06:26:15 -05:00