-=-*-=-Big_Fat_Boy-=-*-=- -=-*-=-Tổng Tư Lệnh-=-*-=-
Tên nhân vật Counter-Strike của bạn : [BaBu] - Big - Tổng số bài gửi : 40 Ngày tham gia : 05/06/2009 Tuổi tác : 37 Đến từ : Địa Ngục trần gian
| Tiêu đề: Hướng dẫn cách cài AMX Mod cho Server Sat Jun 06, 2009 7:14 pm | |
| Hơi dài dòng đấy mọi người, mình phải bỏ hơn 2 tiếng đồng hồ mới cài được á
I\Giới thiệu [b]_AMXX là gì ? Là những Scripts cho Game Counter-Strike / Half-Life (Day of Defeat , Team of Fortress...etc ) / CS : Condition Zero _Nó có tác dụng gì ? Nó là trợ thủ cho những Serve nhằm giúp hoạt động tốt hơn ,Anti-Hack / AFK hiệu quả hơn _Trang chủ của nó ở đâu ? http://amxmodx.org
II\Cài đặt _Bước 1 : Download về chứ làm cái quái gì ) AMXX Full 1.8.0 _Bước 2 : Bắt đầu Setup +Setup đầu tiên là cài...file Setup cho AMXX (có lẽ hơi nhàm ) - có thể cài bất cứ đâu +Setup tiếp theo là AMXX (AMXX là Plugin cho Metamod ),sẽ có 4 lựa chọn cho bạn (quên rồi ) ,bạn hãy chọn cái thứ 4 (Custom ) ,sau đó đưa đường dẫn đến xxx\cstrike\ (xxx là thư mục bạn cài Game ) (cstrike là thư mục Mod ) +Chờ...
_Bước 3 : Thay đổi File DLL Load cho Game (thường thì cái Setup tự động Replace luôn =,- ) +Bật file liblist.gam ở thư mục mod lên bằng Notepad (cstrike ) (có thể xài công cụ Search cho lẹ ) ,thay dòng gamedll "dlls\mp.dll" sang gamedll "addons\metamod\dlls\metamod.dll" Sau khi thay đổi :
Code: gamedll "addons\metamod\dlls\metamod.dll" gamedll_linux "addons/metamod/dlls/metamod_i386.so"
(Hàng 2 là DLL cho Window Linux )
_Bước 4 : Vào file xxx\cstrike\addons\amxmodx\config\users.ini +Thêm Nick chơi Game của bạn vào dòng cuối cùng VD : "[BaBu] - Big -" "1+1=2" "abcdefghijklmnopqrstu" "a" "[BaBu] - Big -" là nick của bạn "1+1=2" là mật khẩu của bạn "abcd..." là những ký tự cho phép của nick đó "a" là Level Access (a là ADMIN ) (coi thêm ở phần đầu file users.ini )
_Bước 5 : Loại bỏ Cheating Death ra ! +Lý do : những người vào Serve C-D cần phải có Soft đó (đôi khi bạn không có thì nó kick chính bạn luôn ) +Bắt đầu : vào file xxx\cstrike\addons\metamod\plugins.ini +Xóa tất cả những dòng bắt đầu từ Comment Cheating Death Sau khi thay đổi :
Code:
; ˵Ã÷: ; ¿ªÆôij¸öÄ£¿éÇëÈ¥µôÇ°ÃæµÄ· ֺŠ; ¹Ø±Õij¸öÄ£¿éÇëÔÚÇ°Ãæ¼ÓÉÏ· ÖºÅ
;//////////////////////////////////////////////////////////// ;// --------------------- Booster ------------------------ // ;////////////////////////////////////////////////////////////
; Çë°´×Ô¼ºµÄCPUÑ¡ÔñÄãÐèÒªµÄ³� � ?Ðò, ÒÔÏÂ2¸öÖ»ÄÜ¿ªÆôÒ»¸ö win32 addons/Booster/booster_mm.dll ;win32 addons/Booster/booster_686_mm.dll
;//////////////////////////////////////////////////////////// ;// ------------------- AMX Mod X ------------------------ // ;////////////////////////////////////////////////////////////
win32 addons/amxmodx/dlls/amxmodx_mm.dll
; linux Çë°´×Ô¼ºµÄCPUÑ¡ÔñÄãÐèÒªµÄ³� � ?Ðò, ÒÔÏÂ2¸öÖ»ÄÜ¿ªÆôÒ»¸ö ;linux addons/amxmodx/dlls/amxmodx_mm_i386.so ;linux addons/amxmodx/dlls/amxmodx_mm_amd64.so
;//////////////////////////////////////////////////////////// ;// --------------- HLguard 1.72 ----------------------- // ;////////////////////////////////////////////////////////////
win32 addons/hlguard/dlls/hlguard_mm.dll ;linux addons/hlguard/dlls/hlguard_mm_i386.so ;win32 addons\amx\dlls\amx_mm.dll ;linux addons/amx/dlls/amx_mm_i586.so
Bước 6 (ADDONS - không thích thì không làm ) : Lên http://www.amxmodx.org/compiler.php tìm Plugins cho Game +Chọn Game mà bạn chơi ,bấm Search sẽ ra List Plugins
_Bước 6.a Chọn Plugins bạn thích ,Download file .sma ở diễn đàn alies về (đây là file Source ,để về sau tiện Edit lại )
_Bước 6.b Quăng file .sma bạn mới Down về vào mục xxx\cstrike\addons\amxmodx\scripts ,chạy file compile.exe ,sau khi kết thúc ,vào tiếp thư mục Compiled ,móc Plugins .amxx có tên trùng với .sma bạn mới quăng vào
_Bước 6.c Quăng file .amxx mới Compile vào thư mục xxx\cstrike\addons\amxmodx\plugins
_Bước 6.d Vào file xxx\cstrike\addons\amxmodx\config\plugins.ini Điền thêm tên của Plugin bạn vừa quăng vào ở dòng cuối cùng (sau dòng 3Rd Third Party ) VD : amx_ejl_missile.amxx Để bật chế độ sửa lỗi ,thêm debug vào sau tên plugin đó VD : amx_ejl_missile.amxx debug
Code:
; AMX Mod X plugins
; Admin Base - Always one has to be activated admin.amxx ; admin base (required for any admin-related) ;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
; Basic admincmd.amxx ; basic admin console commands adminhelp.amxx ; help command for admin console commands adminslots.amxx ; slot reservation multilingual.amxx ; Multi-Lingual management
; Menus menufront.amxx ; front-end for admin menus cmdmenu.amxx ; command menu (speech, settings) plmenu.amxx ; players menu (kick, ban, client cmds.) telemenu.amxx ; teleport menu (Fun Module required!) mapsmenu.amxx ; maps menu (vote, changelevel)
; Chat / Messages adminchat.amxx ; console chat commands antiflood.amxx ; prevent clients from chat-flooding the server scrollmsg.amxx ; displays a scrolling message imessage.amxx ; displays information messages adminvote.amxx ; vote commands
; Map related nextmap.amxx ; displays next map in mapcycle mapchooser.amxx ; allows to vote for next map timeleft.amxx ; displays time left on map
; Configuration pausecfg.amxx ; allows to pause and unpause some plugins statscfg.amxx ; allows to manage stats plugins via menu and commands
; Counter-Strike ;restmenu.amxx ; restrict weapons menu statsx.amxx ; stats on death or round end (CSX Module required!) miscstats.amxx ; bunch of events announcement for Counter-Strike stats_logging.amxx ; weapons stats logging (CSX Module required!)
; Enable to use AMX Mod plugins ;amxmod_compat.amxx ; AMX Mod backwards compatibility layer
; Custom - Add 3rd party plugins here amx_ejl_missiles.amxx
_Bước 6.e Kiểm tra Plugin đó cần những file modules nào ,bật modules.ini trong thư mục trên để tùy chọn Enable/Disable
Code:
;;; ; To enable a module, remove the semi-colon ( in front of its name. ; If it's not here, simply add it its name, one per line. ; You don't need to write the _amxx part or the file extension. ;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ;; SQL Modules usually need to be enabled manually ;; ;; You can have any number on at a time. Use ;; ;; amx_sql_type in sql.cfg to specify the default ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;
mysql ;sqlite
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;; ;; Put third party modules below here. ;; ;; You can just list their names, without the _amxx ;; ;; or file extension. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;; ;; These modules will be auto-detected and loaded ;; ;; as needed. You do not need to enable them here ;; ;; unless you have problems. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;
fun engine fakemeta ;geoip ;sockets ;regex nvault cstrike csx
Muốn Enable Modules nào ,bạn chỉ việc bỏ dấu ; ở đằng trước nó (và ngược lại ) NOTE : Enable càng nhiều Modules ,AMXX sẽ càng Use nhiều Memory của PC
_Bước 7 : Cho phép chức năng lưu trữ Score của người chơi +Rất đơn giản : tạo 1 file notepad ,rename nó lại thành csstats.dat
Đến đây là các bạn có thể sử dụng AMXX rồi đấy
Các lệnh cơ bản trong AMXX : _Serve (CVARS / Admin / Mod ) amx_slay <tên> : kill thằng nào đó thấy ghét amx_slap <tên> <chỉ số> : tát thằng nào đó thấy ghét với mức DMG tương ứng ) amx_kick <tên> : kick amx_ban <tên> : Ban nick / Ip thằng đó khi cảm thấy bất trị (Hacker / Cheater ) amx_votemap <tên map> : đặt 1 cuộc bầu cử đổi map amx_votekick <tên> : đặt 1 cuộc bầu cử kick thằng <tên> amx_voteban <tên> : (như trên ) - Ban IP amx_enable <1/0> : hữu hiệu hóa AMXX / vô hiệu hóa meta cvars : xem những lệnh cvars có thể dùng meta cmds : xem những lệnh cmds có thể dùng meta list : xem những Plugins cho Meta mod đang chạy (AMXX cũng là Plugin cho Meta mod ) _Client (Player ) amx_help <số > : hiện bảng giúp đỡ với 10 dòng bắt đầu từ dòng <số>
_Lệnh Both Side say /rank : hiện Rank của bạn say /top15 : hiện Top 15 say timeleft : hiện thời gian còn lại trước khi đổi map say nextmap : hiện map típ theo
Về các Plugins như ZOMBIE / CLUSTER GRENADE / BULLET DAMAGE bạn có thể lên forum alies hỏi bọn nó
Lưu ý : Khi cài đặt AMXX ,do file DLL đã thay thế nên BOT sẽ không còn sử dụng trong GAME ! ,nhưng nếu bạn sử dụng bạn CS 1.6 Volcano Download ở Esport thì vẫn có thể sử dụng[/b] | |
|