Commit Graph

73 Commits

Author SHA1 Message Date
ebaydayz
cfff2454aa Update server_monitor 2016-03-26 20:46:42 -04:00
ebaydayz
e435d41f6c Update server_functions
The protective box is not needed on Chernarus.

If other maps need it we are better off spawning a permanent box around
the debug area once, instead of constantly creating new boxes every time
a player logs in.
2016-03-25 21:24:43 -04:00
ebaydayz
debb714277 object_setFixServer -> fnc_veh_setFixServer
Fnc_veh_handleRepair is a new version of fnc_veh_setFixServer with extra
handling. It is used in salvage and some other scripts, but not
server_monitor.
2016-03-22 16:34:08 -04:00
ebaydayz
9ce5a20417 Cleanup variables.sqf
Epoch variables are grouped together now for easy comparison with
vanilla.
2016-03-19 19:58:37 -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
bad0a2e461 add 2 new vars and fix up variable names
DZE_HeartBeat
DZE_UseBloodTypes
2016-03-01 00:23:14 -05:00
icomrade
58acf95dc7 Server Done I Think 2016-02-29 00:29:23 -05:00
ebaydayz
ff4a227a1d Prevent duplicate objectUIDs
See #1504 for the details
2016-02-24 12:31:13 -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
0d5d0b9b8e Change count back to forEach - fix empty safes
See Kronzky's note:
https://community.bistudio.com/wiki/count

You can only use count to iterate through an array if all elements in the array are of the same data type. In this case you have an array with strings (type), arrays (worldspace, inventory, hitpoints) and numbers (fuel, ownerID). You need to use forEach instead. 

This error explains the problem people were having with safe inventories being empty when they open them after a restart:
http://epochmod.com/forum/index.php?/topic/13423-safe-is-empty-after-restart-if-you-open-it/
https://github.com/vbawol/DayZ-Epoch/issues/1368
https://github.com/vbawol/DayZ-Epoch/issues/1422
2014-07-29 15:50:53 -04:00
ebaydayz
a8389ba2bc Fix typo _intentory > _inventory
_intentory should be _inventory
2014-07-29 14:26:48 -04:00
[VB]AWOL
32146dd079 another little thing 2014-06-10 12:22:21 -05:00
[VB]AWOL
726e4e0c22 push inventory global for now 2014-06-02 14:17:27 -05:00
[VB]AWOL
13d8023e82 fixed #1290 2014-06-01 01:17:28 -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
[VB]AWOL
af0da36391 remove forced profilenamespace save
KK said on a blog post that profile namespace variables is done
automatically but you can force it by using saveProfileNamespace command
2014-02-24 10:15:14 -06:00
[VB]AWOL
8dc7ce4250 fixed Instance already initialized 2014-02-18 10:36:23 -06:00
[VB]AWOL
d0cae9e85f added debug for issue #1116 2014-02-13 08:50:11 -06:00
[VB]AWOL
f482bf2677 Revert "Fixed if _hiveResponse is null"
This reverts commit 76314d5636.
2014-02-12 12:58:22 -06:00
Florian Kinder
76314d5636 Fixed if _hiveResponse is null
13:21:08 "HIVE: trying to get objects"
13:21:08 Error in expression <ray = call compile format ["%1",_data];
_resultArray
};

server_hiveReadWriteLar>
13:21:08   Error position: <_resultArray
};

server_hiveReadWriteLar>
13:21:08   Error Undefined variable in expression: _resultarray
13:21:08 File z\addons\dayz_server\init\server_functions.sqf, line 172
13:21:08 Error in expression <ction problem... HiveExt
response:"+str(_hiveResponse));
_hiveResponse = ["",0];>
13:21:08   Error position: <_hiveResponse));
_hiveResponse = ["",0];>
13:21:08   Error Undefined variable in expression: _hiveresponse
13:21:08 File z\addons\dayz_server\system\server_monitor.sqf, line 38
2014-02-12 15:38:51 +01:00
[VB]AWOL
708787db91 Allow maintain options even on godmodebases 2014-02-09 11:09:04 -06:00
Skaronator
1ad5570552 Cleanup Banned weapon check 2014-02-09 17:23:55 +01:00
Skaronator
c3112bc12d Include Base Building Godmode 2014-02-06 11:52:18 +01:00
Skaronator
171952e922 Start with ConfigTrader 2014-02-04 17:16:32 +01:00
Matthew McConnell
2e08e53377 Keep safe/lockbox vars server side until needed
The arrays for safes/lockboxes are kept on the server and when a client
goes to open the safe, a PV is sent to the server requesting the arrays.
Server sends info back.
2014-02-02 16:02:27 +00:00
[VB]AWOL
1c94205afe private array update 2014-01-29 08:40:08 -06:00
Skaronator
ad5f494ab5 Dont need this here anymore 2014-01-28 23:35:40 +01:00
Skaronator
9c80054b12 Fix 'Logic' Typo 2014-01-28 17:39:37 +01:00
Skaronator
85783b00f7 Delay cleanup init bit more 2014-01-25 16:53:07 +01:00
Skaronator
7190991b46 Remove isSinglePlayer Mode 2014-01-24 20:27:20 +01:00
Skaronator
0f0d2e7479 Alot of better Performance 2014-01-24 20:21:15 +01:00
Skaronator
04745cd0e9 Delay cleanup exec - fix restart issue on +50 Slots server 2014-01-21 23:06:07 +01:00
[VB]AWOL
ef779ba2e0 lower animal counts and removed unused variable MaxHeliCrashes 2014-01-16 16:35:31 -06:00
Skaronator
8707ff7c97 Don't merge the array (Not sure if this is correctly) 2013-12-29 23:20:21 +01:00
Skaronator
01c579799f Fix Issue on Slow Server with big HiveDB 2013-12-29 23:19:34 +01:00
Skaronator
24ae26e5bf Fix minus Number in Serverside debug 2013-12-24 22:49:37 +01:00
Skaronator
092c437c63 Fix Now the new Object Streaming way + much better performance 2013-12-23 14:46:39 +01:00
Skaronator
57688bf8c1 Fix Streaming (Untested but currently way was absolutly wrong) 2013-12-23 13:38:41 +01:00
Zac Surplice
30c7af8d04 derp 2013-12-23 13:21:46 +11:00
Zac Surplice
d5a0ec41b1 some optimisations (thanks skaro for advice) 2013-12-23 13:18:03 +11:00
Zac Surplice
23d555a529 buildings before cars 2013-12-23 11:30:25 +11:00
[VB]AWOL
dc94c264f0 use _nul instead of nul 2013-11-30 08:47:15 -06:00
[VB]AWOL
5de91d86af no longer needed here 2013-11-29 01:35:48 -06:00
[VB]AWOL
796f5008b6 cleanup and move road debris back to server 2013-11-25 15:57:57 -06:00
[VB]AWOL
fae5196a44 removed weather for now 2013-11-24 14:04:23 -06:00
[VB]AWOL
05ab8b3a1b use functions here instead to set date weather 2013-11-18 10:24:04 -06:00
Skaronator
2e3f3168d7 Remove unneded Line 2013-11-16 13:53:30 +01:00
[VB]AWOL
7172efe960 removed old server fps counter and added new one. 2013-11-13 15:46:44 -06:00
[VB]AWOL
76cff49af5 zeroweather and large hive read for vehicles 2013-11-06 20:47:22 -06:00
[VB]AWOL
2dcb881a5a maybe needed 2013-10-25 00:37:21 -05:00