其實如何架註冊網 忘了!
其實如何架註冊網 忘了! 架設:1.先裝Microsoft .NET Framework 3.5(自己google搵)
2.裝appserv(自己google搵),名用localhost,密碼自定
3.將shsvr呢個folder搬去C:\
4.C:\shsvr\GameServerMy\profile.ini入面改:
Core=Prj108.dll
Network=oSocNetwork.dll
Script=oLuaScript.dll
CharDB=GCharDB.dll
lottery=127.0.0.1
lotteryport=1900
admin=127.0.0.1(唔好改)
adminport=1200
AutoStart = 0
Name = 高登(自定)
#language = english
host = 192.168.1.102(單機就改你部機個ip,出街就改你isp比你個ip)
Port = 1700
Shutdown = 10
DBConn = oMySQLConn2.dll
DBName = 108gamedb
Username=root
Password=111111(你頭先裝appserv個password)
Host = 127.0.0.1(唔好改)
Port = 3306
STMT = set names 'big5'
DBConn = oMySQLConn2.dll
DBName=108Setting
Username=root
Password=111111(你頭先裝appserv個password)
Host = 127.0.0.1(唔好改)
Port = 3306
STMT = set names 'big5'
5.C:\shsvr\lottery\profile.ini入面改:
DBConn = oMySQLConn2.dll
DBName = 108lottery
Host = 127.0.0.1(唔好改)
Port = 3306
Username=root
Password = 111111(你頭先裝appserv個password)
STMT = set names 'big5'
StartDay = 4
StartTime = 20:00:00
Duration = 262800
Prize = 1000
PrizeItem = 0
LotteryPort = 1900
6.C:\shsvr\Sf_Billing_Server\admin.ini入面改:
DBConn = oMySQLConn.dll
DBName = 108Billing
Host = 127.0.0.1(唔好改)
username = root
password = 111111(你頭先裝appserv個password)
STMT = set names 'big5'
7.data.zip解去C:\AppServ\MySQL\data,解完條path要係咁:
C:\AppServ\MySQL\data\108billing
C:\AppServ\MySQL\data\108setting
C:\AppServ\MySQL\data\108gamedb
C:\AppServ\MySQL\data\108lottery
唔好解錯位
8.入phpmyadmin(開ie,打"http://localhost/phpmyadmin",使用者名稱:root,密碼:你頭先裝appserv個)
9.建立新資料庫"shserver"
10.入"shserver"資料庫再載入shserver.sql
11.按"shserver"入面個"shservertable",然後搜索,之後會搵到
AdminHost AdminPort
192.168.1.102 1700
192.168.1.102 1705
2個ip改晒你部機個ip,出街就改你isp比你個ip
12.去phpmyadmin既主目錄(左手面有間屋仔既icon),按權限>新增使用者,開一個user,資料要係:
使用者名稱:remote
主機(揀本地)
密碼:asdfghjkl
整體權限:全選
(呢個一定要跟以上一樣,冇得改)
13.改晒以上既野就開得server
首先按C:\shsvr\Sf_Billing_Server\AdminSys.bat
之後C:\shsvr\lottery\olottery.bat
最後C:\shsvr\GameServerMy\GameShell.bat,按start
14.如果見到start灰左就即係開到
15.註冊網解完放係C:\AppServ\www,之後用記事本開C:\AppServ\www\web\loginconfig.php,入面會見到:
<?php
$shserver = "127.0.0.1"; (唔好改)
$shgamedb = "108gamedb"; (唔好改)
$shbilling = "108billing"; (唔好改)
$shsetting = "108setting"; (唔好改)
$shuser = "root"; (唔好改)
$shpwd = "111111"; (改你裝appserv果個pw)
?>
16.登陸器個patch.ini改你ip
最後就可以係"http://你個ip/web" 度註冊ac入game 點解 我AppServ 會改左ip-_- 应该你install appser时,在输入地址那边有问题了。。。通常是localhost.. syewfong 發表於 2011-9-25 12:47 PM static/image/common/back.gif
应该你install appser时,在输入地址那边有问题了。。。通常是 ...
我install appser时输入了 localhost 有图吗???upload上来看看
syewfong 發表於 2011-9-25 12:55 PM static/image/common/back.gif
有图吗???upload上来看看
什么图呢...
jamie 發表於 2011-9-25 12:43 PM static/image/common/back.gif
點解 我AppServ 會改左ip-_-
你这个问题的图。。。。。。 syewfong 發表於 2011-9-25 01:25 PM static/image/common/back.gif
你这个问题的图。。。。。。
我把它刪了
没了 有问题的图
问题是改了別IP
INSTALL 时我输入了 localhost
頁:
[1]