因為防毒軟體誤認你的 "RunUO.exe" 執行檔是病毒

你必須重新建立

新的 "RunUO.exe" 執行檔

第一步:
在你的運行內的資料夾,要先有這些檔案。

# Backups - (運行紀錄備份檔)
# Data - (數據庫)
# docs - (命令)
# Logs - (所有事情紀錄)
# Scripts - (腳本)
# Saves - (現在運行記錄檔)
# Server - (核心相關腳本)
# COPYING - (宣示版權)
# zlib32.dll - (電腦運行位元)
# zlib64.dll - (電腦運行位元)

第二步:
開啟筆記本,複製這個code:


 

第一種寫法:

del server.exe
C:\Windows\Microsoft.NET\Framework\v4.0.50727\csc.exe /unsafe /out:Server.exe /recurse:Server\*.cs /win32icon:Server\runuo.ico

 


第二種寫法:

@echo off
del Server.exe
goto compile
:error
pause
:compile
SET PATH=C:\WINDOWS\Microsoft.NET\Framework\v4.0.50727
csc.exe /optimize /unsafe /define:Framework_4_0 /reference:Ultima.dll /out:Server.exe /recurse:Server\*.cs /win32icon:Server\runuo.ico
IF NOT %ERRORLEVEL%==0 goto error

 


要查看你的電腦 Microsoft.NET   版本 Framework
[1.0] [1.0.3705.0]  [2002-02-13 Visual Studio.NET]
[1.1] [1.1.4322.573]  [2003-04-24 Visual Studio.NET 2003]
[2.0] [2.0.50727.42]  [2005-11-07 Visual Studio 2005]
[3.0] [3.0.4506.30]  [2006-11-06]
[3.5] [3.5.21022.8]  [2007-11-19 Visual Studio 2008]
[4.0] [4.0.30319.1]  [2010-04-12 Visual Studio 2010]
[4.5] [4.5.40709]  [2012-08-15 Visual Studio 2012]

 

第三步:
另存新檔名稱設定 " Compile.bat "
,在存檔,之後資料夾內,會出現一個新的檔案
連點自動跑出新的執行檔 " Server.exe "。

文章標籤

超級迷 發表在 痞客邦 留言(0) 人氣()