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
[VB]AWOL
507eee89c7
detect and count spawn markers to ensure markers exist
2013-10-23 00:44:48 -05:00
[VB]AWOL
a2c08a4476
added spawning ammo boxes around roads at start
2013-10-10 14:59:53 -05:00
[VB]AWOL
5acb9eee16
have to disable armed vehicle ammo in config #1
2013-10-08 15:02:30 -05:00
[VB]AWOL
665c77a810
spawn debug black box at marker
2013-10-07 16:50:43 -05:00
[VB]AWOL
9db68d1eb1
1.0.2.4 RC2
2013-10-07 00:31:12 -05:00
Zac Surplice
d3f7e67647
player_build.sqf Enhancements and PV renames
2013-10-07 10:56:47 +11:00
[VB]AWOL
27300140a8
1.0.2.4 RC1
2013-10-05 06:29:39 -05:00
[VB]AWOL
6a7e557638
1.0.2.39 dev part 2
2013-10-03 12:05:53 -05:00
[VB]AWOL
2dc52d0e32
1.0.2.38 Dev
2013-09-29 22:06:33 -05:00