diff --git a/CHANGELOG.md b/CHANGELOG.md index bd6edb8..da92ec1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [4.0.0] - 2024-12-10 + +- update references for 7dtd-1.2-b27 + ## [3.1.0] - 2024-10-02 - improve debug logging and fix some incorrect logs diff --git a/ModInfo.xml b/ModInfo.xml index b67a9db..9b0bbb0 100644 --- a/ModInfo.xml +++ b/ModInfo.xml @@ -4,7 +4,7 @@ - + diff --git a/QuantumElevators.dll b/QuantumElevators.dll index a4fe83f..d055840 100644 Binary files a/QuantumElevators.dll and b/QuantumElevators.dll differ diff --git a/README.md b/README.md index 4dd82bb..7922bca 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,12 @@ # Quantum Elevators -[![๐Ÿงช Tested On 7DTD 1.1 (b14)](https://img.shields.io/badge/๐Ÿงช%20Tested%20On-7DTD%201.1%20(b14)-blue.svg)](https://7daystodie.com/) [![๐Ÿ“ฆ Automated Release](https://github.com/jonathan-robertson/quantum-elevators/actions/workflows/release.yml/badge.svg)](https://github.com/jonathan-robertson/quantum-elevators/actions/workflows/release.yml) +[![๐Ÿงช Tested On 7DTD 1.2 (b27)](https://img.shields.io/badge/๐Ÿงช%20Tested%20On-7DTD%201.2%20(b27)-blue.svg)](https://7daystodie.com/) [![๐Ÿ“ฆ Automated Release](https://github.com/jonathan-robertson/quantum-elevators/actions/workflows/release.yml/badge.svg)](https://github.com/jonathan-robertson/quantum-elevators/actions/workflows/release.yml) ![quantum-elevators social image](https://raw.githubusercontent.com/jonathan-robertson/quantum-elevators/media/quantum-elevators-logo-social.jpg) -- [Quantum Elevators](#quantum-elevators) - - [Summary](#summary) - - [Support](#support) - - [Features](#features) - - [Portable Quantum Elevator panels](#portable-quantum-elevator-panels) - - [Secure Quantum Elevator panels](#secure-quantum-elevator-panels) - - [Admin Commands](#admin-commands) - - [Setup](#setup) - - [Environment / EAC / Hosting Requirements](#environment--eac--hosting-requirements) - - [Map Considerations for Installation or UnInstallation](#map-considerations-for-installation-or-uninstallation) - - [Windows PC (Single Player or Hosting P2P)](#windows-pc-single-player-or-hosting-p2p) - - [Critical Reminders](#critical-reminders) - - [Windows/Linux Installation (Server via FTP from Windows PC)](#windowslinux-installation-server-via-ftp-from-windows-pc) - - [Linux Server Installation (Server via SSH)](#linux-server-installation-server-via-ssh) - - [Troubleshooting / Common Issues](#troubleshooting--common-issues) - - [Special Thanks](#special-thanks) - ## Summary -7 Days to Die modlet: Add infinite distance, vertical-warp elevator panels. +7 Days to Die mod: Add infinite distance, vertical-warp elevator panels. ๐Ÿ”— [Introductory video and demonstration of most features](https://youtu.be/fQPIQ9pdOrw) @@ -66,10 +49,10 @@ When attempting to travel, panels you are not already authenticated with or do n > - `help * ` > - or get details about this (or any) command and its options by running `help ` -primary | alternate | params | description -:---: | :---: | :---: | --- -quantumelevators | qe | `debug` | enable/disable debug logging for this mod (disabled by default) -quantumelevators | qe | `push ` | recursively push entities 1 block at a time to make room; use float values from 'lp' command to let system calculate correct block coordinates for you +| primary | alternate | params | description | +| :--------------: | :-------: | :----------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------ | +| quantumelevators | qe | `debug` | enable/disable debug logging for this mod (disabled by default) | +| quantumelevators | qe | `push ` | recursively push entities 1 block at a time to make room; use float values from 'lp' command to let system calculate correct block coordinates for you | *Note that leaving debug mode on can have a negative impact on performance. It is therefore recommended to only turn it on while troubleshooting and then disable it afterwards.* @@ -81,11 +64,11 @@ If you have trouble getting things working, you can reach out to me for support ### Environment / EAC / Hosting Requirements -Environment | Compatible | Does EAC Need to be Disabled? | Who needs to install? ---- | --- | --- | --- -Dedicated Server | Yes | no | only server -Peer-to-Peer Hosting | Yes | only on the host | only the host -Single Player Game | Yes | Yes | self (of course) +| Environment | Compatible | Does EAC Need to be Disabled? | Who needs to install? | +| -------------------- | ---------- | ----------------------------- | --------------------- | +| Dedicated Server | Yes | no | only server | +| Peer-to-Peer Hosting | Yes | only on the host | only the host | +| Single Player Game | Yes | Yes | self (of course) | > ๐Ÿค” If you aren't sure what some of this means, details steps are provided below to walk you through the setup process. diff --git a/references/Assembly-CSharp.dll b/references/Assembly-CSharp.dll index 98f3cb3..07e6b78 100644 Binary files a/references/Assembly-CSharp.dll and b/references/Assembly-CSharp.dll differ diff --git a/references/LogLibrary.dll b/references/LogLibrary.dll index fb059a8..95bb92f 100644 Binary files a/references/LogLibrary.dll and b/references/LogLibrary.dll differ diff --git a/references/System.Configuration.dll b/references/System.Configuration.dll index 2642edc..c5a3aa5 100644 Binary files a/references/System.Configuration.dll and b/references/System.Configuration.dll differ diff --git a/references/UnityEngine.CoreModule.dll b/references/UnityEngine.CoreModule.dll index 2153743..653e932 100644 Binary files a/references/UnityEngine.CoreModule.dll and b/references/UnityEngine.CoreModule.dll differ diff --git a/references/UnityEngine.dll b/references/UnityEngine.dll index 33f8388..1f412e8 100644 Binary files a/references/UnityEngine.dll and b/references/UnityEngine.dll differ diff --git a/src/ModAPI.cs b/src/ModAPI.cs index 47c99a5..dfaedab 100644 --- a/src/ModAPI.cs +++ b/src/ModAPI.cs @@ -26,7 +26,7 @@ public void InitMod(Mod _modInstance) ModEvents.GameStartDone.RegisterHandler(OnGameStartDone); } - private const string DLL_VERSION = "3.1.0"; // TODO: always update this before each release + private const string DLL_VERSION = "4.0.0"; // TODO: always update this before each release private void OnGameAwake() { try diff --git a/src/Patches/EntityAlive.cs b/src/Patches/EntityAlive.cs index 9e5ced9..24bc74c 100644 --- a/src/Patches/EntityAlive.cs +++ b/src/Patches/EntityAlive.cs @@ -9,7 +9,7 @@ internal enum PlayerState Neutral, Crouching, Jumping } - [HarmonyPatch(typeof(EntityAlive), "updateCurrentBlockPosAndValue")] + [HarmonyPatch(typeof(EntityAlive), nameof(EntityAlive.updateCurrentBlockPosAndValue))] internal class EntityAlive_updateCurrentBlockPosAndValue_Patches { private static readonly ModLog _log = new ModLog(); diff --git a/update-references.sh b/update-references.sh new file mode 100644 index 0000000..4ddfb4d --- /dev/null +++ b/update-references.sh @@ -0,0 +1,16 @@ +#!/bin/sh +references_folder=./references +harmony_filename="0Harmony.dll" +harmony_folder="/c/Program Files (x86)/Steam/steamapps/common/7 Days to Die Dedicated Server/Mods/0_TFP_Harmony" +managed_folder="/c/Program Files (x86)/Steam/steamapps/common/7 Days to Die Dedicated Server/7DaysToDieServer_Data/Managed" + +cd $references_folder +for file in *; do + if [ -f "$file" ]; then + if [ "$file" = "$harmony_filename" ]; then + cp "$harmony_folder/$file" ./ + else + cp "$managed_folder/$file" ./ + fi + fi +done \ No newline at end of file