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
Skaronator
9d453ec7a0
Less Updating Objects for a better serverperformance
2014-03-01 18:48:15 +01: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
fe18c9091c
Large Loot Cleanup Improvements
2013-12-29 23:17:42 +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
78c9f6324b
disable null cleanup by default
2013-12-08 09:33:45 -06: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
f33f406c73
fixes
2013-11-28 01:34:24 -06:00
[VB]AWOL
677f42bb6f
RC1
2013-11-27 14:44:48 -06:00
[VB]AWOL
796f5008b6
cleanup and move road debris back to server
2013-11-25 15:57:57 -06:00
[VB]AWOL
490048a519
fixes
2013-11-25 15:57:12 -06:00
[VB]AWOL
ad63191782
typo
2013-11-24 18:41:51 -06:00
[VB]AWOL
fae5196a44
removed weather for now
2013-11-24 14:04:23 -06:00
[VB]AWOL
8f172a9ffc
remove old anti teleport and added radiation
...
save time server side ability to increase or lower save time on the fly.
2013-11-22 09:50:17 -06:00
[VB]AWOL
05ab8b3a1b
use functions here instead to set date weather
2013-11-18 10:24:04 -06:00
[VB]AWOL
9b161bcfdf
not needed
2013-11-18 10:24:03 -06:00
[VB]AWOL
de2ca33265
forgot animal cleanup test
2013-11-16 20:57:58 -06:00
Skaronator
d42616e0df
Cleanup files
2013-11-16 16:20:05 +01:00
Skaronator
2e3f3168d7
Remove unneded Line
2013-11-16 13:53:30 +01:00
[VB]AWOL
57cf759b3f
Slower cleanup method
2013-11-14 15:20:54 -06:00