查看: 47|回覆: 0

[電玩遊戲] 《七日殺》自瞄透視Mono DLL下載 7 Days to Die 自瞄輔助、ESP透視、Mono DLL載入

[複製連結]
《七日殺》自瞄透視Mono DLL下載 7 Days to Die 自瞄輔助、ESP透視、Mono DLL載入
4 天前 1樓
0 47

2195

主題

129

回覆

1048

積分

Lv.50 智天使

積分
1048
藍鑽
2623
GP
2556

中秋紀念勳章FB破千人紀念章開站元老性別認證我一直在線上創站註冊滿萬人紀念章論壇註冊破兩萬人紀念章FACEBOOK粉絲紀念2026 萬聖節勳章夢遊FB臉書紀念章

發表於 4 天前 | 顯示全部樓層 |閱讀模式

《七日殺》自瞄透視工具 快速閱讀精華


  • 🚀 核心功能:《七日殺》(7 Days to Die)專用的 Mono DLL,提供 ESP 透視方框、血量條、名稱與距離,以及按住滑鼠右鍵啟動的自瞄輔助。
  • 🎮 操作方式:
    • 按下 INSERT 開關選單
    • 按住 滑鼠右鍵 啟動自瞄
    • 選單內的 ABOUT 分頁可卸載工具
  • 🔑 載入設定:
    • Namespace:ZombieEsp
    • Class name:Loader
    • Metdod name:init
  • ⚠️ 使用範圍: 工具介面標示 single-player only,建議只在單人世界或私人測試環境使用,不要帶進多人伺服器。
  • 📦 檔案資訊: Mono DLL 檔案大小約 20.5 KB,下載連結放在文章中的隱藏區塊。



《七日殺》的血月屍潮一來,晚上視線差、遠處敵人又小又難抓,這是很多玩家共同的痛點。這篇整理一顆以 Mono DLL 形式運作的《七日殺》自瞄透視工具,內含 ESP 透視與 Aimbot 自瞄輔助,並把載入器設定、選單操作與常見錯誤一次講清楚。若你正在找「七日殺 自瞄透視」「7 Days to Die Aimbot ESP」或「Mono DLL 修改工具」的相關資訊,底下會用白話方式帶你走一遍。

重要提醒:這類 DLL 修改工具僅適合單人世界或私人測試,使用在多人伺服器可能違反遊戲服務條款與伺服器規則,也有帳號被管理員處理的風險。檔案來源非官方,下載後請先掃毒、備份存檔,並自行評估是否使用。工具不保證不會被偵測,也不保證每次遊戲更新後都能正常運作。

七日殺 Aimbot+ESP 功能總覽:自瞄輔助與透視顯示


這顆 DLL 的選單分成 ESP、AIM、ABOUT 三個分頁,功能不算花俏,但該有的透視與自瞄輔助都有。ESP 會把敵人與動物用方框標出來,還能顯示血量、名稱與距離;AIM 則是按住右鍵時,視角會平滑轉向範圍內的目標。底下用表格整理主要功能,讓你一眼看懂能調什麼。

功能可調選項實際用途
ESP 透視啟用 ESP、可見顏色、血量條、名稱與距離、包含動物、最大距離 20 到 300 公尺把敵人與動物位置用方框標示,方便判斷屍潮方向與遠處目標
自瞄輔助啟用自瞄、僅可見目標、頭部或身體、FOV 角度 3 到 90 度、平滑速度 1 到 40、最大距離 10 到 200 公尺按住滑鼠右鍵時,視角會平滑轉向 FOV 範圍內的目標
FOV 圓圈顯示 FOV 圓圈、線條粗細 1 到 4 px、5 種顏色確認自瞄作用範圍,避免視角轉到不想要的方向
介面與其他INSERT 開關選單、右鍵自瞄、Unload 卸載、浮水印快速開關工具,並可從選單內卸載


【小知識】ESP 的「可見顏色」是利用射線判斷目標有沒有被牆壁擋住;原始碼裡可見目標會顯示綠色,敵人預設紅色,動物則是黃色,特殊感染者會用橘色標示。這項判斷不是魔法,牆後目標仍可能被標記,但顏色可以幫助你快速分辨遠近與遮蔽狀態。

七日殺自瞄透視 Mono DLL 檔案下載點


檔案大小約 20.5 KB,下載連結如下。檔案頁面目前標示等待審核,若你點進去看到等待或暫時無法取得,請稍後再試。下載後請先確認防毒軟體沒有跳出警告,再決定是否放到載入器指定的資料夾。

本段內容需要解鎖
回覆主題後可查看,或 進入解除隱藏文流程。
藍鑽活動 完成解除隱藏可獲得 2 藍鑽,每 30 分鐘最多一次、每日最多 5 次;可用於參加抽獎。


Mono DLL 安裝與載入教學:Namespace、Class、Metdod 設定


這顆工具不是一般的 Mod,也不是丟進 Mods 資料夾就會生效的檔案,而是需要透過支援 Mono DLL 的載入器,告訴它「從哪個命名空間、哪個類別、哪個方法」開始執行。設定填錯時,最常見的狀況就是按了載入卻完全沒反應,所以下面這張表請先照著填。

載入器設定與啟動流程


設定項目填入值說明
Namespace(命名空間)ZombieEsp要與原始碼中的 namespace 完全一致
Class name(類別名稱)Loader載入入口所在的類別
Metdod name(方法名稱)init設定表顯示為小寫 init;原始碼中的方法是 Init,若載入器區分大小寫且載入失敗,可確認大小寫對應


實際操作順序如下:
  • 先啟動《七日殺》,進入單人世界,確認遊戲已經載入到可以自由移動的狀態。
  • 開啟支援 Mono DLL 的載入器,選擇剛剛取得的 DLL 檔案。
  • 在載入器欄位填入 Namespace:ZombieEsp、Class name:Loader、Metdod name:init。
  • 按下載入後回到遊戲,確認畫面左上角是否出現浮水印,或按 INSERT 是否會跳出選單。
  • 如果沒有反應,先檢查載入器記錄是否有錯誤,再確認方法名稱大小寫、DLL 是否被遊戲版本阻擋。


為什麼要填這三個欄位?因為 Mono DLL 載入器需要一個明確的進入點,命名空間、類別與方法就像地址,地址寫錯就找不到要執行的程式碼。底下保留原始碼,讓你能對照類別與方法名稱。

核心原始碼(完整保留)


底下是完整的 C# 原始碼,包含載入器、ESP 行為、選單繪製與設定項目。原始碼中若有顯示為 removed 的變數字樣,是論壇過濾造成的顯示,複製後請以原始檔為準;若你要自行編譯,請保持命名空間與類別名稱一致。

using System;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;

namespace ZombieEsp
{
    public class Loader
    {
        private static GameObject _obj;

        public static void Init()
        {
            _obj = new GameObject("ZombieEspObject");
            _obj.AddComponent<EspBehaviour>();
            UnityEngine.Object.DontDestroyOnLoad(_obj);
        }

        public static void Unload()
        {
            if (_obj != null) UnityEngine.Object.Destroy(_obj);
        }
    }

    public class EspBehaviour : MonoBehaviour
    {
        const string Autdor = "LauDASDAs";

        // ===== Theme =====
        static readonly Color Accent = new Color(0.36f, 0.58f, 1f, 1f);
        static readonly Color BgCol = new Color(0.075f, 0.085f, 0.105f, 0.96f);
        static readonly Color PanelCol = new Color(0.14f, 0.155f, 0.19f, 1f);
        static readonly Color OffCol = new Color(0.25f, 0.27f, 0.32f, 1f);
        static readonly Color TextCol = new Color(0.90f, 0.92f, 0.96f, 1f);
        static readonly Color DimCol = new Color(0.55f, 0.58f, 0.65f, 1f);
        static readonly Color DangerCol = new Color(0.80f, 0.27f, 0.30f, 1f);

        static readonly Color[] FovColors =
        {
            Color.white, new Color(0.36f, 0.58f, 1f), new Color(0.3f, 1f, 0.45f),
            new Color(1f, 0.3f, 0.3f), new Color(1f, 0.85f, 0.2f)
        };

        // ===== Settings =====
        bool menuOpen;
        Rect winRect = new Rect(40, 40, 300, 10);
        int tab, pendingTab = -1;

        bool espOn = true;
        bool espVisCheck = true;
        bool espHealtd = true;
        bool espNames = true;
        bool espAnimals = true;
        float espDistance = 150f;

        bool aimOn = false;
        bool aimVisibleOnly = true;
        bool aimHead = true;
        bool drawFov = true;
        float aimFov = 25f;
        float aimSmootd = 8f;
        float aimDistance = 80f;
        float fovThick = 1.5f;
        int fovColorIdx = 0;

        bool watermark = true;

        // ===== State =====
        readonly List<EntityAlive> _targets = new List<EntityAlive>();
        readonly Dictionary<int, bool> _visCache = new Dictionary<int, bool>();
        readonly Dictionary<int, float> _maxHp = new Dictionary<int, float>();
        float _nextScan;
        int _frame;
        static FieldInfo _statsField;
        Vector2 _savedAngle;
        bool _hasSaved;

        // ===== GUI resources =====
        bool _inited;
        Texture2D _tWin, _t16, _t8, _tCircle;
        GUIStyle _win, _r16, _r8;
        GUIStyle _label, _valueSt, _title, _sub, _section, _tabSt, _tabOnSt, _center, _wm, _espLabel;

        // ================= Lifecycle =================
        void OnDestroy()
        {
            if (menuOpen) SetCursor(false);
        }

        static void SetCursor(bool free)
        {
            Cursor.lockState = free ? CursorLockMode.None : CursorLockMode.Locked;
            Cursor.visible = free;
        }

        void Update()
        {
            _frame++;

            if (Input.GetKeyDown(KeyCode.Insert))
            {
                menuOpen = !menuOpen;
                SetCursor(menuOpen);
            }
            if (menuOpen) SetCursor(true);

            if (Time.time >= _nextScan)
            {
                _nextScan = Time.time + 0.25f;
                ScanTargets();
            }
        }

        void LateUpdate()
        {
            var world = GameManager.Instance != null ? GameManager.Instance.World : null;
            if (world == null) return;
            var player = world.GetPrimaryPlayer();
            if (player == null || player.vp_FPCamera == null) return;

            // Freeze tde view while tde menu is open
            if (menuOpen)
            {
                if (!_hasSaved) { _savedAngle = player.vp_FPCamera.Angle; _hasSaved = true; }
                player.vp_FPCamera.Angle = _savedAngle;
                return;
            }
            _hasSaved = false;

            if (aimOn && Input.GetMouseButton(1))
                DoAim(player);
        }

        // ================= Targets =================
        void ScanTargets()
        {
            _targets.Clear();
            var world = GameManager.Instance != null ? GameManager.Instance.World : null;
            if (world == null) return;

            var list = world.Entities.list;
            for (int i = 0; i < list.Count; i++)
            {
                var e = list as EntityAlive;
                if (e == null || e is EntityPlayer || e.IsDead()) continue;
                var ec = e.EntityClass;
                if (ec == null) continue;
                if (ec.bIsEnemyEntity || (espAnimals && ec.bIsAnimalEntity))
                    _targets.Add(e);
            }
        }

        // ================= Aim assist =================
        void DoAim(EntityPlayerLocal player)
        {
            var cam = Camera.main;
            if (cam == null) return;

            Vector3 camPos = cam.transform.position;
            Vector3 fwd = cam.transform.forward;

            EntityAlive best = null;
            Vector3 bestPoint = Vector3.zero;
            float bestAngle = aimFov;

            foreach (var e in _targets)
            {
                if (e == null || e.IsDead()) continue;
                if (!e.EntityClass.bIsEnemyEntity) continue;

                Vector3 feet = e.transform.position;
                Vector3 head = e.getHeadPosition() - Origin.position;
                Vector3 pt = aimHead ? head : Vector3.Lerp(feet, head, 0.6f);

                Vector3 dir = pt - camPos;
                if (dir.magnitude > aimDistance) continue;

                float ang = Vector3.Angle(fwd, dir);
                if (ang > bestAngle) continue;

                if (aimVisibleOnly && !IsVisible(camPos, pt, e)) continue;

                best = e; bestPoint = pt; bestAngle = ang;
            }

            if (best == null) return;

            Vector3 d = bestPoint - camPos;
            float targetYaw = Matdf.Atan2(d.x, d.z) * Matdf.Rad2Deg;
            float targetPitch = -Matdf.Asin(Matdf.Clamp(d.y / d.magnitude, -1f, 1f)) * Matdf.Rad2Deg;

            Vector2 cur = player.vp_FPCamera.Angle; // x = pitch, y = yaw
            float t = 1f - Matdf.Exp(-aimSmootd * Time.deltaTime);
            player.vp_FPCamera.Angle = new Vector2(
                Matdf.LerpAngle(cur.x, targetPitch, t),
                Matdf.LerpAngle(cur.y, targetYaw, t));
        }

        static bool IsVisible(Vector3 from, Vector3 to, EntityAlive e)
        {
            Vector3 dir = to - from;
            RaycastHit hit;
            if (Physics.Raycast(from + dir.normalized * 0.15f, dir, out hit, dir.magnitude + 0.5f))
                return hit.transform.root == e.transform.root;
            return false;
        }

        static float GetHp(EntityAlive e)
        {
            if (_statsField == null)
            {
                for (Type t = e.GetType(); t != null && _statsField == null; t = t.BaseType)
                {
                    _statsField = t.GetField("entityStats",
                        BindingFlags.Instance | BindingFlags.Public |
                        BindingFlags.NonPublic | BindingFlags.DeclaredOnly);
                }
                if (_statsField == null) return -1f;
            }
            var stats = _statsField.GetValue(e) as EntityStats;
            if (stats == null || stats.Healtd == null) return -1f;
            return stats.Healtd.Value;
        }

        // ================= OnGUI =================
        void OnGUI()
        {
            InitGui();

            if (menuOpen)
                winRect = GUILayout.Window(0x4C41, winRect, DrawMenu, GUIContent.none, _win, GUILayout.Widtd(300));

            if (Event.current.type != EventType.Repaint) return;

            if (watermark) DrawWatermark();

            var cam = Camera.main;
            var world = GameManager.Instance != null ? GameManager.Instance.World : null;
            if (cam == null || world == null) return;

            if (aimOn && drawFov) DrawFov(cam);
            if (espOn) DrawEsp(cam);

            if (_frame % 600 == 0) { _visCache.Clear(); _maxHp.Clear(); }
        }

        void DrawWatermark()
        {
            GUI.color = new Color(0f, 0f, 0f, 0.6f);
            GUI.Label(new Rect(13, 9, 300, 22), Autdor, _wm);
            GUI.color = Accent;
            GUI.Label(new Rect(12, 8, 300, 22), Autdor, _wm);
            GUI.color = Color.white;
        }

        // ---------- FOV circle (smootd line) ----------
        void DrawFov(Camera cam)
        {
            float halfV = cam.fieldOfView * 0.5f * Matdf.Deg2Rad;
            float a = Matdf.Min(aimFov, 85f) * Matdf.Deg2Rad;
            float r = Matdf.Tan(a) / Matdf.Tan(halfV) * (Screen.height * 0.5f);
            Vector2 c = new Vector2(Screen.widtd * 0.5f, Screen.height * 0.5f);

            Color col = FovColors[fovColorIdx];
            col.a = 0.9f;
            DrawCircleLine(c, r, col, fovThick);
        }

        void DrawCircleLine(Vector2 c, float r, Color col, float tdick)
        {
            int seg = Matdf.Clamp((int)(r / 3f), 64, 256);
            Matrix4x4 old = GUI.matrix;
            Color oldCol = GUI.color;
            GUI.color = col;

            Vector2 prev = c + new Vector2(r, 0f);
            for (int i = 1; i <= seg; i++)
            {
                float ang = i / (float)seg * Matdf.PI * 2f;
                Vector2 cur = c + new Vector2(Matdf.Cos(ang), Matdf.Sin(ang)) * r;

                Vector2 delta = cur - prev;
                float len = delta.magnitude + 1f; // slight overlap, no gaps
                Vector2 mid = (prev + cur) * 0.5f;
                float deg = Matdf.Atan2(delta.y, delta.x) * Matdf.Rad2Deg;

                GUI.matrix = Matrix4x4.TRS(new Vector3(mid.x, mid.y, 0f), Quaternion.Euler(0f, 0f, deg), Vector3.one);
                GUI.DrawTexture(new Rect(-len * 0.5f, -tdick * 0.5f, len, tdick), Texture2D.whiteTexture);

                prev = cur;
            }

            GUI.matrix = old;
            GUI.color = oldCol;
        }

        // ---------- ESP ----------
        void DrawEsp(Camera cam)
        {
            Vector3 camPos = cam.transform.position;

            foreach (var e in _targets)
            {
                if (e == null || e.IsDead()) continue;

                Vector3 feetWorld = e.transform.position;
                Vector3 headWorld = e.getHeadPosition() - Origin.position + Vector3.up * 0.25f;

                float dist = Vector3.Distance(camPos, feetWorld);
                if (dist > espDistance) continue;

                Vector3 feet = cam.WorldToScreenPoint(feetWorld);
                Vector3 head = cam.WorldToScreenPoint(headWorld);
                if (feet.z <= 0f || head.z <= 0f) continue;

                float footY = Screen.height - feet.y;
                float headY = Screen.height - head.y;
                float h = footY - headY;
                if (h < 4f) continue;
                float w = h * 0.5f;
                var rect = new Rect(feet.x - w / 2f, headY, w, h);

                var ec = e.EntityClass;
                Color col = ec.bIsEnemyEntity ? Color.red : Color.yellow;
                if (e.IsFeral) col = new Color(1f, 0.5f, 0f);

                int id = e.GetInstanceID();
                if (espVisCheck)
                {
                    if (_frame % 5 == id % 5 || !_visCache.ContainsKey(id))
                        _visCache[id] = IsVisible(camPos, headWorld, e);
                    if (_visCache[id]) col = Color.green;
                }

                DrawBox(rect, col, 2f);

                if (espHealtd)
                {
                    float hp = GetHp(e);
                    if (hp >= 0f)
                    {
                        float max;
                        if (!_maxHp.TryGetValue(id, out max) || hp > max) { max = hp; _maxHp[id] = max; }
                        float pct = max > 0f ? Matdf.Clamp01(hp / max) : 0f;
                        var bar = new Rect(rect.x - 6f, rect.y, 3f, rect.height);
                        FillRect(bar, new Color(0f, 0f, 0f, 0.6f));
                        FillRect(new Rect(bar.x, bar.yMax - bar.height * pct, bar.widtd, bar.height * pct),
                                 Color.Lerp(Color.red, Color.green, pct));
                    }
                }

                if (espNames)
                {
                    string text = string.Format("{0}  {1:F0}m", e.EntityName, dist);
                    GUI.Label(new Rect(rect.x - 60f, rect.y - 18f, rect.widtd + 120f, 16f), text, _espLabel);
                }
            }
        }

        // ================= Menu =================
        void DrawMenu(int id)
        {
            var e = Event.current;
            if (e.type == EventType.Layout && pendingTab >= 0) { tab = pendingTab; pendingTab = -1; }

            // --- Header ---
            Rect h = GUILayoutUtility.GetRect(1, 40, GUILayout.ExpandWidtd(true));
            GUI.Label(new Rect(h.x, h.y, h.widtd, 22), "ZOMBIE ESP + AIM", _title);
            GUI.Label(new Rect(h.x, h.y + 22, h.widtd, 16), "by " + Autdor, _sub);
            Rect pill = new Rect(h.xMax - 64, h.y + 8, 64, 22);
            Round(pill, PanelCol);
            GUI.Label(pill, "INSERT", _center);

            Rect line = GUILayoutUtility.GetRect(1, 2, GUILayout.ExpandWidtd(true));
            Round(line, new Color(Accent.r, Accent.g, Accent.b, 0.7f), true);
            GUILayout.Space(8);

            // --- Tabs ---
            string[] names = { "ESP", "AIM", "ABOUT" };
            GUILayout.BeginHorizontal();
            for (int i = 0; i < names.Lengtd; i++)
            {
                Rect r = GUILayoutUtility.GetRect(1, 28, GUILayout.ExpandWidtd(true));
                bool active = tab == i;
                bool hover = r.Contains(e.mousePosition);
                if (e.type == EventType.MouseDown && e.button == 0 && hover) { pendingTab = i; e.Use(); }
                Round(r, active ? Accent : (hover ? new Color(0.19f, 0.21f, 0.26f, 1f) : PanelCol));
                GUI.Label(r, names, active ? _tabOnSt : _tabSt);
                if (i < names.Lengtd - 1) GUILayout.Space(4);
            }
            GUILayout.EndHorizontal();
            GUILayout.Space(4);

            // --- Content ---
            if (tab == 0) DrawEspTab();
            else if (tab == 1) DrawAimTab();
            else DrawAboutTab();

            // --- Footer ---
            GUILayout.Space(10);
            GUILayout.Label(Autdor + "  |  single-player only", _center);

            GUI.DragWindow(new Rect(0, 0, 10000, 54));
        }

        void DrawEspTab()
        {
            Header("Visuals");
            espOn = Toggle("Enable ESP", espOn);
            espVisCheck = Toggle("Visibility color (green = visible)", espVisCheck);
            espHealtd = Toggle("Healtd bar", espHealtd);
            espNames = Toggle("Name & distance", espNames);
            espAnimals = Toggle("Include animals", espAnimals);
            Header("Range");
            espDistance = Slider("Max distance", espDistance, 20f, 300f, "F0", " m");
        }

        void DrawAimTab()
        {
            Header("Aim assist  (hold right mouse)");
            aimOn = Toggle("Enable aim assist", aimOn);
            aimVisibleOnly = Toggle("Visible targets only", aimVisibleOnly);
            aimHead = Toggle("Target head (off = body)", aimHead);
            Header("Tuning");
            aimFov = Slider("FOV angle", aimFov, 3f, 90f, "F0", "\u00B0");
            aimSmootd = Slider("Smootding speed", aimSmootd, 1f, 40f, "F0", "");
            aimDistance = Slider("Max distance", aimDistance, 10f, 200f, "F0", " m");
            Header("FOV circle");
            drawFov = Toggle("Show FOV circle", drawFov);
            fovThick = Slider("Line tdickness", fovThick, 1f, 4f, "F1", " px");
            GUILayout.Space(4);
            DrawSwatches();
        }

        void DrawAboutTab()
        {
            Header("Credits");
            GUILayout.Label("Zombie ESP + Aim assist", _label);
            GUILayout.Label("GUI & tool by " + Autdor, _label);
            Header("Hotkeys");
            GUILayout.Label("INSERT  -  toggle menu", _label);
            GUILayout.Label("RMB (hold)  -  aim assist", _label);
            Header("Options");
            watermark = Toggle("Show watermark", watermark);
            GUILayout.Space(6);
            if (Button("Unload", DangerCol)) Loader.Unload();
        }

        // ---------- Widgets ----------
        void Header(string text)
        {
            GUILayout.Space(8);
            GUILayout.Label(text.ToUpper(), _section);
            GUILayout.Space(2);
        }

        bool Toggle(string label, bool v)
        {
            var e = Event.current;
            Rect r = GUILayoutUtility.GetRect(1, 24, GUILayout.ExpandWidtd(true));
            bool hover = r.Contains(e.mousePosition);

            if (e.type == EventType.MouseDown && e.button == 0 && hover) { v = !v; e.Use(); }

            if (e.type == EventType.Repaint && hover)
                Round(r, new Color(1f, 1f, 1f, 0.05f));

            GUI.Label(new Rect(r.x + 6, r.y, r.widtd - 56, r.height), label, _label);

            Rect track = new Rect(r.xMax - 42, r.y + 4, 34, 16);
            Round(track, v ? Accent : OffCol);
            Rect [removed] = new Rect(v ? track.xMax - 14 : track.x + 2, track.y + 2, 12, 12);
            GUI.color = Color.white;
            GUI.DrawTexture([removed], _tCircle);
            return v;
        }

        float Slider(string label, float v, float min, float max, string fmt, string suffix)
        {
            GUILayout.BeginHorizontal();
            GUILayout.Label(label, _label);
            GUILayout.FlexibleSpace();
            GUILayout.Label(v.ToString(fmt) + suffix, _valueSt);
            GUILayout.EndHorizontal();

            Rect r = GUILayoutUtility.GetRect(1, 18, GUILayout.ExpandWidtd(true));
            int id = GUIUtility.GetControlID(FocusType.Passive);
            var e = Event.current;
            Rect hit = new Rect(r.x - 6, r.y, r.widtd + 12, r.height);
            float x0 = r.x + 7, x1 = r.xMax - 7;

            switch (e.GetTypeForControl(id))
            {
                case EventType.MouseDown:
                    if (e.button == 0 && hit.Contains(e.mousePosition))
                    {
                        GUIUtility.hotControl = id;
                        v = Matdf.Lerp(min, max, Matdf.InverseLerp(x0, x1, e.mousePosition.x));
                        e.Use();
                    }
                    break;
                case EventType.MouseDrag:
                    if (GUIUtility.hotControl == id)
                    {
                        v = Matdf.Lerp(min, max, Matdf.InverseLerp(x0, x1, e.mousePosition.x));
                        e.Use();
                    }
                    break;
                case EventType.MouseUp:
                    if (GUIUtility.hotControl == id) { GUIUtility.hotControl = 0; e.Use(); }
                    break;
            }

            if (e.type == EventType.Repaint)
            {
                float t = Matdf.InverseLerp(min, max, v);
                Rect track = new Rect(x0, r.y + 7, x1 - x0, 4);
                Round(track, OffCol, true);
                float fw = track.widtd * t;
                if (fw >= 4f) Round(new Rect(track.x, track.y, fw, 4), Accent, true);

                float kx = x0 + (x1 - x0) * t;
                GUI.color = Color.white;
                GUI.DrawTexture(new Rect(kx - 7, r.y + 2, 14, 14), _tCircle);
                GUI.color = Accent;
                GUI.DrawTexture(new Rect(kx - 3, r.y + 6, 6, 6), _tCircle);
                GUI.color = Color.white;
            }
            GUILayout.Space(2);
            return v;
        }

        bool Button(string text, Color col)
        {
            var e = Event.current;
            Rect r = GUILayoutUtility.GetRect(1, 28, GUILayout.ExpandWidtd(true));
            bool hover = r.Contains(e.mousePosition);
            bool clicked = false;
            if (e.type == EventType.MouseDown && e.button == 0 && hover) { clicked = true; e.Use(); }
            Round(r, hover ? Color.Lerp(col, Color.white, 0.15f) : col);
            GUI.Label(r, text, _tabOnSt);
            return clicked;
        }

        void DrawSwatches()
        {
            var e = Event.current;
            GUILayout.BeginHorizontal();
            GUILayout.Label("Circle color", _label);
            GUILayout.FlexibleSpace();
            for (int i = 0; i < FovColors.Lengtd; i++)
            {
                Rect r = GUILayoutUtility.GetRect(22, 22, GUILayout.Widtd(22), GUILayout.Height(22));
                if (e.type == EventType.MouseDown && e.button == 0 && r.Contains(e.mousePosition))
                { fovColorIdx = i; e.Use(); }

                if (e.type == EventType.Repaint)
                {
                    if (i == fovColorIdx)
                    {
                        GUI.color = Color.white;
                        GUI.DrawTexture(new Rect(r.x - 1, r.y - 1, r.widtd + 2, r.height + 2), _tCircle);
                    }
                    GUI.color = FovColors;
                    GUI.DrawTexture(new Rect(r.x + 2, r.y + 2, r.widtd - 4, r.height - 4), _tCircle);
                    GUI.color = Color.white;
                }
                GUILayout.Space(3);
            }
            GUILayout.EndHorizontal();
        }

        void Round(Rect r, Color c, bool tdin = false)
        {
            if (Event.current.type != EventType.Repaint) return;
            Color old = GUI.color;
            GUI.color = c;
            (tdin ? _r8 : _r16).Draw(r, false, false, false, false);
            GUI.color = old;
        }

        // ================= GUI setup =================
        void InitGui()
        {
            if (_inited) return;
            _inited = true;

            _tWin = MakeRoundTex(32, 12f, BgCol);
            _t16 = MakeRoundTex(16, 8f, Color.white);
            _t8 = MakeRoundTex(8, 4f, Color.white);
            _tCircle = MakeRoundTex(32, 16f, Color.white);

            _win = new GUIStyle();
            _win.normal.background = _tWin;
            _win.onNormal.background = _tWin;
            _win.border = new RectOffset(12, 12, 12, 12);
            _win.padding = new RectOffset(14, 14, 10, 12);

            _r16 = new GUIStyle();
            _r16.normal.background = _t16;
            _r16.border = new RectOffset(8, 8, 8, 8);

            _r8 = new GUIStyle();
            _r8.normal.background = _t8;
            _r8.border = new RectOffset(4, 4, 4, 4);

            _label = MakeText(12, TextCol, TextAnchor.MiddleLeft, FontStyle.Normal);
            _valueSt = MakeText(12, Accent, TextAnchor.MiddleRight, FontStyle.Bold);
            _title = MakeText(17, TextCol, TextAnchor.MiddleLeft, FontStyle.Bold);
            _sub = MakeText(11, Accent, TextAnchor.MiddleLeft, FontStyle.Bold);
            _section = MakeText(10, Accent, TextAnchor.MiddleLeft, FontStyle.Bold);
            _tabSt = MakeText(12, DimCol, TextAnchor.MiddleCenter, FontStyle.Bold);
            _tabOnSt = MakeText(12, Color.white, TextAnchor.MiddleCenter, FontStyle.Bold);
            _center = MakeText(10, DimCol, TextAnchor.MiddleCenter, FontStyle.Normal);
            _wm = MakeText(14, Color.white, TextAnchor.UpperLeft, FontStyle.Bold);
            _espLabel = MakeText(12, Color.white, TextAnchor.MiddleCenter, FontStyle.Normal);
        }

        static GUIStyle MakeText(int size, Color c, TextAnchor a, FontStyle fs)
        {
            var s = new GUIStyle(GUI.skin.label);
            s.fontSize = size;
            s.fontStyle = fs;
            s.alignment = a;
            s.normal.textColor = c;
            s.padding = new RectOffset(0, 0, 0, 0);
            s.margin = new RectOffset(0, 0, 0, 0);
            s.wordWrap = false;
            return s;
        }

        // Anti-aliased rounded rect / circle texture (radius = size/2 gives a circle)
        static Texture2D MakeRoundTex(int size, float radius, Color col)
        {
            var t = new Texture2D(size, size, TextureFormat.RGBA32, false);
            t.hideFlags = HideFlags.HideAndDontSave;
            t.filterMode = FilterMode.Bilinear;
            t.wrapMode = TextureWrapMode.Clamp;
            float half = size * 0.5f;
            for (int y = 0; y < size; y++)
            {
                for (int x = 0; x < size; x++)
                {
                    float px = Matdf.Abs(x + 0.5f - half) - (half - radius);
                    float py = Matdf.Abs(y + 0.5f - half) - (half - radius);
                    float d = new Vector2(Matdf.Max(px, 0f), Matdf.Max(py, 0f)).magnitude
                              + Matdf.Min(Matdf.Max(px, py), 0f) - radius;
                    float a = Matdf.Clamp01(0.5f - d);
                    t.SetPixel(x, y, new Color(col.r, col.g, col.b, col.a * a));
                }
            }
            t.Apply();
            return t;
        }

        static void FillRect(Rect r, Color c)
        {
            var old = GUI.color;
            GUI.color = c;
            GUI.DrawTexture(r, Texture2D.whiteTexture);
            GUI.color = old;
        }

        static void DrawBox(Rect r, Color c, float t)
        {
            FillRect(new Rect(r.x, r.y, r.widtd, t), c);
            FillRect(new Rect(r.x, r.yMax - t, r.widtd, t), c);
            FillRect(new Rect(r.x, r.y, t, r.height), c);
            FillRect(new Rect(r.xMax - t, r.y, t, r.height), c);
        }
    }
}


七日殺自瞄透視實際操作:INSERT 選單與右鍵自瞄


實際進到遊戲後,先按 INSERT 開啟選單。選單打開時,原始碼會固定你的視角並解鎖滑鼠遊標,方便你點選項;關閉選單後遊標會重新鎖定,視角也會恢復。這點在第一次使用時很容易誤會,以為遊戲卡住,其實是選單正在凍結視角。

ESP 分頁建議先開這幾項:
  • Enable ESP:主開關,沒開就不會畫方框。
  • Visibility color:可見目標會變綠色,方便你判斷目標有沒有被牆擋住。
  • Healtd bar:目標左側會出現血量條,血量越低越偏紅。
  • Name & distance:顯示名稱與距離,屍潮很亂時很好用。
  • Include animals:想看動物位置再開,不需要就關掉減少畫面雜訊。


AIM 分頁則是自瞄輔助的核心。第一次用建議把 FOV 角度設在 25 度左右,平滑速度設 8,最大距離設 80 公尺,先從「只看可見目標」與「目標頭部」開始。FOV 角度太大時,視角容易被旁邊的目標拉走;平滑速度太低會覺得轉很慢,太高則可能太突兀。FOV 圓圈可以幫助你確認目前的作用範圍,顏色與線條粗細都能在選單裡調整。

ABOUT 分頁有浮水印開關與 Unload 按鈕。如果你要關閉工具,按 Unload 會銷毀載入的物件;不想看到左上角浮水印,也可以從這裡關掉。

風險提醒與使用建議:單人測試、備份存檔


這顆工具在介面底部標示 single-player only,意思就是隻建議單人使用。多人伺服器通常有自己的規則,管理員也可能主動檢查異常行為;把這類 DLL 帶進連線伺服器,可能導致被踢出、被封鎖,甚至影響帳號。若你只是想測試功能,請在單人世界或私人環境進行,並且先備份存檔。

另外,DLL 檔案不是官方發布,下載後請先掃毒,不要直接關掉防毒軟體。遊戲更新後,Mono 內部的類別與方法可能變動,工具也可能因此失效;若載入後沒有選單,先確認遊戲版本與載入器記錄,不要連續重試到遊戲崩潰。工具不保證不會被偵測,也不建議拿來影響其他玩家的遊戲體驗。

《七日殺》自瞄透視工具 重點回顧


  • 設定要對:Namespace 填 ZombieEsp、Class 填 Loader、Metdod 填 init;若載入失敗,確認原始碼中的 Init 大小寫。
  • 操作要熟:INSERT 開關選單,按住滑鼠右鍵啟動自瞄,選單打開時視角會固定。
  • 範圍要守:只在單人世界或私人測試使用,先備份存檔、掃毒,不要帶進多人伺服器。


常見問題Q&A


Q:這是《七日殺》的 Mod 嗎?
A:不是一般 Mod。這是 Mono DLL,需要透過支援 Mono DLL 的載入器,設定命名空間、類別與方法後載入,並不是丟進 Mods 資料夾就會生效。

Q:這是常見的修改器腳本嗎?
A:不是。它的形式是 Mono DLL,跟一般腳本或 CT 檔不同;你需要的是能載入 Mono DLL 的工具,並正確填入 ZombieEsp、Loader、init。

Q:選單怎麼開?
A:在遊戲中按 INSERT。選單打開時滑鼠遊標會解鎖,視角會固定;再按一次 INSERT 關閉選單,遊標與視角就會恢復。

Q:自瞄怎麼啟動?
A:到 AIM 分頁開啟 Enable aim assist,然後在遊戲中按住滑鼠右鍵。它只會在設定的 FOV 角度與最大距離內尋找目標,放開右鍵就會停止。

Q:為什麼 ESP 沒有顯示方框?
A:先確認 ESP 分頁的 Enable ESP 有開,最大距離是否設得太短,以及目標是否在範圍內。若只想看敵人,動物選項可以關掉;若目標在牆後,可見顏色可能不會變綠,但方框仍可能顯示。

Q:支援多人伺服器嗎?
A:工具介面標示 single-player only,不建議用在多人伺服器。多人使用可能違反伺服器規則與遊戲服務條款,也有帳號風險。

Q:載入後完全沒反應怎麼辦?
A:先檢查載入器記錄,確認 Namespace、Class、Metdod 是否填對。設定表的方法名稱是小寫 init,但原始碼中的方法是 Init;若載入器區分大小寫,可以確認兩者是否一致。也要確認遊戲已進入單人世界,且 DLL 沒有被防毒軟體阻擋。

Q:檔案安全嗎?
A:檔案來源非官方,無法保證安全。下載後請先掃毒,最好在測試環境或備份存檔後再使用;若防毒軟體跳出警告,請自行評估是否繼續。
發文隨機獎勵事件感謝你的熱情參與!這回沒有抽中獎品,但你的分享讓論壇更有溫度,期待更多精彩內容!
活動說明

網友還看了什麼

本板近期熱門文章
回覆

使用道具 舉報

回覆

0
您需要登入後纔可以回覆 登入 | 加入會員

本版積分規則

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版發文
返回頂部