Commit Graph

412 Commits

Author SHA1 Message Date
AirwavesMan
a3dbabe6c6 Update server_playerSetup.sqf 2020-09-23 13:34:20 +02:00
AirwavesMan
95d528b82a Fix vehicle damage on upgrade
The vehicle damage and the fuel got not saved on upgrade. This results in a complete repaired vehicle after the upgrade.
2020-09-12 19:20:08 +02:00
AirwavesMan
673c705aeb Add upgradable safes and lockboxes
- Safes and lockboxes can be upgraded now.
- A winter lockbox version was added too. The current model and icon will be replaced later for the new lockbox.
- Calling Child 308 on the DB has no room for storing coins, this is why we need to update coins and gear after swaping the object. Same for upgrade vehicle
2020-09-12 01:18:57 +02:00
AirwavesMan
5180223c22 Add dayz_authKey for safes and lockboxes
Safes and Lockboxes got updated and need dayz_authKey now. Also improved the logging of codes and who has used which codes in the logs for server admins.
2020-09-08 20:29:23 +02:00
AirwavesMan
ecba701857 Add grid position to log 2020-09-08 16:35:33 +02:00
worldwidesorrow
fb1e28709c Update updateObject_functions.sqf 2020-07-29 15:54:05 -05:00
worldwidesorrow
38a71177a3 Update server_playerSync.sqf 2020-07-29 15:53:42 -05:00
worldwidesorrow
21965347c2 Update server_handleSafeGear.sqf 2020-07-29 15:53:11 -05:00
worldwidesorrow
32d5a6a2f5 Update server_changeCode.sqf 2020-07-29 15:52:23 -05:00
AirwavesMan
10ca82533f localize cursorTarget check 2020-07-26 18:57:54 +02:00
AirwavesMan
5e296fc092 Adding salivals Change Code to Epoch Core 2020-07-23 22:20:58 +02:00
worldwidesorrow
64ccddf53c Delete server_cargoDrop.sqf
Removing cargo drop because of duping issue.
2020-07-22 21:33:53 -05:00
worldwidesorrow
8e97c06bff Update server_playerSetup.sqf
Send weather settings to JIP player.
2020-07-14 16:50:01 -05:00
worldwidesorrow
163a8f696b Update server_playerLogin.sqf
Add Chernarus Winter to the glitched map objects removal so the silly bench in the NWAF barracks gets destroyed.
2020-07-14 16:48:43 -05:00
worldwidesorrow
4119391578 Add files via upload
Server side cargo drop script.
2020-07-14 16:45:08 -05:00
oiad
38f5f618e0 Fix lockables not inheriting damage on unlock/lock
This causes problems with maintaining since the unlocked lockables won't
inherit any damage so they won't be maintained unless it's force
maintained
2020-07-01 08:27:21 +12:00
AirwavesMan
61e4da527e Update server_swapObject.sqf 2020-06-10 14:02:01 +02:00
A Man
5724d452cb Add tools as requirement for upgrade buildings
player_upgrade.sqf can upgrade storage buildings too now.
2020-05-13 01:34:25 +02:00
oiad
24bd87cc5f Allow fnc_lockCode to be used server/client side
This allows fnc_lockCode to be used by client and server side scripts.

This also does localization client side but server side the colors are
hard coded english.
2020-04-07 10:29:17 +12:00
A Man
62bf3e5323 Update server_publishVehicle3 2020-04-05 20:50:30 +02:00
A Man
71b256e40c Update server_handleSafeGear.sqf 2020-04-03 14:57:40 +02:00
A Man
f6e7a1a91e Add better logging for server_deleteObj 2020-04-03 14:54:58 +02:00
A Man
ad41a9a7f4 Update safehandlegear 2020-04-03 14:47:02 +02:00
worldwidesorrow
4f59e18bd2 Update spawn_vehicles.sqf
Update dynamic vehicle spawner so that planes only spawn at runway and hangar positions.
2020-02-12 02:58:57 -06:00
worldwidesorrow
e73ff42623 Rename Server Files/Archive/dayz_server/compile/zombie_Wildgenerate.sqf to SQF/dayz_server/compile/zombie_Wildgenerate.sqf 2020-01-21 15:18:35 -06:00
worldwidesorrow
90dfc6b1c5 Rename SQF/dayz_server/compile/zombie_Wildgenerate.sqf to Server Files/Archive/dayz_server/compile/zombie_Wildgenerate.sqf 2020-01-21 11:33:49 -06:00
worldwidesorrow
9d2549c40a ServerCurrentTime changed to hold the whole date. 2020-01-09 18:33:48 -06:00
worldwidesorrow
0d011ccb03 Remove unused variables posForceUpdate and medForceUpdate. 2019-12-11 21:05:17 -06:00
A Man
f0ac4afc79 Fix traders can be hostile to AIs 2019-12-03 23:55:09 +01:00
worldwidesorrow
ca507b2647 Rename SQF/dayz_server/compile/server_spawnInfectedCamps.sqf to Server Files/Archive/dayz_server/compile/server_spawnInfectedCamps.sqf
Archive Vanilla event file.
2019-11-26 09:26:58 -06:00
worldwidesorrow
eccb44ceef Rename SQF/dayz_server/compile/server_spawnCrashSites.sqf to Server Files/Archive/dayz_server/compile/server_spawnCrashSites.sqf
Archive Vanilla event file.
2019-11-26 09:25:47 -06:00
worldwidesorrow
c50f4a0686 Rename SQF/dayz_server/compile/server_spawnCarePackages.sqf to Server Files/Archive/dayz_server/compile/server_spawnCarePackages.sqf
Archive Vanilla event file.
2019-11-26 09:23:58 -06:00
worldwidesorrow
c32f5c56cc This function has been moved to the scheduler. 2019-11-25 08:49:10 -06:00
A Man
49378f62b3 Remove DB traders 2019-11-16 19:06:32 +01:00
A Man
ae3a4fa2c8 Adding better logging for playerDied
Also made some basic code changes for player_death
2019-11-08 20:32:07 +01:00
Merlijn
2178b80ec7 Forgot coins 2019-11-05 11:44:00 +01:00
Merlijn
c0eff73d0f Fix typo 2019-11-04 20:47:35 +01:00
Merlijn
6954452aa7 More server_updateobject optimization 2019-11-04 20:24:02 +01:00
A Man
f24921ab1e Updating server_updateObject 2019-10-31 20:41:15 +01:00
oiad
12f9e16407 Show distance/limit in failed distance verification check 2019-10-30 22:17:18 +13:00
F507DMT
baf92ebf29 Update server_playerSync.sqf (#2038)
* Update server_playerSync.sqf

fix dupe and save inventory bag, if object position in sea

* Update server_playerSync.sqf
2019-09-16 11:40:38 +12:00
F507DMT
a052ba767b Update server_onPlayerDisconnect.sqf (#2039)
* Update server_onPlayerDisconnect.sqf

fix dupe and save inventory bag, if object position in sea

* Update server_onPlayerDisconnect.sqf
2019-09-16 11:39:56 +12:00
ebayShopper
be777dd42a Fix distanceFoot database stat
Vanilla commit: 741df60085
2018-07-29 13:54:57 -04:00
icomrade
f03f2454c9 Update for A2 1.64 GetHit
Replaced vehicle sethit/setvariable method with sethit/gethit and removed setvariable "Hit_" commands for vehicles (hit_partname can now probably be added to the setvariable filters list).

Modified object_getHit.sqf return to now provide the selection name in order to reduce redundant config lookups. Returns '[Damage, Part Name]', instead of just 'Damage'

Modified vehicle_GetHitpoints.sqf to remove incorrect hipoints from returning. Previously this script would return all hitpoints from any vehicle the current vehicle config inherited from, even if the hitpoint didn't exist in the calling vehicle. this posed a problem since getHit on an invalid part name returns Nil
2018-01-21 17:26:35 -05:00
ebayShopper
d48c9070e8 Revert the last two commits
This reverts commits b5f3f30 and 3e0ddef.

Discussed with oiad on discord:
- BIS_fnc_areEqual is much slower than short string comparisons
- String in array form is three times longer, which means more data sent over the network

This way keeps authKey as a string and still avoids pvval kicks.
2018-01-21 13:54:20 -05:00
oiad
3e0ddef7b1 Fix more dayz_serverKey from b5f3f306de
Thanks to @AirwavesMan for the heads up
Hopefully no more! :)
2018-01-21 12:48:52 +13:00
oiad
b5f3f306de Fix publicVariableEval kicks from RNG fail
RNG can be a cruel mistress.
Fixes: Value Restriction #121 "PVDZE_veh_Publish2" =
[[99,[4763.93,7521.36,-0.000228882]],"CSJ_GyroCover",false,"ItemKeyBlack958",<NULL-object>,"iN4r7X7Psetsq"]

Thanks @AirwavesMan
2018-01-18 22:37:38 +13:00
ebayShopper
eaaedf21c0 Fix a few more glitched map objects
Vanilla commit:

7d669a390b
2017-12-29 15:42:55 -05:00
ebayShopper
694ea87d0d Update scripts.txt
- Updated exceptions, added new filters and removed some which were not
useful
- Removed exceptions for testkit because it is not part of the mod
- Added notes to clarify for now, will move this info to BI wiki later
- Removed two unused files
2017-12-26 00:55:10 -05:00
ebayShopper
0690e85a22 Hide more map objects that clip in Land_houseV_2T2
Vanilla commit:

504da5afbb
2017-12-21 17:06:05 -05:00