<?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; php</title>
	<atom:link href="http://all.aboutfree.me/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://all.aboutfree.me</link>
	<description>付睿的部落格 - 感触付睿的生活...</description>
	<lastBuildDate>Tue, 27 Jul 2010 14:05:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		
<!-- 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.3.2'></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=210_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, 36000, 313200 ),
&#34;1006&#34; =&#62; array( &#34;byproductprice&#34; =&#62; 68, &#34;cId&#34; =&#62; 1006, &#34;cLevel&#34; =&#62; 9, &#34;cName&#34; =&#62; &#34;\\u4F01\\u9E45&#34;, &#34;consum&#34; =&#62; 3, &#34;cub&#34; =&#62; 41400, &#34;cycle&#34; [...]]]></description>
		<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>
		<wfw:commentRss>http://all.aboutfree.me/589/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
