Skip to content
This repository was archived by the owner on Jul 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ModInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<DisplayName value="Quantum Elevators" />
<!-- REMINDER: this mod's DLL version will be logged on GameAwake and should reflect the same version listed here! -->
<!-- If troubleshooting an issue, search "Quantum Elevators DLL" in logs to confirm these two values match. -->
<Version value="3.1.0" />
<Version value="4.0.0" />
<Description value="Add infinite distance, vertical-warp elevator panels." />
<Author value="Jonathan Robertson (Kanaverum)" />
<Website value="https://github.com/jonathan-robertson/quantum-elevators" />
Expand Down
Binary file modified QuantumElevators.dll
Binary file not shown.
39 changes: 11 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down Expand Up @@ -66,10 +49,10 @@ When attempting to travel, panels you are not already authenticated with or do n
> - `help * <partial or complete command name>`
> - or get details about this (or any) command and its options by running `help <command>`

primary | alternate | params | description
:---: | :---: | :---: | ---
quantumelevators | qe | `debug` | enable/disable debug logging for this mod (disabled by default)
quantumelevators | qe | `push <x> <y> <z>` | 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 <x> <y> <z>` | 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.*

Expand All @@ -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.

Expand Down
Binary file modified references/Assembly-CSharp.dll
Binary file not shown.
Binary file modified references/LogLibrary.dll
Binary file not shown.
Binary file modified references/System.Configuration.dll
Binary file not shown.
Binary file modified references/UnityEngine.CoreModule.dll
Binary file not shown.
Binary file modified references/UnityEngine.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion src/ModAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Patches/EntityAlive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<EntityAlive_updateCurrentBlockPosAndValue_Patches> _log = new ModLog<EntityAlive_updateCurrentBlockPosAndValue_Patches>();
Expand Down
16 changes: 16 additions & 0 deletions update-references.sh
Original file line number Diff line number Diff line change
@@ -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
Loading