Commit Graph

39 Commits

Author SHA1 Message Date
ebaydayz
c62e3147c8 Do not send purchased vehicle marker arrow over network
Only the player buying the vehicle needs to see the arrow.

Also fixed CfgMagazines error from:
2c4c75c67c (diff-fcf3df9a25b3d05402ab4e4809673194R6)
@icomrade
2016-08-09 14:52:15 -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
1eeaa3e792 Add epoch_generateKey function 2016-05-03 13:35:50 -04:00
ebaydayz
2f98fc0451 Prevent MeleeMagazines being counted by BIS_fnc_inv 2016-05-03 13:35:50 -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
ebaydayz
4bd9a9aa0b Update public variables
It makes no sense to rename the identical DayZ PVs to have an E in their
name. I don't see any good reason it was done in the first place. All it
accomplishes is breaking script compatibility between the two mods and
requiring different publicvariable.txt filters. The only time it makes
sense is for custom Epoch variables that aren't used in vanilla.

All admins have to do to update custom scripts is swap the names
according to the change log.

Note I've submitted a pull request to replace PVDZ_veh_Save with
PVDZ_obj_Save in official too because they are duplicates.
2016-03-18 21:39:22 -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
[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
icomrade
774441ef45 Deprecated/Slow Commands
Stop using them!
2014-05-27 15:03:53 -04: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
Florian Kinder
cc6acb6d8c Feature/1078 will remove key after sell vehicle 2014-02-06 19:19:37 +01:00
[VB]AWOL
07ddbe93b5 scalar fixes 2014-01-27 18:38:49 -06:00
[VB]AWOL
b4dfed3546 finalized trader changes 2014-01-27 16:47:34 -06:00
ctc.Sebi
f521a241c8 Update trade_any_vehicle.sqf 2014-01-07 16:34:31 +01:00
HARLAN
1a961e475a localize 2013-12-23 12:22:52 -05:00
[VB]AWOL
799cf6d39d finished upgrade code 2013-12-04 16:28:53 -06: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
dayz10k
2af16d3fcf class capitalization 2013-11-22 16:47:15 -05: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
Skaronator
2d0025608f Split compiles a bit, diff sell ranges for Vehicles, air-vehicles and boats 2013-11-08 21:11:26 +01:00
[VB]AWOL
54d692de1e only allow selling of vehicle if local to player
This makes it so you must get into the drivers seat once first before
you can sell the vehicle.
2013-11-07 09:21:03 -06: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
[VB]AWOL
b2b79305f7 1.0.1.6 Developer Build 2013-07-30 21:52:28 -05: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