You are viewing a potentially older version of this package. View all versions.
UrisTeam-FreddyEnemy_Refix-1.0.1 icon

FreddyEnemy Refix

Required fix for OrtonLongGaming's FreddyEnemy: restores compatibility and fixes the endless attack loop and repeat kills on revived players.

Date uploaded 17 hours ago
Version 1.0.1
Download link UrisTeam-FreddyEnemy_Refix-1.0.1.zip
Downloads 336
Dependency string UrisTeam-FreddyEnemy_Refix-1.0.1

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
OrtonLongGaming-FreddyEnemy-1.1.1 icon
OrtonLongGaming-FreddyEnemy

NOW WORKING IN MONSTER UPDATE! - Freddy Fazbear has come to haunt your squad of lowly Semibots!

Preferred version: 1.1.1

README

FreddyEnemy Refix

A fix for OrtonLongGaming's FreddyEnemy mod for R.E.P.O.

Important: the original FreddyEnemy mod is outdated and no longer works correctly on its own with the current game version. This fix is required. Treat it as the main dependency and install it together with the original mod.

What it does

Refix includes the compatibility fixes of the original patch and goes further:

  • Adapts Freddy's attack and sound-loop calls to the current game version (compatibility).
  • Fixes Freddy getting stuck in an endless attack animation loop after his instant kill.
  • Fixes Freddy staying locked on a single target forever.
  • Fixes a revived player dying again from Freddy's earlier attack, even when far away from him.

Installation

You only need two mods:

  1. FreddyEnemy by OrtonLongGaming (the original mod).
  2. FreddyEnemy Refix (this mod).

Do not install erv-FreddyEnemy_Patch alongside this mod. Refix already includes and replaces it. Both use the same plugin ID, so having both can cause unexpected results. If you have it installed, uninstall it.

In multiplayer, the host needs this mod. Having it on every player's side is recommended.

How it works

Harmony transpilers redirect EnemyFreddy.HandleAttack and the sound-loop calls in EnemyFreddyAnim.Update to patched versions. The original mod's files are not modified.

Credits

This mod would not exist without:

Thank you both for your work and your contribution.

Reporting problems

Send a message on Discord to Uristides. Please include your LogOutput.log (BepInEx) and your FreddyEnemy version.


FreddyEnemy Refix (Español)

Un fix para el mod FreddyEnemy de OrtonLongGaming de R.E.P.O.

Importante: el mod original de FreddyEnemy está desactualizado y ya no funciona bien por sí solo con la versión actual del juego. Este fix es necesario. Considéralo la dependencia principal e instálalo junto con el mod original.

Qué hace

Refix incluye los arreglos de compatibilidad del parche original y va más allá:

  • Adapta las llamadas de ataque y de bucles de sonido de Freddy a la versión actual del juego (compatibilidad).
  • Corrige que Freddy se quede atrapado en un bucle infinito de animación de ataque tras su muerte instantánea.
  • Corrige que Freddy se quede fijado para siempre en un solo objetivo.
  • Corrige que un jugador revivido vuelva a morir por un ataque anterior de Freddy, aunque esté lejos de él.

Instalación

Solo necesitas dos mods:

  1. FreddyEnemy de OrtonLongGaming (el mod original).
  2. FreddyEnemy Refix (este mod).

No instales erv-FreddyEnemy_Patch junto con este mod. Refix ya lo incluye y lo reemplaza. Ambos usan el mismo ID de plugin, así que tener los dos puede dar resultados inesperados. Si lo tienes instalado, desinstálalo.

En multijugador, el host necesita este mod. Se recomienda que lo tengan todos los jugadores.

Cómo funciona

Transpilers de Harmony redirigen EnemyFreddy.HandleAttack y las llamadas de bucles de sonido de EnemyFreddyAnim.Update a versiones parcheadas. No se modifican los archivos del mod original.

Créditos

Este mod no existiría sin:

Gracias a ambos por su trabajo y su contribución.

Reportar problemas

Envía un mensaje por Discord a Uristides. Incluye tu LogOutput.log (BepInEx) y tu versión de FreddyEnemy.

CHANGELOG

Changelog

1.0.1 - 2026-10-23

Fixed

  • Freddy no longer gets stuck in an endless attack loop after his instant kill. The previous HandleAttack replacement never cleared the state impulse and never started the 2-second attack timer, so the attack ran again every frame and Freddy never left the Attack state.
  • Revived players are no longer killed again by a previous attack. Damage was being re-applied every frame to the stored target, with no distance or alive check.
  • The attack animation trigger and its network RPC are no longer fired every frame.

Changed

  • CustomHandleAttack now mirrors the original logic: consume the impulse, deal damage once, wait 2 seconds, switch off the mouth light and go to Leave.
  • Damage is only dealt if the target exists, is not disabled and is within 8 m of Freddy. Otherwise Freddy skips the hit and goes to Leave.
  • Restored the FreddyZoomRPC call that was missing from the previous patch.
  • Private fields are now accessed through cached Harmony references instead of Traverse on every frame.
  • Added a hard dependency on OrtonLongGaming-FreddyEnemy so load order is guaranteed.
  • Package renamed to FreddyEnemy_Refix; BepInExPack dependency updated to 5.4.2305.
  • The transpilers now log a warning if they cannot find the call they need to replace.

Removed

  • The Unpatch block in Awake, which removed every Harmony patch on EnemyFreddy.Update and EnemyFreddyAnim.Update, including patches from other mods.

1.0.0 (upstream: erv-FreddyEnemy_Patch)

  • Original compatibility patch by erv: adapts the HurtOther and Sound.PlayLoop calls of FreddyEnemy to the current game version.