PDA

View Full Version : Tại sao em config ip nó vẫn hiện ip khác :( ... Nhất Kiếm



minhlathangnao
25-11-11, 04:06 PM
<script type=text/javascript>
var site = {"4399uid":"123456789","userid":"0152","username":"admin","currurl":"","language":"1","loadNoticeWay":"1","IsTransferScene":"1","openTreasureStragety":"1","isUpdataVersion":"1","preventWallowTime":"10800000","cztype":0,"timestamp":"1322211717","serverid":"S1","SourceURL":"<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>","AccSocketIP":"5.10.85.90","AccSocketPort":"8846","swfver":"20110704621311111","rooturi":"\/","showAccount":"2","fcmPower":"1","fcmConfig":"0","isNew":100};
var swfurl = '<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>';
var so = new SWFObject(swfurl, "yjjh", "1000", "580", "9", "#000000");

so.useExpressInstall('expressinstall.swf');
so.addParam('allowScriptAccess','always');
for(var i in site){
so.addVariable(i,site[i]);
}
so.write("flashobjdiv");
var isfullscreen = false;

function intofullscreen(){
document.getElementById('contentwrap').style.displ ay = "none";
document.getElementById('yjjh').width="100%";
document.getElementById('yjjh').height="100%";
isfullscreen = true;
}
function exitfullscreen(){
document.getElementById('contentwrap').style.displ ay = "block";
document.getElementById('yjjh').width=1000;
document.getElementById('yjjh').height=580;
isfullscreen = false;
}

function addfavor(url,title){
if(!url) url = "<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>";
if(!title) title = "御剑江湖1服 -- Tiếu Ngạo Giang Hồ ";
try{
window.external.AddFavorite(url, title);
}catch (e){
try{
window.sidebar.addPanel(title, url, "");
}catch (e){
alert("加入收藏失败,请用ctrl+d 手动添加");
}
}

}



function createrolenum(){
$.ajax({
type:'post',
data:'username='+site.username+'&userid='+site.userid,
url:site.rooturi+'enter/yjjhpt/createrolenum.php'
});
}


function joingamenum(){
$.ajax({
type:'post',
data:'username='+site.username+'&userid='+site.userid,
url:site.rooturi+'enter/yjjhpt/joingamenum.php'
});
}

function loadgame(){
document.body.style.backgroundImage="url(images/playbg.png)";


}

function loadGameTitle(){
$('#contentwrap').css("visibility","visible");
}


//防沉迷
function fcmfuck(username){
$.ajax({
type:'post',
data:'username=' + username,
url:site.rooturi+'enter/yjjhpt/fcm.php'
});
}

function resize(){
if(isfullscreen==true){
document.getElementById('flashobj').height = document.body.clientHeight;
}
}
</script>

Em cofig trong SeverData.php

<?
$serverArr = array(
'S1'=> array(
'id' => 1,
'servername' => 'Tiếu Ngạo Giang Hồ ',
'swfurl' => '<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>',
'SourceURL' => '<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>',
'AccSocketIP' => '127.0.0.1AccSocketPort'=> '8846',
),
);
?>

Bác nào biết chỉ em cách sửa nha :( hay tại ko liên wan SeverData

vominhtan2008
25-11-11, 08:00 PM
Bạn kiểm tra thêm trong \enter\data\upload\serverData.php và config.php nữa nha L-)