Share by haidv07
====Thông tin file====
-Server java + file config excel
-Client flash + XML
Link down game chọn 1 trong 2
Local MG: ..reuploading....
Pass:
Local BD: [You must be registered and logged in to see this link.]
Pass: ik7s
Hướng dẫn cài đặt
-Giải nén ổ D:\
-D:\MXYServer\ESSamp chạy ESSamp.exe (Phải tắt hết http + mysql cũ nếu đang chạy trước)
-D:\MXYServer\Server chạy start.bat
-Link vô game [You must be registered and logged in to see this link.]
Chú ý ở đây hiện bảng như hình thì
Ô 1: mặc định
Ô 2: mã bất kỳ (vd: 123456)
Ô 3: giống mã ô 2
Bấm button để tới phần tạo nhân vật
(Note: chú ý login lần sau phải gõ đúng mã ban đầu nếu không sẽ tạo lại nhân vật)
Update 1 fix vô game theo account đã đăng nhập (bỏ qua bước nhập mã)
Mở D:\MXYServer\ESSamp\wwwroot\main.php lên tìm đến đoạn code
PHP Code:
Mở D:\MXYServer\ESSamp\wwwroot\game.php lên tìm đến đoạn code
Thay bằng đoạn code sau
PHP Code:
====Thông tin file====
-Server java + file config excel
-Client flash + XML
Link down game chọn 1 trong 2
Local MG: ..reuploading....
Pass:
Local BD: [You must be registered and logged in to see this link.]
Pass: ik7s
Hướng dẫn cài đặt
-Giải nén ổ D:\
-D:\MXYServer\ESSamp chạy ESSamp.exe (Phải tắt hết http + mysql cũ nếu đang chạy trước)
-D:\MXYServer\Server chạy start.bat
-Link vô game [You must be registered and logged in to see this link.]
Chú ý ở đây hiện bảng như hình thì
Ô 1: mặc định
Ô 2: mã bất kỳ (vd: 123456)
Ô 3: giống mã ô 2
Bấm button để tới phần tạo nhân vật
(Note: chú ý login lần sau phải gõ đúng mã ban đầu nếu không sẽ tạo lại nhân vật)
Update 1 fix vô game theo account đã đăng nhập (bỏ qua bước nhập mã)
Mở D:\MXYServer\ESSamp\wwwroot\main.php lên tìm đến đoạn code
- Code:
<a title="进入游戏" href='game.php' target="_blank"><h4 style="font-size:22px;"><b><img src="images/start.jpg" border="0" style="padding-left:100px;"/></b></h4></a>
PHP Code:
- Code:
<a title="进入游戏" href='game.php?account=<?php echo $_SESSION['valid_user']?>&sid=1&identityCard=1&srcUrl=127.0.0.1&sign=<?php echo md5($_SESSION['valid_user'])?>&time=<?php echo time()?>&agentid=1' target="_blank"><h4 style="font-size:22px;"><b><img src="images/start.jpg" border="0" style="padding-left:100px;"/></b></h4></a>
Mở D:\MXYServer\ESSamp\wwwroot\game.php lên tìm đến đoạn code
- Code:
var url = '';
try {
url = new UrlBuilder (document.location.toString ());
} catch (error) {}
var attacheVars = url.GetParams();
Thay bằng đoạn code sau
PHP Code:
- Code:
var url = 'http://127.0.0.1/game.php?';
try {
url = new UrlBuilder (document.location.toString ());
} catch (error) {}
var attacheVars = url.GetParams();