Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ojemineh/DayZLootEdit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.12
Choose a base ref
...
head repository: ojemineh/DayZLootEdit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 19 commits
  • 9 files changed
  • 1 contributor

Commits on Jun 9, 2021

  1. Copy the full SHA
    0c8f33c View commit details
  2. update AssemblyInfo.cs

    ojemineh committed Jun 9, 2021
    Copy the full SHA
    25028c2 View commit details
  3. Copy the full SHA
    06219e3 View commit details
  4. Copy the full SHA
    c822e39 View commit details
  5. Merge pull request #2

    Merge dev into master
    ojemineh authored Jun 9, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5626790 View commit details
  6. updated comments

    ojemineh committed Jun 9, 2021
    Copy the full SHA
    6241848 View commit details
  7. updated comments

    ojemineh committed Jun 9, 2021
    Copy the full SHA
    4c9b998 View commit details
  8. update comments

    ojemineh committed Jun 9, 2021

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    beb9b66 View commit details
  9. Merge pull request #3

    Merge dev into master
    ojemineh authored Jun 9, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2026421 View commit details
  10. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    8b8a0d9 View commit details
  11. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    3b2b920 View commit details
  12. Merge pull request #4

    Merge dev into master
    ojemineh authored Jun 9, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d42db10 View commit details

Commits on Jun 10, 2021

  1. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    36ba783 View commit details
  2. change to .NET Framework 4.8

    ojemineh committed Jun 10, 2021

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    17054a8 View commit details
  3. update AssemblyInfo

    ojemineh committed Jun 10, 2021

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    df5c56e View commit details
  4. Merge pull request #5

    Merge dev into master
    ojemineh authored Jun 10, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5a9abf4 View commit details
  5. update readme.md

    ojemineh authored Jun 10, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2983466 View commit details
  6. update readme.md

    ojemineh authored Jun 10, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    75a374d View commit details

Commits on Jun 18, 2021

  1. update readme.md

    ojemineh committed Jun 18, 2021

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    0f13b38 View commit details
2 changes: 1 addition & 1 deletion DayZLootEdit/App.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
</configuration>
10 changes: 5 additions & 5 deletions DayZLootEdit/DayZLootEdit.csproj
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
<OutputType>WinExe</OutputType>
<RootNamespace>DayZLootEdit</RootNamespace>
<AssemblyName>DayZLootEdit</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
@@ -25,8 +25,8 @@
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>2</ApplicationRevision>
<ApplicationVersion>0.3.12.%2a</ApplicationVersion>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>0.3.14.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>
@@ -141,9 +141,9 @@
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
<BootstrapperPackage Include=".NETFramework,Version=v4.8">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.6.1 %28x86 und x64%29</ProductName>
<ProductName>Microsoft .NET Framework 4.8 %28x86 und x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
2 changes: 1 addition & 1 deletion DayZLootEdit/InfoWindow.xaml
Original file line number Diff line number Diff line change
@@ -12,6 +12,6 @@
<Label Content="Loot Editor" Margin="0,70,0,0" VerticalAlignment="Top" HorizontalContentAlignment="Center" FontSize="22" FontWeight="Bold" VerticalContentAlignment="Center"/>
<Label x:Name="lblVersion" Content="Version" Margin="0,110,0,0" VerticalAlignment="Top" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
<Label x:Name="lblCopyright" Content="Copyright" Margin="0,130,0,0" VerticalAlignment="Top" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
<RichTextBox x:Name="rtbCredits" Height="215" Margin="10,175,10,0" VerticalAlignment="Top" Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}" BorderBrush="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" AllowDrop="False" IsReadOnly="True" IsUndoEnabled="False" VerticalScrollBarVisibility="Visible" AutoWordSelection="False" TextOptions.TextFormattingMode="Display" AcceptsReturn="False"/>
<RichTextBox x:Name="rtbCredits" Height="210" Margin="10,170,10,0" VerticalAlignment="Top" Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}" BorderBrush="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" AllowDrop="False" IsReadOnly="True" IsUndoEnabled="False" VerticalScrollBarVisibility="Visible" AutoWordSelection="False" TextOptions.TextFormattingMode="Display" AcceptsReturn="False"/>
</Grid>
</Window>
3 changes: 1 addition & 2 deletions DayZLootEdit/InfoWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Diagnostics;
using System.IO;
using System.IO;
using System.Reflection;
using System.Text;
using System.Windows;
9 changes: 6 additions & 3 deletions DayZLootEdit/MainWindow.xaml
Original file line number Diff line number Diff line change
@@ -65,6 +65,7 @@
<MenuItem x:Name="MnuEditLifetime180" Header="180s [3m]" Click="MnuEditLifetimeValue_Click" Tag="180"/>
<MenuItem x:Name="MnuEditLifetime120" Header="120s [2m]" Click="MnuEditLifetimeValue_Click" Tag="120"/>
<MenuItem x:Name="MnuEditLifetime60" Header="60s [1m]" Click="MnuEditLifetimeValue_Click" Tag="60"/>
<MenuItem x:Name="MnuEditLifetime30" Header="30s" Click="MnuEditLifetimeValue_Click" Tag="30"/>
<MenuItem x:Name="MnuEditLifetime3" Header="3s" Click="MnuEditLifetimeValue_Click" Tag="3"/>
<MenuItem x:Name="MnuEditLifetime0" Header="0s" Click="MnuEditLifetimeValue_Click" Tag="0"/>
</MenuItem>
@@ -92,6 +93,7 @@
<MenuItem x:Name="MnuEditRestock180" Header="180s [3m]" Click="MnuEditRestockValue_Click" Tag="180"/>
<MenuItem x:Name="MnuEditRestock120" Header="120s [2m]" Click="MnuEditRestockValue_Click" Tag="120"/>
<MenuItem x:Name="MnuEditRestock60" Header="60s [1m]" Click="MnuEditRestockValue_Click" Tag="60"/>
<MenuItem x:Name="MnuEditRestock30" Header="30s" Click="MnuEditRestockValue_Click" Tag="30"/>
<MenuItem x:Name="MnuEditRestock3" Header="3s" Click="MnuEditRestockValue_Click" Tag="3"/>
<MenuItem x:Name="MnuEditRestock0" Header="0s" Click="MnuEditRestockValue_Click" Tag="0"/>
</MenuItem>
@@ -176,6 +178,7 @@
</MenuItem>
</MenuItem>
<MenuItem x:Name="MnuHelp" Header="_?" VerticalAlignment="Top" HorizontalAlignment="Left">
<MenuItem x:Name="MnuHelpWiki" Header="_Wiki" Click="MnuHelpWiki_Click"/>
<MenuItem x:Name="MnuHelpGitHub" Header="_GitHub" Click="MnuHelpGitHub_Click"/>
<Separator/>
<MenuItem x:Name="MnuHelpInfo" Header="_Info" HorizontalAlignment="Left" Width="140" Click="MnuHelpInfo_Click"/>
@@ -258,20 +261,20 @@
</DockPanel>
</GroupBox>

<DataGrid x:Name="LootList" Margin="1,0,1,1" ItemsSource="{Binding LootTable.Loot}" IsEnabled="False" SelectionChanged="LootList_SelectionChanged" Grid.Row="2" HorizontalGridLinesBrush="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" VerticalGridLinesBrush="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" MaxColumnWidth="Infinity" MinColumnWidth="20" AutoGenerateColumns="False">
<DataGrid x:Name="LootList" Margin="1,0,1,1" ItemsSource="{Binding LootTable.Loot}" IsEnabled="False" SelectionChanged="LootList_SelectionChanged" Grid.Row="2" HorizontalGridLinesBrush="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" VerticalGridLinesBrush="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" MaxColumnWidth="Infinity" MinColumnWidth="20" AutoGenerateColumns="False" TextOptions.TextFormattingMode="Display">
<DataGrid.Resources>
<Style x:Key="CenterTextStyle" TargetType="TextBlock">
<Setter Property="HorizontalAlignment" Value="Center"/>
</Style>
</DataGrid.Resources>
<DataGrid.Columns>
<DataGridTextColumn Binding="{Binding Name}" Header="Classname" Width="260">
<DataGridTextColumn Binding="{Binding Name}" Header="Classname" Width="260" IsReadOnly="True">
<DataGridTextColumn.HeaderStyle>
<Style TargetType="DataGridColumnHeader">
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="HorizontalContentAlignment" Value="Left"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="ToolTipService.ToolTip" Value="Classname of an item."/>
<Setter Property="ToolTipService.ToolTip" Value="Item classname.&#x0a;(ReadOnly)"/>
<Setter Property="ToolTipService.ShowDuration" Value="10000"/>
</Style>
</DataGridTextColumn.HeaderStyle>
18 changes: 14 additions & 4 deletions DayZLootEdit/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -241,7 +241,7 @@ private async void SaveLootFile(string lFile = "")

}

// MAIN MENU
// MENU FILE

private void MnuFileOpen_Click(object sender, RoutedEventArgs e)
{
@@ -302,6 +302,8 @@ private void MnuFileExit_Click(object sender, RoutedEventArgs e)

}

// MENU EDIT

private void MnuEditSelectAll_Click(object sender, RoutedEventArgs e)
{
LootList.SelectAll();
@@ -669,6 +671,14 @@ private void MnuEditClearValue_Click(object sender, RoutedEventArgs e)
LootList.Focus();
}

// MENU HELP

private void MnuHelpWiki_Click(object sender, RoutedEventArgs e)
{
string uriQuery = "https://github.com/ojemineh/DayZLootEdit/wiki";
Process.Start(uriQuery);
}

private void MnuHelpGitHub_Click(object sender, RoutedEventArgs e)
{
string uriQuery = "https://github.com/ojemineh/DayZLootEdit";
@@ -683,7 +693,7 @@ private void MnuHelpInfo_Click(object sender, RoutedEventArgs e)

}

// PERCENT
// PERCENT FUNCTIONS

private void UpdatePercentControls()
{
@@ -760,7 +770,7 @@ private void btnPercent_Click(object sender, RoutedEventArgs e)

}

// FILTER
// FILTER FUNCTIONS

private void RefreshFilterListing()
{
@@ -1043,7 +1053,7 @@ private void chkFilterValue_Click(object sender, RoutedEventArgs e)
UpdateFilterExec();
}

// LOOT LIST
// LOOT LIST (DATA GRID)

private void LootList_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
8 changes: 4 additions & 4 deletions DayZLootEdit/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -7,11 +7,11 @@
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: AssemblyTitle("DayZ LootEditor")]
[assembly: AssemblyTitle("DayZ Loot Editor")]
[assembly: AssemblyDescription("A tool to edit the looting table of DayZ (Standalone)")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("DayZ LootEditor")]
[assembly: AssemblyProduct("DayZ Loot Editor")]
[assembly: AssemblyCopyright("Copyright © 2021 by Ojemineh")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -51,5 +51,5 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.3.12.2")]
[assembly: AssemblyFileVersion("0.3.12.2")]
[assembly: AssemblyVersion("0.3.14.0")]
[assembly: AssemblyFileVersion("0.3.14.0")]
2 changes: 1 addition & 1 deletion DayZLootEdit/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 23 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,49 @@


# DayZ LootEditor

# DayZ Loot Editor

<p align="center">
<a href="https://github.com/ojemineh/DayZLootEdit/releases/latest">
<img src="https://img.shields.io/badge/Version-0.3.14-blue.svg?style=flat-square" alt="Loot Editor Version">
</a>
<a href="https://github.com/ojemineh/DayZLootEdit/issues">
<img src="https://img.shields.io/github/issues-raw/ojemineh/DayZLootEdit.svg?style=flat-square&label=Issues" alt="Loot Editor Issues">
</a>
<a href="https://github.com/ojemineh/DayZLootEdit/releases">
<img src="https://img.shields.io/github/downloads/ojemineh/DayZLootEdit/total.svg?style=flat-square&label=Downloads" alt="Loot Editor Downloads">
</a>
<a href="https://github.com/ojemineh/DayZLootEdit/wiki">
<img src="https://img.shields.io/badge/DayZLootEdit-Wiki-lightgrey.svg?style=flat-square" alt="Loot Editor Wiki">
</a>
<a href="https://github.com/ojemineh/DayZLootEdit/blob/master/LICENSE">
<img src="https://img.shields.io/badge/License-MIT-red.svg?style=flat-square" alt="Loot Editor License">
</a>
</p>

An editor to comfortably modify the loot table of the game "DayZ (Standalone)".


---


**Version 0.2.1 Alpha**
#### **[DOWNLOAD](https://github.com/ojemineh/DayZLootEdit/releases)**
**Version 0.3.14**
**[DOWNLOAD](https://github.com/ojemineh/DayZLootEdit/releases)**

This tool requires at least **Windows 7** with **ServicePack 1**.
This tool requires at least **Windows 7 SP1** & **.NET Framework 4.8**.



## Usage


The loot table of DayZ (Standalone) is stored in a XML file inside the current mission.
The file is called `types.xml` and can be found in the `mpmissions` folder in the server files or the game files. For the current version of the game it's stored in the following location:
`\mpmissions\dayzOffline.chernarusplus\db\types.xml`
The file is called `types.xml` and can be found in the `mpmissions` folder in the server files or the game files. For the current version of the game it's stored in the following location: `\mpmissions\dayzOffline.chernarusplus\db\types.xml`

Usually the file from the dedicated server has to be changed.
Changing the file in your local game folder will only affect yourself while playing in offline mode.

To start, open the file `types.xml`.

Note: Alle values can be changed, even though you shouldn't do so. For example, don't change the name of any object, it will break the game.


![DayZ LootEdit](dayzlootedit.png)