ascentSVN地址備忘

來源:互聯網
上載者:User
NCDB

http://mmoforge.org/svn/ncdb/ASCENThttp://mmoforge.org/svn/ascent/GM指令碼http://mmoforge.org/svn/gmscripts/RUSDBhttp://mmoforge.org/svn/rusdb/ACDBhttp://mmoforge.org/svn/acdb/user:anonymouspassword: Ascent SVN 地址: http://projects.emupedia.com/svn/ascent
使用者名稱: anonymous
密碼留空即可

NCDB 資料庫 SVN 地址: http://projects.emupedia.com/svn/ncdb
使用者名稱: anonymous
密碼留空即可

Ascent phpStats SVN 地址: http://ascent-phpstats.googlecode.com/svn/trunk

Ascent LuaScript SVN 地址: http://projects.emupedia.com/svn/luascripts  http://svn.assembla.com/svn/arcemu/trunk/ 

Ascent        http://mmoforge.org/svn/ascent

moon          http://mmoforge.org/svn/moon/

NCDB          http://svn.assembla.com/svn/NCDB

LuaScript     http://mmoforge.org/svn/luascripts/

arcemu        http://arcemu.svn.sourceforge.net/svnroot/arcemu

 大家見過很多人寫過用VC來編譯Win32平台的Ascent(Antrix),但沒人寫Unix的教程,筆者寫一個
首先通過SVN下載最新的原始碼,可以用TortoiseSVN或者Unix下工具svn命令列下載,為
http://projects.emupedia.com/svn/ascent ,我以Unix上svn命令列為例
# svn co http://projects.emupedia.com/svn/ascent /root/ascent
這樣就將原始碼下載到/root/ascent目錄下
這步會花比較多時間,可以先用windows工具TortoiseSVN 下載源碼然後上傳到伺服器/root/ascent目錄下
# cd /root/ascent
#cd trunk
然後執行aclocal,autoconf,automake -a來產生configure指令碼
#aclocal
#autoconf
#automake -a
這樣該目錄下就有通常Unix下的自動設定指令碼configure
然後運行configure來產生makefile
# ./configure --prefix=/opt/ascent
後面的參數prefix是要將產生好的二進位執行檔案安裝到/opt/ascent目錄下
然後運行
#make
編譯過程中會有一些錯誤,主要是沒有定義變數宏,我們手動產生這些檔案
#cd /root/ascent
確保我們在主目錄下
#vi config.h
#define PREFIX "/opt/ascent"
#define CONFDIR "/opt/ascent/conf"
將這2句話寫入並且儲存退出
繼續
#make
然後安裝
#make install
這樣就將完成了編譯工作,請將ascent.conf ,logonserver.conf realms.conf voicechat.conf 複製到/opt/antrix/conf目錄下
#mkdir /opt/ascent/conf
#cp /root/ascent/src/*.conf /opt/ascent/conf
然後編輯這些檔案,修改地址已適合你的IP,然後再編輯ascent.conf去掉die 和die2的2句話。
在linux下安裝mysql,並且倒入資料庫,這個和windows一樣
最後到/opt/ascent/bin目錄下,建立DBC(一定大寫,筆者吃過虧,小寫Ascent不認)目錄,將從用戶端提取的dbc檔案全部放入其中
#cd /opt/ascent/bin
#mkdir DBC/
#cp *.dbc DBC
在繼續建立maps目錄和scripts目錄,將從用戶端提取的maps檔案放入
#mkdir maps
#mkdir scripts
#cp * maps/
現在最新的ascent已經支援lua來做怪物的AI,將測試的lua複製到scripts
#cp extras/test.lua scripts
這樣我們的安裝基本結束
啟動logonserver和ascent,記得將ascent.conf和logonserver.conf裡面的包含password的內容改成一樣,比如change_me_same
#./logonserver &
#./ascent &
然後就可以開啟你的用戶端去盡情享受ascent的快樂吧

 

 

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.