Commit Graph

458 Commits

Author SHA1 Message Date
A Man 67bdc72171 Keep global characterID only for special cases
Only vehicles with a key and locked/lockable buildings need a global characterID. All other vehicles and buildings will have a characterID of "0".
2022-03-26 18:11:16 +01:00
A Man fc6680c360 Remove OEMPos variable
I do not see any use for this variable any longer. Ive tested building, upgrading lock/unlock objects. It seems it has no affect and can be replaced with the normal getPosATL from objects.
2022-03-26 14:53:12 +01:00
A Man cf6ca366d3 Add global fnc_gearCount and fnc_sanitizeInput function 2022-03-25 15:09:34 +01:00
A Man d4e6e786d2 Remove global ObjectID and ObjectUID from server functions
All ObjectIDs and ObjectUIDs are only visible on the server now no longer on the client.
2022-03-25 14:29:00 +01:00
A Man 2168d504bb Remove more ObjectIDs and ObjectUIDs from certain scripts 2022-03-24 21:14:23 +01:00
A Man 3ffa072c8e Remove ObjectID and ObjectUID from PVDZE_maintainArea
This also fixes non maintained safes if they were open when the player maintains the base.
2022-03-24 18:05:37 +01:00
A Man e72394d6da Remove ObjectID and ObjectUID from PVDZ_obj_Destroy calls
This is just the first commit for the removel of all global set ObjectIDs and ObjectUIDs.
Also objects will no longer be send over the network. Only the netID will. The actual object can be resolved with the netID on the server.
2022-03-24 17:17:45 +01:00
A Man 981e217b8e Add function for vehicle addons
This adds a remove and add ammo function for vehicles. Also a keep flares check if the vehicle ammo got removed.
Server admins can add/remove different weapons to vehicles by just editing server_spawnVehicle.
2022-03-22 18:27:33 +01:00
A Man 637f1f4450 Replace fnc_veh_setFixServer with server_setHitpoints 2022-03-22 13:04:38 +01:00
A Man 5dafe02553 Update server_verifySender.sqf
Thx @ZzBombardierzZ
2022-02-24 09:34:19 +01:00
A Man 61ccd1d469 Add missing TallSafeLocked for logs 2022-01-09 11:13:40 +01:00
Luka 9f8af554d4 Fix safe coins refund when packing
The check will always return 'false' because packedClass is a Weapon Holder (classname: WeaponHolder_xxx) and those aren't in DZE_MoneyStorageClasses.
And there's no need for that check anyway because the _isZSC variable checks if it's a money storage.
2021-11-26 13:29:13 +01:00
A Man 5aba5d7ddd Remove DZE_permanentPlot variable
There is no longer a need for the DZE_permanentPlot variable since all servers use plot management and plot for life.
2021-09-20 10:30:32 +02:00
seelenapparat d1abb66e9f Revert "Revert "Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch""
This reverts commit 109ec5c9a3.
2021-08-24 15:47:06 +02:00
seelenapparat 109ec5c9a3 Revert "Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch"
This reverts commit 4bbb3ac609, reversing
changes made to 96f1d40a71.
2021-08-24 15:32:43 +02:00
A Man a3a4cf9003 Add G3A3 with attachment support
Thx to SyNcRoNiCzZ for this wonderful addon
2021-08-20 13:12:27 +02:00
A Man 9852778ba9 Fix weapon dupe with server_playerSync
This reverts all the last changes to server_playerSync and creates a new global variable for dayz_onBack. This should be the best way to save the gear correct and still get dayz_onBack if the player leaves the server. This change removes the constant sending of the whole player inventory over the network from force or regluar_save. It should no longer be needed since the server does the counting now.
2021-08-19 16:46:06 +02:00
A Man 30f15326c2 Add toggleable Virtual Garage by salival
This also adds heli pads to the wholesaler if the virutal garage is activated.
2021-08-18 23:43:21 +02:00
A Man e6eb94197d Add toggleable vehicle key changer by salival 2021-08-18 21:30:48 +02:00
A Man 8c463674b7 Add StaticWeapon check on hive start 2021-08-18 18:59:17 +02:00
A Man be7898aac1 Add toggleable Bury and Butcher Bodies by salival
This also re-arranges the configVariables.sqf and loads the variables for both (server and client) first. This allows to check for certain variables like Z_SingleCurrency and stops the loading of all other Z_SingleCurrency variables even when Z_SingleCurrency was not on.
2021-08-18 18:38:03 +02:00
A Man c245e6d3c6 Fix missing comma
Thx @TheFirstNoob
2021-05-24 20:08:19 +02:00
A Man dd78b3cee4 Fix safe packing 2021-05-16 22:00:03 +02:00
A Man fd2214c7a4 Fix storage coins bug 2021-05-14 16:00:36 +02:00
AirwavesMan e35cccfcbc Fix setdir and setVectorDirAndUp problem
Server admins should apply this fix at least for all their server files asap.
2021-05-01 16:06:15 +02:00
AirwavesMan 0ee3f345b5 Fix damage on vehicles
Thx to mmrsz for letting me know
2021-04-06 15:49:11 +02:00
AirwavesMan 34143e05b6 Fix damage handle on upgraded vehicles
Thx to mmrsz for letting me know
2021-04-06 12:42:54 +02:00
AirwavesMan b850087821 Fix vehicle damage
Thx to mmrsz for the report
2021-04-04 13:19:05 +02:00
AirwavesMan 1d5745e5a0 Add damagehandler for ore veins so they break faster 2021-03-17 09:54:22 +01:00
AirwavesMan 4f5d1dc18c Update dayz_onback again 2021-03-12 14:59:24 +01:00
AirwavesMan 979751d302 Update PVDZ_plr_Save to prevent dayz_onBack dupe
Thx to mmrsz from discord.

PVDZ_plr_Save sends the current weapons from the player too now. This is needed to prevent the dayz_onBack dupe if the server has low fps.
2021-03-08 15:07:13 +01:00
AirwavesMan c316d209a7 Add submarine
Thx @Helion4 for the model
2021-03-08 15:00:51 +01:00
AirwavesMan 63a3535f37 Switch often called functions from private to local 2021-01-14 09:24:06 +01:00
AirwavesMan 3fb87c4da5 Re-arrange server_changeCode 2020-12-27 13:19:46 +01:00
AirwavesMan 585a3d1f36 Update server_swapObject.sqf 2020-12-27 13:18:44 +01:00
AirwavesMan 8c729300e4 Update server_publishVehicle3.sqf 2020-12-27 13:18:34 +01:00
AirwavesMan ecfa1b7efa Update server_handleSafeGear.sqf 2020-12-27 13:18:27 +01:00
AirwavesMan 021f22bf0e Add a tall safe
This safe is the biggest version in-game. The safe is not in by default. It is up to the server admins to use it.

Model made by @Helion4
2020-12-05 14:52:15 +01:00
AirwavesMan af8b18ce6a Update server_updateObject.sqf 2020-11-21 10:27:26 +01:00
AirwavesMan d1ae3f1d00 Update server_updateObject from private to local 2020-11-21 10:18:37 +01:00
AirwavesMan 72650aa7ca Update server_tradeObject.sqf
- Remove publicVariableClient "dayzTradeResult" this is no longer needed.
- Add a dupe check made by @oiad
- Switch from private to local which suits better in Arma 2.
2020-11-17 15:33:33 +01:00
AirwavesMan 1697af9714 Fix weapon on back dupe 2020-11-15 17:49:33 +01:00
AirwavesMan ae52a0e5e8 Fix wrong vehicle update if the player disconnects 2020-11-15 15:43:02 +01:00
AirwavesMan 9684a5d633 Update server_swapObject.sqf 2020-10-07 13:23:00 +02:00
AirwavesMan 98c4f3dcb9 Add objectUID and objectID to logging 2020-09-28 13:41:37 +02:00
AirwavesMan 4aad93fef5 Add correct direction on player spawn
The sending of the direction was missing in 1.0.6. Now we have it back.
2020-09-28 11:39:07 +02:00
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