<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>All About Free &#187; 开心农场</title>
	<atom:link href="http://all.aboutfree.me/tag/%e5%bc%80%e5%bf%83%e5%86%9c%e5%9c%ba/feed" rel="self" type="application/rss+xml" />
	<link>http://all.aboutfree.me</link>
	<description></description>
	<lastBuildDate>Sun, 09 Oct 2011 14:00:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	
<!-- Start Of Script Generated By WP-PostViews Plus -->
<script type='text/javascript' src='http://all.aboutfree.me/wp-includes/js/jquery/jquery.js?ver=1.4.4'></script>
<script type="text/javascript">
/* <![CDATA[ */
jQuery.ajax({type:'GET',url:'http://all.aboutfree.me/wp-content/plugins/wp-postviews-plus/postviews_plus.php',data:'todowppvp=add&type=tag&id=195_1',cache:false,dataType:'script'});
/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus -->
	<item>
		<title>[开心牧场]给你的牧场增加最新的乌龟</title>
		<link>http://all.aboutfree.me/600</link>
		<comments>http://all.aboutfree.me/600#comments</comments>
		<pubDate>Fri, 23 Oct 2009 02:03:36 +0000</pubDate>
		<dc:creator>Free</dc:creator>
				<category><![CDATA[技术存档]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[乌龟]]></category>
		<category><![CDATA[增加]]></category>
		<category><![CDATA[开心农场]]></category>
		<category><![CDATA[开心牧场]]></category>
		<category><![CDATA[补丁]]></category>

		<guid isPermaLink="false">http://all.aboutfree.me/?p=600</guid>
		<description><![CDATA[昨天QQ牧场进行了更新，一进去就发现多了一种宠物可以养 乌龟&#8230;俺对这动物太有爱了&#8230;而且动作很可爱 好吧&#8230;分析文件&#8230;想办法搬过来 演示站 http://home.zuiuk.com/newfarm.php 查看我的工作进度 http://all.aboutfree.me/572 现在放出补丁包给大家使用 点击下载 把文件包放进您的农场文件夹内 然后对文件作如下修改 newfarm/mc/ini.xml &#60;material url=&#34;module/mc/main/shopui.swf?v=7&#34; statusText=&#34;加载图标素材...&#34; size=&#34;155480&#34; /&#62; 下面添加 &#60;material url=&#34;module/mc/main/shopui2_v_1.swf?v=1&#34; statusText=&#34;加载图标素材...&#34; size=&#34;14153&#34;/&#62; &#60;/animals&#62; 上面添加 &#60;animal id=&#34;1007&#34; name=&#34;乌龟&#34; childNum=&#34;12&#34; product=&#34;小乌龟&#34; u=&#34;只&#34; house=&#34;窝&#34;&#62; &#60;nextText value=&#34;幼仔,成长期,生产期,生产期,待产期,收获期&#34;/&#62; &#60;nextTime value=&#34;27000,27000,216000,180,35820,270000&#34;/&#62; &#60;/animal&#62; newfarm/newmc.php &#34;1006&#34; =&#62; array( 41400, 41400, 259200, 180, 54000, 342000 ), 下面添加 &#34;1007&#34; =&#62; array( 27000, 27000, 216000, 180, [...]]]></description>
			<content:encoded><![CDATA[<p>昨天QQ牧场进行了更新，一进去就发现多了一种宠物可以养<br />
乌龟&#8230;俺对这动物太有爱了&#8230;而且动作很可爱<br />
好吧&#8230;分析文件&#8230;想办法搬过来</p>
<p>演示站</p>
<p>http://home.zuiuk.com/newfarm.<a href="http://all.aboutfree.me/tag/php" class="st_tag internal_tag" rel="tag" title="Posts tagged with php">php</a></p>
<p>查看我的工作进度</p>
<p>http://all.aboutfree.me/572</p>
<p>现在放出补丁包给大家使用<br />
<a href="wp-content/uploads/2009/10/newfarm.rar">点击下载</a></p>
<p>把文件包放进您的农场文件夹内<br />
然后对文件作如下修改</p>
<p><span id="more-600"></span></p>
<p>newfarm/mc/ini.xml</p>
<pre class="brush: plain; title: ;">&lt;material url=&quot;module/mc/main/shopui.swf?v=7&quot; statusText=&quot;加载图标素材...&quot; size=&quot;155480&quot; /&gt;</pre>
<p>下面添加</p>
<pre class="brush: plain; title: ;">&lt;material url=&quot;module/mc/main/shopui2_v_1.swf?v=1&quot; statusText=&quot;加载图标素材...&quot; size=&quot;14153&quot;/&gt;</pre>
<pre class="brush: plain; title: ;">&lt;/animals&gt;</pre>
<p>上面添加</p>
<pre class="brush: plain; title: ;">&lt;animal id=&quot;1007&quot; name=&quot;乌龟&quot; childNum=&quot;12&quot; product=&quot;小乌龟&quot; u=&quot;只&quot; house=&quot;窝&quot;&gt;
&lt;nextText value=&quot;幼仔,成长期,生产期,生产期,待产期,收获期&quot;/&gt;
&lt;nextTime value=&quot;27000,27000,216000,180,35820,270000&quot;/&gt;
&lt;/animal&gt;</pre>
<p>newfarm/newmc.<a href="http://all.aboutfree.me/tag/php" class="st_tag internal_tag" rel="tag" title="Posts tagged with php">php</a></p>
<pre class="brush: plain; title: ;">&quot;1006&quot; =&gt; array( 41400, 41400, 259200, 180, 54000, 342000 ),</pre>
<p>下面添加</p>
<pre class="brush: plain; title: ;">&quot;1007&quot; =&gt; array( 27000, 27000, 216000, 180, 36000, 313200 ),</pre>
<pre class="brush: plain; title: ;">&quot;1006&quot; =&gt; array( &quot;byproductprice&quot; =&gt; 68, &quot;cId&quot; =&gt; 1006, &quot;cLevel&quot; =&gt; 9, &quot;cName&quot; =&gt; &quot;\\u4F01\\u9E45&quot;, &quot;consum&quot; =&gt; 3, &quot;cub&quot; =&gt; 41400, &quot;cycle&quot; =&gt; 54000, &quot;expect&quot; =&gt; 0, &quot;growing&quot; =&gt; &quot;41400,41400,259200,180&quot;, &quot;growthCycle&quot; =&gt; 0, &quot;harvestbExp&quot; =&gt; 22, &quot;harvestpExp&quot; =&gt; 44, &quot;maturingTime&quot; =&gt; 82800, &quot;output&quot; =&gt; 16, &quot;price&quot; =&gt; 10000, &quot;procreation&quot; =&gt; 259200, &quot;productime&quot; =&gt; 180, &quot;productprice&quot; =&gt; 11860 )</pre>
<p>修改为</p>
<pre class="brush: plain; title: ;">&quot;1006&quot; =&gt; array( &quot;byproductprice&quot; =&gt; 68, &quot;cId&quot; =&gt; 1006, &quot;cLevel&quot; =&gt; 9, &quot;cName&quot; =&gt; &quot;\\u4F01\\u9E45&quot;, &quot;consum&quot; =&gt; 3, &quot;cub&quot; =&gt; 41400, &quot;cycle&quot; =&gt; 54000, &quot;expect&quot; =&gt; 0, &quot;growing&quot; =&gt; &quot;41400,41400,259200,180&quot;, &quot;growthCycle&quot; =&gt; 0, &quot;harvestbExp&quot; =&gt; 22, &quot;harvestpExp&quot; =&gt; 44, &quot;maturingTime&quot; =&gt; 82800, &quot;output&quot; =&gt; 16, &quot;price&quot; =&gt; 10000, &quot;procreation&quot; =&gt; 259200, &quot;productime&quot; =&gt; 180, &quot;productprice&quot; =&gt; 11860 ),</pre>
<p>并且在下一行添加</p>
<pre class="brush: plain; title: ;">&quot;1007&quot; =&gt; array( &quot;byproductprice&quot; =&gt; 69, &quot;cId&quot; =&gt; 1007, &quot;cLevel&quot; =&gt; 9, &quot;cName&quot; =&gt; &quot;\\u4e4c\\u9f9f&quot;, &quot;consum&quot; =&gt; 4, &quot;cub&quot; =&gt; 27000, &quot;cycle&quot; =&gt; 36000, &quot;expect&quot; =&gt; 0, &quot;growing&quot; =&gt; &quot;27000,27000,216000,180&quot;, &quot;growthCycle&quot; =&gt; 0, &quot;harvestbExp&quot; =&gt; 14, &quot;harvestpExp&quot; =&gt; 26, &quot;maturingTime&quot; =&gt; 54000, &quot;output&quot; =&gt; 12, &quot;price&quot; =&gt; 11000, &quot;procreation&quot; =&gt; 216000, &quot;productime&quot; =&gt; 180, &quot;productprice&quot; =&gt; 12000 )</pre>
<p>搜索</p>
<pre class="brush: plain; title: ;">&quot;1006&quot; =&gt; array( &quot;name&quot; =&gt; &quot;\\u5C0F\\u4F01\\u9E45&quot;, &quot;price&quot; =&gt; 68, &quot;exp&quot; =&gt; 22</pre>
<p>下一行添加</p>
<pre class="brush: plain; title: ;">&quot;1007&quot; =&gt; array( &quot;name&quot; =&gt; &quot;\\u5c0f\\u4e4c\\u9f9f&quot;, &quot;price&quot; =&gt; 69, &quot;exp&quot; =&gt; 14),</pre>
<p>搜索</p>
<pre class="brush: plain; title: ;">&quot;11006&quot; =&gt; array( &quot;name&quot; =&gt; &quot;\\u4F01\\u9E45&quot;, &quot;price&quot; =&gt; 11860, &quot;exp&quot; =&gt; 44),</pre>
<p>下一行添加</p>
<pre class="brush: plain; title: ;">&quot;11007&quot; =&gt; array( &quot;name&quot; =&gt; &quot;\\u4e4c\\u9f9f&quot;, &quot;price&quot; =&gt; 12000, &quot;exp&quot; =&gt; 26),</pre>
<p>搜索</p>
<pre class="brush: plain; title: ;">{\&quot;byproductprice\&quot;:68,\&quot;cId\&quot;:1006,\&quot;cLevel\&quot;:9,\&quot;cName\&quot;:\&quot;\\u4F01\\u9E45\&quot;,\&quot;consum\&quot;:3,\&quot;cub\&quot;:41400,\&quot;cycle\&quot;:54000,\&quot;expect\&quot;:0,\&quot;growing\&quot;:\&quot;41400,41400,259200,180\&quot;,\&quot;growthCycle\&quot;:0,\&quot;harvestbExp\&quot;:22,\&quot;harvestpExp\&quot;:44,\&quot;maturingTime\&quot;:82800,\&quot;output\&quot;:16,\&quot;price\&quot;:10000,\&quot;procreation\&quot;:259200,\&quot;productime\&quot;:180,\&quot;productprice\&quot;:11860}</pre>
<p>紧接着添加</p>
<pre class="brush: plain; title: ;">,{\&quot;byproductprice\&quot;:69,\&quot;cId\&quot;:1007,\&quot;cLevel\&quot;:10,\&quot;cName\&quot;:\&quot;\\u4e4c\\u9f9f\&quot;,\&quot;consum\&quot;:4,\&quot;cub\&quot;:27000,\&quot;cycle\&quot;:36000,\&quot;expect\&quot;:0,\&quot;growing\&quot;:\&quot;27000,27000,216000,180\&quot;,\&quot;growthCycle\&quot;:0,\&quot;harvestbExp\&quot;:14,\&quot;harvestpExp\&quot;:26,\&quot;maturingTime\&quot;:54000,\&quot;output\&quot;:12,\&quot;price\&quot;:11000,\&quot;procreation\&quot;:216000,\&quot;productime\&quot;:180,\&quot;productprice\&quot;:12000}</pre>
<p>好了&#8230;现在你的牧场可以养可爱的小乌龟了&#8230;<br />
<a href="http://all.aboutfree.me/wp-content/uploads/2009/10/wg2.PNG"><img class="alignleft size-medium wp-image-607" title="wg2" src="http://all.aboutfree.me/wp-content/uploads/2009/10/wg2-300x230.PNG" alt="wg2" width="300" height="230" /></a><a href="http://all.aboutfree.me/wp-content/uploads/2009/10/wg1.PNG"><img class="aligncenter size-medium wp-image-606" title="wg1" src="http://all.aboutfree.me/wp-content/uploads/2009/10/wg1-300x226.PNG" alt="wg1" width="300" height="226" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://all.aboutfree.me/600/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>开心牧场用户等级计算函数</title>
		<link>http://all.aboutfree.me/589</link>
		<comments>http://all.aboutfree.me/589#comments</comments>
		<pubDate>Wed, 21 Oct 2009 23:19:45 +0000</pubDate>
		<dc:creator>Free</dc:creator>
				<category><![CDATA[技术存档]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[uchome]]></category>
		<category><![CDATA[代码]]></category>
		<category><![CDATA[函数]]></category>
		<category><![CDATA[开心农场]]></category>
		<category><![CDATA[开心牧场]]></category>
		<category><![CDATA[等级]]></category>

		<guid isPermaLink="false">http://all.aboutfree.me/?p=589</guid>
		<description><![CDATA[编写开心牧场get_user_info请求时候返回的信息时候发现 需要返回一段用户等级的内容 但是翻遍了两个php都没发现有相关的代码 无奈&#8230;从httpwatch上看到Referer: Master.swf?v=1 好吧&#8230;反编译了master.swf&#8230; 找啊找&#8230;终于找到了相关的代码 改写成php代码&#8230; function expToGrade($exp){ return intval(sqrt(($exp+25)/100) - 0.5); }]]></description>
			<content:encoded><![CDATA[<p>编写开心牧场get_user_info请求时候返回的信息时候发现</p>
<p>需要返回一段用户等级的内容</p>
<p>但是翻遍了两个<a href="http://all.aboutfree.me/tag/php" class="st_tag internal_tag" rel="tag" title="Posts tagged with php">php</a>都没发现有相关的代码</p>
<p>无奈&#8230;从httpwatch上看到Referer: Master.swf?v=1</p>
<p>好吧&#8230;反编译了master.swf&#8230;</p>
<p>找啊找&#8230;终于找到了相关的代码</p>
<p><a href="http://all.aboutfree.me/wp-content/uploads/2009/10/new1.PNG"><img class="alignnone size-medium wp-image-590" title="new1" src="http://all.aboutfree.me/wp-content/uploads/2009/10/new1-300x78.PNG" alt="new1" width="300" height="78" /></a></p>
<p>改写成<a href="http://all.aboutfree.me/tag/php" class="st_tag internal_tag" rel="tag" title="Posts tagged with php">php</a>代码&#8230;</p>
<pre class="brush: php; title: ;">function expToGrade($exp){
return intval(sqrt(($exp+25)/100) - 0.5);
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://all.aboutfree.me/589/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>开心农场本地版 功能补全计划 2009/10/22 更新</title>
		<link>http://all.aboutfree.me/572</link>
		<comments>http://all.aboutfree.me/572#comments</comments>
		<pubDate>Wed, 21 Oct 2009 04:22:42 +0000</pubDate>
		<dc:creator>Free</dc:creator>
				<category><![CDATA[技术存档]]></category>
		<category><![CDATA[农场]]></category>
		<category><![CDATA[功能]]></category>
		<category><![CDATA[开心农场]]></category>
		<category><![CDATA[服务器]]></category>
		<category><![CDATA[牧场]]></category>
		<category><![CDATA[破解]]></category>
		<category><![CDATA[补全]]></category>

		<guid isPermaLink="false">http://all.aboutfree.me/?p=572</guid>
		<description><![CDATA[前天别人发了一份破解版的开心农场给我 本来没什么兴趣&#8230;但是发现架设可行 便毅然决然放下手头的活开始研究&#8230;发现无数BUG 以及无数的不存在的function&#8230; 而且我也不知道是破解的缘故还是放这个版本的人恶趣味 有好多小的判定语句都是错误的&#8230;无端端冒出很多BUG 目前已经修复的错误和完成的功能有 全局篇： 未上传头像的用户不显示头像 农场篇： 道具栏显示错误(无数个狗粮,未购买的装饰等) 装饰无法使用(使用后刷新无效,或者导致数据错误) 装饰批量购买 商店全部卖出功能无效 使用肥料数量不减少 狗不咬人 农场日志记录(使用新的数据库表保存日志) 还有一些小的显示BUG,比如买狗狗送狗粮的数量什么的,无关紧要 牧场篇： 增加牧场购买牧草的function,定义变量控制是否开放 牧场商店买牲畜无效 未完成但已知的： 牧场防害虫功能不存在 牧场获取个人信息功能不存在 已知但不知如何解决的： 牧场好友列表“按经验排名”几个字错位 演示地址:http://home.zuiuk.com/newfarm.php 2009/10/22日更新: 修复了农场收获的漏洞 增加了两个开关用来决定是否开启用户偷盗与帮忙的次数限制 本演示默认开启 偷盗限制次数为等级x偷盗基数10，帮忙次数为等级x帮忙基数10 超过限制后会提示无法偷盗或者帮忙，系统默认每天清空一次限制记录 采用了新的漫游界面，使用了预读技术，增加新的变色肥料，增加新作物与花卉 修正被狗咬后金钱不少的BUG 修正被狗咬后界面不及时显示金钱的BUG]]></description>
			<content:encoded><![CDATA[<p><a href="http://all.aboutfree.me/wp-content/uploads/2009/10/1.PNG"><img class="size-medium wp-image-573 alignleft" title="1" src="http://all.aboutfree.me/wp-content/uploads/2009/10/1-300x233.PNG" alt="1" width="300" height="233" /></a>前天别人发了一份破解版的开心农场给我<br />
本来没什么兴趣&#8230;但是发现架设可行<br />
便毅然决然放下手头的活开始研究&#8230;发现无数BUG<br />
以及无数的不存在的function&#8230;<br />
而且我也不知道是破解的缘故还是放这个版本的人恶趣味<br />
有好多小的判定语句都是错误的&#8230;无端端冒出很多BUG<br />
目前已经修复的错误和完成的功能有</p>
<p>全局篇：<br />
未上传头像的用户不显示头像</p>
<p>农场篇：<br />
道具栏显示错误(无数个狗粮,未购买的装饰等)</p>
<p>装饰无法使用(使用后刷新无效,或者导致数据错误)<br />
装饰批量购买<br />
商店全部卖出功能无效<br />
使用肥料数量不减少<br />
狗不咬人<br />
农场日志记录(使用新的数据库表保存日志)<br />
还有一些小的显示BUG,比如买狗狗送狗粮的数量什么的,无关紧要</p>
<p>牧场篇：<br />
增加牧场购买牧草的function,定义变量控制是否开放<br />
牧场商店买牲畜无效</p>
<p>未完成但已知的：<br />
牧场防害虫功能不存在<br />
牧场获取个人信息功能不存在<br />
已知但不知如何解决的：<br />
牧场好友列表“按经验排名”几个字错位</p>
<p>演示地址:<a href="http://home.zuiuk.com/newfarm.php">http://home.zuiuk.com/newfarm.php</a></p>
<p>2009/10/22日更新:</p>
<p>修复了农场收获的漏洞<br />
增加了两个开关用来决定是否开启用户偷盗与帮忙的次数限制<br />
本演示默认开启<br />
<a href="http://all.aboutfree.me/wp-content/uploads/2009/10/12.png"><img src="http://all.aboutfree.me/wp-content/uploads/2009/10/12-300x232.png" alt="12" title="12" width="300" height="232" class="alignleft size-medium wp-image-598" /></a>偷盗限制次数为等级x偷盗基数10，帮忙次数为等级x帮忙基数10<br />
超过限制后会提示无法偷盗或者帮忙，系统默认每天清空一次限制记录<br />
采用了新的漫游界面，使用了预读技术，增加新的变色肥料，增加新作物与花卉<br />
修正被狗咬后金钱不少的BUG<br />
修正被狗咬后界面不及时显示金钱的BUG</p>
<p><span id="more-572"></span></p>
<p><a href="http://all.aboutfree.me/wp-content/uploads/2009/10/2.PNG"><img class="alignnone size-medium wp-image-574" title="2" src="http://all.aboutfree.me/wp-content/uploads/2009/10/2-300x278.PNG" alt="2" width="300" height="278" /></a><br />
<a href="http://all.aboutfree.me/wp-content/uploads/2009/10/3.PNG"><img class="alignnone size-medium wp-image-575" title="3" src="http://all.aboutfree.me/wp-content/uploads/2009/10/3-300x231.PNG" alt="3" width="300" height="231" /></a><br />
<a href="http://all.aboutfree.me/wp-content/uploads/2009/10/4.PNG"><img class="alignnone size-medium wp-image-576" title="4" src="http://all.aboutfree.me/wp-content/uploads/2009/10/4-300x262.PNG" alt="4" width="300" height="262" /></a><br />
<a href="http://all.aboutfree.me/wp-content/uploads/2009/10/5.PNG"><img class="alignnone size-medium wp-image-577" title="5" src="http://all.aboutfree.me/wp-content/uploads/2009/10/5-300x233.PNG" alt="5" width="300" height="233" /></a><br />
<a href="http://all.aboutfree.me/wp-content/uploads/2009/10/6.PNG"><img class="alignnone size-medium wp-image-578" title="6" src="http://all.aboutfree.me/wp-content/uploads/2009/10/6-300x227.PNG" alt="6" width="300" height="227" /></a><br />
<a href="http://all.aboutfree.me/wp-content/uploads/2009/10/7.PNG"><img class="alignnone size-medium wp-image-579" title="7" src="http://all.aboutfree.me/wp-content/uploads/2009/10/7-300x283.PNG" alt="7" width="300" height="283" /></a><br />
<a href="http://all.aboutfree.me/wp-content/uploads/2009/10/8.jpg"><img class="alignnone size-medium wp-image-580" title="8" src="http://all.aboutfree.me/wp-content/uploads/2009/10/8-300x235.jpg" alt="8" width="300" height="235" /></a><br />
<a href="http://all.aboutfree.me/wp-content/uploads/2009/10/9.PNG"><img class="alignnone size-medium wp-image-581" title="9" src="http://all.aboutfree.me/wp-content/uploads/2009/10/9-300x232.PNG" alt="9" width="300" height="232" /></a><br />
<a href="http://all.aboutfree.me/wp-content/uploads/2009/10/10.PNG"><img class="alignnone size-medium wp-image-582" title="10" src="http://all.aboutfree.me/wp-content/uploads/2009/10/10-300x233.PNG" alt="10" width="300" height="233" /></a><br />
<a href="http://all.aboutfree.me/wp-content/uploads/2009/10/11.PNG"><img class="alignnone size-medium wp-image-583" title="11" src="http://all.aboutfree.me/wp-content/uploads/2009/10/11-287x300.PNG" alt="11" width="287" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://all.aboutfree.me/572/feed</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>

