Commit Graph

170 Commits

Author SHA1 Message Date
ebaydayz
f0757b1544 Send dayz_playerName as array
This avoids triggering PV value restrictions when the player has
keywords or special characters in their name.
2016-03-20 22:12:11 -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
61c64cb14a Fix Merge Conflict 1 2016-03-03 22:09:38 -05:00
ebaydayz
ca44e9d8b1 Sensible combat log knockout timer
A five minute knockout timer for combat logging is far too long. Most
players will just leave the server and join another. Two and a half
minutes is more bearable.
2016-03-01 17:02:27 -05: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
Mikeeeyy
fea1013a1c Update server_updateObject.sqf 2015-03-01 04:08:04 +00:00
Mikeeeyy
4814c4fd04 Update server_updateObject.sqf
Better formatting and some fixes, one major fix involving the saving of inventory. It was using format which has a limit. That could be a problem with a vehicle that can hold a lot of cargo with a ton of unique mags/weapons in it.
2015-02-28 01:30:09 +00:00
Mikeeeyy
5c88e790f4 Update server_updateObject.sqf 2015-01-21 20:15:10 +00:00
Mikeeeyy
4ad1a72db2 Update server_updateObject.sqf 2015-01-18 04:28:04 +00:00
icomrade
33e9c7669b GetPlayerUID compile, update skin change 2014-07-17 14:29:17 -04:00
ebaydayz
87ee176d7d Fix nearestObjects position error
_pos should be _charPos. Currently it causes this error in server RPT on 1.63.112555+ because it references the player object, not the player object's position:

 6:36:48 Error in expression <ear"] call server_updateObject;
} count nearestObjects [_pos, dayz_updateObjects>
 6:36:48   Error position: <nearestObjects [_pos, dayz_updateObjects>
 6:36:48   Error 0 elements provided, 3 expected
 6:36:48 File z\addons\dayz_server\compile\server_playerSync.sqf, line 209
2014-07-15 23:54:26 -04:00
ebaydayz
0eb5f76c64 Update fnc_plyrHit.sqf
Fixed undefined variable "_weapon" error on 1.63.112555+
2014-07-13 12:18:38 -04:00
icomrade
3491e4462d Add variable 2014-06-30 12:46:06 -04:00
icomrade
6f8efd8428 Legacy UID 2014-06-30 11:53:14 -04:00
icomrade
a79e86ba33 Hopefully get names 100% of the time now 2014-06-13 14:13:51 -04:00
icomrade
b144c7dce6 Fix death messages 2014-06-09 13:01:56 -04: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
55d49c279b Update server_playerSync.sqf
With str(_currentModel) it adds quotes in the database so it becomes : "GUE_Soldier_CO_DZ"  breaking the skin. Either comment that line or set to to what i did :)
2014-05-14 16:24:30 +03:00
icomrade
2c23aa517d Better logging 2014-05-14 00:39:15 -04:00
vbawol
92c80a2b7b Merge pull request #1206 from Sandbird/master
Update server_updateObject.sqf
2014-04-24 19:37:16 -05:00
Sandbird
f82a84146e Update server_updateObject.sqf
missing ; from all _object setHit ["_selection", _hit]
2014-04-24 15:30:03 +03:00
Skaronator
8262431ba3 Fix #1192 2014-04-05 13:27:28 +02:00
icomrade
b80bb88467 Add missing variable + RPT cleanup
fix 2 dup string warnings
fix "Cannot delete class rscdisplayinfo" warning.
Start extended vehicle damage debugging.
2014-03-26 02:40:24 -04:00
icomrade
935ed7931d fix for name function error (untested)
17:00:15 WARNING: Function 'name' - PLAYER is dead
2014-03-25 22:01:07 -04:00
Skaronator
54ebc8aac0 Readd Infected System 2014-02-23 18:07:37 +01:00
[VB]AWOL
b6c3bc1a50 isnull checks may help reduce log spam 2014-02-23 09:45:50 -06:00
Florian Kinder
d74602fb95 Updated Death system 2014-02-18 23:22:38 +01:00
icomrade
71195cf488 Fix <NULL> kill message fix
fixception
2014-02-09 15:28:14 -05:00
Skaronator
37a1c86325 Cleanup dayz_server 2014-02-06 23:08:35 +01:00
Skaronator
c3112bc12d Include Base Building Godmode 2014-02-06 11:52:18 +01:00
[VB]AWOL
5db68b7d13 fake trade just for logging when DZE_ConfigTrader = true
_key = format["CHILD:398:%1:%2:",_traderID,_buyorsell];

_data = "HiveEXT"
_result =
// diag_log ("TRADE: RES: "+ str(_result));
_outcome = _result select 0;
2014-02-04 12:48:57 -06:00
[VB]AWOL
7e0f9cd758 take two 2014-02-04 09:57:42 -06:00
[VB]AWOL
9876b42b0a add DZE_DamageBeforeMaint default now 0.09 instead of 0.1
Also exit with message if no maintainable objects are found
2014-02-03 08:38:39 -06:00
Skaronator
d0203ab157 Cleanup dayz_server scripts 2014-02-02 20:30:52 +01:00
vbawol
48dbdd211a Merge pull request #1060 from Fank/Feature/968
Feature #968
2014-02-02 10:56:11 -08:00
Florian Kinder
bae9f43201 Updated Crashmodels 2014-02-02 19:13:37 +01:00
vbawol
7312c91941 Update fnc_plyrHit.sqf 2014-02-02 10:42:39 -06:00
Skaronator
23f1cc9045 Don't need this here 2014-02-01 22:54:33 +01:00
Skaronator
f281d8e86c Example Script for ServerSide Unlock 2014-02-01 22:52:46 +01:00
Skaronator
eb936a78d9 Don't need a extra function because its just used in maintainArea.sqf 2014-02-01 22:52:16 +01:00
Skaronator
4db3e5ddcb Update server_spawnCrashSite.sqf 2014-01-30 16:12:41 +01:00
[VB]AWOL
cbcc5a63f6 fixed #1040 2014-01-29 14:21:40 -06:00
[VB]AWOL
4573e9b5c0 more DZE_MissionLootTable fixes #1028 2014-01-29 11:41:54 -06:00
[VB]AWOL
f36a6e1874 object not array 2014-01-27 11:14:09 -06:00
[VB]AWOL
b508bde202 added PVDZE_ to player%1 variable to filter better 2014-01-26 12:16:13 -06:00