1.4.1: утечка видеопамяти от трупов «Жертвы», труп лежит 5 минут
Было: CorpseLootPatch перекрашивал труп через renderer.materials и Tint(), и ничего за собой не убирал. Копии материалов Unity с объектом не удаляет, перекрашенная текстура была несжатой RGBA32 (16-64 МБ) и читаемой (копия ещё и в RAM), кеш только рос. Лог игры: Texture.currentTextureMemory 1,2 -> 7,4 ГБ за два часа при desired ~3,5 ГБ, FPS 60 -> 11. Те же жалобы на Nexus (sanovskiy, Kriloko, Megaladon43). Стало: каждый перекрашенный труп записан (рендереры, материалы, текстуры), тик раз в секунду удаляет всё за трупом, которого нет в мире, текстура удаляется со счётчиком пользователей. Текстура не больше 1024, DXT, makeNoLongerReadable. Проверено в игре: обыск и истечение срока доводят счёт до «трупов 0, текстур 0». Необысканный труп лежит 300 с вместо 3600 (указание пользователя). buffNecroZombieKillTrackerDisplay: update_rate .1 -> 1 (отзыв zomb1); урон ножа растёт после убийства, проверено. Документы: версия 1.4.1, README (статус + несовместимость с 3.3 experimental), описания Nexus и сайта (пять минут вместо часа), NEXUS_CHANGELOG/FILE_SUMMARY_1.4.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
67dd410358
commit
77b56be9ae
@@ -2,7 +2,7 @@
|
||||
|
||||
*English version below — scroll past the Russian half.*
|
||||
|
||||
**Версия 1.4.0** — для 7 Days to Die 3.2. Автор: Alex Cube.
|
||||
**Версия 1.4.1** — для 7 Days to Die 3.2 (с 3.3 experimental не совместима). Автор: Alex Cube.
|
||||
|
||||
- Страница мода: https://www.alexcube.ru/7-days-to-die-moi-mody/kniga-nekromanta-necromancer-s-tome/
|
||||
- Nexus Mods: https://www.nexusmods.com/7daystodie/mods/12547
|
||||
@@ -162,6 +162,10 @@ HUD за этим следят два индикатора: череп в ста
|
||||
|
||||
## Статус
|
||||
|
||||
Версия 1.4.1 — **исправлено падение FPS**. Красный труп «Жертвы» оставлял в памяти свои текстуры и материалы и не отдавал их до перезапуска игры: за пару часов набегали гигабайты видеопамяти, и FPS падал в разы. Теперь всё убирается вместе с трупом, а сам труп лежит 5 минут, а не час. Урон ножа пересчитывается раз в секунду, а не 10 раз.
|
||||
|
||||
**Мод рассчитан на игру 3.2 и НЕ совместим с 3.3 experimental**: там перестаёт сохраняться содержимое Пространственного хранилища и ломается Пирамида Ереси. Версия под 3.3 выйдет отдельно.
|
||||
|
||||
Версия 1.4.0 — **питомцы переписаны заново**, и первый из них теперь доступен рано: **Дух крысы**
|
||||
(Некромантия 3, 60 упокоенных зомби). Все питомцы идут за вами, сами ни на кого не нападают и
|
||||
ждут приказа: повторное применение свитка при живом питомце натравливает его на цель под
|
||||
@@ -244,7 +248,7 @@ HUD за этим следят два индикатора: череп в ста
|
||||
|
||||
# Necromancer's Tome (English)
|
||||
|
||||
**Version 1.4.0** - for 7 Days to Die 3.2. By Alex Cube.
|
||||
**Version 1.4.1** - for 7 Days to Die 3.2 (not compatible with 3.3 experimental). By Alex Cube.
|
||||
|
||||
- Mod page: https://www.alexcube.ru/7-days-to-die-moi-mody/kniga-nekromanta-necromancer-s-tome/
|
||||
- Nexus Mods: https://www.nexusmods.com/7daystodie/mods/12547
|
||||
@@ -299,7 +303,7 @@ Five tiers, each opening part of the arsenal (the table gives both the zombie co
|
||||
knife, a bone guard, a rope-wrapped grip and glowing runes. Its damage grows with the Necromancy
|
||||
skill: nearly useless in unskilled hands, lethal for a levelled player. Heals the wielder for
|
||||
half the damage dealt and marks the wounded zombie as a Victim - its corpse turns red and stays
|
||||
for an hour; searching it makes it vanish and leave a Victim's bag of ingredients.
|
||||
for five minutes; searching it makes it vanish and leave a Victim's bag of ingredients.
|
||||
- **Six mods for the Necromancer's Knife only** - ordinary knife mods will not fit this weapon,
|
||||
and these will not fit any other: **Tears of the Dead** (2 water from every zombie killed with
|
||||
the blade), **Scavenger's Feast** (2 food per corpse), **Grave's Repose** (protection from heat
|
||||
@@ -406,6 +410,10 @@ story scenes play without stopping time.
|
||||
|
||||
## Status
|
||||
|
||||
Version 1.4.1 - **the FPS drop is fixed**. A red Victim corpse left its textures and materials in memory and never gave them back until the game was restarted: within a couple of hours that was gigabytes of video memory, and the frame rate fell several times over. Everything is now cleaned up with the corpse, and the corpse itself stays for 5 minutes instead of an hour. The knife's damage is refreshed once a second instead of 10 times.
|
||||
|
||||
**The mod is built for game version 3.2 and is NOT compatible with 3.3 experimental**: there the Spatial Vault stops saving its contents and the Pyramid of Heresy breaks. A 3.3 version will come separately.
|
||||
|
||||
Version 1.4.0 - **pets have been rewritten**, and the first of them now comes early: the **Rat
|
||||
Spirit** (Necromancy 3, 60 zombies put to rest). Every pet follows you, attacks nobody on its own
|
||||
and waits for an order: using the scroll again while the pet is alive sends it after whatever is
|
||||
|
||||
Reference in New Issue
Block a user