Commit Graph

691 Commits

Author SHA1 Message Date
icomrade
e079381931 move deleteVehicle to server 2017-09-26 16:18:47 -04:00
icomrade
02ff9be46d init vars earlier in updgrade veh
also move vehicle later so the player can't get in until after vehicle is fully initialized
2017-09-25 12:36:37 -04:00
icomrade
95b3174e04 move SQF wait/loop to get OID to SQL Procedure
for some reason you cannot directly get the OID using SELECT LAST_INSERT_ID(); and you cannot return it within the same hive call as the insert call (????).

Requires new procedure for 1.0.6.2
2017-09-25 12:14:41 -04:00
ebayShopper
6ab4faba39 Update AI hit log
Correction for 6239959

@oiad isPlayer is not reliable on dead units which may be passed to
fa_plr2Str. Also, the other scripts which call fa_plr2Str always provide
a player, so we only want to check for AI on the hit log source.
2017-09-19 12:11:27 -04:00
icomrade
d750f576ed Prevent Zed + loot spawn in safezones
thanks BaroN for the idea
2017-09-13 12:45:00 -04:00
oiad
e8a64c3757 Move more diag_log to debug lines 2017-09-09 12:16:58 +12:00
oiad
ea38067cc1 Move more diag_log to debug lines 2017-09-09 12:11:38 +12:00
icomrade
fc23bc73b2 remove hotfix from check 2017-09-08 11:42:03 -04:00
icomrade
7ad57d999f Merge pull request #1968 from oiad/patch-6
Switch forgotten "time" to "diag_tickTime"
2017-09-08 10:03:44 -04:00
icomrade
ec78f61918 Merge pull request #1966 from oiad/patch-4
Dont show incomplete lockbox code
2017-09-08 10:03:01 -04:00
icomrade
58171acda2 Merge pull request #1964 from oiad/patch-2
Remove comment for engine starting/stopping
2017-09-08 10:02:31 -04:00
icomrade
23597db275 Merge pull request #1963 from oiad/patch-1
Fix vehicles bouncing when upgrading.
2017-09-08 10:01:49 -04:00
oiad
08796c65de Update server_swapObject.sqf 2017-08-31 00:07:16 +12:00
oiad
5eba1edf4b Update server_publishVehicle.sqf 2017-08-31 00:06:44 +12:00
oiad
9b79dde3aa Update server_publishVehicle3.sqf 2017-08-31 00:05:35 +12:00
oiad
7decf4dd9e Switch forgotten "time" to "diag_tickTime"
Seems like these were forgotten at some point, the rest are diag_tickTime
2017-08-21 20:50:23 +12:00
oiad
403e40063f Update server_handleSafeGear.sqf 2017-08-19 20:28:46 +12:00
oiad
367d74f3f4 Update server_handleSafeGear.sqf 2017-08-19 11:53:11 +12:00
oiad
ecf013839e Dont show incomplete lockbox code
If the player enters a wrong code the algorithm can make the entered code seem completely bogus, let's just exit out of the routine if that's the case.

Sample bad code (Just hit red key):
```11:45:54 "salival (playerUID) FAILED unlocking LockBox with code: Red0-9900 (actual: Red34) @038117 [3899.36,3580.24,1.632]"```
2017-08-19 11:46:35 +12:00
oiad
e21e0e217f Remove comment for engine starting/stopping
Actually makes this functional without editing it, this is quite useful for custom scripts.
2017-08-17 23:33:51 +12:00
oiad
bdfbcb1e32 Fix vehicles bouncing when upgrading.
This helps stop vehicles bouncing when being upgraded.
The Vehicle Key Changer script I rewrote uses the epoch vehicle upgrade system to claim/change the vehicle key, we noticed that it was causing the vehicles to bounce, but VKC uses all the position functions from the epoch script so it's not something that VKC has introduced.
2017-08-17 23:28:16 +12:00
oiad
4355824aad Revert commit 2017-08-17 23:25:08 +12:00
oiad
d04a99aa04 Fix vehicles bouncing when upgrading.
This helps stop vehicles bouncing when being upgraded.
The Vehicle Key Changer script I rewrote uses the epoch vehicle upgrade system to claim/change the vehicle key, we noticed that it was causing the vehicles to bounce, but VKC uses all the position functions from the epoch script so it's not something that VKC has introduced.
2017-08-17 23:19:48 +12:00
oiad
7428f3fd1f AI hit messages and continuity
This changes the hit messages to only show AI instead of the AI's names.
Changes this:
20:08:37 "P1ayer PID#7(salival) hit by PID#1(Qadeer Hakimi) with
vil_G36VA4Eot/B_556x45_Ball <ammo left:25> from 356 meters in head_hit
for 0 damage"
To this:
20:08:37 "P1ayer PID#7(salival) hit by AI with
vil_G36VA4Eot/B_556x45_Ball <ammo left:25> from 356 meters in head_hit
for 0 damage"

Sanity fix for hit and kill for vehicles so they match:
Before:
22:44:03 "P1ayer PID#3(salival) hit by AI in Pickup (PK) DZ from 15
meters in head_hit for 0.88666 damage"
After:
22:44:03 "P1ayer PID#3(salival) hit by AI with a Pickup (PK) DZ from 15
meters in head_hit for 0.88666 damage"
Kill message:
22:44:04 "salival (76561197999617086) salival was killed
by AI with a Pickup_PK_INS_DZ from 15m"
2017-08-17 23:09:10 +12:00
icomrade
e326678504 Don't str str 2017-08-02 18:57:26 -04:00
icomrade
fbfb124296 use str instead of format 2017-08-01 17:39:53 -04:00
icomrade
6c7b884958 restrict again 2017-07-30 18:39:38 -04:00
ebayShopper
7a68f9f70b Add some basic compatibility for Ruegen map 2017-07-30 16:28:37 -04:00
icomrade
de92ae22be reduce charset 2017-07-29 21:12:23 -04:00
icomrade
8035df0ba0 Rudimentary auth for DeleteObj
limits distance to object, as well as validating random auth key.  added server_deleteObjDirect which is only for direct execution on the server, whereas server_deleteObj should be used for PVEH execution only
2017-07-29 21:09:20 -04:00
ebayShopper
78460ce4fc Delete all CrateLong in cleanup
Continuation of aab4262

Did not realize multiple are created for each vehicle
2017-06-24 15:27:22 -04:00
ebayShopper
aab4262ebb Add cleanup of destroyed vehicles and CraterLong 2017-06-24 11:14:39 -04:00
ebayShopper
abdb3e0e42 Fix survival time not counted after clothes change
Vanilla commits:

cf4fde6335

74dd04616f
2017-06-10 10:07:19 -04:00
ebayShopper
3b12dc09d3 Remove two unused files 2017-04-16 17:46:55 -04:00
ebayShopper
9fc72a8b87 Change dayz_survived to actual play time
Vanilla commits:

18eaecb19f

b76b1200ca

78ea61e334

8309427f0d

Should be ready for Hive update @icomrade . If you upload it to a test
folder I'll test it.
2017-04-13 18:35:28 -04:00
ebayShopper
3bdbc020c4 Fix error from 4b14397 2017-04-05 17:13:09 -04:00
ebayShopper
4b14397c7b Fix purchased boat not spawning on helipad
https://epochmod.com/forum/topic/43644-problem-with-napf-boat-spawn-in-1061/
2017-04-05 15:49:16 -04:00
ebayShopper
496681cd9b Add support for harvesting added plants
Closes #1928
2017-04-04 13:32:06 -04:00
ebayShopper
6a711deccc Add reliable workaround for swimming in ground and air issue
Fixes #1913
2017-03-23 15:58:14 -04:00
ebayShopper
ad7a12771a Fix swimming in ground again #1913
Closes #1913
2017-03-22 14:59:31 -04:00
ebayShopper
e38f47375c Fix some issues with traps
Removed two unused files.

Vanilla commits:

42e72463a3

02726fb192

6a7c53ebcf

1fb6308995

9543ea057f
2017-03-20 15:53:35 -04:00
oiad
9324deffaf server_updateObject better version. (#1910)
Cheers @ebayShopper
2017-03-16 11:46:23 -04:00
oiad
8c42460ba9 Revert force coins update, Add seperate coins update
This reverts
ce75f87e1d
2017-03-16 06:56:29 +13:00
ebayShopper
c19a138804 Use formatText in mission check
Avoids format character limit
closes #1905
2017-03-11 20:41:33 -05:00
oiad
2ec5390b70 Standardize coin variables, prevent coins not refreshing on skin change. (#1904)
* Standardize coin variables, prevent coins not refreshing on skin change.

* Add missing commit
2017-03-11 13:05:34 -05:00
icomrade
6871da6168 add hotfix files to mission check 2017-03-10 13:56:17 -05:00
icomrade
a3f22197de 1.0.6.1 hotfix A
update changelog
add mission check
add fixes for group icons and nutrition to mission files
2017-03-10 13:50:33 -05:00
ebayShopper
61630e91b3 Update scripts.txt exceptions
- Removed some unneeded exceptions
- Moved tree chop PVEH to server compile only so client does not need
setdamage exception
- Replaced "showCommandingMenu" filter with stricter
"menu" filter
- Renamed two files with no changes for easier filtering of
"menu"

Vanilla
commits:
1d639b557b
3a29242537
5cdf249ea9
2017-02-28 18:26:37 -05:00
ebayShopper
f0ef0fce35 Make server_playerSync exit log more accurate
This will now show INFO instead of ERROR when sync exits while a player
is changing clothes.
2017-02-26 15:28:17 -05:00
oiad
ea94ec4e8b Extend DZE_GodModeBase to built items (#1898)
This now makes buildables properly apply godmode instead of having to
wait till restart for:

* Being built
* Being upgraded
* Being downgraded
master
2017-02-26 13:50:11 -05:00