Commit Graph
100 Commits
Author SHA1 Message Date
ebaydayz ee3eb845a3 Remove selling backpacks from vehicles
I don't think we should allow selling backpacks from vehicles because we
can not get backpack contents.

We can only remove all backpacks with clearBackpackCargo and then add
back new empty backpacks for ones that weren't sold.

This means players may unintentionally wipe all contents of all other
backpacks in their vehicle when they only want to sell one.

Thanks @AirwavesMan for catching this.

Also made changes discussed in #1718 @oiad
2016-08-01 17:14:42 -04:00
ebaydayz 3bf9c4452e Update test build
Since some mission file paths changed
2016-08-01 10:10:00 -04:00
ebaydayz d2bf8b30eb Update config trader from 34f9f97
Forgot to update m16a2_dz (supports GL now).

https://github.com/EpochModTeam/DayZ-Epoch/commit/34f9f97aa31c5f368379dc7856ea6610f3d8f3cc
2016-07-31 20:32:53 -04:00
ebaydayz a5be49c546 Add handling of magazine overflow in AdvTrade and free slot icons
- Added proper handling of pistol mags and regular mags in gear to
prevent magazine overflow
- Added pre-check if return change will overflow gear + backpack free
space. If change will not fit in gear + backpack free space then buy is
prevented with a message notifying the player. In the case of a sale it
proceeds anyway, but notifies player if overflow occurs (see comments in
returnChange)
- Consolidated duplicate code for calculating free space and returning
cargo of an object into new calcFreeSpace
- Old calculateFreeSpace renamed to displayFreeSpace
- Added Weps/Mags/Bags icons to free slot numbers display
2016-07-31 18:38:53 -04:00
ebaydayz cc129cf403 Fix buyItems error from #1716 @oiad 2016-07-30 12:28:33 -04:00
ebaydayz fbffd8e9cb Fix hit_glass setVariable filter
@icomrade - In regex character classes only match each single character.
So a range with more than one character on one end (20) won't work:
http://www.regular-expressions.info/charclass.html

You can see that by running this code in-game with your old filter and
it will kick you:
player setVariable ["hit_glass3",1,true];

Adding the + on the end makes it match the character class one or more
times, so now it will match any integer >= 0.
2016-07-30 12:07:26 -04:00
ebaydayz 8589b9d46d Fix fn_collisions in wrong folder
My mistake from
https://github.com/EpochModTeam/DayZ-Epoch/commit/657830291b893028a285767039736a482f2378e4
2016-07-30 11:07:04 -04:00
ebaydayz 1700224124 New Var added for antiWallHacks.
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/224be145334775ccadaa721b62189941ef944dc0
2016-07-30 10:51:42 -04:00
ebaydayz 657830291b Updated vanilla Collision system
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/0a1db17343f0eb828c60f08c28c06e571ee366cf
2016-07-30 10:34:25 -04:00
ebaydayz 811327de58 Fix typo
Shows "Only 0 backpacks fit in your backpack" until the translation is
updated.
2016-07-30 10:11:40 -04:00
ebaydayz 6b5fbe433c Fix errors from #1716
Careful @oiad
2016-07-30 10:08:02 -04:00
ebaydayz 1d2fc3b266 Fix item count being overwritten in AdvTrade right list title
When switching back to category view the item count was overwritten
from:

https://github.com/EpochModTeam/DayZ-Epoch/commit/12a9e9f83edc78c4ec147d86e6b1d77f91323250

It is no longer needed to set it in changeBuySell since calcPrice runs
every time changeBuySell does. The one exception is when switching back
to category view, but in that case it stays in buy mode anyway.

You forgot to add it for single currency as well @oiad
2016-07-29 16:36:36 -04:00
ebaydayz fd2eb14c5e Give inTraderCity a default value
There is no point in setting inTraderCity = "Any"; since you can use the
isInTraderCity variable to check if a player is in any trader city. Also
"Any" will return false for isNil, so the only time "Unknown Trader
City" was being used was when the player had not entered any city yet.
If they left a known trader and went to an unknown one the RPT message
would say "bought x at Any". Now it will correctly say "Unknown Trader"
anytime a purchase is made without inTraderCity being set.
2016-07-29 15:48:51 -04:00
ebaydayz b1ae6c4a60 Fix unknown entity RPT error for Padlock and Frank&Beans
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/955c7a263ca4d1069c340c074c76181aade24ce4
2016-07-29 14:34:45 -04:00
ebaydayz c9efb9e9df Fix some undefined variables in Adv Trade systemChat messages
Fixes "Cannot sell any, tires are too damaged." and empty string in
success message.
2016-07-29 11:41:44 -04:00
ebaydayz b408e76c55 Fix extra spaces in Advanced Trading RPT log
Also fixed missing space in systemChat message.
2016-07-29 11:09:42 -04:00
ebaydayz ba3677f13d Remove redundant "Gear" text next to portrait in Adv Trade
The menu already says "Buying in" or "Selling from" Gear in the top left
so having it again in the top right is redundant. It was my mistake
adding it there originally.
2016-07-29 10:22:13 -04:00
ebaydayz f9ca43c795 Don't diag_log player name as array
Forgot to update this diag_log. My mistake from:

https://github.com/EpochModTeam/DayZ-Epoch/commit/28a522ba6442e0d6af54cd0794e6e25df6029673
2016-07-28 16:38:55 -04:00
ebaydayz 1bfc6b3c31 Fix combat status_bg not matching other icons' status_bg sizes
See
https://github.com/EpochModTeam/DayZ-Epoch/commit/fbc77547507dcc063ab56c9620e95d7e1e5a5151
for discussion
2016-07-28 15:37:26 -04:00
ebaydayz 0fbf55da06 Move server_traders to dayz_code
This reduces the mission size for servers using default traders. Admins
can easily copy paste over the include to customize.
2016-07-28 12:05:31 -04:00
ebaydayz 82cf8e76f0 Updated Breaking to support Metal Gates.
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/bf16f402f68feeb6c530c00f151741f5707c1e04
2016-07-28 11:17:11 -04:00
ebaydayz e399556af2 Fix wrong handler for PVDZ_Server_processCode
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/afbedde9fa595bc6de38d850752d140ade7ef71a
2016-07-28 11:02:28 -04:00
ebaydayz cbbbe1bd8f Randomized tree directions
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/beac505eb4ec3706550230d70c2fee10e056e1a8
2016-07-28 10:49:28 -04:00
ebaydayz f84140c555 Don't clear buying list on category switch + AdvTrade fixes
The buying list now acts like a shopping cart. It is no longer cleared
when switching between categories or containers. Closing the dialog or
switching to sell mode still clears it.

Also fixed:
- Filter button in sell mode
- Bug where filtering sellable list readded items already moved to
selling list
- Visual price display not clearing when remove all button is used on
buying list
- Gear container picture showing rank instead of portrait in buy mode
- Dialog is no longer closed when trying to sell zero items
- LbCurSel is now reset when the buyable list is cleared
- Category is no longer opened onLbSelChanged. Instead you need to
double click or use the "View" button, so the arrow keys can be used for
selecting too.
2016-07-27 18:40:03 -04:00
ebaydayz 66e35d1629 Add new 1.8.7 meat names to 1.0.6 SQL updates 2016-07-25 19:04:17 -04:00
ebaydayz 28a522ba64 Fix PV value kick for player names with special characters
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/6b7a55b1ea0a8aacfc476599a6da10e75aa3c726
2016-07-25 13:37:33 -04:00
ebaydayz 3a203b2720 Cover map bug at Polana factory pond
Vanilla development commits:

https://github.com/DayZMod/DayZ/commit/bd9ec53854364550c81a2496b44c08b21ddaa1d2

https://github.com/DayZMod/DayZ/commit/028490e21b431fdec6b746920e3dceebd20b9687
2016-07-25 12:31:39 -04:00
ebaydayz 03c57f3b77 Fix for Confirmed Kills system on change clothes.
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/d499246e2e711ff1efda9fed38ca589bcb7908f7
2016-07-25 12:19:45 -04:00
ebaydayz 33538520d0 Removed Achievements from network send on login.
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/0079818570b115cb9def88db6014c5306560eb15
2016-07-25 12:16:22 -04:00
ebaydayz 55df36741b Diag_log Cleanup.
Vanilla development commits:

https://github.com/DayZMod/DayZ/commit/1dbef192bb413526503aca89bb636e277ac59985

https://github.com/DayZMod/DayZ/commit/10cb0249f0dcfa80b5e4cfd89660bc6c33d6700a
2016-07-25 12:06:53 -04:00
ebaydayz 8202f7d61b Sync debug check
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/0baaac7a91a4eaf02c13e47ae51e2015af5549c2
2016-07-23 15:23:00 -04:00
ebaydayz cc2aae59eb Change splint recipe
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/6ea5d8ebee35adb3eadd1061f57c165049e36ad8
2016-07-23 15:12:08 -04:00
ebaydayz 8ed5a9c7a9 Antibiotics combining
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/0602d29530dfec6d0adc61fa6724bb201897a888
2016-07-23 15:03:49 -04:00
ebaydayz 34f9f97aa3 Icons, 9mm silencer, m16a2
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/896825693dfe7bc231af17a3dbbf48eccbd765e9
2016-07-23 14:55:04 -04:00
ebaydayz f76b8493fd Fix category list alignment in advanced trade
Since we changed the alignment back to default the ctrlSetPosition I
added is no longer needed. #1709. With the alignment changed it would
actually run off the background if the category list was too long.
Thanks @oiad
2016-07-23 14:24:54 -04:00
ebaydayz 67f6d86440 Use smaller sound muted UI icon and better alignment
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/6aba95d2517ad72b9b3f04b9316f0f0f0ac6e537
2016-07-21 14:58:03 -04:00
ebaydayz 9ea9af3272 Change player list and lobby icons to grey instead of blufor
Vanilla development commits:

https://github.com/DayZMod/DayZ/commit/36337e3c080d1b1e12fc891a4b47f7c77ef2ca8b

https://github.com/DayZMod/DayZ/commit/3a2d3ac20dbf0640fbd19a93814500cc9f980f44

Connecting and normal icons are the same so players can not tell when
someone is in the lobby.

Also removed:
- player name and rank text shown in the top right of diary
- "Current task:" text shown above player list
- "Pool:" text shown in lobby
2016-07-21 14:50:02 -04:00
ebaydayz f2687345cd Testing Confirmed Kills System.
Vanilla development commit:
https://github.com/DayZMod/DayZ/commit/4881e00ecfd7c022e49dc4ee6b3ad52ba9ad0e03

New - Journal Kills will only update during the session on confirmed
Kills (study dead body).
2016-07-21 11:31:47 -04:00
ebaydayz 9ae21dd4f5 Rifle flashlight fix, translations
Vanilla development commit:
https://github.com/DayZMod/DayZ/commit/a850f25e14a4745ddef22ebb6a6bd1d9a3f1e839

- Attachment_FL_Rfl -> Attachment_FL
- Sherbet desc
- Take blood translation
- weapons/mods translation fixes for better strings fitting
2016-07-21 11:12:55 -04:00
ebaydayz 1fb1dc9d89 Prevent toggleSoundMute at gender selection screen 2016-07-20 19:21:54 -04:00
ebaydayz 2f844060ec Add handling of other fadeSound events in player_toggleMuteSound
Fixes icon staying up after fadeSound to 1 by unconscious and low blood
events.
2016-07-20 17:36:40 -04:00
ebaydayz f314a39e43 Add better sound muted status UI icon and background
Icon contributed by Tugodoomer and AlexAFlorov. See
https://github.com/DayZMod/DayZ/issues/625 for details
2016-07-20 15:24:31 -04:00
ebaydayz 2911bffced Fix can't reload partial mag with flares in inventory
Vanilla development commits:

https://github.com/DayZMod/DayZ/commit/7f7d3e02e786b0a2fee9cb9af1353f5b28a9eda6

https://github.com/DayZMod/DayZ/commit/094f1f18d2444c4e3ecca5a5b4b3538cc333d606

https://github.com/DayZMod/DayZ/commit/a078e84f11c7829e4830f5397cc50956eaee381a

https://github.com/DayZMod/DayZ/commit/805b9def10b8d26d00950e98fe87dcf74e8e06ea

Also reverted:
https://github.com/EpochModTeam/DayZ-Epoch/commit/51be8aa8a5009b471c9dcfcd3ae3c0a362b7121b
since it was not the cause.

See https://github.com/DayZMod/DayZ/issues/641 for the details.
2016-07-18 21:43:08 -04:00
ebaydayz e62c882127 Remove duplicate ObjectUID fix variables
No longer needed as per:

https://github.com/EpochModTeam/DayZ-Epoch/commit/51be8aa8a5009b471c9dcfcd3ae3c0a362b7121b

https://github.com/EpochModTeam/DayZ-Epoch/commit/8e87448fe740b976fa7d6061111bc3acf66c3f56
2016-07-17 17:17:38 -04:00
ebaydayz 3a5fc91329 Fix missing string typo
My mistake from
https://github.com/EpochModTeam/DayZ-Epoch/commit/77519144286851d0c2013cdacdc9cf64e5319618
2016-07-17 16:00:12 -04:00
ebaydayz 7751914428 Rename vanilla strings from #1708
When localizing vanilla strings please do not put "EPOCH" in their name
or include them in the dayz_epoch package of the stringtable. This
creates more work to backport common translation updates and vice versa.
2016-07-17 14:02:04 -04:00
ebaydayz f60262aff1 Consolidate duplicate Remove Suppressor translations
Vanilla development commit:
https://github.com/DayZMod/DayZ/commit/66af3465ac4335bfedbb96b46bf551702f040246
2016-07-16 14:48:53 -04:00
ebaydayz b49270c3f8 Sync modular_build formatting change with player_build from #1707 2016-07-16 13:47:36 -04:00
ebaydayz c9960e1ec3 Fix MP5 and MP5SD mag displayNames reversed
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/cb464b1add5e0fdb859b23ed2570f05af3a82e6d
2016-07-10 16:59:04 -04:00
ebaydayz da5c5bf6cc Credit updates for Sound Files.
Vanilla development commits:

https://github.com/DayZMod/DayZ/commit/e578c6cb39c2e08839255a5fb6548e03b5b8fdf5

https://github.com/DayZMod/DayZ/commit/c575f09c4bf6798d76fde542092d5b8286251736

Also synced spacing and tabs from:

https://github.com/EpochModTeam/DayZ-Epoch/commit/73d557806e30b65bfe4f7bfe0f2a863e06244414
2016-07-10 16:44:07 -04:00
ebaydayz 73d557806e Mag names, Attachments names, Translation fixes
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/af9e009bae1c1b6446d610338019d6c0446845b8

- renamed magazines for better sorting
- renamed attachments for better sorting ([A] prefix added) some fixes,
some strings moved to proper section
- Remington 870 added to new attachment system (weapon flashlight)
- Double-barrel shotgun will now spawns with pellets and has Doubleshot
option (maybe this will make it more popular?)
2016-07-10 15:25:36 -04:00
ebaydayz 4ff088c80c Remove redundant access checks for upgrade and downgrade
Access control for upgrade and downgrade is now included in
fn_selfActions as per #1706

I moved _upgrade down in fn_selfActions so it is only checked it if the
right conditions are met.
2016-07-09 14:34:38 -04:00
ebaydayz 326fda70b1 Add missing SnapPro commit
Missing SnapPro update from
https://github.com/raymix/SnapPro/commit/52d5bf8af4946c690cd4d95aeac15b3e8f895a55

Fix Wood Floor short side snap point
2016-07-09 12:33:53 -04:00
ebaydayz f7d765e669 Fix STR_ACTIONS_LIGHTFIRE listed twice
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/ca8434a9b9b9c34d2734a96a8bad8519f15ce512
2016-07-03 12:26:56 -04:00
ebaydayz 452ce57618 Temperature badges + heatpack changes + some translation fixes
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/e89176d565b5f71479baf5f4ae8daad4108e00c3
2016-07-03 12:01:32 -04:00
ebaydayz cc2918989e Remove duplicate status UI icon files 2016-06-25 10:32:46 -04:00
ebaydayz eae4428e9f Update SQL maintain event for door management
Since door management uses the inventory field to store doorFriends the
last condition was always returning false and locked doors would never
get damage set on them.
2016-06-22 19:54:06 -04:00
ebaydayz 680659babc Add AirwavesMan and oiad to contributors 2016-06-21 21:25:27 -04:00
ebaydayz 3c76f3c800 Add some new vanilla items to R3F weight
@AirwavesMan - For future reference, if you notice any more new stuff we
forgot to add to the traders we probably forgot to add them to R3F
weight too.
2016-06-21 21:17:22 -04:00
ebaydayz 63d6cfa87b Update test build 2016-06-20 22:02:28 -04:00
ebaydayz bf3d03ba13 Only spawn small loot in lootPosSmall positions
I did not realize lootPosSmall positions can only fit small objects like
soda cans etc., so it is not okay to merge them with the main lootPos
arrays. This separates them back out.

This solution will work like 1.0.5.1 CfgLootSmall. <GroupName>Small is
used to spawn additional loot if the building type has lootPosSmall
positions available. It is not necessary to add a <GroupName>Small for
types that do not have lootPosSmall positions.

Some of these objects may still be too big or too small (knife,
binoculars, matchbox, etc.) for the positions and look out of place. If
that is the case please submit a pull with any problematic ones removed
from the <GroupName>Small groups (check if they aren't in 1051
CfgLootSmall first). Balance and rates may need adjustment as I just
took the normal groups and removed large objects from them while trying
to keep similar items to 1.0.5.1 CfgLootSmall.
2016-06-20 21:39:21 -04:00
ebaydayz c6ddcbdc3e Update test build 2016-06-18 20:10:12 -04:00
ebaydayz 58d2443e77 Add back Epoch custom lootPos and lootPosSmall
Epoch has custom loot positions for many buildings. Most lootPos have
not changed in vanilla since pre 1.7.x.

The vanilla lootPos are now commented out and  custom Epoch ones are
added back. LootPosSmall positions are now included in lootPos and
marked with //DZE EXTRA

LootPosSmall are included and used by default in 1051, so it is simpler
to add them to the main lootPos lists instead of having a separate loop
in buildingSpawnLoot.sqf for them.
2016-06-18 19:58:58 -04:00
ebaydayz 5b7ef99569 Fix _distance in dze_buildChecks
Passing false as the second parameter to fnc_find_plots always returns
DZE_PlotPole select 0. In dze_buildchecks we want to use DZE_PlotPole
select 1 if the classname is a plot pole.

_distance is already defined as DZE_PlotPole select 0 in the other three
files, so it is redundant to redefine it as the return value.

In player_upgrade.sqf the check for DZE_permanentPlot is not necessary,
because FNC_check_access handles both cases.
2016-06-16 20:15:51 -04:00
ebaydayz d74130b477 Rename _playerUID to _id in fn_selfActions
Since this variable can also equal dayz_characterID if DZE_permanentPlot
= false; it makes more sense to name it _id.
2016-06-16 17:01:16 -04:00
ebaydayz e08ccaea1b Fix change log typo 2016-06-15 22:03:18 -04:00
ebaydayz 1f4c73bd12 Update change log
It is unnecessary to specify default values in configVariables.sqf
comments. All values in this file will be defaults at release. It can't
be edited by admins directly. They need to copy the variables to their
mission to change them, so they will always be able to reference it for
the defaults.
2016-06-15 21:14:06 -04:00
ebaydayz 01d8197d12 Remove redundant function fn_check_owner_friends
Fn_check_access provides the same functionality and more.

Removed folders that only contained a single file to clean things up.

Also added epoch tag friendly code to vanilla player_updateGui for now.
2016-06-15 20:09:04 -04:00
ebaydayz fcca975708 Add Bruce-LXXVI to contributors 2016-06-15 18:33:49 -04:00
ebaydayz 035a94646b Add createvehicle.txt exception for player zombies 2016-06-12 14:54:33 -04:00
ebaydayz 20066de673 Rename FNC_check_owner --> FNC_check_owner_friends
Use a more descriptive name for what it actually does now.
2016-06-12 13:30:49 -04:00
ebaydayz 835d750c0c Use single config variable for Plot for Life and Plot Management
Plot for Life and Plot Management work best together. They essentially
provide the same functionality. Both let you keep your plot after death
by using UID instead of CharacterID. Plot Management doesn't even have
an option to save characterID, so by default it is always keeping all
friends and the owner permanently until they are removed. The only major
difference between them is Plot For Life also adds permanent ownership
of built items on the plot, which is behavior most people expect. It
doesn't make sense to keep ownership of the plot after death but not the
other objects built on it. The other functionality it adds (take
ownership) can be toggled with a config variable.

It is rare that someone would want Plot For Life enabled, but Plot
Management disabled or vice versa. If they really want that they can
still do it manually, but consolidating them to a single config option
greatly simplifies things for everyone else.

I removed links to mod githubs because many changes have been made to
the 1.0.6 versions, so outdated information there will likely confuse
people. Authors are already credited in the README and change log.

In variables.sqf "DZ_storage_base" is now the parent class which
includes all tents and stashes. DZE_checkNearbyRadius variable is not
used (identical to DZE_PlotPole select 0).
2016-06-12 12:54:46 -04:00
ebaydayz 16c1e9d205 Don't spawn POI objects on non-Chernarus maps
Object coordinates are only provided for Chernarus.
2016-06-10 18:42:18 -04:00
ebaydayz a7045140a0 Remove some unused legacy code 2016-06-07 16:26:29 -04:00
ebaydayz 0534e95ccc stringtable fixes
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/1452ef25379028167c23c3885734fcf7868ae81d
2016-06-06 21:51:47 -04:00
ebaydayz 2ea627f332 Preliminary BE filters update
The big list of removals in setvariableval.txt and publicvariableval.txt
were duplicates. Other removals are covered by the new regex filter.

Still needs work. If you encounter kicks please post the restriction
type and number along with the log line in the 1.0.6 testing issue.
2016-06-05 17:29:10 -04:00
ebaydayz 98c805e8db Update test build 2016-06-05 11:56:01 -04:00
ebaydayz d4f6f07093 Fix gut zombie missing knife text
Shows "Missing Hunting Knife to do this" instead of "Missing knife to
gut animal"
2016-06-04 16:38:41 -04:00
ebaydayz b7a104113f Various stringtable fixes & amendments
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/fb397c95ee9cad407c6024308ef321dc4232206d
2016-06-04 15:23:31 -04:00
ebaydayz 3f96b70d80 Fix Unsupported language English in stringtable RPT error
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/b038a1762bc90828c3598af3d06b3e51677b01a1

Fixes RPT error "Unsupported language English (or whatever language you
selected) in stringtable" on load.

We do not have <Original> tags on any other strings in the table, so
there is no reason to use them here. They are not needed. If the game is
set to use a language that does not have an entry it uses the first
available entry for that string (which is English for every string in
the table). Keys should not contain only <Original> tags with no other
languages, as it will cause this error.
2016-06-04 14:00:32 -04:00
ebaydayz e5bfb01189 Fix typo in 1.0.6_Updates.sql 2016-06-02 17:43:46 -04:00
ebaydayz 3cee9cec55 Fix trader weapon swaps in 106 SQL updates
Type 1 is magazine, type 3 is weapon.

Also quantity is normalized to 10 for items and 2 for vehicles now as
per:
https://github.com/EpochModTeam/DayZ-Epoch/commit/bf75e56858fdb09fa43190d26ff807e3d3b5b300#diff-3a9fcf2e8bd4ce1706bc216f4e9de063L57
2016-05-31 17:03:26 -04:00
ebaydayz bf75e56858 Remove 1.0.5_Updates.sql
Updates that were in the 1.0.5.1 release are now included in the main
epoch.sql file, since all servers should have applied them by now.

All new updates since 1.0.5.1 release are now in 1.0.6_Updates.sql.
2016-05-31 16:29:11 -04:00
ebaydayz 8028efbb69 Allow admin customization of player_onPause #1340
Also disable abort and respawn immediately in pause menu onLoad. New
function fn_pauseMenuChecks allows admins to run unscheduled code in
pause menu onLoad.
2016-05-22 12:26:57 -04:00
ebaydayz fe8c5e7950 Fix infinite antibiotics when given to another player
Vanilla development commit:

https://github.com/DayZMod/DayZ/commit/4e6ea245771d1e926f757a7438362dea0cc6ad4d
2016-05-21 15:08:57 -04:00
ebaydayz 9dafa9d657 Always eject player when vehicle explodes
If the player is in a safezone we still want to eject them, just not
kill them.
2016-05-20 19:54:26 -04:00
ebaydayz 75e3ee58c2 Reduce ItemBloodbag loot chance slightly for classic system
Since typed bags spawn in bulk (usually 2x 4 different bag types) this
reduces bloodbag output slightly when classic system is enabled.

Medboxes were spawning with 3-8 blood bags, this reduces it to about 1-6
which should be similar to 1051 values IIRC. Feel free to adjust this up
or down if needed.
2016-05-20 17:20:10 -04:00
ebaydayz ec27cfd29c Update dog actions in fn_selfActions
When PlotForLife was added these were not updated to reflect the
_ownerID change:

https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/compile/fn_selfActions.sqf#L253
2016-05-20 13:45:52 -04:00
ebaydayz edd53597b0 Don't pass DZE_plotManagement to fn_check_owner
The whole point of a global variable is you do not need to pass it.
DZE_plotManagement and DZE_plotmanagementAdmins are always defined and
do not change, so there is no need to pass them as parameters.
2016-05-20 12:14:48 -04:00
ebaydayz 1a5d26f26d Remove unnecessary else in fn_selfActions
FNC_check_owner returns true for (_isowner select 0) if characterID
matches and plotforLife is disabled. So there is no need for the else
here.
2016-05-20 11:55:52 -04:00
ebaydayz 8beb6e9666 Allow filling generator and destroying tent with barrel and 5L 2016-05-19 20:44:34 -04:00
ebaydayz d01446414c Move Zupa dialog includes to config.cpp
@icomrade - configFile and missionConfigFile are in different scopes.
Admins can overwrite any dialog in RscDisplay with their own version
included in the mission without getting "class already defined" errors.
I tested to make sure it is possible. So there is no benefit to having
these includes in description.ext.
2016-05-19 18:43:23 -04:00
ebaydayz 301c4348e9 Remove vanilla generator fill actions 2016-05-19 18:35:11 -04:00
ebaydayz 62700f37e4 Add note about splint and broken legs
Since R4z0r doesn't want it changed in vanilla.
2016-05-19 16:29:35 -04:00
ebaydayz a54e58c60c Localize remaining player_build text
Also added config variables for MaxMove and MaxHeight distance when
building.

_reason was defined twice at the top of player_build.sqf.
2016-05-19 16:15:27 -04:00
ebaydayz cbca23ddce Remove duplicate ZSCdefines.hpp include
@Bruce-LXXVI it was already included from the mission description.ext
2016-05-19 13:39:38 -04:00
ebaydayz 914b37a413 Pass cursorTarget to maintain_area.sqf
CursorTarget should always be passed from fn_selfActions, not reacquired
in action scripts. This is to ensure the same object is referenced. Plot
Management maintain_area is called from the dialog button, not
fn_selfactions.
2016-05-19 13:10:20 -04:00
ebaydayz 1a238d1719 Fix wrong buildables count displayed in plot management 2016-05-18 20:20:20 -04:00
ebaydayz d0c4ccca15 Fix wooden splint recipe output
It was outputting two when it should only be one.
2016-05-18 17:10:46 -04:00
ebaydayz 0544ac37fa Fix broken legs icon flashing indefinitely
This keeps the icon solid when your legs are broken instead of flashing
it constantly.
2016-05-18 17:04:44 -04:00