洛汗英雄版服务端架设问题
本帖最后由 tanxing789@1 于 2014-3-3 11:51 编辑DBServer打开后
出现unknow,
进入游戏的ServerList显示一堆东西,点击后没有反应。不知道是什么地方没设置好。 看看服务端内有没有类似的php html这类网页文件
最好能把服务端文件截图
这个上面的内容有点看不清,应该是代码错了!~ 本帖最后由 tanxing789@1 于 2014-3-3 19:25 编辑
按教程是设置xampp\htdocs\RohanAuth\include\dbconn.php和xampp\htdocs\RohanAuth\ServerList5.php
dbconn.php
$serverName = "WIN-QV8AHRK1H63" ;
$uid = 'sa' ;
$pwd = 'ab123456##' ;
$connectionInfo = array( "UID" =>$uid ,
"PWD" =>$pwd ,
"Database" =>"RohanUser" );
$oConn = sqlsrv_connect( $serverName, $connectionInfo);
if( $oConn === false ) {
//print_r( sqlsrv_errors(), true);
die (-1000); # Unable to connect to the database
这里是将WIN-QV8AHRK1H63改了localhos,uid = 'sa' pwd = 'ab123456##' 改了自己数据库的。
ServerList5.php
$serverList = 'SenZoKu|192.168.56.101|22100|3|3|1|0|0|0|By.Senzoku Games|';
HttpResponse::setData( $serverList );
HttpResponse::send();
这里是要改192.168.56.101,我改了127.0.0.1,结果就变成这样的一堆东西。
兄弟还有这个游戏的客户端吗 麻烦传下啊 拜谢了 上传好了,去下吧 。http://pan.baidu.com/s/1pJsKvEj 密码:qw6u tanxing789@1 发表于 2014-5-30 09:36
上传好了,去下吧 。http://pan.baidu.com/s/1pJsKvEj 密码:qw6u
谢谢了 虽然过了这么久
页:
[1]