You are viewing a potentially older version of this package. View all versions.
gameimprovement-LagFix-1.0.0 icon

LagFix

Less lag from stacked items without changing their damage: AtG, Ceremonial Dagger, Fireworks, Noxious Thorn, 57 Leaf Clover, Gasoline, Ukulele, Polylute, Runic Lens. Instant gold/exp, toned-down black holes.

Date uploaded 12 hours ago
Version 1.0.0
Download link gameimprovement-LagFix-1.0.0.zip
Downloads 182
Dependency string gameimprovement-LagFix-1.0.0

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2122 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2122

README

LagFix

Cuts the lag that comes from stacking items, without changing how much damage they deal, and removes the worst visual effects.

Описание на русском — ниже.

What it does

Problem Fix Damage changed?
57 Leaf Clover — every chance is rolled 1 + luck times Same odds from a formula, at most 2 random rolls No
Noxious Thorn — every transferred debuff stack is applied one by one (thousands per kill) Damage-over-time stacks above 50 are merged into 50 stacks with a higher multiplier; other debuffs are capped at 50 No (DoT); debuffs without damage are capped
AtG Missile, Ceremonial Dagger, Bundle of Fireworks — hundreds of projectiles Above 12 per second (per player, per projectile type) extra ones are not spawned; their damage is added to the next one No (same total)
Gasoline, Ukulele, Polylute, Will-o'-the-wisp, Runic Lens… — piles of identical effects Same visual effect is shown at most 15 times per second No, visual only
Gold and experience — clouds of flying orbs Given instantly No
Black holes (Singularity Band, Void death bombs, Primordial Cube) — blinding flash Lights, screen flash and distortion removed; the ring/edge stays visible No, visual only

Every fix can be turned off, and the limits are configurable.

Multiplayer

Damage-related fixes run on the host. The visual fixes work for whoever has the mod.

Configuration

BepInEx/config/com.proigryfedorov.lagfix.cfg — applied immediately.

Section Key Default Meaning
Items FastLuck true Clover formula
Items MergeThornStacks true Noxious Thorn merging
Items ThornStackCap 50 Max stacks of one debuff transferred to one enemy
Items MergeProjectiles true Projectile merging
Items ProjectilesPerSecond 12 Budget per player per projectile type
Items MergedProjectiles MissileProjectile, DaggerProjectile, FireworkProjectile Which projectiles merge
Effects ThrottleEffects true Effect limit
Effects EffectsPerSecond 15 Same effect per second
Effects InstantExperience true No experience orbs
Effects InstantGold true No gold orbs
Effects TameBlackHoles true Toned-down black holes
Effects BlackHoleNames (see config) Which objects count as black holes
Debug LogEffectNames false Log every spawned effect/projectile name, to find more to add

Описание на русском

Убирает лаги от больших стаков предметов, не меняя их урон, и вырезает самые неприятные эффекты.

  • 57-листный клевер. Игра бросает кость 1 + удача раз на каждый шанс. Мод считает тот же шанс по формуле, максимум двумя бросками.
  • Вредный шип. Игра переносит каждый стак дебаффа отдельно, это тысячи действий на одно убийство.
    • Стаки урона (кровотечение, горение…) сверх 50 объединяются в 50 стаков с большим множителем, общий урон тот же.
    • Дебаффы без урона обрезаются до 50.
  • AtG Missile, Церемониальный кинжал, Связка петард. Сверх 12 снарядов в секунду (на игрока и на вид снаряда) лишние не создаются. Их урон добавляется к следующему снаряду, общий урон тот же.
  • Бензин, Укулеле, Полилютня, Блуждающий огонёк, Руническая линза… Одинаковый эффект показывается не чаще 15 раз в секунду. Влияет только на картинку.
  • Золото и опыт выдаются сразу, без облака летящих шариков.
  • Чёрные дыры (Кольцо сингулярности, взрывы Пустоты, Первичный куб):
    • убраны слепящая вспышка, свет и искажение;
    • кольцо и граница остаются видны.

Всё можно выключить или настроить. Урон обрабатывает хост, визуальные исправления работают у каждого, у кого стоит мод.

Если какой-то эффект всё ещё слепит, включи LogEffectNames. Его имя появится в логе, и его можно дописать в BlackHoleNames.

Changelog

  • 1.0.0 — first release.