原帖地址:http://www.eb163.com/club/thread-3942-1-1.html偶然看到一个叫做PWSNS的网站。
下载了pwsns的源码
http://www.pwsns.com/down/PWSNS1.0Beta.rar
首先去演示站看了看,整体网站系统采用.NET编写,这还没觉得神奇
发现有开心农场,点击进去,初一看,以为是在UCH本体封装了一层.NET之后调用漫游的API
开心农场,结果发现不对,加载SWF被破解,加入了PWSNS的标记
于是兴趣浓厚起来了,下载110MB的程序本体安装包,解压发现秘密
原来开心农场整个应用被破解
变成真真正正的本地版游戏插件了
在安装程序的压缩包,这个路径下
PWSNS1.0Beta.rar\PWSNS1.0Beta\PWSNS1.0Beta\WWW\App\Farm
整个开心农场都被破解
不过版本相对UCH本身的要低,因为本人在自己网站见过其他人种到荔枝
而这个版本只能到石榴
不过整体来说破解还算完整,想搞本地版开心农场的,稍微改改就可以变成UCH版本的
本地开心农场
从整体SNS 程序的角度看, 还是UCH略胜一筹,这是作为一个开发者,最真实的反馈<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="WSNS.WebUI.App.Farm.Index" %>
<%@ Register Src="~/Control/Buttom.ascx" TagName="Buttom" TagPrefix="uc1" %>
<%@ Register Src="~/Control/Head.ascx" TagName="Head" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>开心农场 - <%=PWSNS.Common.SysConst.CacheSiteConfig().Title%></title>
<script type="text/javascript" src="/Js/jquery/jquery-set.js"></script>
<script type="text/javascript" src="/Js/common.js"></script>
<script type="text/javascript" src="/Js/iframeDialog2.js"></script>
<script type="text/javascript" src="/Js/AC_RunActiveContent.js"></script>
<link href="/Theme/Default/Css/Homeglobal.css" type="text/css" rel="stylesheet" />
<link href="/Theme/Default/Css/album.css" type="text/css" rel="stylesheet" layoutRenderSidebar="false"/>
<style>
.main_wrapper {
width: 100%;
float:none;
}
.main .top {
background:url(/Theme/Default/Images/bg.gif) no-repeat 0 -1043px;
height:28px;
overflow:hidden;
font-weight:normal;
}
.main .bottom {
background:url(/Theme/Default/Images/bg.gif) no-repeat 0 -415px;
height:9px;
overflow:hidden;
}
</style>
<script type="text/javascript" language="javascript">
function setoTab(el,o,num){
var tab=document.getElementById(el);
var oTab=tab.getElementsByTagName("li");
var isUl=document.getElementById(o);
var TabUl=isUl.getElementsByTagName("div");
for (var i=0;i<TabUl.length;i++){
oTab.className="normaltab";
TabUl.className="undis";
}
oTab[num].className="hovertab";
TabUl[num].className="dis";
}
</script>
</head>
<body>
<uc2:Head ID="Head2" runat="server" />
<div id="content" class="wrapper">
<h1>
<span class="back"><a href="javascript:history.back(-1)">返回上一页<em class="arrow">»</em></a></span>
<ul>
<li><a href="/APP/Farm/" class="select"><i><em class="friendalbum">开心农场</em></i></a></li>
<li><a href="/Start/?page=Friend-invite&parm=source=Farm"><i><em class="friendalbum"><font color="#ffff66"><b>邀请好友 [送狗狗]</b></font></em></i></a></li>
<li><a href="/Group/?page=showOneGroup&parm=group.Id=56"><i><em class="friendalbum"><font color="#ffcc99"><b>开心农场交流群组① </b></font></em></i></a></li>
</ul>
</h1>
<!-- sidebar over -->
<div class="main_wrapper">
<div class="main">
<div class="top"></div>
<div class="main_box" style="height:580px">
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("此页需要 AC_RunActiveContent.js");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '100%',
'height', '560',
'src', '<%=PWSNS.Common.SysConst.CacheSiteConfig().Url%>/App/Farm/happyfarm',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'Dogs',
'bgcolor', '#ffffff',
'name', 'Dogs',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', '<%=PWSNS.Common.SysConst.CacheSiteConfig().Url%>/App/Farm/happyfarm',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="440" height="330" id="Dogs" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="<%=PWSNS.Common.SysConst.CacheSiteConfig().Url%>/App/Farm/happyfarm.swf?v=inu01" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="<%=PWSNS.Common.SysConst.CacheSiteConfig().Url%>/App/Farm/happyfarm.swf?v=inu01" quality="high" bgcolor="#ffffff" width="440" height="330" name="Dogs" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
<div class="clear"></div>
</div>
<!-- main_box over -->
<div class="bottom"></div>
</div>
</div>
</div>
<div class="clear"></div>
<uc1:Buttom ID="Buttom1" runat="server" />
</body>
</html> |