Jump to content


  • Content Count

  • Joined

  • Last visited

About SKO85

  • Rank
    Fresh Spawn

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Yeah, I've checked the code in 1.0.6 on this. It is much clear now. And the structure is different a bit in the DB, so I understand that the Hive DLL is also changed. But good to read that it is fixed by default in 1.0.6. Thanks for the update.
  2. That's good to know, thanks. So ObjectUID's are always different on server restart, because a timestamp is included right? So this fix would only apply for issues. I will will leave the testing part then of 1.0.6 ;)
  3. Is there a list somewhere of scripts and features that are already included in 1.0.6?
  4. (Will cover for now, but will also cover a pack for 1.0.6 later. Some of the scripts are already included in 1.0.6, but a customization will be provided in the pack) I am starting this thread here for a new script pack for which is going to be tested and optimized for FPS. I will create a GitHub Repository for the files (server & client mission PBO's). Please provide suggestions for scripts to include in the pack. Also let me know if you want to participate and work on the pack on my GitHub repository. The goal is to include basic scripts in the pack. I will try to keep the most scripts as realistic as possible. FPS is an important factor. Scripts that will affect FPS too much will not be included or will be disabled by default. The pack will also include a Tool for Windows that will restart and update your server automatically from a GitHub Release or Hotfix. I have created an auto-update system for my server. Configuration can be separated so only the scripts update (Arma2NET files, Server files and Missiion Files) Scripts to include: Script Configuration System (Script can be enabled/disabled and settings can be configured per script) Coin System Customized WAI Mission system Customized DZMS Mission system Customized DZAI Mission system (patrols, custom AI spawns, etc) Advanced Trading Safe Zones Custom Loot Table Self blood transfusion Fog Distance View (Binoculars, RangeFinder) Lift & Tow Vehicles Welcome Message Script In-game Rules Script (with database connection) In-game Update Script (with database connection) Plot 4 Life Snap Building Pro Vector Building Plot Management Door Management Custom GUI Custom Loading Screen Humanity-Level Perks (Bike Spawn, ...) Kill Messages at traders Kill Notifications Convoy Missions Battle Zone (PVP) Custom Buildings Custom Traders (Drugs, ...) Customized Admin Tools (fixed, added starter-packs, anti-hack) Loyalty Reward for Players Automated Database Cleaning (old players, old objects, etc.) Abandoned Vaults Missions (Safes and Lockboxes) Custom Loot Events (Building Material, Supplies, Weapons, Treasure) Animated Heli-Crashes and custom loot (configure heavy/light weapons and loot) Custom Vehicle Spawn List (add/remove vehicles that can spawn) Quest System Most Wanted Mission ... (will be updated soon) Tools to include: Auto-Update for the Pack (Configurable) Trader Configuration Database Cleaner
  5. Also with vector building and plot management? I know some of them are included already, but I have not finished my 1.0.6 server yet to test it :P Does 1.0.6 include Vector Building by default and how does 1.0.6 handle same Worldspace values for the ObjectUID? Is the fix for 0-0 position vehicle spawning also fixed in there?
  6. I have been spending a lot of time to find a robust solution with a calculation algorithm with SQF, but still had issues with it. I have created an Arma2NET AddIn to fix this issue. It requires you to use Arma2NET on the server only. Feel free to try this solution. It does not matter if you are using custom scripts or not like: Plot Management, Vector Building etc.
  7. This should be working with 1.0.6 too, but I have not tested it yet. I don't know if version 1.0.6 has this problem with ObjectUID's when using Vector Building and Plot Management, but will test that out soon or if someone already has this issue with 1.0.6, please feel free to test the fix and report it here.
  8. NOTE: Still in edit. Could contain some mistakes :) Hi everyone, I have been struggling a lot finding a working solution for the duplicate ObjectUID generation in the version of the Epoch Mod. On my server I am using custom scripts like: Plot Management Snap Pro Vector Building And more... All these custom scripts require additional values in the Worldspace column of your database. In a lot of changes that I have seen, the dayz_objectUID2 function was adapted to to generate some kind of a unique value for each object in your database. This was never working well for me. My database had about 3000-4000 objects and we got sometimes 5-10 duplicates in it. So I decided to use my software coding skills and create a more robust solution which is clean and easy to implement. It does not matter how your worldspace looks like and if you are using several of the above mentioned custom scripts. The fix is using numerical 2 hashing alghorithms: MD5 and SHA1. Both are merged with a numerical transformation which provides a unique value. I will test the performance and release separated DLL's using only MD5 or SHA1 soon with some performance results for comparison. IMPORTANT: It is important not to have duplicate worldspace items in your database. Sometimes the server will spawn several vehicles at position 0,0 on the map. This will cause having same ObjectUID's. I have fixed this too and it is included in the instructions bellow. You will also need to clean your database. This can be done manually or with a tool that I provide with this solution. Also, make a backup of your database so you can avoid loosing changes. If anything goes wrong, you can go back and restore as it was before ;) ARMA2NET: First of all, you will need an additional MOD to include on your server. This does not affect your players and they will not need to download anything. I am using Arma2NET as a mod which allows me to create custom DLL's for Arma 2 OA. This DLL contains code to generate hashes of the Worldspace which are unique. Follow the tutorial on "How to Install and setup Arma2NET". https://bitbucket.org/Scott_NZ/arma2net/wiki/Home https://bitbucket.org/Scott_NZ/arma2net/wiki/Getting_started Download Arma2NET files from Armaholic's website: Click here to download. Arma2NET Directory: Go to your @Arma2NET directory in the root of Arma 2 OA. Go to the AddIns directory. Download the ZIP from this post and place the ObjectUID directory inside the AddIns folder. It should look like: @Arma2NET\AddIns\ObjectUID\ObjectUID.dll Epoch Server Changes: Go to your server's PBO file or folder and open server_functions.sqf. Now replace the dayz_objectUID2 and dayz_objectUID3 code with: function dayz_objectUID2 function dayz_objectUID3 function spawn_vehicles This is a fix for the 0-0 position spawn of vehicles. Find code: After the above line, place the following check: So end result will be: Database Fix: If you already have a database which is used and contains conflicted ObjectUID's, you will need to fix them manually by changing them before restart or you could use a simple tool I created for this. The tool will be posted here soon. I will make it configurable so you can use it to fix the ObjectUID's in your database. Credits: You are not allowed to change any of the above code or distribute this without my knowledge and permission. Download this resource only from this page to avoid hacked versions. Suggestions for improvements are welcome. Donations: Donations for my work are always welcome. You can donate at http://paypal.me/fp4p. Thank you! Downloads: - ObjectUID Fix - GitHub Download
  9. I have the exact same issue. All works fine, but the initial loading after restart takes couple of minutes to start loading from the database. After it starts it loads everything within few seconds and I can connect to the server. Have you find a solution for this? I am using Windows to host the server. Cheers, SKO
  10. Could you please share this fix with us? I've downloaded the code from Github, but it still contains this bug. Thank you.
  • Create New...