Skip to content
Browse files

Add version info to executables and more comments to ini file

  • Loading branch information...
1 parent dbfee85 commit 5721f029ab376e7522c62cac995a5db49647a31a @rajkosto rajkosto committed Oct 30, 2012
View
3 .gitignore
@@ -1,3 +1,4 @@
*.suo
*.sdf
-*.opensdf
+*.opensdf
+*.aps
View
16 Hive/Binaries/HiveExt.ini
@@ -7,23 +7,27 @@
;If you see a commented line of that form, it means that the setting is optional, and the Value shows the default
;To change from the default, simply uncomment the line and change the Value
-;This configuration file should be placed alongside the HiveExt.dll inside the mod directory
+;This configuration file should be placed inside your server instance's configuration directory (like cfgdayz)
[Time]
;Possible values: Local, Custom, Static
+;You cannot use Static on OFFICIAL Hive, it will just revert to Local
;Type = Local
;If using Custom type, offset from UTC in hours (can be negative as well)
;Offset = 0
;If using Static type (Hour value always the same on every server start), the value (0-24) to set the Hour to
;Hour = 8
[Database]
-;Currently, only MySQL is supported
-;Type = MySQL
-
;Hostname or IP of the server to connect to
+;If you leave this line commented or blank, HiveExt will connect to the OFFICIAL Hive, which requires registration
+;See support.dayzmod.com for more information on what OFFICIAL Hive means, what are the rules, etc.
+;If using OFFICIAL hive, the rest of the settings in this section have no effect
;Host = localhost
+;Currently, only MySQL is supported
+;Type = MySQL
+
;Port to connect to. The default is the default listening port of a server of the selected Type
;Instead of specifying Port, you can specify Socket and set Value to the socket name
;Port = 3306
@@ -36,13 +40,16 @@
;Password to authenticate with (default is blank)
;Password =
+;If using OFFICIAL hive, the settings in this section have no effect, appropriate layout will be used
[Characters]
;The field name that Player's IDs are stored in (unique per game license)
+;Some table layouts have this as PlayerID, and some as PlayerUID, that's why this is configurable
;IDField = PlayerUID
;The field name that Player's World Position and rotation is stored in
;Enables you to run multiple different maps (different instances) off the same character table
;WSField = Worldspace
+;If using OFFICIAL hive, the settings in this section have no effect, as it will clean up by itself
[Objects]
;Which table should the objects be stored and fetched from ?
;Table = Object_DATA
@@ -57,6 +64,7 @@
;You can find that file under the SQF directory for your server version
;ResetOOBVehicles = false
+;If using OFFICIAL hive, the settings in this section have no effect, it will manage objects on its own
[ObjectDB]
;Setting this to true separates the Object fetches from the Character fetches
;That means that the Object Table must be on this other database
View
4 Hive/Source/Database/Database.vcxproj
@@ -24,6 +24,7 @@
<ClInclude Include="Implementation\SqlPreparedStatement.h" />
<ClInclude Include="Implementation\SqlStatementImpl.h" />
<ClInclude Include="QueryResult.h" />
+ <ClInclude Include="resource.h" />
<ClInclude Include="SqlStatement.h" />
</ItemGroup>
<ItemGroup>
@@ -43,6 +44,9 @@
<Project>{92c57338-e848-422b-8e81-6f6d11671750}</Project>
</ProjectReference>
</ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="Resource.rc" />
+ </ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{E0E04F80-0DB4-4946-B956-4BCA754DAB71}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
View
4 Hive/Source/Database/Database.vcxproj.filters
@@ -33,6 +33,7 @@
<Filter>Implementation</Filter>
</ClInclude>
<ClInclude Include="Callback.h" />
+ <ClInclude Include="resource.h" />
</ItemGroup>
<ItemGroup>
<Filter Include="Implementation">
@@ -69,4 +70,7 @@
</ClCompile>
<ClCompile Include="Manifest.cpp" />
</ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="Resource.rc" />
+ </ItemGroup>
</Project>
View
BIN Hive/Source/Database/Resource.rc
Binary file not shown.
View
14 Hive/Source/Database/resource.h
@@ -0,0 +1,14 @@
+//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by Resource.rc
+
+// Next default values for new objects
+//
+#ifdef APSTUDIO_INVOKED
+#ifndef APSTUDIO_READONLY_SYMBOLS
+#define _APS_NEXT_RESOURCE_VALUE 101
+#define _APS_NEXT_COMMAND_VALUE 40001
+#define _APS_NEXT_CONTROL_VALUE 1001
+#define _APS_NEXT_SYMED_VALUE 101
+#endif
+#endif
View
4 Hive/Source/HiveExt/HiveExt.vcxproj
@@ -16,6 +16,7 @@
</ItemGroup>
<ItemGroup>
<ClInclude Include="DirectHiveApp.h" />
+ <ClInclude Include="resource.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\HiveLib\HiveLib.vcxproj">
@@ -25,6 +26,9 @@
<Project>{92c57338-e848-422b-8e81-6f6d11671750}</Project>
</ProjectReference>
</ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="Resource.rc" />
+ </ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{2F502C7B-F168-46C0-B239-F9635237959B}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
View
4 Hive/Source/HiveExt/HiveExt.vcxproj.filters
@@ -6,5 +6,9 @@
</ItemGroup>
<ItemGroup>
<ClInclude Include="DirectHiveApp.h" />
+ <ClInclude Include="resource.h" />
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="Resource.rc" />
</ItemGroup>
</Project>
View
BIN Hive/Source/HiveExt/Resource.rc
Binary file not shown.
View
14 Hive/Source/HiveExt/resource.h
@@ -0,0 +1,14 @@
+//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by Resource.rc
+
+// Next default values for new objects
+//
+#ifdef APSTUDIO_INVOKED
+#ifndef APSTUDIO_READONLY_SYMBOLS
+#define _APS_NEXT_RESOURCE_VALUE 101
+#define _APS_NEXT_COMMAND_VALUE 40001
+#define _APS_NEXT_CONTROL_VALUE 1001
+#define _APS_NEXT_SYMED_VALUE 101
+#endif
+#endif

0 comments on commit 5721f02

Please sign in to comment.
Something went wrong with that request. Please try again.